Professional Documents
Culture Documents
User manual
STM32 Nucleo-32 board
Introduction
The STM32 Nucleo-32 board (NUCLEO-F031K6, NUCLEO-F042K6, NUCLEO-F303K8,
NUCLEO-L011K4, NUCLEO-L031K6, NUCLEO-L432KC) provides an affordable and
flexible way for users to try out new concepts and build prototypes with STM32
microcontroller, choosing from the various combinations of performance, power
consumption and features. The Arduino™ Nano connectivity support makes it easy to
expand the functionality of the Nucleo-32 open development platform with a wide choice of
specialized shields. The STM32 Nucleo-32 board does not require any separate probe as it
integrates the ST-LINK/V2-1 debugger/programmer and it 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.
Contents
1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
5 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
5.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
5.2 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
7 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
8 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
List of tables
List of figures
1 Features
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 information” 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.
3 Ordering information
The order codes and the respective targeted STM32 are listed in the below Table 1.
STM32F031K6T6 NUCLEO-F031K6
STM32F042K6T6 NUCLEO-F042K6
STM32F303K8T6 NUCLEO-F303K8
STM32L011K4T6 NUCLEO-L011K4
STM32L031K6T6 NUCLEO-L031K6
STM32L432KCU6 NUCLEO-L432KC
4 Conventions
Table 2 provides the conventions used for the ON and OFF settings in the present
document.
In this document the reference is “STM32 Nucleo-32 board” for all information that is
common to all sale types.
5 Quick start
The STM32 Nucleo-32 board is a low-cost and easy-to-use development kit used to quickly
evaluate and start a development with an STM32 microcontroller in LQFP32 or UFQFPN32
package.
Before installing and using the product, accept the Evaluation Product License Agreement
that can be found at www.st.com/epla.
For more information on the STM32 Nucleo-32 board and to access the demonstration
software, visit the www.st.com/stm32nucleo webpage.
0LFUR
86%
(PEHGGHG
67/,1.9
670
$UGXLQR1DQR
$UGXLQR1DQR
FRQQHFWRU
0LFURFRQWUROOHU
FRQQHFWRU
,2 ,2
5(6(7
% /('
567 /'
06Y9
CN1
LD1 ST-LINK Micro B
(Red/Green LED) USB connector
COM
CN2
ST-LINK SWD
connector
(reserved)
SB2
Connect VCP TX to ST-LINK SB1
Power configuration
SB3
Connect VCP RX to ST-LINK
SB8
Connect PF1/PC15 to D7
SB7
Connect PF1/PC15 to X1
SB5
Connect PF0/PC14 to X1
SB6 U2
Connect PF0/PC14 to D8 STM32
SB4 Microcontroller
Connect PF0/PC14 to MCO
B1
Reset Button
LD2 LD3
(Red LED) Power (Green LED)
SB9
ST-LINK RESET
CN4
Arduino Nano connector
SB18
Connect D4 to A4
CN3
Arduino Nano connector
SB16
Connect D5 to A5
SB12
SB11
Connect BOOT0 to GND
Connect 670 pin 16 to
GND
SB13
Connect GND to 670 pin
32
SB10
Connect VDD to 670
pin 5
SB17
SB14
Connect MCO to PA0
3.3V regulator output
JP1
IDD measurement
SB15
Connect D13 to LD3
6.3.1 Drivers
The ST-LINK/V2-1 requires a dedicated USB driver, which, for Windows XP, 7 and 8, can be
found at www.st.com.
In case the STM32 Nucleo-32 board is connected to the PC before the driver is installed,
some Nucleo interfaces may be declared as “Unknown” in the PC device manager. In this
case the user must install the driver files (refer to Figure 6) and from the device manager
update the driver of the connected device.
Note: Prefer using the “USB Composite Device” handle for a full recovery.
Note: In case the board is powered by a USB charger, there is no USB enumeration, so the LED
LD2 remains set to off permanently and the target STM32 is not powered. In this specific
case the SB1 must be set to on, to allow the target STM32 to be powered anyway.
6.5 LEDs
The tricolor LED (green, orange, red) LD1 (COM) provides information about ST-LINK
communication status. LD1 default color is red. LD1 turns to green to indicate that the
communication is in progress between the PC and the ST-LINK/V2-1, with the following
setup:
• Slow blinking red/off: at power-on before USB initialization
• Fast blinking red/off: after the first correct communication between PC and ST-
LINK/V2-1 (enumeration)
• Red on: when initialization between PC and ST-LINK/V2-1 is completed
• Green on: after a successful target communication initialization
• Blinking red/green: during communication with target
• Green on: communication finished and successful
• Orange on: communication failure
User LD3: the green LED is a user LED connected to Arduino Nano signal D13
corresponding to the STM32 I/O PB3 (pin 26). Refer to Table 8, Table 9, Table 10, Table 11
and Table 12 for concerned STM32:
• When the I/O is HIGH value, the LED is on
• When the I/O is LOW, the LED is off
PWR LD2: the red LED indicates that the STM32 part is powered and +5 V power is
available.
6.6 Push-button
B1 RESET: the push-button is connected to NRST, and it is used to reset the STM32.
Boards with STM32Lxxx are delivered with 32.768 KHz crystal (X1). Associated capacitors
and solder bridges (C12, C13 and SB4 to SB8) are configured to support LSE by default.
Boards with STM32Fxxx are delivered without crystal (X1). Associated capacitors (C12,
C13) are not populated and SB4 to SB8 are configured to support HSI by default.
Left connector
1 D1 PA9 USART1_TX(1)
2 D0 PA10 USART1_RX(1)
3 RESET NRST RESET
4 GND - Ground
5 D2 PA12 -
6 D3 PB0 TIM3_CH3
(5)
7 D4 PB7 -
CN3 8 D5(5) PB6 TIM16_CH1N(2)
9 D6 PB1 TIM14_CH1
(3)
10 D7 PF0 -
11 D8(3) PF1 -
12 D9 PA8 TIM1_CH1
13 D10 PA11 SPI_CS(4) || TIM1_CH4
14 D11 PB5 SPI1_MOSI || TIM3_CH2
15 D12 PB4 SPI1_MISO
Right connector
CN4 1 VIN - Power input
2 GND - Ground
3 RESET NRST RESET
4 +5V - 5V input/output
5 A7 PA2 ADC_IN2
6 A6 PA7 ADC_IN7
(5)
7 A5 PA6 ADC_IN6 || I2C1_SCL
(5)
8 A4 PA5 ADC_IN5 || I2C1_SDA
CN4
9 A3 PA4 ADC_IN4
10 A2 PA3 ADC_IN3
11 A1 PA1 ADC_IN1
12 A0 PA0 ADC_IN0
13 AREF - AVDD
14 +3V3 - 3.3V input/output
15 D13 PB3 SPI1_SCK
1. Only one USART is available and it is shared between Arduino Nano and VCP. The selection is done by
remapping (no need to change the hardware configuration).
2. D5 PWM on inverted channel Timer 16.
3. D7/D8 shared with OSC_IN/OSC_OUT.
4. SPI_CS is made by GPIO.
5. Limitations on A4 and A5, D4 and D5 related to I2C configuration are explained in Section 6.10: Solder
bridges according to SB16/SB18 setting.
Left connector
1 D1 PA9 USART1_TX
2 D0 PA10 USART1_RX
3 RESET NRST RESET
4 GND - Ground
5 D2 PA12 -
6 D3 PB0 TIM3_CH3
7 D4(1) PB7 -
CN3 8 D5(1) PB6 TIM16_CH1N(2)
9 D6 PB1 TIM14_CH1
10 D7(3) PF0 -
11 D8(3) PF1 -
12 D9 PA8 TIM1_CH1
13 D10 PA11 SPI_CS(4) || TIM1_CH4
14 D11 PB5 SPI1_MOSI || TIM3_CH2
15 D12 PB4 SPI1_MISO
Right connector
1 VIN - Power input
2 GND - Ground
3 RESET NRST RESET
4 +5V - 5V input/output
5 A7 PA2 ADC_IN2(5)
6 A6 PA7 ADC_IN7
(1)
7 A5 PA6 ADC_IN6 || I2C1_SCL
CN4 8 A4(1) PA5 ADC_IN5 || I2C1_SDA
9 A3 PA4 ADC_IN4
10 A2 PA3 ADC_IN3
11 A1 PA1 ADC_IN1
12 A0 PA0 ADC_IN0
13 AREF - AVDD
14 +3V3 - 3.3V input/output
15 D13 PB3 SPI1_SCK
1. Limitations on A4 and A5, D4 and D5 related to I2C configuration are explained in Section 6.10: Solder
bridges according to SB16/SB18 setting.
2. D5 PWM on inverted channel Timer 16.
3. D7/D8 shared with OSC_IN/OSC_OUT.
4. SPI_CS is made by GPIO.
5. A7 exclusive with VCP_TX.
Left connector
1 D1 PA9 USART1_TX
2 D0 PA10 USART1_RX
3 RESET NRST RESET
4 GND - Ground
5 D2 PA12 -
6 D3 PB0 TIM3_CH3
7 D4(1) PB7 -
CN3 8 D5(1) PB6 TIM16_CH1N(2)
9 D6 PB1 TIM3_CH4
10 D7(3) PF0 -
11 D8(3) PF1 -
12 D9 PA8 TIM1_CH1
13 D10 PA11 SPI_CS(4) || TIM1_CH4
14 D11 PB5 SPI1_MOSI || TIM17_CH1
15 D12 PB4 SPI1_MISO
Right connector
1 VIN - Power input
2 GND - Ground
3 RESET NRST RESET
4 +5V - 5V input/output
5 A7 PA2 ADC1_IN3(5)
6 A6 PA7 ADC2_IN4
(1)
7 A5 PA6 ADC2_IN3 || I2C1_SCL
CN4 8 A4(1) PA5 ADC2_IN2 || I2C1_SDA
9 A3 PA4 ADC2_IN1
10 A2 PA3 ADC1_IN4
11 A1 PA1 ADC1_IN2
12 A0 PA0 ADC1_IN1
13 AREF - AVDD
14 +3V3 - 3.3V input/output
15 D13 PB3 SPI1_SCK
1. Limitations on A4 and A5, D4 and D5 related to I2C configuration are explained in Section 6.10: Solder
bridges according to SB16/SB18 setting.
2. D5 PWM on inverted channel Timer 16.
3. D7/D8 shared with OSC_IN/OSC_OUT.
4. SPI_CS is made by GPIO.
5. A7 exclusive with VCP_TX.
18&/(2)[[[.[
&1 &1
$UGXLQR
06Y9
18&/(2/[[[.[
&1 &1
$UGXLQR
06Y9
UM1956
Figure 9. STM32 Nucleo-32 board (top view)
DocID028406 Rev 3
U_MCU_32 U_ST_LINK_V2-1
MCU_32.SchDoc ST_LINK_V2-1.SCHDOC
VCP_TX STLK_RX
VCP_RX STLK_TX
NRST NRST
Electrical schematics
REV B: SB14 changed to JP1 Jumper for easy IDD measurement, and enlarge
board length; CN1 USB PN changed to Micro-B for Device.
REV C: Add SB18/SB16 for connecting D4/D5 to A4/A5
REV C.2: correct silkscreen D7/D8 on SB6 and SB8
Title: TOP
Project: NUCLEO32
Size: A4 Reference: MB1180 Revision: C.2
Date: 10/12/2015 Sheet: 1 of 3
29/34
Figure 10. MCU
30/34
Electrical schematics
SB17
U2
A0 PA0 6 14 PB0 D3 VDD AVDD
VCP_TX PA0 PB0
A1 PA1 7 15 PB1 D6
PA1 PB1/NPOR
A7 PA2 8 16 SB11
PA2 PB2/VSS2
A2 PA3 9 26 PB3 D13 C7 C23 C24
PA3 PB3
A3 PA4 10 27 PB4 D12 100nF 100nF 100nF
PA4 PB4
A4 PA5 11 28 PB5 D11
PA5 PB5
A5 PA6 12 29 PB6 D5
PA6 PB6
A6 PA7 13 30 PB7 D4
PA7 PB7
D9 PA8 18 32 SB13
PA8 PB8/VSS3
D1 PA9 19
PA9
D0 PA10 20
PA10
D10 PA11 21 1
PA11 VDD3
D2 PA12 22 17
PA12 VDD2/VDD_USB VDD
PA13 23 AVDD
SWDIO PA13
PA14 24 5 L1 SB10
SWCLK PA14 VDDA/VREF+ B1
PA15 25 BEAD
VCP_RX PA15
4 NRST
NRST
SB4 2 KSS221G
MCO PF0/PC14
3 31
PF1/PC15 BOOT0/PB8/PH3
SB12 BOOT0
MCU_LQFP32/QFN32 C11
D7 PF0 /PC14 SB6 R21
C12 10K
SB5 100nF
4.3pF
Extension connectors
DocID028406 Rev 3
CN3 CN4
D1 PA9
1 1
U6 D0 PA10
2 2
Arduino Connector
VIN LD1117S50TR E5V NRST NRST
3 3
3 2
Vin Vout 4 4
4 D2 PA12 PA2 A7
Tab 5 5
C22 D3 PB0 PA7 A6
C25 6 6
10uF(25V) D4 PB7 PA6 A5 SB16 PB6
10uF 7 7
1
2
6 3 SB15 LD3
VI PG Green
VDD
BAT60JFILM R22 1 4 SB14 JP1
EN VO
1
1K C14 R23
GND
GND
RED 100nF
Title: MCU
Project: NUCLEO32
Size: A4 Reference: MB1180 Revision: C.2
Date: 10/12/2015 Sheet: 2 of 3
UM1956
Figure 11. ST-LINK/V2-1
UM1956
R11 R10
E5V
2K7 4K7 +3V3_ST_LINK T_JTCK TCK/SWCLK
TCK
T_JTMS TMS/SWDIO
TMS
T_NRST
+3V3_ST_LINK NRST
SB1 T_SWO SB9
R6 C2 C5 SWO
R16 10K
100K 100nF 100nF
USB_RENUMn
Board Ident: PC13=0
SWD
PWR_EXT
STM_JTCK
R13 10K[N/A] +3V3_ST_LINK
CN2
SWDIO STM_JTMS
1 2
SWCLK STM_JTCK
3 4
+3V3_ST_LINK 5
48
47
46
45
44
43
42
41
40
39
38
37
[N/A]
U5
PA15/JTDI
VSS_3
PB9
PB8
PB7
PB6
PB5
JTCK/SWCLK
PB4/JNTRST
PB3/JTDO
VDD_3
BOOT0
STM32F103CBT6
C20 C21 LD1
10pF 10pF Red
X2 1
VBAT VDD_2
36
+3V3_ST_LINK
COM R18 2 1
+3V3_ST_LINK 1 2 2 35 100
PC13 VSS_2
3 34 STM_JTMS
PC14 JTMS/SWDIO
R9 NX3225GD 8MHz EXS00A-CG04874
4 33 USB_DP
PC15 PA12 R19
100K OSC_IN 5 32 USB_DM LED_STLINK 3 4 R17
OSCIN PA11 C3 +3V3_ST_LINK
OSC_OUT 6 31 T_SWO 100 0
OSCOUT PA10 20pF[N/A]
STM_RST 7 30 LED_STLINK _Green
NRST PA9
8 29 R5 100 MCO LD_BICOLOR_CMS
VSSA PA8 MCO
9 28 PWR_ENn
+3V3_ST_LINK VDDA PB15
C4 R14 4K7 AIN_1 10 27 T_JTMS
VO PA0 PB14
100nF 11 26 T_JTCK
PA1 PB13
R12 4K7 12 25 R20
PB2/BOOT1
PA2 PB12
DocID028406 Rev 3
100
STLINK_TX
T_SWDIO_IN
VDD_1
VSS_1
U5V
PB10
PB11
PA3
PA4
PA5
PA6
PA7
PB0
PB1
U1
13
14
15
16
17
18
19
20
21
22
23
24
ST890CDR U5V_ST_LINK
STLK_TX
SB3 1 6
IN OUT
T_NRST
T_JTDO
T_JRST
T_JTCK
R15 2 7
T_JTDI
+3V3_ST_LINK C6 IN OUT C1
10K
STLINK_RX 4.7uF 8 5 100nF
STLK_RX FAULT SET
SB2
R7 Ilim = 510mA
3 4 2.7K Isc= 1.2Ilim to 1.5Ilim = 612mA
ON GND
to 765mA
U5V
+3V3_ST_LINK D2
R4 E5V
USB ST-LINK PWR
3
10K BAT60JFILM
U5V T1 2 R8 100 USB_RENUMn D1 U4 LD3985M33R +3V3_ST_LINK
9013 1 Vin Vout 5
R3 U5V
CN1
1
4
4 R2 100K
ID C15 C17 C19
5
GND 100nF 10nF_X7R_0603 100nF
6
Shield
7
Electrical schematics
Shield
8
Shield
Shield
9 Title: STLINK/V2-1
10
EXP
11 Project: NUCLEO32
EXP
1050170001 Size: A4 Reference: MB1180 Revision: C.2
Date: 10/12/2015 Sheet: 3 of 3
31/34
Compliance statements UM1956
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 instructions, may cause harmful interference to radio
communications. However, there is no guarantee that interference will not occur in a
particular installation. If this equipment does 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 the interference's by one or more of the following measures:
• Reorient or relocate the receiving antenna.
• Increase the separation between the equipment and the receiver.
• Connect the equipment into an outlet on a circuit different from that to which the
receiver is connected.
• Consult the dealer or an experienced radio/TV technician for help.
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.
Déclaration de conformité
Étiquette de conformité à la NMB-003 d'Industrie Canada : CAN ICES-3 (B)/NMB-3(B).
8 Revision history
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.
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.