UM1724 User manual STM32 Nucleo boards Introduction The STM32 Nucleo board (NUCLEO-F030R8, NUCLEO-F072RB, NUCLEO-F103RB, NUCLEO-F302R8, NUCLEO-F334R8, NUCLEO-F401RE, NUCLEO-F411RE, NUCLEOL053R8, 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 4 3.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.2 System requirements . . .
UM1724 Contents 5.12 STMicroelectronics Morpho connector . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 6 Mechanical drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 7 Electrical schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 8 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 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. Table 22. Table 23. 4/54 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. Figure 20. Figure 21. Figure 22. STM32 Nucleo board (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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/stm32nucleo. 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 (ST-LINK/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. 86% PLQL % FRQQHFWRU /' 5HG *UHHQ /(' &20 % 5(6(7 EXWWRQ % 86(5 EXWWRQ -3 ,'' PHDVXUHPHQW 6% 9 UHJXODWRU RXWSXW /' 5HG /(' SRZHU /' *UHHQ /(' &1 $UGXLQR FRQQHFWRU &1 $UGXLQR FRQQHFWRU &1 67 0RUSKR FRQQHFWRU &1 $UGXLQR FRQQHFWRU &1 67 0RUSKR FRQQHFWRU &1 $UGXLQR FRQQHFWRU .
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/V2-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 EϮ ũƵŵƉĞƌƐ KE Eϰ ^t ĐŽŶŶĞĐƚŽƌ 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.
UM1724 Hardware layout and configuration 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 chapter.
Hardware layout and configuration UM1724 Table 6. External power sources Input power name Connectors pins Voltage range Max current Limitation VIN CN6 pin 8 CN7 pin 24 7 V to 12 V 800 mA From 7 V to 12 V only and input current capability is linked to input voltage: 800 mA input current when Vin=7 V 450 mA input current when 7 V
UM1724 Hardware layout and configuration 1. If more than 300 mA current is needed by the board, the PC may be damaged or the current supply can be limited by the PC. As a consequence the board is not powered correctly. 2. 300 mA is requested at enumeration (since JP1 must be OFF) so there is risk that the request is rejected and the enumeration does not succeed if the PC cannot provide such current. Consequently the board is not power supplied (LED LD3 remains OFF).
Hardware layout and configuration 5.3.3 UM1724 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.
UM1724 5.5 Hardware layout and configuration 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.
Hardware layout and configuration 5.7 OSC clock 5.7.1 OSC clock supply UM1724 There are four ways to configure the pins corresponding to external high-speed clock external high-speed clock (HSE): • MCO from ST-LINK: MCO output of ST-LINK MCU is used as input clock. This frequency cannot be changed, it is fixed at 8 MHz and connected to PF0/PD0/PH0OSC_IN of STM32 microcontroller.
UM1724 5.7.2 Hardware layout and configuration OSC 32 kHz clock supply There are three ways to configure the pins corresponding to low-speed clock (LSE): • On-board oscillator: X2 crystal. Please refer to the AN2867 for oscillator design guide for STM32 microcontrollers. The following configuration is needed: • – SB48, SB49 OFF – R34 and R36 soldered. – C31, C32 soldered Oscillator from external PC14: from external oscillator through the pin 25 of CN7 connector.
Hardware layout and configuration 5.9 UM1724 Solder bridges Table 9. Solder bridges State(1) Description 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.
UM1724 Hardware layout and configuration Table 9. Solder bridges (continued) Bridge SB57 (VREF+) State(1) Description 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. Thus SB13 and SB14 should be OFF.
Hardware layout and configuration 5.10 UM1724 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.
UM1724 Hardware layout and configuration Figure 11.
Hardware layout and configuration UM1724 Figure 13.
UM1724 Hardware layout and configuration Figure 15.
Hardware layout and configuration UM1724 Figure 17.
UM1724 5.11 Hardware layout and configuration 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: Caution: • 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).
Hardware layout and configuration UM1724 Table 10. Arduino connectors on NUCLEO-F030R8, NUCLEO-F072RB (continued) CN No. Pin No.
UM1724 Hardware layout and configuration Table 11. Arduino connectors on NUCLEO-F103RB Connect or No. Pin No. Pin name MCU pin Function 1 NC - - 2 IOREF - 3.3V Ref 3 RESET NRST RESET 4 +3V3 - 3.
Hardware layout and configuration UM1724 Table 11. Arduino connectors on NUCLEO-F103RB (continued) Connect or No. CN9 digital Pin No. Pin name MCU pin 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.
UM1724 Hardware layout and configuration Table 12. Arduino connectors on NUCLEO-F302R8 Connect or No. Pin No. Pin name MCU pin Function 1 NC - - 2 IOREF - 3.3V Ref 3 RESET NRST RESET 4 +3V3 - 3.
Hardware layout and configuration UM1724 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. Table 13.
UM1724 Hardware layout and configuration Table 13. Arduino connectors on NUCLEO-F334R8 (continued) Connect or No. CN5 digital CN9 digital Pin No.
Hardware layout and configuration UM1724 Table 14. Arduino connectors on NUCLEO-F401RE, NUCLEO-F411RE CN No. Pin No. Pin name MCU pin Function 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 15. Arduino connectors on NUCLEO-L053R8 Connect or No. Pin No. Pin name MCU pin Function 1 NC - - 2 IOREF - 3.3V Ref 3 RESET NRST RESET 4 +3V3 - 3.
Hardware layout and configuration UM1724 Table 15. Arduino connectors on NUCLEO-L053R8 (continued) Connect or No. CN9 digital Pin No. Pin name MCU pin Function 8 D7 PA8 - 7 D6 PB10 TIM2_CH3 6 D5 PB4 TIM12_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 D10 on STM32L053 since the timer is not available on PB6. Table 16.
UM1724 Hardware layout and configuration Table 16. Arduino connectors on NUCLEO-L152RE (continued) CN No. Pin No.
Hardware layout and configuration 5.12 UM1724 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.
UM1724 Hardware layout and configuration Table 18. STMicroelectronics Morpho connector on NUCLEO-F072RB, NUCLEO-F334R8 CN7 odd pins CN7 even pins CN10 odd pins CN10 even pins Pin No. Name Name Pin No. Pin No. Name Name Pin No.
Hardware layout and configuration UM1724 Table 19. STMicroelectronics Morpho connector on NUCLEO-F103RB CN7 odd pins CN7 even pins CN10 odd pins CN10 even pins Pin No. Name Name Pin No. Pin No. Name Name Pin No.
UM1724 Hardware layout and configuration Table 20. STMicroelectronics Morpho connector on NUCLEO-F302R8 CN7 odd pins CN7 even pins CN10 odd pins CN10 even pins Pin No. Name Name Pin No. Pin No. Name Name Pin No.
Hardware layout and configuration UM1724 Table 21. STMicroelectronics Morpho connector on NUCLEO-F401RE, NUCLEO-F411RE (continued) CN7 odd pins CN7 even pins CN10 odd pins CN10 even pins Pin No. Name Name Pin No. Pin No. Name Name Pin No.
UM1724 Hardware layout and configuration Table 22. STMicroelectronics Morpho connector on NUCLEO-L152RE, NUCLEO-L053R8 CN7 odd pins CN7 even pins CN10 odd pins CN10 even pins Pin No. Name Name Pin No. Pin No. Name Name Pin No.
Mechanical drawing 6 UM1724 Mechanical drawing Figure 18.
PWR_ENn NRST TCK TMS SWO STLK_RX STLK_TX MCO R28 4K7 C16 10uF(25V) VIN Vout Tab C17 10uF E5V STPS2L30A D4 NRST TCK TMS SWO USART_TX USART_RX MCO PA[0..15] PB[0..15] PC[0..15] PD2 PD8 PF[0..1] PF[4..7] BOOT0 U_MCU_64 MCU_64.SchDoc Default: open 2 4 T2 STS7PF30L SB1 Vin U3 LD1117S50TR U5V 3 1 U_ST_LINK_V2-1 ST_LINK_V2-1.SCHDOC 1 2 3 S PA[0..15] PB[0..15] PC[0..15] PD2 PD8 PF[0..1] PF[4..
DocID025833 Rev 5 VDD SB45 SB60 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: closed [N/A] SB50 X3 8MHz(16pF)[N/A] R35 PF[4..7] PF[0..1] PD8 PD2 PC[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..15] PB[0..
STLK_RX 2 R2 SB13 SB14 TX RX 4K7 1 2 3 4 5 6 5075BMR-05-SM VCC DD+ ID GND SHELL CN1 +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 AIN_1 OSC_IN OSC_OUT STM_RST 4K7 C3 20pF 10K[N/A] 10K USB ST-LINK R27 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 R3 100K JP1 2K7 R7 USB_DM USB_DP T1 9013 2 +3V3_ST_LINK J
/54 BOOT0 NRST PF[4..7] PF[0..1] PD8 PD2 PC[0..15] PB[0..15] PA[0..15] BOOT0 NRST PF[4..7] PF[0..1] PD8 PD2 PC[0..15] PB[0..15] PA[0..
UM1724 8 References References 1. 9 UM1075 - ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32, User manual Revision history Table 23. 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.