ST NUCLEO-L433RC-P, NUCLEO-L452RE-P User Manual

UM2206
User manual
STM32 Nucleo-64-P boards
Introduction
The STM32 Nucleo-64-P boards (NUCLEO-L412RB-P, NUCLEO-L433RC-P and NUCLEO-L452RE-P) provide an affordable and flexible way for users to try out new concepts and build prototypes with the STM32 microcontroller and the external SMPS (switched mode power supply), which provides various combinations of performance, power consumption and features.
Arduino™ Uno V3 connectivity and ST morpho headers provide an easy means of expanding the functionality of the Nucleo open development platform with a wide choice of specialized shields.
The STM32 Nucleo-64-P boards do not require any separate probe, as they integrate the ST-LINK/V2-1 debugger/programmer. The STM32 Nucleo-64-P boards come with the comprehensive free STM32 software libraries and examples that are available with the STM32Cube package.

Figure 1. Nucleo-64-P board (top view) Figure 2. Nucleo-64-P board (bottom view)

Pictures are not contractual.
August 2018 UM2206 Rev 3 1/55
www.st.com
1
Contents UM2206
Contents
1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
5 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
6 Development toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
7 Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
8 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
8.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
9 Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
9.1 STM32 Nucleo-64-P board layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
9.2 STM32 Nucleo-64-P board mechanical drawing . . . . . . . . . . . . . . . . . . . 13
9.2.1 Default board configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
9.3 Cuttable PCB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
9.4 Embedded ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
9.4.1 Drivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
9.4.2 ST-LINK/V2-1 firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
9.4.3 Using the ST-LINK/V2-1 to program/debug the STM32 . . . . . . . . . . . . 16
9.4.4 Using the ST-LINK/V2-1 to program/debug an external STM32
application. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
9.5 Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
9.5.1 External Power supply input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
9.5.2 External power supply output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
9.5.3 SMPS power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
9.6 Programming/debugging when the power supply is not from
ST-LINK (5V_ST_link) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
9.7 OSC clock sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2/55 UM2206 Rev 3
UM2206 Contents
9.7.1 LSE: OSC 32 KHz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
9.7.2 OSC clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
9.8 Reset sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
9.9 Virtual COM port: LPUART1/USART1 . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
9.10 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
9.11 Push buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.12 IDD measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
9.13 Jumper configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
9.14 Configuration of the solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
10 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
10.1 USB Micro-B connector CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
10.2 Arduino Uno V3 connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
10.3 ST morpho connectors CN5 and CN6 . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
10.4 External power connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Appendix A NUCLEO-L412RB-P, NUCLEO-L433RC-P and NUCLEO-L452RE-P
I/O assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Appendix B Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Appendix C Federal Communications Commission (FCC)
and Industry Canada (IC) Compliance . . . . . . . . . . . . . . . . . . . . . . . 51
C.1 FCC Compliance Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
C.1.1 Part 15.19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
C.1.2 Part 15.105 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
C.1.3 Part 15.21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
C.2 IC Compliance Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
C.2.1 Compliance Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
C.2.2 Déclaration de conformité . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Appendix D CISPR32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
D.1 Warning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
UM2206 Rev 3 3/55
3
List of tables UM2206
List of tables
Table 1. Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 2. Codification explanation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 3. ON/OFF convention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Table 4. Default jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Table 5. ST-LINK jumper configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 6. Debug connector SWD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 7. Power supply capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 8. SB9 configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 9. LPUART1 connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 10. USART1 connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 11. Jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table 12. Solder bridge configurations and settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Table 13. USB Micro-B pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Table 14. Arduino connector pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Table 15. External power connector pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Table 16. NUCLEO-L412RB-P, NUCLEO-L433RC-P and NUCLEO-L452RE-P
I/O assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Table 17. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
4/55 UM2206 Rev 3
UM2206 List of figures
List of figures
Figure 1. Nucleo-64-P board (top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. Nucleo-64-P board (bottom view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 3. Hardware block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 4. STM32 Nucleo-64-P board top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 5. STM32 Nucleo-64-P board bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 6. STM32 Nucleo-64 -P board mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 7. USB composite device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 8. ST-LINK debugger: jumper configuration for on-board MCU . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 9. ST-LINK debugger: jumper configuration for external MCU . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 10. JP5[1-2]: 5V_STL power source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Figure 11. JP5[3-4]: 5V_VIN power source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 12. JP5[5-6]: E5V power source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Figure 13. JP6[7-8]: 5V_USB_CHG power source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Figure 14. USB Micro-B connector CN1 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 15. Arduino connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Figure 16. Arduino connector pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Figure 17. ST morpho connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Figure 18. ST morpho connector pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Figure 19. External power connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Figure 20. Top and Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Figure 21. STM32 I/Os. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Figure 22. STM32 Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Figure 23. Arduino extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Figure 24. Main Power 5 V, 3.3 V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Figure 25. STM32 power SMPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Figure 26. ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
UM2206 Rev 3 5/55
5
Features UM2206

1 Features

STM32 Arm
®(a)
-based microcontroller in LQFP64 package
SMPS: significantly reduces power consumption in Run mode
32.768 kHz LSE crystal oscillator
One user LED shared with Arduino
Two push-buttons: USER and RESET
Board expansion connectors:
–Arduino
Uno V3
ST morpho
External SMPS experimentation dedicated connector
Flexible board power supply: ST-LINK/V2-1 USB V
or external sources
BUS
On-board ST-LINK/V2-1 debugger/programmer with USB re-enumeration capability:
mass storage, Virtual COM port and debug port
Comprehensive free software libraries and examples available with the STM32Cube
package
Support of a wide choice of Integrated Development Environments (IDEs) including
IAR
, Keil®, GCC-based IDEs

2 Product marking

Evaluation tools marked as "ES" or "E" are not yet qualified and therefore they are not ready to be used as reference design or in production. Any consequences deriving from such usage will not be at ST charge. In no event, ST will be liable for any customer usage of these engineering sample tools as reference design or in production.
"E" or "ES" marking examples of location:
On the targeted STM32 that is soldered on the board (for illustration of STM32 marking,
refer to the section “Package characteristics” of the STM32 datasheet at www.st.com).
Next to the evaluation tool ordering part number, that is stuck or silk-screen printed on
the board.
This board features a specific STM32 device version, which allows the operation of any bundled commercial stack/library available. This STM32 device shows a "U" marking option at the end of the standard part number and is not available for sales. In order to use the same commercial stack in his application, a developer may need to purchase a part number specific to this stack/library. The price of those part numbers includes the stack/library royalties.
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and or elsewhere.
6/55 UM2206 Rev 3
UM2206 Ordering information

3 Ordering information

To order the Nucleo-64-P board corresponding to the targeted STM32, refer to Tab le 1.
Order code Target STM32
NUCLEO-L412RB-P STM32L412RBT6P
NUCLEO-L433RC-P STM32L433RCT6P
NUCLEO-L452RE-P STM32L452RET6P
The meaning of the codification is explained in Tabl e 2.
NUCLEO-LxxxRy-P Description Example: NUCLEO-L452RE-P
Lxxx STM32 Product line STM32L452
R STM32 package pin count 64 pins
y
-P External SMPS architecture.

Table 1. Ordering information

Table 2. Codification explanation

STM32 Flash memory size (8 for 64 Kbytes, B for 128 Kbytes, C for 256 Kbytes, E for 512 Kbytes, G for 1MKbyte, H for 1.5 Mbytes and I for 2 Mbytes)
E = 512 Kbytes
This order code is mentioned on a sticker placed on bottom side of the board.

4 Conventions

Tabl e 3 provides the conventions used for the ON and OFF settings in the present
document.
Convention Definition
Jumper JPx ON Jumper fitted
Jumper JPx OFF Jumper not fitted
Jumper JPx [1-2] Jumper should be fitted between Pin 1 and Pin 2
Solder bridge SBx ON SBx connections closed by 0 ohm resistor
Solder bridge SBx OFF SBx connections left open
In this document the references for all information that is common to all sale types, are “STM32 Nucleo-64-P board” and “STM32 Nucleo-64-P boards”.

Table 3. ON/OFF convention

UM2206 Rev 3 7/55
54
System requirements UM2206

5 System requirements

Windows® OS (7, 8 and 10), Linux® or macOS
USB Type-A to Micro-B cable

6 Development toolchains

Keil® MDK-ARM
IAR™ EWARM
GCC-based IDEs including free SW4STM32 from AC6
(b)
(b)

7 Demonstration software

The demonstration software, included in the STM32Cube MCU Package, is preloaded in the STM32 Flash memory for easy The latest versions of the downloaded from the www.st.com/stm32nucleo
demonstration of the device peripherals in standalone mode.
demonstration source code and associated documentation can be
®(a)
webpage.
a. macOS® is a trademark of Apple Inc.\nregistered in the U.S. and other countries.
b. On Windows® only.
8/55 UM2206 Rev 3
UM2206 Quick start

8 Quick start

This section describes how to start a development quickly using the STM32 Nucleo-64-P board.
Before installing and using the product, accept the Evaluation Product License Agreement from the www.st.com/epla webpage.

8.1 Getting started

The STM32 Nucleo-64-P board is a low-cost and easy-to-use development kit to quickly evaluate and start a development with an STM32 microcontroller in QFP64 package. To start using this board, follow the steps below:
1. Check the jumper position on the board, as showed in the Table 4: Default jumper
settings
2. For a correct identification of all device interfaces from the host PC, install the Nucleo
USB driver available on the www.st.com/ stm32nucleo webpage, prior connecting the board.
3. To power the board connect the Nucleo-64-P board to a PC with a USB cable ‘type A to
micro-B’ through the USB connector CN1. As a result the green LED LD3 (5 lights up, LD1 (COM) and green LED LD4 blink.
4. Press user button B1 (blue).
5. Observe that the blinking frequency of the three green LED LD4 changes, by clicking
on the button B1.
6. The software demonstration and the several software examples, that allow the user to
use the Nucleo features, are available at the www.st.com/stm32nucleo webpage.
7. Develop an application using the available examples.
V PWR)
UM2206 Rev 3 9/55
54
Hardware layout and configuration UM2206
06Y9
67/,1.B93DUW
670PLFURFRQWUROOHU
26&B
6:'
9''B0&8 99
.+] &U\VWDO
9&3
8$57
*3,2V
*3,2
/('
*3,2
(PEHGGHG
67/,1.9
6:'
6:'
9&3
8$57
86%0LFUR
%FRQQHFWRU
%
8VHU
%
567
$UGXLQR
67PRUSKR
*3,2
$UGXLQR
67PRUSKR
9
3:56(/
9
/('
9''B9
([W3:5
-XPSHU
-3 Q567
9&3
-367/ Q567
&20

9 Hardware layout and configuration

The STM32 Nucleo-64-P board is designed around the STM32 microcontrollers in a 64-pins LQFP package.
Figure 3 illustrates the connection between the STM32 and the peripherals (ST-LINK/V2-1,
push-buttons, LEDs, Arduino Uno V3 connector and ST morpho connectors).
Figure 4 and Figure 5 show the location of these features on the STM32 Nucleo-64-P
board.
The mechanical dimensions of the board are showed in Figure 6.

Figure 3. Hardware block diagram

10/55 UM2206 Rev 3
UM2206 Hardware layout and configuration
IDD JP: JP6
Arduino_D[8..15]: CN7
Arduino_D[0..7]: CN9
Arduino_A[0..5]: CN10
Arduino_PWR: CN8
SMPS_1V1: U11/U12
ST-LINK STM32: U2
User button: B1
UART VPN: CN4
SWD: CN3
USB_STLINK: CN1
5V PWR SEL: JP5
STLINK_5V_SW: U4
ST-LINK debugger:
CN2
STLINK_3V3: U3
5V PWR LED: LD3
ST morpho: CN6
MCU 1V8 / 3V3: JP7
MCU SMPS 1V8: U13/U14
RST Button: B2
ST morpho: CN5
VIN to 5V: U8
3V3: U7
SMPS_1V2 SW: U10
VDD1V2_SMPS_IN:
JP8
32KHz: X3
ST-LINK RST: JP1
User_LED: LD4
External Core PWR connector: CN11
SWD level shifter:
U5/U6
nRST: JP4
COM LED: LD1
STM32: U9

9.1 STM32 Nucleo-64-P board layout

Figure 4. STM32 Nucleo-64-P board top layout

UM2206 Rev 3 11/55
54
Hardware layout and configuration UM2206

Figure 5. STM32 Nucleo-64-P board bottom layout

12/55 UM2206 Rev 3
UM2206 Hardware layout and configuration

9.2 STM32 Nucleo-64-P board mechanical drawing

Figure 6. STM32 Nucleo-64 -P board mechanical drawing

9.2.1 Default board configuration

By default the STM32 Nucleo-64-P board is delivered with the external SMPS 1.1 V enabled and V user should check that the extension module and the external shields connected to the Nucleo-64-P board are 1.8
The default jumper configuration and VDD@1.8 V setting is showed in Table 4.
@3.3 V. It is possible to set the board for VDD@1.8 V. Before switching to 1.8 V, the
DD
V compatible.
UM2206 Rev 3 13/55
54
Hardware layout and configuration UM2206
Jumper Definition Default position Comment
CN2 SWD interface ON [1-2] ON[3-4] On-board ST-LINK/V2-1 debugger
JP1 STLK_RST OFF -
JP4 T_NRST ON -
JP5 5 V Power selection ON [1-2] 5 V from ST-LINK
JP6 I
JP7 V
JP8 V
measurement ON STM32 VDD current measurement
DD

9.3 Cuttable PCB

An STM32 Nucleo-64-P board is divided into two parts: ST-LINK and target STM32. The ST-LINK part of the PCB can be cut out to reduce the board size. In this case the remaining target STM32 part can only be powered by V CN5, or by V
It is still possible to use the ST- LINK part to program the STM32, using wires between the CN3 and SWD available signals on the ST morpho connector (SWCLK CN5 pin 17, SWDIO CN5 pin 15 and NRST CN5 pin 14, same I/O level as V
and 3.3 V Arduino connector CN8.
IN
DD_MCU
DD_IN_SMPS
Table 4. Default jumper settings
ON [1-2] (default) V
ON [2-3] (optional) V
ON V
, E5V and 3.3 V on the ST morpho connector
IN
DD_MCU
DD_MCU
DD_1V2
DD_MCU
voltage selection 3.3 V
voltage selection 1.8 V
SMPS input power supply
).

9.4 Embedded ST-LINK/V2-1

The ST-LINK/V2-1 programming and debugging tool is integrated on the STM32 Nucleo-64-P board.
For information about debugging and programming features, refer to ST-LINK/V2 in-circuit
debugger/programmer for
website.
The changes versus ST-LINK/V2 version are listed below.
New features supported on ST-LINK/V2-1 are:
USB software re-enumeration
Virtual COM port interface on USB
Mass storage interface on USB
USB power management request for more than 100mA power on USB
The following features are no more supported on ST-LINK/V2-1:
SWIM interface
Application voltage lower than 3 V (need to add level shifter to support it)
STM8 and STM32 User manual (UM1075) at the www.st.com
14/55 UM2206 Rev 3
UM2206 Hardware layout and configuration
The embedded ST-LINK/V2-1 can be used in two different ways according to the jumper states (refer to
Tabl e 5):
Program/debug the STM32 on board,
Program/debug an STM32 in an external application board using a cable connected to
SWD connector.
CN Definition Default position Comment

Table 5. ST-LINK jumper configuration

T_SWCLK / T_SWDIO ON [1-2] ON [3-4]
CN3
T_SWCLK / T_SWDIO OFF [1-2] OFF [3-4]
ST-LINK/V2-1 functions enabled for on-board programming (default)
ST-LINK/V2-1 functions enabled from external connector (SWD supported)

9.4.1 Drivers

®
Before connecting the STM32 Nucleo-64-P board to a Windows through USB, install the driver for
the ST-LINK/V2-1 that is available at the www.st.com
website.
In case the STM32 Nucleo-64-P board is connected to the PC before installing the driver, the PC device manager may report some Nucleo interfaces as “Unknown”. To recover from this situation, after installing the dedicated driver, the association of “Unknown” USB devices found on the STM32 Nucleo-64-P board to this dedicated driver, must be updated in the device manager manually.
Note: It is recommended to proceed by using USB Composite Device, as shown in Figure 7.
Figure 7. USB composite device
PC (XP, 7, 8 and 10)

9.4.2 ST-LINK/V2-1 firmware upgrade

The ST-LINK/V2-1 embeds a firmware upgrade mechanism for in-situ upgrade through the USB port. As the firmware may evolve during the lifetime of the ST-LINK/V2-1 product (for example new functionalities, bug fixes, support for new microcontroller families), it is recommended to keep the ST-LINK/V2-1 firmware up to date before starting to use an STM32 Nucleo-64-P board. The latest version of this firmware is available at the www.st.com website.
UM2206 Rev 3 15/55
54
Hardware layout and configuration UM2206
SWD connector: CN3
ST-LINK jumper ON:
CN2 [1-2] and [3-4]

9.4.3 Using the ST-LINK/V2-1 to program/debug the STM32

To program the STM32, place the two jumpers marked in red on the connector CN2, as shown in STM32 microcontroller of the Nucleo-64-P board.
Figure 8. Do not use the SWD connector to not disturb the communication with the
Figure 8. ST-LINK debugger: jumper configuration for on-board MCU
9.4.4 Using the ST-LINK/V2-1 to program/debug an external STM32
Note: JP4 NRST (target STM32 RESET) must be opened when CN3 pin 5 is used in an external
16/55 UM2206 Rev 3
application.
It is very easy to use the ST-LINK/V2-1 to program the STM32 on an external application.
Simply remove the two jumpers from CN2, as shown in Figure 9, and connect the application to the SWD debug connector according to Tab le 6.
application.
UM2206 Hardware layout and configuration
SWD connector: CN3
ST-LINK jumper OFF:
CN2 [1-2] and [3-4]
Figure 9. ST-LINK debugger: jumper configuration for external MCU
Connector
SWD
CN3
Table 6. Debug connector SWD
Pin
number
11
2 2 T_JTCK PA5 SWD clock
3 3 GND PA12 Ground
44 T_JTMSPA14
5 5 T_NRST PB0
6 6 T_SWO PA10 SWD out (optional)
Pin name Signal name STM32 pin Function
VDD_TARGET:
AIN_1
PA0 V
from application
DD
SWD data input/output
RESET of target STM32
UM2206 Rev 3 17/55
54
Loading...
+ 38 hidden pages