User Manual for ST models including: TSC1641, STEVAL-DIGAFEV1 Evaluation Board for TSC1641, STEVAL-DIGAFEV1, Evaluation Board for TSC1641, STEVAL-DIGAFEV1 Evaluation Board, Evaluation Board, Board

Getting started with the STEVAL-DIGAFEV1 evaluation board for the TSC1641 Getting started with the STEVAL-DIGAFEV1 evaluation board for the TSC1641 - User manual

The STEVAL-DIGAFEV1 allows to evaluate the measurement performance and features of the TSC1641, designed to measure current, voltage and power.

STMICROELECTRONICS

UM3202 Getting started with the STEVAL-DIGAFEV1 evaluation board for the TSC1641

STEVAL-DIGAFEV1 - Evaluation board for the TSC1641, 16-bit, high precision current and power monitor with MIPI I3C/I2C interface - STMicroelectronics

UM3202 - Getting started with the STEVAL-DIGAFEV1 ...

03-Aug-2023 — The STEVAL-DIGAFEV1 allows to evaluate the measurement performance and features of the TSC1641, designed to measure current, voltage and power.

STEVAL-DIGAFEV1 evaluation board ...

Getting started with the STEVAL-DIGAFEV1 evaluation board for the TSC1641 - User manual


File Info : application/pdf, 18 Pages, 2.27MB

PDF preview unavailable. Download the PDF instead.

um3202-getting-started-with-the-stevaldigafev1-evaluation-board-for-the-tsc1641-stmicroelectronics
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

1
1.1
1.2
1.2.1

UM3202
Getting started

Getting started

Features

·

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

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

UM3202
Standalone

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

Figure 5. Jumpers to set I²C static address

UM3202
Standalone

A1
GND GND VS VS

A0
GND VS GND VS

Table 1. Table of static addresses and I3C PIDs

Target address (binary)
1000000 1000001 1000010 1000011

Target address (h)

Provisional ID (PID) value (h)

40

0208020A0001

41

0208020A1001

42

0208020A2001

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 I²C I3C

1 MHz 12.5 MHz

Speed

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.

PB8 PB9 PA10

Table 3. Table for the connection to the NUCLEO-H503RB

NUCLEO-H503RB

STEVAL-DIGAFEV1 SPI pin SCLK SDA (data) ALERT/CVRDY

UM3202 - Rev 1

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:

Pointer address
(hex) 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh FEh FFh

Table 4. Map register of the TSC1641

Register name

Type

Configuration register

R/W

Shunt voltage register

R

Load voltage resister

R

DC power register

R

Current register

R

Temperature register

R

Mask register R/W

Flags register R

Rshunt register

R/W

SOL alert limit register

R/W

SUL alert limit register

R/W

LOL alert limit register

R/W

LUL alert limit register

R/W

POL alert limit register

R/W

TOL alert limit register

R/W

Manufacturin g id

R

DiE ID register

R

Default value

Reset after POR

Reset after Shutdown
mode

Reset after Idle mode

Reset after RST

0037h

yes

no

no

yes

0000h

yes

no

no

yes

0000h

yes

no

no

yes

0000h

yes

no

no

yes

0000h

yes

no

no

yes

8000 h

yes

no

no

yes

0000h

yes

no

no

yes

0000h

yes

no

no

yes

0000h

yes

no

no

no

0000h

yes

no

no

no

0000h

yes

no

no

no

0000h

yes

no

no

no

0000h

yes

no

no

no

0000h

yes

no

no

no

0000h

yes

no

no

no

0006h

yes

no

no

no

1000 h

yes

no

no

no

UM3202 - Rev 1

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
V CC

JP_A0 SET A0

CN1 A rduino Uno - Power
SIP 8 STEP 2.54M M

POWER

1

IORef Reset 3.3V
5V GND GND
Vin

2 3 4 5 6 7 8

JP_A1 SET A0

V CC

C1

C7

1uF 10µF

SM T 0805

GND

CN3 A rduino Uno - A nalog
SIP 6 STEP 2.54M M

ANALOG IN

A0 A1 A2 A3 A4 A5

1 2 3 4 5 6

10 IN+ ALERT/DRDY 3 ALERT/DRDY

V CC
GND V CC

I2C_SDA I2C_SCL

1 2

A1 A0

GND

TP04 GND

11 EP 7 GND
GND

SCL SDA

5 4

VCC 6

D1
R3 560R
V CC
C2 100nF
GND U1 TSC1641 DFN8 EP - 3X3M M

8 VLOAD

9 IN-

TP03 INN

C5

C4

TP02 INP
C3

100pF GND

100nF

100pF GND

R5

R4

0R

0R

V LOAD TP01 V LOAD
SB5

