UM1724 User manual STM32 Nucleo boards Introduction The STM32 Nucleo board (NUCLEO-F030R8, NUCLEO-F072RB, NUCLEO-F103RB, NUCLEO-F302R8, NUCLEO-F401RE, NUCLEO-L152RE) provides an affordable and flexible way for users to try out new ideas and build prototypes with any STM32 microcontroller lines, choosing from the various combinations of performance, power consumption and features.
Contents UM1724 Contents 1 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.2 System requirements . . . . .
UM1724 Contents 6 Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 7 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 8 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 9 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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. 4/49 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 ON/OFF conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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. STM32 Nucleo board (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Top layout . .
Ordering information 1 UM1724 Ordering information Table 1 lists the order codes and the respective targeted MCU. Table 1.
UM1724 2 Conventions Conventions Table 2 provides the conventions used for the ON and OFF settings in the present document. Table 2. 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 We refer to “STM32 Nucleo board” and “STM32 Nucleo boards” in this document for all information that is common to all sale types.
Quick start 3 UM1724 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, please accept the Evaluation Product License Agreement from www.st.com/epla. For more information on the STM32 Nucleo boards and to access the demonstration software, visit www.st.com/stm32nucleo. 3.
UM1724 4 Features Features The STM32 Nucleo boards offer the following features: STM32 microcontroller with LQFP64 package Two types of extension resources – Arduino Uno Revision 3 connectivity – STMicroelectronics Morpho extension pin headers for full access to all STM32 I/Os mbed-enabled(a) On-board ST-LINK/V2-1 debugger/programmer with SWD connector – selection-mode switch to use the kit as a standalone ST-LINK/V2-1 Flexible board power supply – USB VBUS – External VIN (7V
Hardware layout and configuration 5 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 (STLINK/ V2-1, pushbutton, LED, Arduino connectors and STMicroelectronics Morpho connector). Figure 3 and Figure 4 show the location of these features on the STM32 Nucleo board. Figure 2. Hardware block diagram 67 /,1. SDUW 0LQL 86% (PEHGGHG 67 /,1.
UM1724 Hardware layout and configuration Figure 3. Top layout &1 67 /,1. 1XFOHR VHOHFWRU &1 6:' FRQQHFWRU &1 67 /,1.
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(5 EXWWRQ 6% 86(5 /(' 6% 67 /,1. 0&2 .4 7 5.1 Cutable PCB The STM32 Nucleo board is divided into two parts: ST-LINK part and target MCU part. The ST-LINK part of the PCB can be cut out to reduce the board size.
UM1724 5.2 Hardware layout and configuration Embedded ST-LINK/V2-1 The ST-LINK/V2-1 programming and debugging tool is integrated in the STM32 Nucleo boards. 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 UM1075 - ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32, User manual, which describes in detail all the ST-LINK/V2 features.
Hardware layout and configuration 5.2.1 UM1724 Drivers The ST-LINK/V2-1 requires a dedicated USB driver, which can be found on www.st.com for Windows Vista, 7 and 8. On Windows XP the ST-LINK/V2-1 driver requires WinUsb to be installed before using the ST-LINK/2-1 (either available from Microsoft website or included in the USB driver for ST-LINK/V2 for XP).
UM1724 Hardware layout and configuration Figure 7. Connecting the STM32 Nucleo board to program the on-board STM32 &1 MXPSHUV 21 &1 6:' FRQQHFWRU 06 9 5.2.4 Using ST-LINK/V2-1 to program/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 8, and connect your application to the CN4 debug connector according to Table 4.
Hardware layout and configuration UM1724 Figure 8. Using ST-LINK/V2-1 to program the STM32 on an external application $/ KVNQFST 0'' $/ 48% DPOOFDUPS .4 7 5.3 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 +3V3 power supply pins on CN6 or CN7. 5.3.
UM1724 Hardware layout and configuration turned OFF. In such case it is mandatory to use an external power supply as explained in the next chapter. 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 7. JP1 is configured according to the maximum current consumption of the board when powered by USB (U5V).
Hardware layout and configuration UM1724 Table 7. Power-related jumper Jumper Description ( 9 8 9 U5V (STLINK VBUS) is used as power source when JP5 is set as shown below (Default setting) 8 9 VIN or E5V is used as power source when JP5 is set as shown below. ( 9 JP5 Using VIN or E5V as external power supply VIN or E5V can be used as external power supply in case the current consumption of NUCLEO and extensions boards exceeds the allowed current on USB.
UM1724 5.3.3 Hardware layout and configuration External power supply input: + 3V3 It can be of interest to use the +3V3 (CN6 pin 4 or CN7 pin 12 and pin 16) directly as power input for instance in case the 3.3 V is provided by an extension board. When NUCLEO is power supplied by +3V3, the ST-LINK is not powered thus the programming and debug features are unavailable. The external power sources +3.3V is summarized in the Table 8. Table 8. +3.
Hardware layout and configuration 5.5 UM1724 Push buttons B1 USER: the user button is connected to the I/O PC13 (pin 2) of the STM32 microcontroller. B2 RESET: this push button is connected to NRST, and is used to RESET the STM32 microcontroller. Note: The blue and black plastic hats that are placed on the push buttons can be removed if necessary, for example when a shield or when an application board is plugged on top of NUCLEO.
UM1724 Hardware layout and configuration 5.7 OSC clock 5.7.1 OSC clock supply There are three ways to manage the external high-speed clock (HSE): MCO from ST-LINK: from MCO of the ST-LINK MCU (U2 on schematic). This frequency cannot be changed, it is fixed at 8 MHz and connected to PF0/PD0/PH0OSC_IN of STM32 microcontroller.
Hardware layout and configuration 5.7.2 UM1724 OSC 32 kHz clock supply There are two ways to manage the external low-speed clock (LSE): On-board oscillator (not provided): X2 crystal with the following characteristics: 32.768 kHz, 12.5 PF, 20 PPM, and SM308 footprint Part number example: ETMB32.768B125B Manufacturer: BEIJING JINGYUXING TECHNOLOGY Co., Ltd. Website: http://en.jfvny.com/ The following configuration is needed: – SB48, SB49 OFF – R34 and R36 soldered.
UM1724 Hardware layout and configuration 5.9 Solder bridges Table 9. Solder bridges Bridge State Description (1) OFF X3, C33, C34, R35 and R37 provide a clock as shown in Chapter 7: Electrical schematics PF0/PD0/PH0, PF1/PD1/PH1 are disconnected from CN7. ON PF0/PD0/PH0, PF1/PD1/PH1 are connected to CN12. (R35, R37 and SB50 must not be fitted). SB3,5,7,9 (DEFAULT) ON Reserved, do not modify. SB4,6,8,10 (RESERVED) OFF Reserved, do not modify.
Hardware layout and configuration UM1724 Table 9. Solder bridges (continued) Bridge SB45 (VBAT/VLCD) SB57 (VREF+) State ON VBAT or VLCD on STM32 MCU is connected to VDD. OFF VBAT or VLCD on STM32 MCU is not connected to VDD. ON VREF+ on STM32 MCU is connected to VDD. OFF VREF+ on STM32 MCU is not connected to VDD and can be provided from pin 7 of CN10 ON PA2 and PA3 on STM32 MCU are connected to D1 and D0 (pin 7 and pin 8) on Arduino connector CN9 and ST Morpho connector CN10 as USART signals.
UM1724 5.10 Hardware layout and configuration Extension connectors The following figures show the signals connected by default to Arduino Uno Revision 3 connectors (CN5, CN6, CN8, CN9) and to STMicroelectronics Morpho connector (CN7 and CN10), for each STM32 Nucleo board. Figure 9.
Hardware layout and configuration UM1724 Figure 11.
UM1724 Hardware layout and configuration Figure 13.
Hardware layout and configuration 5.11 UM1724 Arduino connectors CN5, CN6, CN8 and CN9 are female connectors compatible with Arduino standard. Most shields designed for Arduino can fit to the STM32 Nucleo boards. The Arduino connectors on STM32 Nucleo board support the Arduino Uno Revision 3. For compatibility with Arduino Uno Revision 1, apply the following modifications: SB46 and SB52 should be ON, SB51 and SB56 should be OFF to connect I2C on A4 (pin 5) and A5 (pin 6 of CN8).
UM1724 Hardware layout and configuration Table 10. Arduino connectors on NUCLEO-F030R8, NUCLEO-F072RB (continued) CN No. Pin No.
Hardware layout and configuration UM1724 Table 11. Arduino connectors on NUCLEO-F103RB Connect or No. Pin No. Pin name MCU pin Function Left connectors CN6 power CN8 analog 1 NC - - 2 IOREF - 3.3V Ref 3 RESET NRST RESET 4 +3V3 - 3.
UM1724 Hardware layout and configuration Table 11. Arduino connectors on NUCLEO-F103RB (continued) Connect or No. CN9 digital Pin No. Pin name MCU pin Function 8 D7 PA8 - 7 D6 PB10 TIM2_CH3 6 D5 PB4 TIM3_CH1 5 D4 PB5 - 4 D3 PB3 TIM2_CH2 3 D2 PA10 - 2 D1 PA2 USART2_TX 1 D0 PA3 USART2_RX 1. Please refer to Table 9: Solder bridges for detail.
Hardware layout and configuration UM1724 Table 12. Arduino connectors on NUCLEO-F302R8 Connect or No. Pin No. Pin name MCU pin Function Left connectors CN6 Power CN8 Analog 1 NC - - 2 IOREF - 3.3V Ref 3 RESET NRST RESET 4 +3V3 - 3.
UM1724 Hardware layout and configuration Table 12. Arduino connectors on NUCLEO-F302R8 (continued) Connect or No. CN9 digital Pin No. Pin name MCU pin Function 8 D7 PA8 - 7 D6 PB10 TIM2_CH3 6 D5 PB4 TIM16_CH1 5 D4 PB5 - 4 D3 PB3 TIM2_CH2 3 D2 PA10 - 2 D1 PA2 USART2_TX 1 D0 PA3 USART2_RX 1. Please refer to Table 9: Solder bridges for details. Warning: PWM is not supported by D9 on STM32F302 since the timer is not available on PC7.
Hardware layout and configuration UM1724 Table 13. Arduino connectors on NUCLEO-F401RE CN No. Pin No. Pin name MCU pin Function Left connectors CN6 power CN8 analog 1 NC - - 2 IOREF - 3.3V Ref 3 RESET NRST RESET 4 +3V3 - 3.
UM1724 Hardware layout and configuration 1. Please refer to Table 9: Solder bridges for details. Table 14. Arduino connectors on NUCLEO-L152RE CN No. Pin No. Pin name MCU pin Function Left connectors CN6 power CN8 analog 1 NC - - 2 IOREF - 3.3V Ref 3 RESET NRST RESET 4 +3V3 - 3.
Hardware layout and configuration UM1724 Table 14. Arduino connectors on NUCLEO-L152RE (continued) CN No. Pin No.
UM1724 5.12 Hardware layout and configuration STMicroelectronics Morpho connector The STMicroelectronics Morpho connector consists in male pin headers (CN7 and CN10) accessible on both sides of the board. They can be used to connect the STM32 Nucleo board to an extension board or a prototype/wrapping board placed on top or on bottom side of the STM32 Nucleo board. All signals and power pins of the MCU are available on STMicroelectronics Morpho connector.
Hardware layout and configuration UM1724 Table 16. STMicroelectronics Morpho connector on NUCLEO-F072RB CN7 odd pins Pin No. CN7 even pins Name Name CN10 odd pins Pin No. Pin No. CN10 even pins Name Name Pin No.
UM1724 Hardware layout and configuration Table 17. STMicroelectronics Morpho connector on NUCLEO-F103RB CN7 odd pins Pin No. CN7 even pins Name Name CN10 odd pins Pin No. Pin No. CN10 even pins Name Name Pin No.
Hardware layout and configuration UM1724 Table 18. STMicroelectronics Morpho connector on NUCLEO-F302R8 CN7 odd pins Pin No. CN7 even pins Name Name CN10 odd pins Pin No. Pin No. CN10 even pins Name Name Pin No.
UM1724 Hardware layout and configuration Table 19. STMicroelectronics Morpho connector on NUCLEO-F401RE CN7 odd pins Pin No. CN7 even pins Name Name CN10 odd pins Pin No. Pin No. CN10 even pins Name Name Pin No.
Hardware layout and configuration UM1724 Table 20. STMicroelectronics Morpho connector on NUCLEO-L152RE CN7 odd pins Pin No. CN7 even pins Name Name CN10 odd pins Pin No. Pin No. CN10 even pins Name Name Pin No.
UM1724 6 Mechanical drawing Mechanical drawing Figure 15.
PWR_ENn NRST TCK TMS SWO STLK_RX STLK_TX MCO U_ST_LINK_V2-1 ST_LINK_V2-1.SCHDOC R28 4K7 C16 10uF(25V) VIN Vout Tab C17 10uF E5V STPS2L30A D4 NRST TCK TMS SWO USART_TX USART_RX MCO Default: open 2 4 T2 STS7PF30L SB1 Vin U3 LD1117S50TR U5V 3 1 PA[0..15] PB[0..15] PC[0..15] PD2 PD8 PF[0..1] PF[4..
DocID025833 Rev 3 VDD SB45 SB60 [N/A] SB50 VDD AGND AVDD C23 100nF SB57 C24 100nF SB31 SB43 SB30 SB47 BEAD C27 100nF VDD F051/F030/F373:PF7 PF7 PF5 F051/F030:PF5 L1 [N/A] R37 32 64 48 19 13 1 PF0 /PD0/PH0 5 PF1 /PD1/PH1 6 Default: open X3 8MHz(16pF)[N/A] R35 PF[4..7] PF[0..1] PD8 PD2 PC[0..15] PB[0..15] C29 1uF_X5R_0603 20pF[N/A] VBAT/VLCD C34 20pF[N/A] C33 MCO PF[4..7] PF[0..1] PD8 PD2 PC[0..15] PB[0..
STLK_RX 2 R2 1 2 3 4 5 6 +3V3_ST_LINK VBAT PC13 PC14 PC15 OSCIN OSCOUT NRST VSSA VDDA PA0 PA1 PA2 R16 R18 R17 R15 1K5 0 0 100K STLINK_RX 1 2 3 4 5 6 7 8 9 10 11 12 U5V CN3 5075BMR-05-SM VCC DD+ ID GND SHELL CN1 USB ST-LINK SB13 SB14 TX RX 4K7 R27 AIN_1 OSC_IN OSC_OUT STM_RST 4K7 C3 20pF 10K[N/A] R23 8MHz(12pF) X1 +3V3_ST_LINK C6 +3V3 100nF STLK_TX SB11 R14 100K +3V3_ST_LINK 1 C8 20pF Board Ident: PC13=0 10K 100K JP1 USB_DM USB_DP T1 9013 2 +3V3_ST_LINK JP4 T_JTCK T_
BOOT0 NRST PF[4..7] PF[0..1] PD8 PD2 PC[0..15] PB[0..15] PA[0..15] PA[0..15] BOOT0 NRST PF[4..7] PF[0..1] PD8 PD2 PC[0..15] PB[0..
References 8 UM1724 References 1. 9 UM1075 - ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32, User manual Revision history Table 21. Document revision history Date Revision 10-Feb-2014 1 Initial release. 13-Feb-2014 2 Updated Figure 1, Chapter 4 and Table 9. 3 Extended the applicability to NUCLEO-F302R8. Updated Table 1: Ordering information, Section 5.11: Arduino connectors and Section 5.12: STMicroelectronics Morpho connector.
UM1724 Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST’s terms and conditions of sale.