STMicroelectronics STEVAL-DIGAFEV1 User Manual
PDF
Documento
Anuncio
Anuncio
UM3202 User manual Getting started with the STEVAL-DIGAFEV1 evaluation board for the TSC1641 Introduction The STEVAL-DIGAFEV1 allows to evaluate the measurement performance and features of the TSC1641, designed to measure current, voltage and power. The board can accept external voltage and current to measure and evaluate the conversion performance of the TSC1641 conversion performance, based on its Delta-Sigma (ΔΣ) modulators. Thanks to a led on the board, it is easy to monitor if the alert pin is active. The STEVAL-DIGAFEV1 can be supplied in standalone mode. It can also be connected to a NUCLEO-H503RB development board that hosts an STM32 microcontroller, allowing further signal processing and communication with the PC. Figure 1. STEVAL-DIGAFEV1 reference design kit UM3202 - Rev 1 - August 2023 For further information contact your local STMicroelectronics sales office. www.st.com UM3202 Getting started 1 Getting started 1.1 Features • • • • • • • 1.2 1.2.1 16 bit dual channel for current, voltage, and power monitoring Temperature monitoring Simple digital connection with I²C up to 1MHz and compatible with MIPI I3C up to 12.5MHz From 128µs to 32.768ms total conversion time 2.7 to 3.6 V power supply Alert signals generated in case of over/under voltage, over/under current, overpower or over temperature Load voltage sensing from 0 to 60 V Main component TSC1641 The TSC1641 is a high precision current, voltage, power, and temperature monitoring analog front-end (AFE). It monitors current into a shunt resistor and load voltage up to 60 V in a synchronized way. The current measurement can be high-side, low-side and bidirectional. The device integrates high precision 16-bit dual channel ADC with a programmable conversion time from 128 µs to 32.7 ms. The digital bus interface is flexible from an I²C/SMbus 1 MHz data rate to an MIPI I3C 12.5 MHz data rate. This allows connectivity to most of the recent STM32 products. UM3202 - Rev 1 page 2/18 UM3202 How to use the board 2 How to use the board 2.1 Standalone The STEVAL-DIGAFEV1 can be used directly with your testing device or I2C/I3C controller. Step 1. Connect ground and supply voltage On the CN1 connector, connect your supply voltage according to the board serigraphy. Figure 2. CN1 connector for 3.3V power supply UM3202 - Rev 1 page 3/18 UM3202 Standalone Step 2. Connect the I2C/I3C bus On connector CN2, the two top connections are for SDA (data) and SCL (clock). Connections are clearly labeled in the serigraphy. Figure 3. CN2 connector for I2C/I3C connection I²C I²C communication bus requires pull-up resistors. The STEVAL-DIGAFEV1 has two 4.7k ohm pull-up resistors on SDA and SCL lines. These pull-up resistors can be connected thanks to JP_SDA and JP_SDL jumpers. Figure 4. Jumpers to connect SDA and SCL pull-up resistors It is also needed to give to the TSC1641 a static address by changing the with the A0/A1 value thanks to JP_A0 and JP_A1 jumpers. UM3202 - Rev 1 page 4/18 UM3202 Standalone Figure 5. Jumpers to set I²C static address Table 1. Table of static addresses and I3C PIDs A1 Target address (binary) A0 Target address (h) Provisional ID (PID) value (h) GND GND 1000000 40 0208020A0001 GND VS 1000001 41 0208020A1001 VS GND 1000010 42 0208020A2001 VS VS 1000011 43 0208020A3001 I3C I3C communications do not require pull-up resistors, hence JP_SDA and JP_SDL jumpers must be unplugged. The maximum communication speeds are detailed table for I²C & I3C speeds. Table 2. Table for I²C & I3C speeds Communication type Speed I²C 1 MHz I3C 12.5 MHz Step 3. Connect load and Vload power to supply For high-side measurement, connect your power supply (the vload to measure) to the J1 connector, and the load to the J2 connector. Figure 6. J1 and J2 connectors for LOAD connection UM3202 - Rev 1 page 5/18 UM3202 With a NUCLEO-STM32 2.2 With a NUCLEO-STM32 To use the board, follow below procedure: Step 1. Plug the STEVAL-DIGAFEV1 The STEVAL-DIGAFEV1 is compatible with the wide majority of Nucleo board thanks to its Arduino pinout. Connecting the STEVAL-DIGAFEV1 to a nucleo make it supplied by the 3.3V of the nucleo board. For a better interconnection, it is better to use the NUCLEO-H503RB which support I3C communications. Table 3. Table for the connection to the NUCLEO-H503RB NUCLEO-H503RB UM3202 - Rev 1 STEVAL-DIGAFEV1 SPI pin PB8 SCLK PB9 SDA (data) PA10 ALERT/CVRDY page 6/18 UM3202 Communication with the TSC1641 3 Communication with the TSC1641 Option A: use the STSW-DIGAFEV1 GUI The STEVAL-DIGAFEV1 can be used with the STSW-DIGAFEV1GUI. It is necessary to program the nucleo-64 H503RB with the STSW-DIGAFEV1FW to use it. The STSW-DIGAFEV1FW runs on an STM32 Nucleo-64 development board NUCLEO-H503RB. It communicates with the TSC1641 of the STEVAL-DIGAFEV1 through the I2C and I3C protocols. The STSW-DIGAFEV1GUI allows the user to write configuration registers, monitor current, voltage, and power and plot data on a graph. It is also a tool to save values measured by the TSC1641 in a .csv file. For more information on the STSW-DIGAFEV1GUI, go to the relevant ST web page. Figure 7. STSW-DIGAFEV1GUI graphical user interface Option B: use the STEVAL-DIGAFEV1 directly with your test solution The STEVAL-DIGAFEV1 can be plugged directly to your solution. UM3202 - Rev 1 page 7/18 UM3202 Communication with the TSC1641 The I2C/I3C communication to access the TSC1641 registers is shown in the table: Table 4. Map register of the TSC1641 Pointer address (hex) UM3202 - Rev 1 Register name Type Default value Reset after POR Reset after Shutdown mode Reset after Idle mode Reset after RST 0037h yes no no yes 00h Configuration register 01h Shunt voltage R register 0000h yes no no yes 02h Load voltage resister R 0000h yes no no yes 03h DC power register R 0000h yes no no yes 04h Current register R 0000h yes no no yes 05h Temperature register R 8000 h yes no no yes 06h Mask register R/W 0000h yes no no yes 07h Flags register R 0000h yes no no yes 08h Rshunt register R/W 0000h yes no no no 09h SOL alert limit R/W register 0000h yes no no no 0Ah SUL alert limit R/W register 0000h yes no no no 0Bh LOL alert limit R/W register 0000h yes no no no 0Ch LUL alert limit R/W register 0000h yes no no no 0Dh POL alert limit R/W register 0000h yes no no no 0Eh TOL alert limit R/W register 0000h yes no no no FEh Manufacturin g id R 0006h yes no no no FFh DiE ID register R 1000 h yes no no no R/W page 8/18 UM3202 Precautions for use 4 Precautions for use The board is not immune to the disturbance generated from intense radiant sources, according to EN IEC 61000-4-3. During the radiated immunity testing, the board obtained level B, meaning that the board was not damaged during the test, but showed a performance degradation of over 2% in voltage and current measurement. UM3202 - Rev 1 page 9/18 UM3202 Schematic diagrams 5 Schematic diagrams Figure 8. STEVAL-DIGAFEV1 circuit schematic VCC JP_A0 SET A0 7 GND 6 R1 4K7 TP05 SCL CN2 Arduino Uno - Digi 2 R7 0R TP06 SDA R8 0R U1 TSC1641 GND DFN8 EP - 3X3M M SIP 10 STEP 2.54M M 1 2 3 4 5 6 7 8 9 10 Aref GND 13 12 ~11 ~10 ~9 8 VLOAD TP02 INP C4 100pF SIP 6 STEP 2.54M M C3 100nF CN4 Arduino Uno - Digi 1 SIP 8 STEP 2.54M M 100pF GND A0 1 A1 2 A2 3 A3 4 A4 5 A5 6 TP01 VLOAD GND R5 0R TP07 ALERT/DRDY SB5 R4 0R ALERT/DRDY IN- HEADER TERMINAL BLOCK 2 WAYS - STEP 5.08mm 1 J2 R6 5mR 2 1 GND 2 SB6 J1 IN+ 1 2 3 4 5 6 7 8 7 ~6 ~5 4 ~3 2 TX 1 RX 0 DIGITAL (PWM ~) C5 CN3 Arduino Uno - Analog ANALOG IN I2C_SCL I2C_SDA GND TP03 INN UM3202 - Rev 1 R2 4K7 C2 100nF VCC 3 ALERT/DRDY GND GND SM T 0805 ALERT/DRDY TP04 GND EP VLOAD C7 10µF 11 IN+ C1 1uF GND 10 VCC SCL SDA 1 2 3 4 5 6 7 8 IN- IORef Reset 3.3V 5V GND GND Vin 9 POWER SIP 8 STEP 2.54M M A1 A0 JP_A1 SET A0 5 4 1 2 VCC VCC JP_SCL SET SCL 8 I2C_SCL VCC JP_SDA SET SCL I2C_SDA GND CN1 Arduino Uno - Power VCC R3 560R DIGITAL (PWM ~) D1 VCC GND HEADER TERMINAL BLOCK JM2 JM1 PLUG PLUG TERMINAL BLOCK 2 WAYS - STEP 5.08mm page 10/18 UM3202 Bill of materials 6 Bill of materials Table 5. STEVAL-DIGAFEV1 bill of materials Item Ref. Part/value Description Manufacturer Order code 1 1 C1 1uF Ceramic capacitors TDK CGA3E3X5R1H105K080AB 2 1 C2 100nF Ceramic capacitors TDK C1608X5R1H104K080AA 3 0 C3, C5 100pF Ceramic capacitors MURATA GCM1885C2A101JA16D 2 1 C4 100nF Ceramic capacitors TDK C1608X5R1H104K080AA 4 0 C7 10µF Ceramic capacitors MURATA GRM21BR6YA106KE43L 5 1 CN1 SIP 1X8 FEMALE Connector header AMP - TE CONNECTIVIT Y 826629-8 6 1 CN2 SIP 1X10 FEMALE Connector header AMP - TE CONNECTIVIT Y 1-826629-0 7 1 CN3 SIP 1X6 FEMALE Connector header AMP - TE CONNECTIVIT Y 826629-6 8 1 CN4 SIP 1X8 FEMALE Connector header AMP - TE CONNECTIVIT Y 826629-8 9 1 D1 RED COLOR LED WURTH ELECTRONIC 150080RS75000 HEADER Connector – terminal Block BUCHANAN TE CONNECTIVIT Y 282825-2 BUCHANAN TE CONNECTIVIT Y 796634-2 10 UM3202 - Rev 1 Q.ty 2 J1, J2 11 2 JM1, JM2 PLUG Connector – terminal Block 12 2 JP_A0, JP_A1 SIP 1X3 MALE Connector header WURTH ELEKTRONIK 61300311121 13 2 JP_SCL, JP_SDA SIP 1X2 MALE Connector header WURTH ELEKTRONIK 61300211121 14 4 JU_A0, JU_A1, JU_SCL, JU_SDA BLACK COLOR Jumper WURTH ELEKTRONIK 609002115121 15 2 R1, R2 4K7 Resistor VISHAY / DALE CRCW06034K70FKEC 16 1 R3 560R Resistor VISHAY / DALE CRCW0603560RFKEA 17 4 R4, R5, R7, R8 0R Resistor VISHAY / DALE RCA06030000ZSEA 18 1 R6 5mR Resistor – Kelvin shunt OHMITE FC4L64R005FER 19 2 SB5, SB6 0R Resistor PANASONIC ERJPA3F6800V 20 1 TP01 GREEN COLOR Testpoint Any 21 1 TP04 BLACK COLOR Testpoint Any 22 1 U1 TSC1641 Digital Current Sense AFE, with I²C / SMBus and MIPI I3C compatible interface ST TSC1641 page 11/18 UM3202 Board versions 7 Board versions Table 6. STEVAL-DIGAFEV1 versions PCB version STEVAL$DIGAFEV1A (1) Schematic diagrams STEVAL$DIGAFEV1A schematic diagrams Bill of materials STEVAL$DIGAFEV1A bill of materials 1. This code identifies the STEVAL-DIGAFEV1 evaluation board first version. The STEVAL$DIGAFEV1A code is printed on the board. UM3202 - Rev 1 page 12/18 UM3202 Regulatory compliance information 8 Regulatory compliance information Notice for US Federal Communication Commission (FCC) For evaluation only; not FCC approved for resale FCC NOTICE - This kit is designed to allow: 1. Product developers to evaluate electronic components, circuitry, or software associated with the kit to determine whether to incorporate such items in a finished product and 2. Software developers to write software applications for use with the end product. This kit is not a finished product and when assembled may not be resold or otherwise marketed unless all required FCC equipment authorizations are first obtained. Operation is subject to the condition that this product not cause harmful interference to licensed radio stations and that this product accept harmful interference. Unless the assembled kit is designed to operate under part 15, part 18 or part 95 of this chapter, the operator of the kit must operate under the authority of an FCC license holder or must secure an experimental authorization under part 5 of this chapter 3.1.2. Notice for Innovation, Science and Economic Development Canada (ISED) For evaluation purposes only. This kit generates, uses, and can radiate radio frequency energy and has not been tested for compliance with the limits of computing devices pursuant to Industry Canada (IC) rules. À des fins d'évaluation uniquement. Ce kit génère, utilise et peut émettre de l'énergie radiofréquence et n'a pas été testé pour sa conformité aux limites des appareils informatiques conformément aux règles d'Industrie Canada (IC). Notice for the European Union This device is in conformity with the essential requirements of the Directive 2014/30/EU (EMC) and of the Directive 2015/863/EU (RoHS). Notice for the United Kingdom This device is in compliance with the UK Electromagnetic Compatibility Regulations 2016 (UK S.I. 2016 No. 1091) and with the Restriction of the Use of Certain Hazardous Substances in Electrical and Electronic Equipment Regulations 2012 (UK S.I. 2012 No. 3032). UM3202 - Rev 1 page 13/18 UM3202 Revision history Table 7. Document revision history UM3202 - Rev 1 Date Revision 03-Aug-2023 1 Changes Initial release. page 14/18 UM3202 Contents Contents 1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 Main component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2.1 2 TSC1641. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 How to use the board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.1 Standalone. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.2 With a NUCLEO-STM32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3 Communication with the TSC1641 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4 Precautions for use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 5 Schematic diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 6 Bill of materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 7 Board versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 8 Regulatory compliance information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 List of tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16 List of figures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17 UM3202 - Rev 1 page 15/18 UM3202 List of tables List of tables Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table of static addresses and I3C PIDs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Table for I²C & I3C speeds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Table for the connection to the NUCLEO-H503RB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Map register of the TSC1641. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 STEVAL-DIGAFEV1 bill of materials. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 STEVAL-DIGAFEV1 versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 UM3202 - Rev 1 page 16/18 UM3202 List of figures List of figures Figure 1. Figure 2. STEVAL-DIGAFEV1 reference design kit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 CN1 connector for 3.3V power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. CN2 connector for I2C/I3C connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Jumpers to connect SDA and SCL pull-up resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Jumpers to set I²C static address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 J1 and J2 connectors for LOAD connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 STSW-DIGAFEV1GUI graphical user interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 STEVAL-DIGAFEV1 circuit schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 UM3202 - Rev 1 page 17/18 UM3202 IMPORTANT NOTICE – READ CAREFULLY STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgment. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of purchasers’ products. No license, express or implied, to any intellectual property right is granted by ST herein. Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product. ST and the ST logo are trademarks of ST. For additional information about ST trademarks, refer to www.st.com/trademarks. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces information previously supplied in any prior versions of this document. © 2023 STMicroelectronics – All rights reserved UM3202 - Rev 1 page 18/18 ">
/
Descargar
Solo un recordatorio amistoso. Puedes ver el documento aquí mismo. Pero lo más importante es que nuestra IA ya lo ha leído. Puede explicar cosas complejas en términos sencillos, responder a tus preguntas en cualquier idioma y ayudarte a navegar rápidamente incluso por los documentos más largos o complicados.
Anuncio