STM32 Nucleo 64 Board Boards User Manual

user_manual_Nucleo(UM1724)

User Manual: Pdf

Open the PDF directly: View PDF PDF.
Page Count: 69

DownloadSTM32 Nucleo-64 Board Boards User Manual
Open PDF In BrowserView PDF
UM1724
User manual
STM32 Nucleo-64 board

Introduction
The STM32 Nucleo-64 board (NUCLEO-F030R8, NUCLEO-F070RB, NUCLEO-F072RB,
NUCLEO-F091RC, NUCLEO-F103RB, NUCLEO-F302R8, NUCLEO-F303RE,
NUCLEO-F334R8, NUCLEO-F401RE, NUCLEO-F410RB, NUCLEO-F411RE,
NUCLEO-F446RE, NUCLEO-L053R8, NUCLEO-L073RZ, NUCLEO-L152RE, NUCLEOL452RE, NUCLEO-L476RG) provides an affordable and flexible way for users to try out new
concepts and build prototypes with the STM32 microcontrollers in LQFP64 package,
choosing from the various combinations of performance, power consumption and features.
The Arduino™ Uno V3 connectivity support and the ST morpho headers allow to expand
easily the functionality of the Nucleo open development platform with a wide choice of
specialized shields. The STM32 Nucleo board does not require any separate probe as it
integrates the ST-LINK/V2-1 debugger and programmer. The STM32 Nucleo board comes
with the STM32 comprehensive software HAL library together with various packaged
software examples, as well as direct access to the ARM® mbed™ online resources at
http://mbed.org/.
Figure 1. STM32 Nucleo-64 board (1)

1. Picture is not contractual.

November 2016

DocID025833 Rev 11

1/69
www.st.com

1

Content

UM1724

Content
1

Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

2

Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

3

Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

4

Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

5

Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

6

5.1

Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

5.2

System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

5.3

Development toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

5.4

NUCLEO-L476RG bootloader limitations . . . . . . . . . . . . . . . . . . . . . . . . . 10

5.5

Hardware configuration variants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11

Hardware layout and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
6.1

Cuttable PCB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

6.2

Embedded ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

6.3

2/69

6.2.1

Driver

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

6.2.2

ST-LINK/V2-1 firmware upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

6.2.3

Using the ST-LINK/V2-1 to program and debug the STM32 on board . 18

6.2.4

Using ST-LINK/V2-1 to program and debug an external
STM32 application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

Power supply and power selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
6.3.1

Power supply input from the USB connector . . . . . . . . . . . . . . . . . . . . . 20

6.3.2

External power supply inputs: VIN and E5V . . . . . . . . . . . . . . . . . . . . . 21

6.3.3

External power supply input: + 3.3V . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

6.3.4

External power supply output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

6.4

LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

6.5

Push-buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

6.6

JP6 (IDD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

6.7

OSC clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6.7.1

OSC clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

6.7.2

OSC 32 KHz clock supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

DocID025833 Rev 11

UM1724

Content

6.8

USART communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

6.9

Solder bridges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

6.10

Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

6.11

Arduino connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

6.12

ST morpho connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53

Appendix A Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67

DocID025833 Rev 11

3/69
3

List of Tables

UM1724

List of Tables
Table 1.
Table 2.
Table 3.
Table 4.
Table 5.
Table 6.
Table 7.
Table 8.
Table 9.
Table 10.
Table 11.
Table 12.
Table 13.
Table 14.
Table 15.
Table 16.
Table 17.
Table 18.
Table 19.
Table 20.
Table 21.
Table 22.
Table 23.
Table 24.
Table 25.
Table 26.
Table 27.
Table 28.
Table 29.
Table 30.
Table 31.
Table 32.
Table 33.
Table 34.

4/69

Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Codification explanation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Jumper states . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Debug connector CN4 (SWD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
JP1 configuration table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
External power sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Power-related jumper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
+3.3V external power source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Solder bridges. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Arduino connectors on NUCLEO-F030R8, NUCLEO-F070RB,
NUCLEO-F072RB, NUCLEO-F091RC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Arduino connectors on NUCLEO-F103RB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Arduino connectors on NUCLEO-F302R8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Arduino connectors on NUCLEO-F303RE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Arduino connectors on NUCLEO-F334R8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Arduino connectors on NUCLEO-F401RE and NUCLEO-F411RE . . . . . . . . . . . . . . . . . . 43
Arduino connectors on NUCLEO-L053R8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Arduino connectors on NUCLEO-L073RZ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Arduino connectors on NUCLEO-F446RE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Arduino connectors on NUCLEO-F410RB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Arduino connectors on NUCLEO-L152RE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Arduino connectors on NUCLEO-L452RE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Arduino connectors on NUCLEO-L476RG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
ST morpho connector on NUCLEO-F030R8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
ST morpho connector on NUCLEO-F070RB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
ST morpho connector on
NUCLEO-F072RB, NUCLEO-F091RC, NUCLEO-F303RE, NUCLEO-F334R8. . . . . . . . . 55
ST morpho connector on NUCLEO-F103RB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
ST morpho connector on NUCLEO-F302R8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
ST morpho connector on NUCLEO-F401RE,
NUCLEO-F411RE, NUCLEO-F446RE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
ST morpho connector on
NUCLEO-L053R8, NUCLEO-L073RZ, NUCLEO-L152RE . . . . . . . . . . . . . . . . . . . . . . . . . 59
ST morpho connector on NUCLEO-L452RE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
ST morpho connector on NUCLEO-L476RG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
ST morpho connector on NUCLEO-F410RB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67

DocID025833 Rev 11

UM1724

List of Figures

List of Figures
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Figure 9.
Figure 10.
Figure 11.
Figure 12.
Figure 13.
Figure 14.
Figure 15.
Figure 16.
Figure 17.
Figure 18.
Figure 19.
Figure 20.
Figure 21.
Figure 22.
Figure 23.
Figure 24.
Figure 25.
Figure 26.
Figure 27.
Figure 28.
Figure 29.
Figure 30.

STM32 Nucleo-64 board (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
STM32 Nucleo board mechanical dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Typical configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Updating the list of drivers in Device Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Connecting the STM32 Nucleo board to program the on-board STM32 . . . . . . . . . . . . . . 18
Using ST-LINK/V2-1 to program the STM32 on an external application . . . . . . . . . . . . . . 19
NUCLEO-F030R8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
NUCLEO-F070RB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
NUCLEO-F072RB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
NUCLEO-F091RC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
NUCLEO-F103RB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
NUCLEO-F302R8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
NUCLEO-F303RE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
NUCLEO-F334R8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
NUCLEO-F401RE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
NUCLEO-F411RE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
NUCLEO-L053R8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
NUCLEO-L073RZ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
NUCLEO-L152RE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
NUCLEO-L452RE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
NUCLEO-L476RG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
NUCLEO-F446RE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
NUCLEO-F410RB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Top and Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
STM32 MCU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
ST-LINK/V2-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Extension connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

DocID025833 Rev 11

5/69
5

Features

1

UM1724

Features
The STM32 Nucleo board offers the following features:
• STM32 microcontroller in LQFP64 package
• Two types of extension resources
– Arduino™ Uno V3 connectivity
– ST morpho extension pin headers for full access to all STM32 I/Os
• ARM® mbed™ (see http://mbed.org)
• On-board ST-LINK/V2-1 debugger and programmer with SWD connector
– Selection-mode switch to use the kit as a standalone ST-LINK/V2-1
•

Flexible board power supply:
–

USB VBUS or external source (3.3V, 5V, 7 - 12V)

–

Power management access point

• Three LEDs:
– USB communication (LD1), user LED (LD2), power LED (LD3)
• Two push-buttons: USER and RESET
• USB re-enumeration capability. Three different interfaces supported on USB:
– Virtual COM port
– Mass storage
– Debug port
• Comprehensive free software HAL library including a variety of software examples

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:

6/69

•

On the targeted STM32 that is soldered on the board (for illustration of STM32 marking,
refer to the section “Package information” of the STM32 datasheet available at
www.st.com).

•

Next to the evaluation tool ordering part number, that is stuck or silk-screen printed on
the board.

DocID025833 Rev 11

UM1724

3

Ordering information

Ordering information
Table 1 lists the order codes and the respective targeted STM32.
Table 1. Ordering information
Order code

Targeted STM32

NUCLEO-F030R8

STM32F030R8T6

NUCLEO-F070RB

STM32F070RBT6

NUCLEO-F072RB

STM32F072RBT6

NUCLEO-F091RC

STM32F091RCT6

NUCLEO-F103RB

STM32F103RBT6

NUCLEO-F302R8

STM32F302R8T6

NUCLEO-F303RE

STM32F303RET6

NUCLEO-F334R8

STM32F334R8T6

NUCLEO-F401RE

STM32F401RET6

NUCLEO-F410RB

STM32F410RBT6

NUCLEO-F411RE

STM32F411RET6

NUCLEO-F446RE

STM32F446RET6

NUCLEO-L053R8

STM32L053R8T6

NUCLEO-L073RZ

STM32L073RZT6

NUCLEO-L152RE

STM32L152RET6

NUCLEO-L452RE

STM32L452RET6

NUCLEO-L476RG

STM32L476RGT6

The meaning of the NUCLEO-TXXXRY codification is explained in Table 2 with an example:
Table 2. Codification explanation
NUCLEO-TXXXRY

Description

Example: NUCLEO-L452RE

TXXX

STM32 product line

STM32L452

R

STM32 package pin count

64 pins

Y

STM32 Flash memory size
(8 for 64 Kbytes, B for
128 Kbytes, C for 256 Kbytes, E 512 Kbytes
for 512 Kbytes, G for 1 Mbyte, Z
for 192 Kbytes)

The order code is printed on a sticker placed at the top or bottom side of the board.

DocID025833 Rev 11

7/69
68

Conventions

4

UM1724

Conventions
Table 3 provides the conventions used for the ON and OFF settings in the present
document.
Table 3. ON/OFF conventions
Convention

Definition

Jumper JP1 ON

Jumper fitted

Jumper JP1 OFF

Jumper not fitted

Solder bridge SBx ON

SBx connections closed by solder or 0 ohm resistor

Solder bridge SBx OFF

SBx connections left open

In this document the references are “STM32 Nucleo board” and “STM32 Nucleo boards” for
all information that is common to all sale types.

8/69

DocID025833 Rev 11

UM1724

5

Quick start

Quick start
The STM32 Nucleo board is a low-cost and easy-to-use development platform used to
quickly evaluate and start a development with an STM32 microcontroller in LQFP64
package.
Before installing and using the product, accept the Evaluation Product License Agreement
from the www.st.com/epla webpage.
For more information on the STM32 Nucleo board and to access the demonstration
software, visit www.st.com/stm32nucleo website.

5.1

Getting started
Follow the sequence below to configure the STM32 Nucleo board and launch the demo
software:

5.2

5.3

1.

Check the jumper position on the board, JP1 off, JP5 (PWR) on U5V, JP6 on (IDD),
CN2 on (NUCLEO) selected.

2.

For correct identification of all device interfaces from the host PC, install the Nucleo
USB driver available from the www.st.com/stm32nucleo webpage, prior to connecting
the board.

3.

Connect the STM32 Nucleo board to a PC with a USB cable ‘Type-A to Mini-B’ through
USB connector CN1 to power the board. The red LED LD3 (PWR) and LD1 (COM)
should light up. LD1 (COM) and green LED LD2 should blink.

4.

Press button B1 (left button).

5.

Observe the blinking frequency of the three LEDs LD1 to LD3, by clicking on the button
B1.

6.

The demonstration software and several software examples on how to use the STM32
Nucleo board features are available at the www.st.com/stm32nucleo webpage.

7.

Develop the application using the available examples.

System requirements
•

Windows® OS (XP, 7, 8) or Linux 64-bit or Mac OS® X

•

USB Type-A to Mini-B cable

Development toolchains
•

ARM® Keil®: MDK-ARM(a)

•

IAR™ EWARM(a)

•

GCC-based IDEs (free AC6: SW4STM32, Atollic® TrueSTUDIO®(a) and others)

•

ARM® mbed™ online

a. On Windows

®

only.

DocID025833 Rev 11

9/69
68

Quick start

5.4

UM1724

NUCLEO-L476RG bootloader limitations
Boot from system Flash memory results in executing bootloader code stored in the system
Flash memory, protected against write and erase. This allows in-system programming (ISP),
that is, flashing the STM32 user Flash memory. It also allows writing data into RAM. The
data come in via one of the communication interfaces such as USART, SPI, I2C bus, USB or
CAN.
Bootloader version can be identified by reading Bootloader ID at the address 0x1FFF6FFE.
The STM32L476RGT6 part soldered on the NUCLEO-L476RG main board is marked with a
date code, corresponding to its date of manufacturing. STM32L476RGT6 parts with the date
code prior or equal to week 22 of 2015 are fitted with bootloader V 9.0, affected by the
limitations to be worked around, as described hereunder. Parts with the date code starting
from week 23 of 2015 contain bootloader V 9.2 in which the limitations no longer exist.
To locate the visual date code information on the STM32L476RGT6 package, refer to the
section “Package information” of the datasheet (DS10198) available at www.st.com. Date
code related portion of the package marking, takes Y WW format, where Y is the last digit of
the year and WW is the week. For example, a part manufactured in week 23 of 2015 bares
the date code 5 23.
Bootloader ID of the bootloader V 9.0 is 0x90.
The following limitations exist in the bootloader V 9.0:
1.

RAM data get corrupted when written via USART/SPI/I2C/USB interface

Description:
Data write operation into RAM space via USART, SPI, I2C bus or USB results in wrong or no
data written.

Workaround:
To correct the issue of wrong write into RAM, download STSW-STM32158 bootloader V 9.0
patch package from the www.st.com website and load "Bootloader V9.0 SRAM patch" to the
STM32, following the information in readme.txt file available in the package.
2.

User Flash memory data get corrupted when written via CAN interface

Description:
Data write operation into user Flash memory space via CAN interface results in wrong or no
data written.

Workaround:
To correct the issue of wrong write into Flash memory, download STSW-STM32158
bootloader V 0.9 patch package from the www.st.com website and load "Bootloader V9.0
CAN patch" to the STM32, following the information in readme.txt file available in the
package.

10/69

DocID025833 Rev 11

UM1724

5.5

Quick start

Hardware configuration variants
The board can be delivered with different configurations of the oscillator of the target
STM32. For all the details concerning high-speed configurations of the oscillator refer to
Section 6.7.1. For all the details concerning low-speed configurations of the oscillator refer
to Section 6.7.2.

DocID025833 Rev 11

11/69
68

Hardware layout and configuration

6

UM1724

Hardware layout and configuration
The STM32 Nucleo board is designed around the STM32 microcontrollers in a 64-pin LQFP
package.
Figure 2 shows the connections between the STM32 and its peripherals (ST-LINK/V2-1,
push-button, LED, Arduino connectors and ST morpho connector).
Figure 3 and Figure 4 show the location of these features on the STM32 Nucleo board.
Figure 5 shows the mechanical dimension of the STM32 Nucleo board.
Figure 2. Hardware block diagram



67/,1.SDUW

0LQL
86%

(PEHGGHG
67/,1.9

,2

670
0LFURFRQWUROOHU


,2

,2

5(6(7

,2

%
5(6(7

/('
/'

67PRUSKRH[WHQVLRQKHDGHU

$UGXLQRFRQQHFWRU

67PRUSKRH[WHQVLRQKHDGHU

%
86(5

$UGXLQRFRQQHFWRU

6:'



0&8SDUW
069

12/69

DocID025833 Rev 11

UM1724

Hardware layout and configuration
Figure 3. Top layout


 &1

67/,1.1XFOHR
VHOHFWRU

&1

6:'FRQQHFWRU

&1
67/,1.86%
PLQL%FRQQHFWRU





/'
5HG*UHHQ/(' 

&20

%

5(6(7EXWWRQ


%86(5
EXWWRQ
-3,''

PHDVXUHPHQW

6%

9UHJXODWRURXWSXW

/'

5HG/('
SRZHU



/'
*UHHQ/('

&1
$UGXLQR
FRQQHFWRU



&1
$UGXLQRFRQQHFWRU

&1

67PRUSKR
FRQQHFWRU

&1
$UGXLQR

FRQQHFWRU

&1

67PRUSKRFRQQHFWRU

&1

$UGXLQRFRQQHFWRU



.+]
FU\VWDO  
8 
670
PLFURFRQWUROOHU 

069

1. Crystal may be present or not depending on board version, refer to Section 6.7.2.

DocID025833 Rev 11

13/69
68

Hardware layout and configuration

UM1724
Figure 4. Bottom layout

4# 4#
45-*/,64"35

4# 4# 4# 4#
3&4&37&%

4# 4# 4# 4#
%&'"6-5

4#
45-*/,480
6%
67/,1.
5(6(7

4#
45-*/,.$0

6%
86(5EXWWRQ
6%
86(5/('

6%
67/,1.0&2

.47

14/69

DocID025833 Rev 11

UM1724

Hardware layout and configuration
Figure 5. STM32 Nucleo board mechanical dimensions

DocID025833 Rev 11

15/69
68

Hardware layout and configuration

6.1

UM1724

Cuttable PCB
The STM32 Nucleo board is divided into two parts: ST-LINK part and target STM32 part.
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 VIN, E5V and 3.3V on ST morpho
connector CN7 or VIN and 3.3V on Arduino connector CN6. It is still possible to use the
ST-LINK part to program the main STM32 using wires between CN4 and SWD signals
available on ST morpho connector (SWCLK CN7 pin 15 and SWDIO CN7 pin 13).

6.2

Embedded ST-LINK/V2-1
The ST-LINK/V2-1 programming and debugging tool is integrated in the STM32 Nucleo
board.
The ST-LINK/V2-1 makes the STM32 Nucleo boards mbed enabled.
The embedded ST-LINK/V2-1 supports only SWD for STM32 devices. For information about
debugging and programming features refer to ST-LINK/V2 in-circuit debugger/programmer
for STM8 and STM32 User manual (UM1075), which describes in details all the ST-LINK/V2
features.
The changes versus ST-LINK/V2 version are listed below.
•

New features supported on ST-LINK/V2-1:
–

•

•

USB software re-enumeration

–

Virtual COM port interface on USB

–

Mass storage interface on USB

–

USB power management request for more than 100 mA power on USB

Features not supported on ST-LINK/V2-1:
–

SWIM interface

–

Minimum supported application voltage limited to 3 V

Known limitation:
–

Activating the readout protection on ST-LINK/V2-1 target prevents the target
application from running afterwards. The target readout protection must be kept
disabled on ST-LINK/V2-1 boards.

There are two different ways to use the embedded ST-LINK/V2-1 depending on the jumper
states (see Table 4 and Figure 6):
•

Program/debug the on-board STM32 (Section 6.2.2)

•

Program/debug an MCU in an external application board using a cable connected to
SWD connector CN4 (Section 6.2.4).
Table 4. Jumper states
Jumper state

16/69

Description

Both CN2 jumpers ON

ST-LINK/V2-1 functions enabled for on board programming
(default)

Both CN2 jumpers OFF

ST-LINK/V2-1 functions enabled for external CN4 connector
(SWD supported)

DocID025833 Rev 11

UM1724

Hardware layout and configuration
Figure 6. Typical configuration

+DUGZDUHUHTXLUHPHQWV
86%FDEOHW\SH$WRPLQL%
FRPSXWHUZLWK:LQGRZV;3
'HYHORSPHQWWRROFKDLQ
,$5(:$50
.HLO0'.$50
*&&EDVHG,'(

069

6.2.1

Driver
Before connecting the Nucleo-64 board to a Windows 7, Windows 8 or Windows XP PC via
USB, a driver for ST-LINK/V2-1 must be installed. It can be downloaded from the
www.st.com website.
In case the STM32 Nucleo-64 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 board to this dedicated driver,
must be updated in the device manager manually.

Note:

It is recommended to proceed using USB Composite Device, as shown in Figure 7.
Figure 7. Updating the list of drivers in Device Manager

6.2.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 life time of the ST-LINK/V2-1 product (for
example new functionality, bug fixes, support for new microcontroller families), it is
recommended to visit www.st.com website before starting to use the STM32 Nucleo board
and periodically, in order to stay up-to-date with the latest firmware version.

DocID025833 Rev 11

17/69
68

Hardware layout and configuration

6.2.3

UM1724

Using the ST-LINK/V2-1 to program and debug the STM32 on board
To program the STM32 on the board, plug in the two jumpers on CN2, as shown in red in
Figure 8. Do not use the CN4 connector as this could disturb the communication with the
STM32 microcontroller of the STM32 Nucleo board.
Figure 8. Connecting the STM32 Nucleo board to program the on-board STM32
EϮũƵŵƉĞƌƐKE

Eϰ^t
ĐŽŶŶĞĐƚŽƌ

069

6.2.4

Using ST-LINK/V2-1 to program and debug an external
STM32 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 illustrated in Figure 9: Using ST-LINK/V2-1 to
program the STM32 on an external application, and connect the application to the CN4
debug connector according to Table 5.

Note:

18/69

SB12 NRST (target STM32 RESET) must be OFF if CN4 pin 5 is used in the external
application.

DocID025833 Rev 11

UM1724

Hardware layout and configuration
Table 5. Debug connector CN4 (SWD)
Pin

CN4

Designation

1

VDD_TARGET

VDD from application

2

SWCLK

SWD clock

3

GND

ground

4

SWDIO

SWD data input/output

5

NRST

RESET of target STM32

6

SWO

Reserved

Figure 9. Using ST-LINK/V2-1 to program the STM32 on an external application

$/KVNQFST0''
$/
48%DPOOFDUPS

.47

DocID025833 Rev 11

19/69
68

Hardware layout and configuration

6.3

UM1724

Power supply and power selection
The power supply is provided either by the host PC through the USB cable, or by an
external source: VIN (7V-12V), E5V (5V) or +3.3V power supply pins on CN6 or CN7. In
case VIN, E5V or +3.3V is used to power the STM32 Nucleo board, using an external power
supply unit or an auxiliary equipment, this power source must comply with the standard
EN-60950-1: 2006+A11/2009, and must be Safety Extra Low Voltage (SELV) with limited
power capability.

6.3.1

Power supply input from the USB connector
The ST-LINK/V2-1 supports USB power management allowing to request more than
100 mA current to the host PC.
All parts of the STM32 Nucleo board and shield can be powered from the ST-LINK USB
connector CN1 (U5V or VBUS). Note that only the ST-LINK part is power supplied before
the USB enumeration as the host PC only provides 100 mA to the board at that time. During
the USB enumeration, the STM32 Nucleo board requires 300 mA of current to the host PC.
If the host is able to provide the required power, the targeted STM32 microcontroller is
powered and the red LED LD3 is turned ON, thus the STM32 Nucleo board and its shield
can consume a maximum of 300 mA current, not more. If the host is not able to provide the
required current, the targeted STM32 microcontroller and the MCU part including the
extension board are not power supplied. As a consequence the red LED LD3 remains
turned OFF. In such case it is mandatory to use an external power supply as explained in
the next Section 6.3.2: External power supply inputs: VIN and E5V.
When the board is power supplied by USB (U5V) a jumper must be connected between pin
1 and pin 2 of JP5 as shown in Table 8.
JP1 is configured according to the maximum current consumption of the board when
powered by USB (U5V). JP1 jumper can be set in case the board is powered by USB and
maximum current consumption on U5V does not exceed 100 mA (including an eventual
extension board or Arduino shield). In such condition USB enumeration will always succeed
since no more than 100mA is requested to the PC. Possible configurations of JP1 are
summarized in Table 6.
Table 6. JP1 configuration table
Jumper state
JP1 jumper OFF
JP1 jumper ON

Warning:

Note:

20/69

Power supply
USB power through CN1

Allowed current
300 mA max
100 mA max

If the maximum current consumption of the NUCLEO and its
extension boards exceeds 300 mA, it is mandatory to power
the NUCLEO using an external power supply connected to
E5V or VIN.

In case the board is powered by an USB charger, there is no USB enumeration, so the led
LD3 remains set to OFF permanently and the target STM32 is not powered. In this specific
case the jumper JP1 needs to be set to ON, to allow target STM32 to be powered anyway.

DocID025833 Rev 11

UM1724

External power supply inputs: VIN and E5V
The external power sources VIN and E5V are summarized in the Table 7. When the board is
power supplied by VIN or E5V, the jumpers configuration must be the following:
•

Jumper on JP5 pin 2 and pin 3

•

Jumper removed on JP1
Table 7. External power sources
Input
power name

Connectors
pins

Voltage
range

VIN

CN6 pin 8
CN7 pin 24

7 V to 12 V

E5V

CN7 pin 6

4.75 V to
5.25 V

Max
current

Limitation

From 7 V to 12 V only and input current
capability is linked to input voltage:
800 mA input current when Vin=7 V
800 mA 450 mA input current when 7 V NUCLEO Selected
Jumpers OFF --> ST-LINK Selected

R24
T_SWDIO_IN

STM_JTCK

T_SWO

C10
20pF[N/A]
R25 100

T_JTMS
T_JTCK

SWD

+3V3_ST_LINK

SB3

100

13
14
15
16
17
18
19
20
21
22
23
24

STLK_TX

VDD_3
VSS_3
PB9
PB8
BOOT0
PB7
PB6
PB5
PB4/JNTRST
PB3/JTDO
PA15/JTDI
JTCK/SWCLK

VBAT
PC13
PC14
PC15
OSCIN
OSCOUT
NRST
VSSA
VDDA
PA0
PA1
PA2

STLINK_TX

DocID025833 Rev 11

+3V3_ST_LINK
C6
+3V3
100nF

1
2
3
4
5
6
7
8
9
10
11
12

T_JRST

SB11

2

PA3
PA4
PA5
PA6
PA7
PB0
PB1
PB2/BOOT1
PB10
PB11
VSS_1
VDD_1

R14
100K

X1

T_JTCK
T_JTDO
T_JTDI
T_NRST

+3V3_ST_LINK 1

AIN_1

R9 100[N/A]
BAT60JFILM

1
2
3
4
5
6

U2
STM32F103CBT6

D1

10K

CN4

+3V3_ST_LINK

C3
20pF

SB12
SB15

100K

C8
20pF

TCK
TMS
NRST
SWO

T_NRST
T_SWO

RESERVED

10K[N/A]

Board Ident: PC13=0

TCK/SWCLK
TMS/SWDIO

DEFAULT

R2

4K7

JP1

+3V3_ST_LINK
R6

1
2
3
4

10K

R4

2K7

USB_RENUMn
STM_JTCK

R3

R7

UM1724

Figure 29. ST-LINK/V2-1

LD1
+3V3_ST_LINK

Wired on Solder Side

R21

COM

Red

2

1

100
CN11

SB13

R20

LED_STLINK

4 R19

3

0

100

JP4
R26 [N/A]

CN12

D3

+3V3_ST_LINK

+3V3_ST_LINK

_Green

LD_BICOLOR_CMS

E5V

CN1
1
2
3
4
5
6

R16
R18
R17
R15

1K5
0
0
100K

BAT60JFILM

C2
1uF_X5R_0603

R11 100 USB_RENUMn
R10
36K

3

Vout

INH
GND

BYPASS

C5
100nF

+3V3_ST_LINK

+3V3_ST_LINK
5
C13
1uF_X5R_0603

C9
10nF_X7R_0603

C12
100nF

USB_DM
USB_DP

C11
100nF

C4
100nF

C1
100nF

C7
100nF

5075BMR-05-SM
Title: STLINK/V2-1
Project: NUCLEO-XXXXRX
Size: A4

Reference: MB1136

Date: 9/19/2016

Revision: C.3
Sheet: 3 of 4

65/69

Electrical schematics

VCC
DD+
ID
GND
SHELL

2

LD3985M33R

Vin

4

T1
9013
1

U5V

U1
1

U5V
R12
10K

3

USB ST-LINK

PWR

BAT60JFILM
D2

Not Fitted

2

U5V
+3V3_ST_LINK

PC[0..15]
PD2

Extension connectors
PB[0..15]
SB20,SB24,SB29
Close only for F302R8

PC[0..15]

Morpho connector

PF[4..7]

DocID025833 Rev 11

NRST
BOOT0

2

CN7
PC10
PC12

PF[0..1]

VDD

NRST

BOOT0
PF6
PF7
PA13
PA14
PA15

BOOT0

PB7
PC13

PF[4..7]

PC14
PC15
SB55:Default open
Closed for L4xxRx PD0/PH0/ PF0
PD1/PH1/ PF1

SB49 Default: open
SB48 Default: open
SB55
SB54

VBAT/VLCD/VDD

PC2
PC3

1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37

2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38

+5V +3V3
PC11
PD2 /PB11

Header 19X2

E5V

Green
CN6
1
2
3
4
5
6
7
8

NRST

VIN
PA0
PA1
PA4
PB0

A0
A1
A2
A3

A4
A5

Arduino Connector

PF[0..1]

PD8

Header 8X1_Female
CN8
1
2
3
4
5
6

Connector
Arduino

PD8

PA5
PA6
PA7

LD2

PD2

Header 6X1_Female

1

SB42
SB41
SB40

D13
D12
D11

SB29
SB24
SB20

R31
510

MCU

PB13
PB14
PB15

Morpho connector

AVDD

CN10

SB21
CN5

Arduino Connector

PB[0..15]

PA[0..15]

10
9
8
7
6
5
4
3
2
1

PC9

1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37

PB8 D15
PB9 D14

PB6
PC7
PA9

Header 10X1_Female
CN9
PA8
8
PB10 /PE8
7
PB4
6
PB5
5
PB3
4
PA10
3
PA2
2
PA3
1

Arduino Connector

PA[0..15]

Electrical schematics

66/69

Figure 30. Extension connectors

D13
D12
D11
D10
D9
D8

D7
D6
D5
D4
D3
D2
D1
D0

2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38

PC8
PC6
PC5
PD8
PA12
PA11
PB12
PB11 /PE9
PB2
PB1

PC4
PF5
PF4

U5V

SB25
SB36
SB28
SB39

PB15
PA7
PB14
PA6

AGND
SB25,SB28,SB35
Open only for F302R8

Header 19X2
PB13
PA5

SB35
SB44

Header 8X1_Female
PC1 SB56
PC0 SB51

SB52
SB46

PB8
PB9
SB46,SB52
Close only for I2C on A4/A5

Title: Extension connectors
Project: NUCLEO-XXXXRX
Size: A4

Reference: MB1136

Date: 9/19/2016

Revision: C.3
Sheet: 4 of 4

UM1724

UM1724

Revision history

Revision history
Table 34. Document revision history
Date

Revision

10-Feb-2014

1

Initial release.

13-Feb-2014

2

Updated Figure 1, Chapter 5.5 and Table 10.

3

Extended the applicability to NUCLEO-F302R8. Updated Table 1:
Ordering information, Section 6.11: Arduino connectors and
Section 6.12: ST morpho connector.
Updated Figure 1

4

Updated the board figure: Figure 1.
Updated HSE and LSE configuration description: Section 6.7.1,
Section 5.5 and Section 6.7.2. Extended the applicability to
NUCLEO-F334R8, NUCLEO-F411RE and NUCLEO-L053R8.

5

Updated the electrical schematics figures: Figure 27, Figure 28,
Figure 29 and Figure 30.
Refer to the AN2867 for oscillator design guide for STM32
microcontrollers in Section 6.7.1: OSC clock supply and
Section 6.7.2: OSC 32 KHz clock supply.

6

Extended the applicability to NUCLEO-F091RC and NUCLEOF303RE;
Updated Table 1: Ordering information;
Updated Table 11: Arduino connectors on NUCLEO-F030R8,
NUCLEO-F070RB, NUCLEO-F072RB, NUCLEO-F091RC;
Updated Table 26: ST morpho connector on NUCLEO-F072RB,
NUCLEO-F091RC, NUCLEO-F303RE, NUCLEO-F334R8;
Updated Figure 6: Typical configuration;
Added Figure 13: NUCLEO-F091RC;
Added Figure 16: NUCLEO-F303RE;
Updated Section 6.7.2: OSC 32 KHz clock supply;
Updated Figure 27: Top and Power(1/4) ,Figure 28: STM32 MCU;

11-Apr-2014

10-June-2014

20-June-2014

30-Sept-2014

Changes

DocID025833 Rev 11

67/69
68

Revision history

UM1724
Table 34. Document revision history (continued)
Date

Changes

7

Extended the applicability to NUCLEO-F070RB, NUCLEOL073RZ and NUCLEO-L476RG;
Updated Table 1: Ordering information;
Updated Section 6.2: Embedded ST-LINK/V2-1;
Updated Section 6.7.1: OSC clock supply;
Added Figure 11: NUCLEO-F070RB;
Added Figure 21: NUCLEO-L073RZ;
Added Figure 24: NUCLEO-L476RG
Updated Table 11: Arduino connectors on NUCLEO-F030R8,
NUCLEO-F070RB, NUCLEO-F072RB, NUCLEO-F091RC
Added Table 18: Arduino connectors on NUCLEO-L073RZ
Added Table 23: Arduino connectors on NUCLEO-L476RG
Added Table 25: ST morpho connector on NUCLEO-F070RB
Updated Table 30: ST morpho connector on NUCLEO-L053R8,
NUCLEO-L073RZ, NUCLEO-L152RE
Added Table 32: ST morpho connector on NUCLEO-L476RG
Updated schematics from Figure 27: Top and Power(1/4) to
Figure 30: Extension connectors

08-Jul-2015

8

Extended the applicability to Updated Table 1: Ordering
information;
Added Figure 25: NUCLEO-F446RE and Figure 26: NUCLEOF410RB
Updated Section 6.11: Arduino connectors on page 37 and
Section 6.12: ST morpho connector on page 53

04-Aug-2015

9

Added Section 5.4: NUCLEO-L476RG bootloader limitations.

17-Nov-2015

10

Updated Section 6.9: Solder bridges and Section 6.7.1: OSC clock
supply.

11

Updated Introduction, Section 3: Ordering information,
Section 6.10: Extension connectors, Section 6.11: Arduino
connectors, Section 6.12: ST morpho connector to add NUCLEOL452RE.

19-Jan-2015

29-Nov-2015

68/69

Revision

DocID025833 Rev 11

UM1724

IMPORTANT NOTICE – PLEASE 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
acknowledgement.
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. 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.
© 2016 STMicroelectronics – All rights reserved

DocID025833 Rev 11

69/69
69



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.3
Linearized                      : No
Tagged PDF                      : Yes
Page Layout                     : SinglePage
Page Mode                       : UseNone
Page Count                      : 69
Producer                        : Acrobat Distiller 9.0.0 (Windows); modified using iText 2.1.7 by 1T3XT
Keywords                        : Technical Literature, 025833, Product Development, Specification, User manual, NUCLEO-F030R8, NUCLEO-F070RB, NUCLEO-F072RB, NUCLEO-F091RC, NUCLEO-F103RB, NUCLEO-F302R8, NUCLEO-F303RE, NUCLEO-F334R8, NUCLEO-F401RE, NUCLEO-F411RE, NUCLEO-L053R8, NUCLEO-L073RZ, NUCLEO-L152RE, NUCLEO-L476RG, NUCLEO-F410RB, NUCLEO-F446RE, NUCLEO-L452RE
Modify Date                     : 2016:12:01 16:13:56+01:00
Subject                         : -
Creator                         : C2 v4.2.0220 build 670 - c2_rendition_config : Techlit_Active
Revision                        : 11
Title                           : STM32 Nucleo-64 board
Alternate ID                    : 025833
Alternate Name                  : UM1724
Classification                  : Unclassified
Document Type                   : User manual
Author                          : STMICROELECTRONICS
Create Date                     : 2016:11:29 15:36:15Z
EXIF Metadata provided by EXIF.tools

Navigation menu