GND
J2 INHEA DER TERMINAL BLOCK 2 WAYS - STEP 5.08mm

1

2

R6 5mR

JM2

JM1

PLUG

PLUG

TERMINAL BLOCK

1 2

GND
J1 IN+ HEA DER TERMINAL BLOCK 2 WAYS - STEP 5.08mm

JP_SDA SET SCL

VCC VCC

JP_SCL SET SCL

I2C_SCL I2C_SDA

TP05 SCL
TP06 SDA

R2 R1 4K7 4K7
R7 0R
R8 0R
GND

CN2 Ardui no Uno - Di gi 2
SIP 10 STEP 2.54M M

DIGITAL (PWM ~)

1

2

3 4 5 6 7 8

A ref GND 13 12 ~11 ~10

9 ~9

10 8

TP07 A LERT/DRDY
A L ERT/DRDY SB6

CN4 Ardui no Uno - Di gi 1
SIP 8 STEP 2.54M M

DIGITAL (PWM ~)

17

2 3 4 5 6 7 8

~6
~5 4 ~3
2 TX 1 RX 0

UM3202 - Rev 1

page 10/18

UM3202
Bill of materials

6

Bill of materials

Table 5. STEVAL-DIGAFEV1 bill of materials

Item 1 2 3 2 4 5
6
7
8
9
10
11
12 13
14 15 16 17 18 19 20 21
22

Q.ty 1 1 0 1 0 1
1
1
1
1
2
2
2 2
4 2 1 4 1 2 1 1
1

Ref.

Part/value

Description

Manufacturer

Order code

C1

1uF

Ceramic capacitors TDK

CGA3E3X5R1H105K080AB

C2

100nF

Ceramic capacitors TDK

C1608X5R1H104K080AA

C3, C5

100pF

Ceramic capacitors MURATA

GCM1885C2A101JA16D

C4

100nF

Ceramic capacitors TDK

C1608X5R1H104K080AA

C7

10µF

Ceramic capacitors MURATA

GRM21BR6YA106KE43L

CN1

SIP 1X8 FEMALE

Connector header

AMP - TE CONNECTIVIT 826629-8 Y

CN2

SIP 1X10 FEMALE

Connector header

AMP - TE CONNECTIVIT 1-826629-0 Y

CN3

SIP 1X6 FEMALE

Connector header

AMP - TE CONNECTIVIT 826629-6 Y

CN4

SIP 1X8 FEMALE

Connector header

AMP - TE CONNECTIVIT 826629-8 Y

D1

RED COLOR LED

WURTH ELECTRONIC

150080RS75000

J1, J2

HEADER

Connector ­ terminal Block

BUCHANAN TE CONNECTIVIT Y

282825-2

JM1, JM2

PLUG

Connector ­ terminal Block

BUCHANAN TE CONNECTIVIT Y

796634-2

JP_A0, JP_A1 SIP 1X3 MALE Connector header

WURTH ELEKTRONIK

61300311121

JP_SCL, JP_SDA

SIP 1X2 MALE Connector header

WURTH ELEKTRONIK

61300211121

JU_A0, JU_A1,

JU_SCL,

BLACK COLOR Jumper

JU_SDA

WURTH ELEKTRONIK

609002115121

R1, R2

4K7

Resistor

VISHAY / DALE CRCW06034K70FKEC

R3

560R

Resistor

VISHAY / DALE CRCW0603560RFKEA

R4, R5, R7, R8 0R

Resistor

VISHAY / DALE RCA06030000ZSEA

R6

5mR

Resistor ­ Kelvin shunt

OHMITE

FC4L64R005FER

SB5, SB6

0R

Resistor

PANASONIC ERJPA3F6800V

TP01

GREEN COLOR

Testpoint

Any

TP04

BLACK COLOR Testpoint

Any

Digital Current Sense

U1

TSC1641

AFE, with I²C / SMBus and MIPI I3C

ST

TSC1641

compatible interface

UM3202 - Rev 1

page 11/18

UM3202
Board versions

7

Board versions

Table 6. STEVAL-DIGAFEV1 versions

PCB version

Schematic diagrams

Bill of materials

STEVAL$DIGAFEV1A (1)

STEVAL$DIGAFEV1A schematic diagrams

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

Revision history
Date 03-Aug-2023

Table 7. Document revision history

Revision 1

Initial release.

Changes

UM3202

UM3202 - Rev 1

page 14/18

UM3202
Contents
Contents
1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 Main component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2.1 TSC1641. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
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.
Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8.

STEVAL-DIGAFEV1 reference design kit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 CN1 connector for 3.3V power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 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



References

C2 v20.4.0000 build 240 - c2 rendition config : Techlit Active Antenna House PDF Output Library 7.2.1732; modified using iText 2.1.7 by 1T3XT