background image

August 2018

UM1956 Rev 4

1/35

1

UM1956

User manual

STM32 Nucleo-32 boards

Introduction

The STM32 Nucleo-32 boards (NUCLEO-F031K6, NUCLEO-F042K6, NUCLEO-F303K8, 
NUCLEO-L011K4, NUCLEO-L031K6, NUCLEO-L412KB, NUCLEO-L432KC) provide an 
affordable and flexible way for users to try out new concepts and build prototypes with 
STM32 microcontrollers, 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 boards do not require any separate probe as 
they integrate the ST-LINK/V2-1 debugger/programmer and come 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-32 board

Picture not contractual.

www.st.com

Downloaded from

Arrow.com.

Содержание NUCLEO-F031K6

Страница 1: ...e 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 boards do not require any separate probe as they integrate the ST LINK V2 1 debugger programmer and come with the STM32 comprehensive software HAL library together with various packa...

Страница 2: ...ed ST LINK V2 1 14 6 3 1 Drivers 14 6 3 2 ST LINK V2 1 firmware upgrade 15 6 4 Power supply and power selection 16 6 4 1 Power supply input from USB connector 16 6 4 2 External power supply inputs 17 VIN or 5 V power supply 17 3V3 power supply 18 6 4 3 External power supply output 18 6 5 LEDs 18 6 6 Push button 18 6 7 JP1 IDD 19 6 8 OSC clock 19 6 9 USART virtual communication 20 6 10 Solder bridg...

Страница 3: ...CC and Industry Canada IC Compliance Statements 33 A 1 1 FCC Compliance Statement 33 Part 15 1934 33 Part 15 105 33 Part 15 21 33 A 1 2 IC Compliance Statement 33 Compliance Statement 33 Déclaration de conformité 33 Revision history 34 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com ...

Страница 4: ...es 20 Table 9 Arduino Nano connectors on NUCLEO F031K6 21 Table 10 Arduino Nano connectors on NUCLEO F042K6 23 Table 11 Arduino Nano connectors on NUCLEO F303K8 24 Table 12 Arduino Nano connectors on NUCLEO L011K4 25 Table 13 Arduino Nano connectors on NUCLEO L031K6 26 Table 14 Arduino Nano connectors on NUCLEO L412KB 27 Table 15 Arduino Nano connectors on NUCLEO L432KC 28 Table 16 Document revisi...

Страница 5: ...leo 32 board mechanical drawing 13 Figure 6 USB composite device 14 Figure 7 NUCLEO F031K6 NUCLEO F042K6 NUCLEO F303K8 pin assignment 29 Figure 8 NUCLEO L011K4 NUCLEO L031K6 NUCLEO L412KB and NUCLEO L432KC pin assignment 29 Figure 9 STM32 Nucleo 32 board top view 30 Figure 10 MCU 31 Figure 11 ST LINK V2 1 32 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded f...

Страница 6: ...e choice of Integrated Development Environments IDEs including IAR EWARM a Keil MDK ARM a GCC based IDEs including free SW4STM32 from AC6 Arm Mbed b c Arm Mbed Enabled see http mbed org a On Windows only b Arm and Mbed are registered trademarks or trademarks of Arm Limited or its subsidiaries in the US and or elsewhere c Refer to the https www mbed com website and to Table 1 Ordering information t...

Страница 7: ...brary 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 3 Ordering information To order the STM32 Nucleo 32 board refer...

Страница 8: ...der bridge SBx OFF SBx connections left open In this document the reference is STM32 Nucleo 32 board for all information that is common to all sale types K STM32 package pin count 32 pins Y STM32 Flash memory size 4 for 16 Kbytes 6 for 32 Kbytes 8 for 64 Kbytes B for 128 Kbytes C for 256 Kbytes 128 Kbytes Table 2 Codification explanation continued NUCLEO TXXXKY Description Example NUCLEO L412KB Do...

Страница 9: ...er available at the www st com stm32nucleo webpage To power the board connect the STM32 Nucleo 32 board to a PC through the USB connector CN1 with a USB cable Type A to Micro B The red LED LD2 PWR and LD1 COM light up and green LED LD3 blinks Remove the jumper placed between D2 CN3 pin 5 and GND CN3 pin 4 Observe how the blinking frequency of the green LED LD3 changes when the jumper is in place o...

