
6.1 Embedded STLINK-V3E
6.1.1 Description
The STLINK-V3E facility for debugging and programming the STM32L4P5AGI6P 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 memory programming
• Two colored LEDs: communication and power
The USB connector (CN11) can be used to power the STM32L4P5G-DK regardless of the STLINK-V3E facility
used for debugging or programming STM32L4P5AGI6P. This holds also when the STLINK-V3E standalone tool is
connected to CN6 and used for debugging or programming STM32L4P5AGI6P. Section 6.2 Power supply
provides more detail about powering STM32L4P5G-DK. Refer to www.st.com for details about STLINK-V3E.
6.1.2 Drivers and firmware upgrade
The STLINK-V3E requires drivers to be installed on Windows®. It embeds firmware that needs to be updated 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 STLINK-V3E USB connector (CN11). The Virtual COM port settings are 115200 bps, 8-bit data, no parity,
one stop bit, and 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 to 12 V DC power from CN13 pin8: Named VIN on silkscreen, the extension connectors for ARDUINO®
Uno 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 a STM32L4P5AGI6P digital supply voltage line. It can be connected to a fixed 3.3 V voltage supply.
6.2.1 Supplying the board through the STLINK-V3E USB port
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 current supply capability of the USB Host port 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 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 power switch to the 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
Embedded STLINK-V3E
UM2651 - Rev 3 page 11/37