6.1
Embedded STLINK-V3E
6.1.1
Description
The STLINK-V3E facility for debugging and programming the STM32L4P5AGI6PU is integrated into the
STM32L4P5G-DK board. It supports the following features:
•
Self-powered through a USB connector (Micro-B)
•
USB 2.0 high-speed compatible interface
•
Direct firmware update support (DFU)
•
SWD and serial wire viewer (SWV) communication support
•
Drag-and-drop Flash programming
•
Two colored LEDs: communication and power
The CN11 USB connector can be used to power the STM32L4P5G-DK regardless of the STLINK-V3E facility
used for debugging or programming STM32L4P5AGI6PU. This holds also when the STLINK-V3E stand-alone tool
is connected to the CN6 connector and used for debugging or programming STM32L4P5AGI6PU.
Section 6.2 Power supply
details about STLINK-V3E.
6.1.2
Drivers and firmware upgrade
The STLINK-V3E requires drivers to be installed on Windows
order to benefit from new functionalities or corrections. Refer for details to the technical note Overview of ST-LINK
derivatives TN1235.
6.1.3
Virtual COM port
The serial interface USART2 (PA2 and PA3 ports) is directly available as a Virtual COM port of the PC, connected
to the CN11 STLINK-V3E USB connector. The Virtual COM port settings are 115200 bps, 8-bit data, no parity, 1
stop bit, no flow control.
6.2
Power supply
The STM32L4P5G-DK Discovery kit is designed to be powered from a 5 V DC power source. One of the following
four 5 V DC power inputs can be used, upon appropriate board configuration:
•
Micro-B USB receptacle CN11 of STLINK-V3E with enumeration. Up to 500 mA can be supplied to the board
(JP4 jumper setting on STLK on the silkscreen). This offers the enumeration feature described in
Section 6.2.1
•
Micro-B USB receptacle CN11 of STLINK-V3E without enumeration. Up to 1000 mA can be supplied to the
board directly without enumeration (JP4 jumper setting on CHGR on the silkscreen).
•
Micro-AB USB receptacle CN7 of the USB OTG FS interface. Marked USB_OTG on the board (JP4 jumper
setting on U5V on the silkscreen). Up to 500 mA can be supplied to the board in this way.
•
7-12V DC power from CN13 pin8: Named VIN on silkscreen, the extension connectors for ARDUINO
shields (JP4 setting on external power source on silkscreen (E5V)).
The LD5 green LED turns on when the voltage on the power line marked as 5 V is present. All supply lines
required for the operation of the components on the STM32L4P5G-DK are derived from that 5 V line.
Table 4
describes the settings of all jumpers related to powering the STM32L4P5G-DK and extension board.
VDD_MCU is STM32L4P5AGI6PU digital supply voltage line. It can be connected to a fixed 3.3 V voltage supply.
6.2.1
Supplying the board through STLINK-V3E USB port
In order to power the STM32L4P5G-DK this way, the PC USB host gets connected to the Micro-B USB receptacle
of the STM32L4P5G-DK board via a USB cable. The connection event starts with the USB enumeration
procedure. In its initial phase, the host USB port current supply capability is limited to 100 mA. It is enough
because only the STLINK-V3E part of the STM32L4P5G-DK draws power at that time: The U2 STMPS2151
power switch is set to the OFF position, which isolates the rest of the STM32L4P5G-DK from the power source. In
the next phase of the enumeration procedure, the host PC informs the STLINK-V3E facility of its capability to
supply current up to 300 mA. If the answer is positive, the STLINK-V3E sets the U2 STMPS2151 switch to ON
position to supply power to the rest of the STM32L4P5G-DK board. If the PC USB port is not capable of supplying
current up to 300 mA, the CN13 pin8 (VIN) can be used to supply the board instead.
UM2651 - Rev 2
provides more detail about powering STM32L4P5G-DK. Refer to
.
®
. It embeds a firmware that needs to be updated in
UM2651
Embedded STLINK-V3E
www.st.com
for
®
Uno
page 11/37
Need help?
Do you have a question about the STM32L4P5AG and is the answer not in the manual?