ST NUCLEO-F031K6 User Manual
ST NUCLEO-F031K6 User Manual

ST NUCLEO-F031K6 User Manual

Stm32 nucleo-32 boards (mb1180)
Hide thumbs Also See for NUCLEO-F031K6:
Table of Contents

Advertisement

Quick Links

Introduction
The STM32 Nucleo-32 boards based on the MB1180 reference board (NUCLEO-F031K6,
NUCLEO-F042K6, NUCLEO-F301K8, NUCLEO-F303K8, NUCLEO-L011K4, NUCLEO-
L031K6, NUCLEO-L412KB, and 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
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.
Picture is not contractual.
March 2025
STM32 Nucleo-32 boards (MB1180)
®
Nano connectivity support makes it easy to expand the functionality of the

Figure 1. STM32 Nucleo-32 board

UM1956 Rev 6
UM1956
User manual
www.st.com
1/43
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NUCLEO-F031K6 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST NUCLEO-F031K6

  • Page 1: Figure 1. Stm32 Nucleo-32 Board

    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.
  • Page 2: Table Of Contents

    Embedded ST-LINK/V2-1 ........15...
  • Page 3 UM1956 Contents 7.10 Solder bridges ..........21 ®...
  • Page 4: List Of Tables

    Table 9. ARDUINO Nano connectors on NUCLEO-F031K6 ......22 ® Table 10.
  • Page 5: List Of Figures

    Figure 7. NUCLEO-F031K6, NUCLEO-F042K6, NUCLEO-F303K8, and NUCLEO-F301K8 pin assignment ........31 Figure 8.
  • Page 6: Features

    • Flexible board power supply options: – ST-LINK USB V – External sources • On-board ST-LINK/V2-1 debugger/programmer with USB re-enumeration capability: mass storage, Virtual COM port, and debug port • Comprehensive free software libraries and examples available with the STM32Cube MCU Package •...
  • Page 7: Ordering Information

    UM1956 Ordering information Ordering information To order the STM32 Nucleo-32 board, refer to Table Table 1. Ordering information Order code Reference board Target STM32 NUCLEO-F031K6 STM32F031K6T6 NUCLEO-F042K6 STM32F042K6T6 NUCLEO-F301K8 STM32F301K8T6 NUCLEO-F303K8 STM32F303K8T6 MB1180 NUCLEO-L011K4 STM32L011K4T6 NUCLEO-L031K6 STM32L031K6T6 NUCLEO-L412KB STM32L412KBU6 NUCLEO-L432KC STM32L432KCU6 1.
  • Page 8: Development Environment

    Development environment UM1956 Development environment System requirements ®(a) ®(b) ® (c) • Multi-OS support: Windows 10, Linux 64-bit, or macOS ® • USB Type-A or USB Type-C to Micro-B cable Development toolchains ® ®(d) • IAR Systems - IAR Embedded Workbench ®...
  • Page 9: Safety Recommendations

    UM1956 Safety recommendations Safety recommendations Targeted audience This product targets users with at least basic electronics or embedded software development knowledge such as engineers, technicians, or students. This board is not a toy and is not suited for use by children. Handling the board This product contains a bare printed circuit board and like all products of this type, the user must be careful about the following points:...
  • Page 10: Quick Start

    • To correctly identify all device interfaces from the host PC before connecting the board, install the Nucleo USB driver, available at the www.st.com/stm32nucleo webpage. • To power the board, connect the STM32 Nucleo-32 board to a PC through the USB ®...
  • Page 11: Hardware Layout And Configuration

    Hardware layout and configuration The STM32 Nucleo-32 board is based on a 32-pin STM32 microcontroller in an LQFP or UFQFPN package. Figure 2 illustrates the connections between the STM32 and its peripherals (ST-LINK/V2-1, ® push-button, LED, and ARDUINO Nano connectors).
  • Page 12: Stm32 Nucleo-32 Board Layout

    Hardware layout and configuration UM1956 STM32 Nucleo-32 board layout Figure 3. STM32 Nucleo-32 board top layout 12/43 UM1956 Rev 6...
  • Page 13: Figure 4. Stm32 Nucleo-32 Board Bottom Layout

    UM1956 Hardware layout and configuration Figure 4. STM32 Nucleo-32 board bottom layout UM1956 Rev 6 13/43...
  • Page 14: Stm32 Nucleo-32 Board Mechanical Drawing

    Hardware layout and configuration UM1956 STM32 Nucleo-32 board mechanical drawing Figure 5. STM32 Nucleo-32 board mechanical drawing 14/43 UM1956 Rev 6...
  • Page 15: Embedded St-Link/V2-1

    Activating the readout protection on the STM32 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. 7.3.1 Drivers ®...
  • Page 16: St-Link/V2-1 Firmware Upgrade

    ST-LINK/V2-1 firmware upgrade The ST-LINK/V2-1 embeds a firmware upgrade mechanism for in-place upgrade through the USB port. The firmware might evolve during the lifetime of the ST-LINK/V2-1 product (for example new functionalities added, bug fixes, and support for new microcontroller families).
  • Page 17: Power Supply And Power Selection

    62368-1:2014+A11:2017 or the standard that replaces it. It must also be a safety extralow voltage (SELV) with limited power capability. If the power supply is +3V3, the ST-LINK is not powered and cannot be used. 7.4.1 Power supply input from USB connector The STM32 Nucleo-32 board and shield board can be powered by the ST-LINK USB connector CN1.
  • Page 18: External Power Supply Inputs

    SB9 must be off. VIN or +5 V power supply When powered from VIN or +5 V, it is still possible to use ST-LINK for communication for programming or debugging only, but it is mandatory to power the board first, using VIN or +5 V, then connect the USB cable to the PC.
  • Page 19: External Power Supply Output

    Using the +3V3 (CN4 pin 14) directly as a power input can be interesting, for instance, if 3.3 V is provided by a shield board. In this case, ST-LINK is not powered, thus programming and debugging features are unavailable. When the board is powered by +3V3 (CN4 pin 14), the solder bridge SB14 and SB9 (NRST) must be off.
  • Page 20: Jp1 (Idd)

    1. In applications where VCP is used for communication at a speed higher than 9600 bauds, it might be needed to use this solder bridge configuration, to use an 8 MHz clock (MCO from ST-LINK) and get a better precise frequency.
  • Page 21: Usart Virtual Communication

    Hardware layout and configuration USART virtual communication Thanks to SB2 and SB3, the USART interface of STM32 available on PA2 (TX) and PA15 (Rx), can be connected to ST-LINK/V2-1. When USART is not used, it is possible to use ® PA2 as ARDUINO Nano A7.
  • Page 22: Arduino ® Nano Connectors

    STM32 on ARDUINO Nano connectors. ® Figure 7 Figure 8 show ARDUINO Nano connectors and pin assignments for NUCLEO-F031K6, NUCLEO-F042K6, NUCLEO-F303K8, NUCLEO-L011K4, NUCLEO- L031K6, and NUCLEO-L432KC. ® Table 9. ARDUINO Nano connectors on NUCLEO-F031K6 Connector Pin number...
  • Page 23: Table 9. Arduino ® Nano Connectors On Nucleo-F031K6

    UM1956 Hardware layout and configuration ® Table 9. ARDUINO Nano connectors on NUCLEO-F031K6 (continued) Connector Pin number Pin name STM32 pin Function Right connector Power input Ground RESET NRST RESET 5 V input/output ADC_IN2 ADC_IN7 ADC_IN6 || I2C1_SCL ADC_IN5 || I2C1_SDA...
  • Page 24: Table 10. Arduino ® Nano Connectors On Nucleo-F042K6

    Hardware layout and configuration UM1956 ® Table 10. ARDUINO Nano connectors on NUCLEO-F042K6 Connector Pin number Pin name STM32 pin Function Left connector USART1_TX PA10 USART1_RX RESET NRST RESET Ground PA12 TIM3_CH3 TIM16_CH1N TIM14_CH1 TIM1_CH1 PA11 SPI_CS || TIM1_CH4 SPI1_MOSI || TIM3_CH2 SPI1_MISO Right connector Power input...
  • Page 25 UM1956 Hardware layout and configuration ® Table 11. ARDUINO Nano connectors on NUCLEO-F301K8 Connector Pin number Pin name STM32 pin Function Left connector USART1_TX PA10 USART1_RX RESET NRST RESET Ground PA12 TIM1_CH2N TIM16_CH1N TIM1_CH3N TIM1_CH1 PA11 SPI_CS || TIM1_CH4 SPI3_MOSI || TIM17_CH1 SPI3_MISO Right connector Power input...
  • Page 26: Table 12. Arduino ® Nano Connectors On Nucleo-F303K8

    Hardware layout and configuration UM1956 ® Table 12. ARDUINO Nano connectors on NUCLEO-F303K8 Connector Pin number Pin name STM32 pin Function Left connector USART1_TX PA10 USART1_RX RESET NRST RESET Ground PA12 TIM3_CH3 TIM16_CH1N TIM3_CH4 TIM1_CH1 PA11 SPI_CS || TIM1_CH4 SPI1_MOSI || TIM17_CH1 SPI1_MISO Right connector Power input...
  • Page 27: Table 13. Arduino ® Nano Connectors On Nucleo-L011K4

    UM1956 Hardware layout and configuration ® Table 13. ARDUINO Nano connectors on NUCLEO-L011K4 Connector Pin Name STM32 pin Function number Left connector USART2_TX PA10 USART2_RX RESET NRST RESET Ground PA12 TIM2_CH3 TIM2_CH3 TIM2_CH4 PC14 PC15 PA11 SPI_CS || TIM SPI1_MOSI || TIM SPI1_MISO Right connector Power input...
  • Page 28: Table 14. Arduino ® Nano Connectors On Nucleo-L031K6

    Hardware layout and configuration UM1956 ® Table 14. ARDUINO Nano connectors on NUCLEO-L031K6 Connector Pin number Pin name STM32 pin Function Left connector USART2_TX PA10 USART2_RX RESET NRST RESET Ground PA12 TIM2_CH3 TIM21_CH1 TIM2_CH4 PC14 PC15 TIM2_CH1 PA11 SPI_CS || TIM21_CH2 SPI1_MOSI || TIM22_CH2 SPI1_MISO Right connector...
  • Page 29: Table 15. Arduino ® Nano Connectors On Nucleo-L412Kb

    UM1956 Hardware layout and configuration ® Table 15. ARDUINO Nano connectors on NUCLEO-L412KB Connector Pin number Pin name STM32 pin Function Left connector USART1_TX PA10 USART1_RX RESET NRST RESET Ground PA12 TIM1_CH2N TIM16_CH1N TIM1_CH3N PC14 PC15 TIM1_CH1 PA11 SPI_CS || TIM1_CH4 SPI1_MOSI || TIM SPI1_MISO Right connector...
  • Page 30 Hardware layout and configuration UM1956 ® Table 16. ARDUINO Nano connectors on NUCLEO-L432KC Connector Pin number Pin name STM32 pin Function Left connector USART1_TX PA10 USART1_RX RESET NRST RESET Ground PA12 TIM1_CH2N TIM16_CH1N TIM1_CH3N PC14 PC15 TIM1_CH1 PA11 SPI_CS || TIM1_CH4 SPI1_MOSI || TIM SPI1_MISO Right connector...
  • Page 31: Figure 7. Nucleo-F031K6, Nucleo-F042K6, Nucleo-F303K8

    UM1956 Hardware layout and configuration Figure 7. NUCLEO-F031K6, NUCLEO-F042K6, NUCLEO-F303K8, and NUCLEO-F301K8 pin assignment NUCLEO-FxxxKx PA10 NRST NRST NRST NRST PA12 PA11 AREF AREF +3V3 +3V3 ® ARDUINO MSv40013V1 UM1956 Rev 6 31/43...
  • Page 32: Figure 8. Nucleo-L011K4, Nucleo-L031K6, Nucleo-L412Kb

    Hardware layout and configuration UM1956 Figure 8. NUCLEO-L011K4, NUCLEO-L031K6, NUCLEO-L412KB, and NUCLEO-L432KC pin assignment NUCLEO-LxxxKx PA10 NRST NRST NRST NRST PA12 PC14 PC15 PA11 AREF AREF +3V3 +3V3 ® ARDUINO MSv40023V1 32/43 UM1956 Rev 6...
  • Page 33: Nucleo-32 (Mb1180) Information

    • On the targeted STM32 that is soldered on the board (for an illustration of STM32 marking, refer to the STM32 datasheet Package information paragraph at the www.st.com website). • Next to the evaluation tool ordering part number that is stuck or silk-screen printed on the board.
  • Page 34: Nucleo-32 (Mb1180) Product History

    Nucleo-32 (MB1180) information UM1956 Nucleo-32 (MB1180) product history Table 17. Product history Order Product Product change Product details Product limitations code identification description MCU: – STM32F031K6T6 revision “A”, “1”, or “2” MCU errata sheet: NUCLEOF031K6/ Initial revision No limitation – STM32F031x4/x6 device errata (ES0236) Board: –...
  • Page 35: Table 17. Product History

    UM1956 Nucleo-32 (MB1180) information Table 17. Product history (continued) Order Product Product change Product details Product limitations code identification description MCU: – STM32F301K8T6 revision “Z” MCU errata sheet: NUF301K8$AU1 Initial revision No limitation – STM32F301x6/x8 device errata (ES0237) Board: – MB1180-F301K8-C02 (main board) MCU: –...
  • Page 36 Nucleo-32 (MB1180) information UM1956 Table 17. Product history (continued) Order Product Product change Product details Product limitations code identification description MCU: – STM32L011K4T6 revision “A” MCU errata sheet: NUCLEOL011K4/ Initial revision No limitation – STM32L011xx/L021xx device errata (ES0332) Board: – MB1180-L011K4-C02 (main board) MCU: –...
  • Page 37 UM1956 Nucleo-32 (MB1180) information Table 17. Product history (continued) Order Product Product change Product details Product limitations code identification description MCU: – STM32L412KBU6 revision “A” MCU errata sheet: NUL412KB$AU1 Initial revision No limitation – STM32L412xx device errata (ES0456) Board: – MB1180-L412KB-C02 (main board) MCU: –...
  • Page 38: Board Revision History

    Nucleo-32 (MB1180) information UM1956 Board revision history Table 18. Board revision history Board variant and Board change Board reference Board limitations revision description F031K6-B01 Initial revision No limitation F042K6-C02 F301K8-C02 Initial revision No limitation F303K8-C02 MB1180 (main board) L011K4-C02 Initial revision No limitation L031K6-C02 L412KB-C02...
  • Page 39: Federal Communications Commission (Fcc) And Ised Canada Compliance Statements

    UM1956 Federal Communications Commission (FCC) and ISED Canada Compliance Statements Federal Communications Commission (FCC) and ISED Canada Compliance Statements FCC Compliance Statement Part 15.19 This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
  • Page 40: Ised Compliance Statement

    Federal Communications Commission (FCC) and ISED Canada Compliance Statements UM1956 ISED Compliance Statement Compliance Statement ISED Canada ICES-003 Compliance Label: CAN ICES-3 (B) / NMB-3 (B). Déclaration de conformité Étiquette de conformité à la NMB-003 d'ISDE Canada : CAN ICES-3 (B) / NMB-3 (B). 40/43 UM1956 Rev 6...
  • Page 41: Product Disposal

    UM1956 Product disposal Product disposal Disposal of this product: WEEE (Waste Electrical and Electronic Equipment) (Applicable in Europe) This symbol on the product, accessories, or accompanying documents indicates that the product and its electronic accessories should not be disposed of with household waste at the end of their working life.
  • Page 42: Revision History

    Revision history UM1956 Revision history Table 19. Document revision history Date Revision Revision Details 14-Oct-2015 Initial version. Update to introduce NUCLEO-L011K4. Updated Introduction, Chapter 1: Features, Chapter 3: Ordering information, 21-Mar-2016 Chapter 6: Hardware layout and configuration. Added Appendix A: Compliance statements.
  • Page 43 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 acknowledgment.

Table of Contents