Страница 10: ...cleo 32 board top layout and Figure 4 STM32 Nucleo 32 board bottom layout show the location of these connections on the STM32 Nucleo 32 board Figure 2 06Y 9 PEHGGHG 67 1 9 670 0LFURFRQWUROOHU 5 6 7 0LFUR 86 2 2 567 UGXLQR 1DQR FRQQHFWRU UGXLQR 1DQR FRQQHFWRU Hardware block diagram Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded fro...

Страница 11: ...t VCP TX to ST LINK SB3 Connect VCP RX to ST LINK SB4 Connect PF0 PC14 to MCO SB6 Connect PF0 PC14 to D8 SB5 Connect PF0 PC14 to X1 SB7 Connect PF1 PC15 to X1 SB8 Connect PF1 PC15 to D7 STM32 Nucleo 32 board top layout Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com...

Страница 12: ...7 Connect MCO to PA0 SB10 Connect VDD to 670 pin 5 SB13 Connect GND to 670 pin 32 SB12 Connect BOOT0 to GND SB9 ST LINK RESET STM32 Nucleo 32 board bottom layout Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Down...

Страница 13: ...al drawing Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com ...

Страница 14: ...TM32 target prevents the target application from running afterwards The target readout protection must be kept disabled on ST LINK V2 1 boards The embedded ST LINK V2 1 is directly connected to the SWD port of the target STM32 6 3 1 Drivers The ST LINK V2 1 requires a dedicated USB driver which for Windows 7 8 and 10 can be found at www st com In case the STM32 Nucleo 32 board is connected to the ...

Страница 15: ...milies it is recommended to visit www st com before starting to use the STM32 Nucleo 32 board and periodically to stay up to date with the latest firmware version Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Dow...

Страница 16: ...al power supply as explained in the next Section 6 4 2 External power supply inputs SB1 is configured according to the maximum current consumption of the board SB1 can be set to on to inform the host PC that the maximum current consumption does not exceed 100 mA even when Arduino Nano shield is plugged In such condition USB enumeration will always succeed since no more than 100 mA is requested to ...

Страница 17: ... to the external power source The following power sequence procedure must be respected 1 Check that SB1 is off 2 Connect the external power source to VIN or 5 V 3 Power on the external power supply 7 V VIN 12 V to VIN or 5 V for 5 V 4 Check red LED LD2 is turned on 5 Connect the PC to USB connector CN1 If this order is not respected the board may be powered by VBUS first then by VIN or 5 V and the...

Страница 18: ...tialization 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...

Страница 19: ...FF OFF ON ON OFF HSI configuration default configuration OFF ON OFF OFF OFF STM32Lxxx MCO from ST LINK connected to CKIN PA0 1 OFF OFF OFF OFF ON 32K LSE mounted on X1 default configuration OFF OFF ON ON OFF OFF All Arduino Nano D7 connected to PF0 PC14 OFF OFF ON OFF ON OFF Arduino Nano D8 connected to PF1 PC15 Boards with STM32Lxxx are delivered with 32 768 KHz crystal X1 Associated capacitors a...

Страница 20: ...FF The NRST signal of ST LINK is not connected to the NRST pin of the STM32 when used external power 3V3 5 V as power supply SB11 PB2 VSS ON Pin 16 of STM32 U2 is connected to VSS OFF Pin 16 of STM32 U2 is not connected to VSS and used as GPIO PB2 for STM32F031 SB13 PB8 VSS ON Pin 32 of STM32 U2 is connected to VSS OFF Pin 32 of STM32 U2 is not connected to VSS and used as GPIO PB8 for STM32F031 S...

Страница 21: ...uino Nano analog input A4 without I2 C support and CN3 pin 7 is available as Arduino Nano D4 1 The default configuration is reported in bold style Table 8 Solder bridges continued Bridge State 1 Description Table 9 Arduino Nano connectors on NUCLEO F031K6 Connector Pin number Pin name STM32 pin Function Left connector CN3 1 D1 PA9 USART1_TX 1 2 D0 PA10 USART1_RX 1 3 RESET NRST RESET 4 GND Ground 5...

Страница 22: ...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 Table 9 Arduino Nano connectors on NUCLEO F031K6 continued Connector Pin number Pin name STM32 pin Function Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from...

Страница 23: ... 1 VIN Power input 2 GND Ground 3 RESET NRST RESET 4 5V 5 V input output 5 A7 PA2 ADC_IN2 5 5 A7 exclusive with VCP_TX 6 A6 PA7 ADC_IN7 7 A5 1 PA6 ADC_IN6 I2C1_SCL 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 3 V input output 15 D13 PB3 SPI1_SCK Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com ...

