Source measurement unit (SMU) and debugger/programmer for
STM32 microcontrollers
Introduction
STLINK-V3PWR is a two-in-one standalone debugger probe and a source measurement unit (SMU) designed to synchronize
code execution with a power consumption of STM32 applications in real time. This tool is specifically adapted for power
consumption optimization (patent pending).
STLINK-V3PWR can be used as a standalone source measurement unit to supply power and measure the current consumption
of the target application. The product keeps the output voltage constant during fast current transient from very low current to
high current.
STLINK-V3PWR is also a standalone debugging and programming probe for STM32 microcontrollers. The product embeds a
multi-path bridge interface with an integrated level shifter to adapt to the target application I/Os voltage.
STLINK-V3PWR USB
the probe and the target application, via the SMU and the auxiliary output.
Type-C® connector allows data communication with the host PC and sinks up to 5 V/3 A to supply both
Picture is not contractual.
Figure 1. STLINK-V3PWR top, bottom, and cable views
UM3097 - Rev 1 - March 2023
For further information contact your local STMicroelectronics sales office.
www
.st.com
Page 2
1Features
•1‑Quadrant source measurement unit with high resolution, and measurement flexibility:
–
Programmable voltage source from 1.6 to 3.6 V
–Output current rating 500 mA with overcurrent protection (OCP) at 550 mA
–Programmable sampling rate from 1 SPS to 100 kSPS
–Dynamic measurement:
◦100 nA to 500 mA current / 160 nW to 1.65 W power measurements
•Auxiliary output voltage source from 1.6 to 3.6 V under up to 2 A (no current measurement, OCP at 2.5 A)
•Debugging of embedded applications:
–JTAG / Serial Wire Debug (SWD):
◦SWD (Serial Wire Debug) and SWV (Serial Wire Viewer) communication support up to 10 MHz
◦JTAG communication support up to 20 MHz
–UART interface on Virtual COM port (VCP) with frequency up to 12 MHz
–Multi-path bridge USB to SPI/I2C/CAN/GPIOs
–Integrated level shifter I/O voltage 1.6 to 3.6V adaptable
•Four bi-color LEDs providing probe state
•Three STDC14 to MIPI10 / STDC14 / MIPI20 flat cables with 1.27 mm pitch connectors
•Four cables (two male/male and two male/female)
•USB Type-C® connector:
–Powered through USB Type-C® (5 V/1.5 A minimum)
–USB 2.0 high‑speed interface
–Probe firmware update through USB
•Direct support from STM32CubeMonitor-Power software tool
UM3097
Features
UM3097 - Rev 1
page 2/30
Page 3
2Ordering information
UM3097
Ordering information
To order the STLINK-V3PWR SMU and in-circuit debugger/programmer for STM32, refer to T
Table 1. Ordering information
Order codeReferenceDescription
STLINK-V3PWRSTLINK-V3PWR
Debug board for STM32 microcontrollers including
simultaneous current measurement
able 1.
UM3097 - Rev 1
page 3/30
Page 4
3Development environment
UM3097
Development environment
STLINK-V3PWR runs with an STM32 32‑bit microcontroller based on the
Arm® Cortex®-M core.
Note:Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
3.1System requirements
®
Note:
•Multi‑OS support: Windows® 10 or beyond, Linux® 64-bit, or macOS
•
USB Type-A or USB Type-C® to USB Type-C® cable
macOS® is a trademark of Apple Inc., registered in the U.S. and other countries and regions.
Linux® is a registered trademark of Linus Torvalds.
Windows is a trademark of the Microsoft group of companies.
3.2Development toolchains
•IAR Systems® - IAR Embedded W
•Keil® - MDK-ARM
•STMicroelectronics - STM32CubeIDE
1.
On Windows® only.
(1)
orkbench
®(1)
3.3Toolchain versions
ToolchainDescriptionMinimum version
STM32CubeProgrammerST programming tool for ST microcontrollers1.12.0
IAR Systems® EW
Keil® MDK‑ARM
STM32CubeMonitor-PowerST monitoring tool for power consumption1.2.0
STM32CubeIDEST debugger for STM321.12.0
STLINK-V3-BRIDGE
ARM
Third-party debugger for STM32 including current
measurement support
Third-party debugger for STM32 including current
measurement support
ST software package: C++ API compatible with the bridge
interface of STLINK-V3 and STLINK-V3PWR
3.4Drivers and firmware upgrade
The driver installation is not mandatory since Windows® 10 but allocates an ST‑specific name to the ST-LINK
COM port in the system device manager. For details information regarding the ST-LINK USB driver, refer to the
technical note Overview of ST-LINK derivatives (TN1235).
STLINK-V3PWR embeds a firmware upgrade (stsw-link007) mechanism through the USB port. As the firmware
might evolve during the lifetime of the STLINK-V3PWR product, to add new functionalities, fix bugs, and support
new microcontroller families, it is recommended to visit the www.st.com website before starting to use STLINKV3PWR and periodically, to stay up to date with the latest firmware version. For details information about firmware
upgrades, refer to the technical note Overview of ST-LINK derivatives (TN1235).
Table 2. Glossary
9.32.2
5.38
1.1.0
UM3097 - Rev 1
page 4/30
Page 5
4Glossary
TermMeaning
AUXAuxiliary output voltage
Target applicationTarget product application embedding an STM32 MCU with peripherals
GNDGround
OCPOver current protection
OUTMain output voltage
OVPOver voltage protection
SMPSSwitched‑mode power supply
SMUSource measure unit
UM3097
Glossary
Table 3. Glossary
UM3097 - Rev 1
page 5/30
Page 6
UM3097
Product information
5Product information
5.1Product content
The STLINK-V3PWR kit contains:
•
STLINK-V3PWR probe
•Four wires:
–Two wires male/male (red and black)
–Two wire male/female (red and black)
•Three debug cables allowing the connection from the STDC14 (DEBUG port) to:
–STDC14 connector (1.27 mm pitch) Samtec FFSD-07-D-05.90-01-N
–MIPI10/ARM10-compatible connector (1.27 mm pitch) Samtec FFSD-05/07-D-05.90-01-N
–MIPI20/ARM20-compatible connector (1.27 mm pitch) Samtec FFSD-10/07-D-05.90-01-N
Note:To support the JTAG interface, in 2.54 mm pitch, use a dedicated dongle MIPI/ARM20 to JTAG (2.54 mm) (for
example: dongle “JTAG 20 Pin 2.54 mm to 10 Pin 1.27 mm adapter”)
5.2STLINK-V3PWR connectors and LEDs identification
This section aims to identify the location of the STLINK-V3PWR connectors and LEDs.
They are illustrated with the silkscreen on the casing serving as a functional reference for most connectors. A
connection overview is given here:
•USB-C:
the STLINK-V3PWR power supply and data transfer. Refer to Section 5.3 USB connection with a host PC.
•DEBUG: STDC14 2x7-pin male connector with 1.27 mm pitch for connection to an STM32 target
application for debugging operations. Three different flat cables are included in the packaging to connect
with standard connectors MIPI10/ARM 10, STDC14, and ARM 20. Refer to Section 9.3 DEBUG (STM32
JTAG/SWD and VCP).
•BRIDGE: 2x11-pin male connector with 2.54 mm pitch for connection to an STM32 target application for
data communication (typically STM32’s bootloader) with several common interfaces via a proprietary USB
interface. Refer to Section 9.4 BRIDGE (I2C, CAN, SPI, UART, and GPIO).
•POWER: 3-pin screw connector with a 5 mm pitch allows supplying the target application via two
independent programmable power source: OUT (refer to Section 7.2 SMU output (OUT)) and AUX (refer
to Section 7.3 Auxiliary power source output (AUX)).
•LEDs: 4x3-colors LED to indicate the state of the product. Refer to Section 7.6 LEDs management.
USB Type-C® receptacle for host PC connection using a USB Type-C® to USB Type-C® cable for
UM3097 - Rev 1
page 6/30
Page 7
USB-C
UM3097
USB connection with a host PC
Figure 2. STLINK-V3PWR connections
LEDs
DEBUG
POWER
BRIDGE
Note:USB-C, DEBUG, BRIDGE, POWER connectors, and LED terminologies used in this document are referring to
the naming defined in Figure 2.
5.3USB connection with a host PC
5.3.1Pre‑requisite
The STLINK-V3PWR’s USB-C must be connected to a USB Type-A host PC or hub port supporting charging
(having a “spark” logo) or to a
The USB LED indicates if STLINK-V3PWR is connected to a USB port supporting charging:
•USB LED in green color: The USB host port supports charging and the STLINK-V3PWR SMU (OUT) and
auxiliary output (AUX) are enabled.
•USB LED in orange color: The USB host port does not support charging and the STLINK-V3PWR SMU
(OUT) and auxiliary output (AUX) are disabled.
Note:The debugger and bridges interfaces are always functional even if the STLINK-V3PWR’s USB-C is connected
onto a standard USB HS (high
5.3.2Detailed description
For the data interface, the STLINK-V3PWR’s USB-C must be connected to a USB HS host port. USB FS (full
speed) or USB LS (low speed) modes are not supported. Connecting
speed) host port is also possible as the USB SS port runs in HS mode.
For the power, the STLINK-V3PWR internal circuitry, including the SMU output (OUT), and the auxiliary output
(AUX) are powered by USB-C. Accordingly, the host PC must be capable to supply them, especially for the SMU
output (OUT) and the auxiliary output (AUX) that can require a significant peak of energy to power supply a
complete target application.
STLINK-V3PWR automatically detects the power budget advertised by the host PC USB port. As mentioned in
Section 5.3.1, the STLINK-V3PWR’s USB-C must be connected to a USB host PC or USB hub port that can
provide 5 V/1.5 A minimum, typically a USB host port supporting charging. Refer to Table 4 for details.
USB Type-C® host PC or hub port. Refer to Table 4 for details.
‑
speed) host port.
STLINK-V3PWR to a USB SS (super
DT59112V1
UM3097 - Rev 1
page 7/30
Page 8
Table 4. USB host PC or hub port identification
UM3097
Mechanical information
USB host portPort identificationSTLINK-V3PWR compatibility
Standard USB Type-A port (500 mA)OUT and AUX disabledorange
Charging USB Type-A port (1.5 A)OKgreen
USB Type-C
Charging USB Type-C®
1.
Some USB T
works with the OUT and AUX disabled and the USB LED lights in orange color.
ype-C® ports without the “spark” logo might be advertised as 500 mA ports. In that case, STLINK-V3PWR
®(1)
port (1.5 or 3
A)
port (3 A)
OKgreen
OKgreen
USB LED
color
Note:Connection to a USB charger is not a functional use case for STLINK-V3PWR. In that case, USB LED lights
in green color (valid power source) and COM LED blinks red color (waiting for USB enumeration). Refer to
Section 7.6 LEDs management.
5.4Mechanical information
Figure 3. Product dimensions
70 mm
5.5Thermal recommendation
STLINK-V3PWR is recommended to operate at the temperature range specified in T
STLINK-V3PWR uses precision components that are affected by temperature changes. It is recommended to use
it at a place where the thermal gradient or airflow is minimum. A typical laboratory bench or table might be an
optimal location.
Accordingly, airflow cooling holes on the top and the bottom of STLINK-V3PWR must be kept free to ease air
cooling.
Hence it is recommended to start the measurement after waiting for a few minutes after the product is plugged
into the USB port and a connection is established. This ensures the entire product self‑heating to reach
thermal equilibrium and avoid triggering a self‑calibration sequence during measurement acquisition (refer to
Section 7.2.3 Self‑calibration management).
90 mm
20 mm
DT59117V1
able 11.
5.6Known limitation
The STLINK-V3PWR internal acquisition circuitry is sensitive to vibration and shock. If vibration or shock occurs
during acquisition,
UM3097 - Rev 1
STLINK-V3PWR sends acquisition data containing erroneous peak current.
page 8/30
Page 9
6Quick start
This section describes how to start with STLINK-V3PWR to make power measurements:
1.
Check that the bundle is complete (STLINK-V3PWR with three flat cables and a bundle of four wire
jumpers).
2.Install or update the power measurement software (for example STM32CubeMonitor-Power).
3.Connect a USB Type-C® to USB Type-C® cable (recommended) or USB Type-A to USB Type-C® cable
between STLINK-V3PWR and the PC (refer to Section 5.3 USB connection with a host PC).
4.Check the LED status:
–The USB LED must turn green: STLINK-V3PWR is supplied by a valid power source from PC.
–The COM LED must turn red: STLINK-V3PWR debugger is ready.
5.Hardware configuration for power measurement: Connect the STLINK-V3PWR’s SMU (OUT and GND)
onto the power supply input of the target application using wire jumpers. Refer to Section 6.1 Typical
application.
6.Software configuration for power measurement: Refer to Section 6.2 Software configuration.
6.1Typical application
6.1.1Connection with a target application for power measurements
STLINK-V3PWR provides two voltage‑regulated power sources: OUT and AUX:
•
OUT is a programmable voltage‑regulated power source including current measurement: Refer to
Section 7.2 SMU output (OUT).
•AUX is a programmable voltage‑regulated power source only: Refer to Section 7.3 Auxiliary power source
output (AUX).
Figure 4 provides a basic connection example of STLINK-V3PWR with a target application.
UM3097
Quick start
Figure 4. STLINK-V3PWR connection
•Connect OUT to the target application power supply input to be measured (for example pin +3V3 of an
STM32 Nucleo board) using a wire jumper provided in the kit.
•
Connect the GND to the target application ground (for example pin GND of an STM32 Nucleo board) using
a wire jumper provided in the kit.
•(Optional) Connect the AUX power source to the target application input power supply that does not require
to be measured.
6.1.2Recommendations for power measurements
The use of wire jumpers provided in the kit must be limited to target applications not consuming more than
100 mA to avoid voltage drop through wire jumper cables.
optional
appl
VDD
DEBUG
+3V3
GND
3V3_PERIPH
Target
ication
debug I/F
VDD
ctrl I/F
Peripherals
DT59118V1
UM3097 - Rev 1
page 9/30
Page 10
For target applications having significant current consumption, it is recommended to use cables with adapted
conductor diameter to limit voltage drop through the cable due to wire resistance and current consumption of the
target application.
In addition, it is recommended to not use wires longer than ~30 cm and twist them (OUT and GND wires) to
reduce parasitic inductance.
6.2Software configuration
1.Launch the STM32CubeMonitor-Power application.
2.
Select the COM port of the device.
UM3097
Software configuration
Figure 5. STM32CubeMonitor-Power setting
3.Click on the "TAKE CONTROL" button to handle the STLINK-V3PWR probe.
–ACQUISITION & REPLAY:
–Set "Sampling Frequency" to 20000 Hz [recommended value]
–Set "Acquisition Time" to 10 s
–Set "Current Threshold" to 1000 µA
–Set "Trigger Source" to "sw" (software)
–Set "Trigger Delay" to 1ms
–Set the desired "Input Voltage" of the target application inside the range 1600 mV/3600 mV
4.Click on the "START ACQUISITION" button
5.The STLINK-V3PWR's SMU turns on and current measurement acquisition starts:
–OUT and AUX LEDs turn on green (output voltage turned on)
–Current measurement is displayed in real time in the STM32CubeMonitor-Power main window.
Note: Refer to the user manual STM32CubeMonitor-Power software tool for power and ultra-low-powermeasurements (UM2202).
UM3097 - Rev 1
page 10/30
Page 11
7STLINK-V3PWR functional description
7.1STLINK-V3PWR overview
The following sections provide a functional description of the STLINK-V3PWR features.
Figure 6 provides a high-level block diagram of the
connection of STLINK-V3PWR with a host PC and with a target application.
Figure 6. STLINK-V3PWR block diagram
STLINK-V3PWR internal circuitry that illustrates a typical
UM3097
STLINK-V3PWR functional description
7.2SMU output (OUT)
The STLINK-V3PWR’s SMU output is accessible on the POWER’s 3‑pin screw connector between the OUT pin
(positive node) and GND pin (negative node). Figure 7 provides a block diagram of the SMU.
STLINK-V3PWR
USB
USB Type C®
Figure 7. STLINK-V3PWR
V
SOURCE
STPMIC1
COM
STM32H745
Level shifter
Bridge
I
meter
A
AUX
AUX
POWER
OUT
SMU
Level
shifter
OUT
DEBUG
SMU block diagram
I
OUT
OUT
Target
Peripherals
VDD
DEBUG
DT59120V1
SMU
Feedback to
regulate V
OUT
V
OUT
V
Target
application
GND
DT59121V1
UM3097 - Rev 1
page 11/30
Page 12
UM3097
SMU output (OUT)
The STLINK-V3PWR’s SMU operates as a 1‑quadrant voltage source and current meter
area is illustrated in Figure 8.
7.2.1Voltage source
The SMU output voltage is programmable from +1.6 to +3.6 V by 100 mV step.
The SMU output voltage keeps stable and accurate over the operating measurement area (refer to Figure 8),
even with a large capacitive load (order of 100 µF) that usually causes SMU oscillating.
It has excellent load transient response, even for a transient starting from very low current to high current with
fast current rise time (refer to V
operating from STANDBY mode (very low current) to RUN mode (high current) without impacting its power supply
voltage.
The SMU can source a 500 mA continuous output current.
Above 500 mA and up to OCPTH (550 mA) output current, the SMU output starts entering self-protection mode.
Output voltage decreases slowly as output current increases.
It can safely tolerate overcurrent and short circuits (refer to Section 7.2.4 Overcurrent and short circuit
management).
Figure 8. STLINK-V3PWR SMU operating area
I
OUT
short-circuit
OCP
OUT_LO
MAX
OCP
TH
+500 mA
in Table 12). This is especially suitable to supply an STM32 microcontroller
0
overcurrent
operating
measurement
+1.6 V
area
+3.6 V
V
OUT
. The SMU operating
DT59122V1
Voltage source power ON/ power OFF management
•The voltage source is OFF after STLINK-V3PWR powers up (USB cable insertion).
•The default output voltage is 3.3 V. Any voltage change must be performed before turning on the voltage
source.
•By default, the voltage source is automatically turned ON when a current measurement acquisition is
started.
•By default, the voltage source stays ON after a current measurement acquisition ends or stops.
7.2.2Current measurement
The STLINK-V3PWR SMU is composed of four analog current measurement paths having 50 kHz analog
bandwidth. Current sample acquisitions of the four measurement paths are performed by an STM32H745 using
two 12‑bit ADCs working in parallel, each at a 1.6 MHz sampling frequency
algorithms aim to manage current range selection and to perform noise reduction. SMU provides a sampling rate
of up to 100 kSPS (kilosamples per second) and down to 1 SPS to the host PC via a USB interface.
. The embedded post‑processing
UM3097 - Rev 1
page 12/30
Page 13
UM3097
SMU output (OUT)
The four measurement paths have a fixed current range (refer to Figure 9). Range selections are fully automated
at run time by post‑processing algorithms allowing a continuous current acquisition from a few nA to 500 mA.
Figure 9. SMU current measurement ranges
res: 1.5 nA
10
1nA
res: 150 µA
res: 5 µA
res: 60 nAres: 1 µA
RANGE1
-9
-8
10
-7
10
res: 5 nA
10
1 µA
5 µA
RANGE2
-6
-5
10
380 µA
RANGE3
-4
10
10
1 mA
-3
res: 15 µA
15 mA
-2
10
Impact of noise on sampling rate selection
The sampling rate selection has significant impacts on measurements.
Using the maximum sampling rate allows the user to catch fast current transient activities but it intrinsically
increases the noise level making small current variations hidden in the noise level.
Reciprocally
, using the minimum sampling rate allows the user to measure small current variations and average
the noise but it smooths fast current transient activities.
Note:Sampling rate selection does not impact the current measurement DC accuracy.
7.2.3Self‑calibration management
STLINK-V3PWR has built‑in self‑calibration circuitry to compensate for the current measurements of
temperature variation.
A self-calibration is automatically performed during current measurements acquisition every +/- 5°C temperature
change inside STLINK-V3PWR.
During the self-calibration sequence, STLINK-V3PWR keeps the SMU output voltage (OUT) enabled but STLINKV3PWR stops sending measurement data to the host PC. Once the self‑calibration sequence ends, STLINKV3PWR restarts sending measurement data to the host PC.
A self‑calibration sequence duration is approximately 15 ms and does not require user intervention.
Each time a self-calibration occurs:
•A popup is displayed on the STM32CubeMonitor-Power windows to inform the user that acquisition data is
stopped for self-calibration sequence duration.
•The OUT LED turns in orange color (refer to Table 8. OUT LED).
res: 250 µA
RANGE4
500 mA
-1
10
Iout (A)
1
(load
1
A
)
DT59123V1
fset due to
7.2.4Overcurrent and short circuit management
The SMU output is protected against overcurrent higher than OCPTH (refer to T
It can safely tolerate short overcurrent or peak current before triggering an OCP (overcurrent protection). This is
suitable to keep the target application operating without crashing during peak transient activities where current
consumption is higher than OCPTH.
UM3097 - Rev 1
When OCPTH < I
V
≈ V
OUT
OUTnom
Short overcurrent
A short overcurrent is a current consumption within OCPTH < I
t
_short_ocp
(refer to Table 12).
Nevertheless, the SMU returns erroneous current measurement values to the host PC as the current consumption
is above the operating measurement area.
< OCP
OUT
– 0.3 x I
, the output voltage decreases as the output current increases:
MAX
OUT
OUT
< OCP
able 12) and short circuits.
having a duration less than
MAX
page 13/30
Page 14
UM3097
Auxiliary power source output (AUX)
If the overcurrent disappears before t
to T
able 8. OUT LED) and a warning popup message is displayed on the STM32CubeMonitor-Power windows.
An overcurrent longer than t
_short_ocp
_short_ocp
duration is considered a long overcurrent.
duration, then the OUT LED blinks red/green for 2s duration (refer
Long overcurrent
A long overcurrent is a current consumption within OCPth < IOUT < OCP
t
_short_ocp
.
having a duration longer than
max
Once a long overcurrent condition occurs:
•SMU output is turned OFF.
•Current measurement is stopped.
•OUT LED turns red.
•Error popup message is displayed on the STM32CubeMonitor-Power windows.
Short circuit
A short circuit is detected when the SMU output voltage drops below 10% of the programmed voltage due to I
> OCP
MAX
.
A short circuit is managed as a long overcurrent by STLINK-V3PWR (refer to Long overcurrent).
Note:Long overcurrent and short circuits are considered fatal errors. Accordingly, the user must disconnect and
reconnect STLINK-V3PWR from the host PC to restart STLINK-V3PWR.
Warning:As mentioned, STLINK-V3PWR tolerates overcurrent and short circuits. Consequently, as
STLINK-V3PWR is supplied from a host PC USB port, the host PC USB port must support
the equivalent amount of power consumed during the overcurrent or the short circuit. Else,
the host PC USB port OCP might trigger; making STLINK-V3PWR turn OFF. Accordingly,
it is recommended to connect STLINK-V3PWR to a 5 V/3 A USB Type-C® port for a target
application running peak activities above STLINK-V3PWR’s operating measurement area.
OUT
7.3Auxiliary power source output (AUX)
The auxiliary power source output is a regulated voltage source programmable from +1.6 to +3.6 V by 100 mV
step.
Note:
When STLINK-V3PWR is managed by STM32CubeMonitor-Power, the auxiliary power source output voltage is
a mirror of the SMU output voltage.
The auxiliary power source output is generated by a programmable SMPS step-down converter allowing a high
power‑efficiency conversion from the host PC USB port.
The auxiliary power source can supply a 2000 mA continuous output current with excellent load transient
response.
It has a built-in OCP. It can safely tolerate overcurrent and short circuits up to the OCP
Table 13).
Warning:As STLINK-V3PWR is supplied from a host PC USB port, the host PC USB port should be
able to support the equivalent amount of power consumed on the AUX output. Else, the
host PC USB port OCP might trigger; making STLINK-V3PWR turn OFF. Accordingly, it is
recommended to connect STLINK-V3PWR to a 5 V/3 A USB Type-C® port.
7.4Debugger interfaces (SWD/JTAG/VCP)
The STLINK-V3PWR debugger functionalities are detailed in this section. These functionalities are split on the
following
•Debug: for SWD, JTAG, and SWV protocols
•Virtual COM port (VCP): for UART protocol
•Bridge: for SPI, I2C, CAN, and GPIOs protocols
Level shifters are integrated with STLINK-V3PWR to adapt debug, bridge, and VCP interface voltage to target
application I/Os voltage from 1.6 to 3.6 V.
STLINK-V3PWR USB interfaces:
threshold (refer to
TH_AUX
UM3097 - Rev 1
page 14/30
Page 15
Debugger interfaces (SWD/JTAG/VCP)
7.4.1Target voltage connection (T_VCC)
The target voltage (T_VCC) must always be provided from the target application (I/Os voltage reference) to
STLINK-V3PWR when the debug interface and bridge functionalities are used.
When connecting the DEBUG connector (using the
to pin 3 of the DEBUG connector (refer to Section 9.3 DEBUG (STM32 JTAG/SWD and VCP)). When using the
BRIDGE functionalities only, without connecting the DEBUG connector to the target, the target voltage must be
provided through the TVCC pin of the BRIDGE connector (refer to Section 9.4 BRIDGE (I2C, CAN, SPI, UART,
and GPIO)).
Warning:If target voltage is not provided, the VCP interface, debug interface, trigger, and bridge
functionalities do not work.
Note:T_VCC signal on the DEBUG connector and the TVCC signal on the BRIDGE connector are internally
interconnected.
STDC14 ribbon) to the target application, it must be provided
7.4.2SWD with SWV
SWD protocol is a debug/program protocol used for STM32 microcontrollers with SWV as a trace. This function is
available on the DEBUG connector
For details regarding performance and baud rates, refer to Section 8.5 Debug and bridge performance.
.
7.4.3JTAG
JTAG protocol is a debug/program protocol used for STM32 microcontrollers. This function is available on the
DEBUG connector
For details regarding performance, refer to Section 8.5 Debug and bridge performance.
.
UM3097
7.4.4Virtual COM port (VCP)
The serial interface VCP (UART) is directly available as a Virtual COM port of the PC, connected to the STLINKV3PWR USB connector
exclusively on one or the other connector (UART signals are internally connected).
On the DEBUG connector, the functionality is available without flow control, T_VCP_RX (or RX) signal is the Rx
for the target (Tx for STLINK-V3PWR), T_VCP_TX (or TX) signal is the Tx for the target (Rx for STLINK-V3PWR).
On the BRIDGE connector, the functionality is available with or without hardware flow control (CTS/RTS). On the
BRIDGE connector TXD signal is the Rx for the target (Tx for STLINK-V3PWR), the RXD signal is the Tx for
the target (Rx for STLINK-V3PWR), the CTS signal is the RTS for the target (CTS for STLINK-V3PWR) and the
RTS signal is the CTS for the target (RTS for STLINK-V3PWR). The hardware flow control might be activated
by physically connecting UART_RTS and/or UART_CTS signals to the target. If not connected, the virtual COM
port works without hardware flow control. Note that the hardware flow control activation/deactivation cannot be
configured by software from the host side on a Virtual COM port. Consequently configuring a parameter related to
that on the host application does not affect the system behavior.
To reach a high UART frequency, it is recommended to use a flat ribbon on the DEBUG connector with all unused
signals tied to the ground on the target side.
For details regarding baud rates and performance, refer to Section 8.5 Debug and bridge performance.
. This function is available on both DEBUG and BRIDGE connectors and must be used
7.4.5Baud rate computing
Some interfaces (VCP and SWV) are using the UART protocol. In that case, the baud rate of STLINK-V3PWR
must be aligned as much as possible with the target one.
Below is a rule allowing the computation of the baud rates achievable by the
192 MHz/prescaler with prescaler = [24 to 31] then 96 MHz/prescaler with prescaler = [16 to 65535]
Note:The UART protocol does not guarantee data delivery (all the more without hardware flow control). Consequently,
at high frequencies, the baud rate is not the only parameter impacting the data integrity. The line load rate and
the capability of the receiver to process all the data also affect communication.
STLINK-V3PWR probe:
UM3097 - Rev 1
page 15/30
Page 16
7.5Bridge functions
STLINK-V3PWR implements a USB interface dedicated to bridging functions from USB to SPI/I2C/CAN/GPIOs
of the STM32 microcontroller target. This interface is mainly used by
programming through SPI/I2C/CAN bootloader. An API host software, STLINK-V3-BRIDGE, is provided to extend
the use cases and be used for customized needs.
For details regarding performance, refer to Section 8.5 Debug and bridge performance.
7.5.1Bridge SPI
SPI signals (SCK, MISO, MOSI, NSS, TVCC, GND) are available on the bridge connector. To reach a high SPI
frequency
target side.
, it is recommended to use a flat ribbon (or short wires), with all unused signals tied to the ground on the
UM3097
Bridge functions
STM32CubeProgrammer to allow target
7.5.2
Bridge I2C
I2C signals (SDA, SCL, TVCC, and GND) are available on the bridge connector
STLINK-V3PWR.
7.5.3Bridge CAN
CAN signals (CRX, CTX, TVCC, and GND) are available on the bridge connector and can be used as input for an
external CAN
transceiver.
7.5.4Bridge GPIOs
Four GPIO signals (IO0, IO1, IO2, IO3, TVCC, and GND) are available on the bridge connector. The I/O direction
is internally managed according to the
7.6LEDs management
STLINK-V3PWR has four bi‑color LEDs
assigned function of each LED is noticed on the housing.
LED referenceLabel purposeDescription
USB LEDUSB power status
COM LEDST-LINK communication
OUT LEDSMU voltage outputOUT LED indicates the SMU output state.
AUX LEDAuxiliary voltageAUX LED indicates the AUX output state.
. 560 Ω pull-ups are included in
I/O software configuration through the public ST bridge software interface.
which allow the user to know the status of the product at any time. The
Table 5. LEDs overview
The USB LED indicates the power budget provided by the
host PC.
This LED shows the ST-LINK status (refer to the technical
note Overview of ST
-LINK derivatives (TN1235))
7.6.1LED management
LED status/colorDescription
GreenHost PC can provide enough energy for SMU and AUX features.
Orange
Red
Slow blinking redUSB enumeration in progress
Fast blinking red
UM3097 - Rev 1
Table 6. USB LED
Host PC cannot provide enough energy for SMU and AUX features. SMU and AUX features
disabled.
Transitional state after USB cable plug and before identification of host port by STLINKV3PWR
Undervoltage detected on VBUS or fatal error during USB enumeration or host port
identification. Check the electrical context, restart
and try another USB port.
STLINK-V3PWR (do a USB cable removal),
page 16/30
Page 17
LED status/colorDescription
OFFNo USB connection
Table 7. COM LED
LED status/colorDescription
GreenThe last communication with the target has been successful
OrangeThe last communication with the target has failed
Red
Blinking red
Blinking green/redData is being exchanged between the target and the PC
OFFFatal error: USB removal cable is required
STLINK-V3PWR is in the idle state (the USB enumeration with the PC is finished and the
STLINK-V3PWR is waiting for an application to connect).
The first enumeration with the PC is taking place. If an STLinkUpgrade application is running,
the firmware is being programmed.
Table 8. OUT LED
LED status/colorDescription
GreenOUT is turned ON and no power measurement is ongoing.
Slow blinking greenOUT is turned ON and the current measurement is ongoing.
Fast blinking greenOUT is turned ON and trigger IN is armed.
OrangeCalibration ongoing
Red
Slow blinking redOverheating protection. OUT and AUX automatically turned OFF
Fast blinking redFatal error during initialization
Slow blinking green/redShort overcurrent detected on OUT (not fatal, blinking during 2 s)
OFFOUT is turned OFF.
Overcurrent detected on OUT (refer to Section 7.2.4 Overcurrent and short circuit
management). OUT and AUX automatically turned OFF
UM3097
LEDs management
Table 9. V
LED colorDescription
RedOvercurrent detected (refer to Section 7.3. OUT and AUX automatically turned OFF
GreenAUX is ON.
OFFAUX is OFF.
AUX LED
UM3097 - Rev 1
page 17/30
Page 18
8Electrical and performance parameters
In this section, all parameters are not guaranteed: They are extracted from the design phase and the product
validation on a few
8.1Absolute maximum rating
USB-C supply voltage (VBUS)OVP from 6.5 V-0.320V
Voltage applied on any portUnpowered-0.30.7V
Voltage applied on OUT or AUX portPowered, outputs OFF-0.35V
Voltage applied on T_VCCpowered-0.34.2V
Voltage applied on any DEBUG or BRIDGE input
Storage temperature--2080°C
Operating temperature-050°C
Relative humidity (non-condensing)-095%
STLINK-V3PWR samples. They are not issued from characterization or a calibration process.
Table 10. Absolute maximum rating
ParameterConditionMinMaxUnit
powered,
T_VCC ≤ 3.6V
UM3097
Electrical and performance parameters
-0.3
T_VCC +
0.6
V
All voltages are relative to GND with GND internally connected to USB GND.
8.2Recommended operating conditions
Table 11. Recommended operating conditions
SymbolParameterMinTypMaxUnit
V
BUS_IN
I
SUP_USB
H
REL
T
OP
USB-C supply voltage4.555.5V
USB host port supply current capability (charging
port)
Relative humidity (non-condensing)20-80%
Operating temperature152335°C
8.3SMU output (OUT) characteristics
All parameters are provided at V
8.3.1SMU voltage source characteristics
SymbolParameterConditionsMin.Typ.Max.Unit
VOUTOutput voltage
VOUT_ACC
I
OUT
Output voltage
accuracy
Maximum
continuous output
current
= 5 V
BUS_IN
, TOP = 23 °C, and V
Table 12. SMU voltage source characteristics
Programmable range1.6-3.6V
Programming step-100-mV
10 nA < I
V
OUT
1.6 V < V
< 500 mA
OUT
= {1.8 V ; 3.3 V}
< 3.6 V
OUT
1.5--A
= 3.3 V unless otherwise specified.
OUT
-±2-%
-500mA
UM3097 - Rev 1
page 18/30
Page 19
AUX output (AUX) voltage source characteristics
SymbolParameterConditionsMin.Typ.Max.Unit
Overcurrent
OCP
TH
protection
1.6 V < V
OUT
< 3.6 V
threshold
OCP
t
_SHOR
MAX
T_OCP
Short circuit
protection
threshold
OCP blanking
delay
V
OUT
V
OUT
1.6 V < V
= 3.6 V
= 1.6 V
< 3.6 V
OUT
Load on OUT: R = 7.5 Ω // C = 10 µF
Output voltage rise
t
SS
duration
OFF to ON
VOUT from 0 to 95% with VOUT set at
3.6 V
Load on OUT: R = 7.5 Ω // C = 100 µF
VOUT from 0 to 95% with VOUT set at
3.6 V
8.4AUX output (AUX) voltage source characteristics
All parameters are provided at V
BUS_IN
, TOP = 23 °C, and V
= 5 V
AUX
UM3097
-550-mA
-900-mA
-700-mA
-1-ms
-40-µs
-350-µs
= 3.3 V unless otherwise specified.
Table 13. Auxiliary output (AUX) voltage source characteristics
SymbolParameterConditionsMin.Typ.Max.Unit
VAUXoutput voltage
VAUX_ACC
I
AUX
OCP
AUX
V
AUX_LO
t
SS
ƞ
AUX
1.
Recommended to use a
output voltage
accuracy
Max continuous
output current
Overcurrent
and short
circuit protection
threshold
Load transient
regulation
Output voltage rise
Load on AUX: R = 7.5ohm // C = 10µF
duration
OFF to ON
Power efficiency
(P
AUX/PUSB
)
USB Type-C® host port supporting charging mode (up to 5 V/3 A)
Programmable range1.6-3.6V
Programming step-100-mV
10nA < I
1.6V < V
1.6V < V
1.6V < V
I
= 0 to 1A in 1µs rising duration
AUX
V
from 0 to 95% with V
AUX
AUX
AUX
AUX
AUX
< 2.0A
= < 3.6V
< 3.6V
< 3.6V
AUX
set at
-±3-%
--
-2.5-A
--30-mV
-700-µs
3.6V
I
= 250mA
AUX
I
AUX
I
AUX
= 1.3A
= 2A
-90-%
-85-%
-79-%
(1)
2
A
UM3097 - Rev 1
page 19/30
Page 20
8.5Debug and bridge performance
Table 14 gives an overview of the achievable maximal performances with
communication channels. Those performances are also depending on the overall system context (target
included), so they are not guaranteed to be always reachable. For instance, a noisy environment or connection
quality can impact system performance.
Table 14. Debug and bridge performances
UM3097
Debug and bridge performance
STLINK-V3PWR on different
Target
voltage
(T_VCC)
3.3 V
1.8 V1012.510101211
SWDJTAGSWVVCPSPI
102012122411
Data interface maximum frequency (in MHz)
I2C
CAN
UM3097 - Rev 1
page 20/30
Page 21
9Board connectors description
9.1Conventions
Per conventions, refer to T
TypeDefinition
ISignal is an input for STLINK-V3PWR and an output for the target application
OSignal is an output for STLINK-V3PWR and an input for the target application
I/OBidirectional signal or can be configured as input or output (default input)
SSupply pin
9.2POWER (OUT/AUX)
The POWER connector (Figure 10) is a 3‑pin screw terminal block with a 5.00 mm pitch. It is used to supply a
target application using cables.
able 15 for the I/O type definition:
Table 15. I/O type definition
Figure 10. POWER connector (front view)
UM3097
Board connectors description
Table 16. Power connector pinout
NameTypeDescription
OUTSSMU output (refer to Section 7.2)
GNDSGround
AUXSAuxiliary power source output (refer to Section 7.3)
9.3DEBUG (STM32 JTAG/SWD and VCP)
The DEBUG (STDC14) connector in Figure 1
STM32 target using the JTAG or SWD protocol, respecting (from pin 3 to pin 12) the MIPI10/ARM10 pinout (Arm
Cortex® debug connector).
It also provides two UART signals for the Virtual COM port. The related pinout for the DEBUG connector is listed
in Table 17.
Figure 11. DEBUG STDC14 connector (top view)
1 is a 2x7‑pin with a 1.27 mm pitch. It allows connection to an
®
UM3097 - Rev 1
page 21/30
Page 22
UM3097
BRIDGE (I2C, CAN, SPI, UART, and GPIO)
Table 17. DEBUG STDC14
connector pinout
Pin No.TypeDescriptionPin No.TypeDescription
1-
3I
(1)
NC
T_VCC
2-NC
(2)
4I/OT_JTMS/T_SWDIO
5SGND6OT_JCLK/T_SWCLK
7SGND8I
T_JTDO/T_SWO
(3)
9-NC10OT_JTDI/NC
11O
13OT_VCP_RX14IT_VCP_TX
GNDDetect
(4)
12OT_NRST
1. NC means not connected.
2. Input reference voltage for debug interface level shifters (must be connected into target application onto VDDIO domain)
3. T_SWO: SWO is optional, and required only for Serial Wire Viewer (SWV) trace.
4. Tied to GND by the STLINK-V3PWR firmware after its initialization. Might be used by the target for the detection of the tool.
Note:T_VCC signal on the DEBUG connector is internally connected with the T_VCC signal of the BRIDGE connector
(refer to Section 9.4 BRIDGE (I2C, CAN, SPI, UART, and GPIO)).
Note:Debug and bridge interfaces share the same UART interface. T_VCP_RX is internally connected with
UART_TXD of the BRIDGE connector. T_VCP_TX is internally connected with UART_RXD of the BRIDGE
connector (Section 9.4 BRIDGE (I2C, CAN, SPI, UART, and GPIO)).
9.4
BRIDGE (I2C, CAN, SPI,
UART, and GPIO)
All the bridge functions are provided on a 2x11-pin connector with a 2.54 mm pitch. The related pinout is listed
below:
Supply output (100 mA max) powered from USB-C voltage. Reserved to power supply a daughterboard to be connected
+5V
(1)
-GNDSGNDTop
T_VCC
(2)
SCLOI2C_SCL
UART
VCP
-
I2C
bridge
CAN bridge
bridge
I2C
onto the BRIDGE connector.
2. Input reference voltage for bridge interface level shifters (must be connected into target application onto VDDIO domain)
Note:T_VCC signal on the BRIDGE connector is internally connected with the T_VCC signal of the DEBUG connector
(refer to Section 9.3 DEBUG (STM32 JTAG/SWD and VCP)).
Note:Debug and bridge interfaces share the same UART interface. T_VCP_RX is internally connected with
UART_TXD of the BRIDGE connector. T_VCP_TX is internally connected with UART_RXD of the BRIDGE
connector (refer to Section 9.3 DEBUG (STM32 JTAG/SWD and VCP)).
UM3097 - Rev 1
page 22/30
Page 23
10Flat ribbons
STLINK-V3PWR provides three flat cables allowing the connection from the DEBUG (STDC14) connector output
to:
•
STDC14 connector (1.27 mm pitch) on target application: pinout detailed in Table 17. Reference Samtec
FFSD-07-D-05.90-01-N.
•ARM10-compatible connector (1.27 mm pitch) on target application: pinout detailed in Reference Samtec
ASP-203799-04 (Like Part: FFSD-05/07-D-05.90-01-N).
•ARM20-compatible connector (1.27 mm pitch) on target application: pinout detailed in Reference Samtec
ASP-203800-04 (Like Part: FFSD-10/07-D-05.90-01-N).
Pin No.DescriptionPin No.Description
1
3GND4T_JCLK/T_SWCLK
5GND6
7
1. Input reference voltage for debug interface level shifters (must be connected to target application onto VDDIO domain).
2. SWO is optional, required only for Serial Wire Viewer (SWV) trace
3. Optional loopback of T_JCLK on the target application side. Not connected on the STLINK-V3PWR side.
4. NC means not connected.
5. Tied to GND by the STLINK-V3PWR firmware after its initialization. Might be used by the target application to detect the
9
STLINK-V3PWR connection or might be connected to GND.
Input reference voltage for debug interface level shifters (must be connected to target application onto VDDIO domain).
2. SWO is optional, required only for Serial Wire Viewer (SWV) trace.
3. Optional loopback of T_JCLK on the target application side. Not connected on the STLINK-V3PWR side.
4. NC means not connected.
5. Tied to GND by the STLINK-V3PWR firmware after its initialization. Might be used by the target application to detect the
STLINK-V3PWR connection or might be connected to GND.
(1)
T_VCC
T_JRCLK
GNDDetect
2T_JTMS/T_SWDIO
T_JTDO/T_SWO
(3)
/NC
(5)
(4)
8T_JTDI/NC
10T_NRST
(2)
UM3097 - Rev 1
page 23/30
Page 24
UM3097
Federal Communications Commission (FCC) and ISED Canada Compliance Statements
11Federal Communications Commission (FCC) and ISED Canada
Compliance Statements
11.1FCC Compliance Statement
Part 15.19
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this
device may not cause harmful interference, and (2) this device must accept any interference received, including
interference that may cause undesired operation.
Part 15.21
Any changes or modifications to this equipment not expressly approved by STMicroelectronics may cause
harmful interference and void the user's authority to operate this equipment.
Part 15.105
This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part
15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference
in a residential installation. This equipment generates uses and can radiate radio frequency energy and, if not
installed and used in accordance with the instruction, may cause harmful interference to radio communications.
However
cause harmful interference to radio or television reception which can be determined by turning the equipment off
and on, the user is encouraged to try to correct interference by one or more of the following measures:
•Reorient or relocate the receiving antenna.
•Increase the separation between the equipment and receiver.
•Connect the equipment into an outlet on circuit different from that to which the receiver is connected.
•Consult the dealer or an experienced radio/TV technician for help.
Note:Use only shielded cables.
, there is no guarantee that interference will not occur in a particular installation. If this equipment does
Responsible party (in the USA)
Terry Blanchard
Americas Region Legal | Group Vice President and Regional Legal Counsel, The Americas
STMicroelectronics, Inc.
750 Canyon Drive | Suite 300 | Coppell, Texas 75019
USA
Telephone: +1 972-466-7845
11.2ISED Compliance Statement
This device complies with FCC and ISED Canada RF radiation exposure limits set forth for general population for
mobile application (uncontrolled exposure). This device must not be collocated or operating in conjunction with
any other antenna or transmitter
Compliance Statement
Notice: This device complies with ISED Canada licence-exempt RSS standard(s). Operation is subject to the
following two conditions: (1) this device may not cause interference, and (2) this device must accept any
interference, including interference that may cause undesired operation of the device.
Avis: Le présent appareil est conforme aux CNR d'ISDE Canada applicables aux appareils radio exempts
de licence. L'exploitation est autorisée aux deux conditions suivantes : (1) l'appareil ne doit pas produire de
brouillage, et (2) l'utilisateur de l'appareil doit accepter tout brouillage radioélectrique subi, même si le brouillage
est susceptible d'en compromettre le fonctionnement.
Étiquette de conformité à la NMB-003 d'ISDE Canada : CAN ICES-3 (B) / NMB-3 (B).
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’
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
are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
s terms and conditions of sale in place at the time of order acknowledgment.
.st.com/trademarks. All other product or service names