Страница 24: ... 2 GND Ground 3 RESET NRST RESET 4 5V 5 V input output 5 A7 PA2 ADC1_IN3 5 5 A7 exclusive with VCP_TX 6 A6 PA7 ADC2_IN4 7 A5 1 PA6 ADC2_IN3 I2C1_SCL 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 3 V input output 15 D13 PB3 SPI1_SCK Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded...

Страница 25: ...11 PB5 SPI1_MOSI TIM 5 15 D12 PB4 SPI1_MISO Right connector CN4 1 VIN Power input 2 GND Ground 3 RESET NRST RESET 4 5V 5 V input output 5 A7 PA2 ADC_IN2 7 7 PA2 exclusive with VCP_TX 6 A6 PA7 ADC_IN7 7 A5 3 PA6 ADC_IN6 I2C1_SCL 8 A4 3 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 3 V input output 15 D13 PB3 SPI1_SCK Downloaded fro...

Страница 26: ...ght connector CN4 1 VIN Power input 2 GND Ground 3 RESET NRST RESET 4 5V 5 V input output 5 A7 PA2 ADC_IN2 5 5 PA2 exclusive with VCP_TX 6 A6 PA7 ADC_IN7 7 A5 2 PA6 ADC_IN6 I2C1_SCL 8 A4 2 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 3 V input output 15 D13 PB3 SPI1_SCK Downloaded from Arrow com Downloaded from Arrow com Download...

Страница 27: ...RESET 4 5V 5 V input output 5 A7 PA2 ADC1_IN7 6 6 PA2 exclusive with VCP_TX 6 A6 PA7 ADC1_IN12 7 A5 2 PA6 ADC1_IN11 I2C1_SCL 8 A4 2 PA5 ADC1_IN10 I2C1_SDA 9 A3 PA4 ADC1_IN9 10 A2 PA3 ADC1_IN8 11 A1 PA1 ADC1_IN6 12 A0 PA0 ADC1_IN5 13 AREF AVDD 14 3V3 3 3 V input output 15 D13 PB3 SPI1_SCK Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloa...

Страница 28: ...t output 5 A7 PA2 ADC12_IN7 6 6 PA2 exclusive with VCP_TX 6 A6 PA7 ADC12_IN12 7 A5 2 PA6 ADC12_IN11 I2C1_SCL 8 A4 2 PA5 ADC12_IN10 I2C1_SDA 9 A3 PA4 ADC12_IN9 10 A2 PA3 ADC12_IN8 11 A1 PA1 ADC12_IN6 12 A0 PA0 ADC12_IN5 13 AREF AVDD 14 3V3 3 3 V input output 15 D13 PB3 SPI1_SCK Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Ar...

Страница 29: ...nloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded fr...

Страница 30: ... from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arro...

Страница 31: ...F 1 2 LD3 Green R23 510 SB15 PF0 PF1 Extension connectors VIN C22 10uF 25V C25 10uF E5V D3 STPS2L30A 3V3 C9 1uF_X5R_0603 C8 100nF C10 100nF 5V VDD LD2 RED R22 1K C14 1uF_X5R_0603 E5V D4 BAT60JFILM U5V_ST_LINK NRST NRST B1 KSS221G X1 NX3215SA 32 768K EXS00A MU00525 closed for L021 L031 L433 C13 4 3pF SB5 SB7 X1 NX3215SA 32 768K EXS0 0 open for F042 F031 F303 SB14 SB4 Vin 3 Vout 2 1 Tab 4 U6 LD1117S...

Страница 32: ... PB10 21 PA0 10 JTCK SWCLK 37 PA1 11 PB11 22 PA2 12 PA15 JTDI 38 PA3 13 VSS_1 23 PA4 14 PB3 JTDO 39 PA5 15 VDD_1 24 PA6 16 PB4 JNTRST 40 PB12 25 PB5 41 PB13 26 PB6 42 PB14 27 PB7 43 PB15 28 BOOT0 44 PA8 29 PB8 45 PA9 30 PB9 46 PA10 31 VSS_3 47 PA11 32 VDD_3 48 U5 STM32F103CBT6 U5V Ilim 510mA Isc 1 2Ilim to 1 5Ilim 612mA to 765mA R15 10K U5V_ST_LINK R7 2 7K C6 4 7uF C1 100nF PWR_ENn SB1 SWD 3V3_ST_...

Страница 33: ... 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 aut...

Страница 34: ...2 Product marking and Section 5 2 System requirements Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Download...

Страница 35: ... 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 2018 STMicroelectronics All rights reserved Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded fro...

Отзывы: