DOCUMENTATION STM32G431dm00493601-stm32g4-nucleo-32-board-mb1430-stmicroelectronics
DOCUMENTATION STM32G431dm00493601-stm32g4-nucleo-32-board-mb1430-stmicroelectronics
User manual
Introduction
The STM32G4 Nucleo-32 board (NUCLEO-G431KB) provides an affordable and flexible way for users to try out new concepts
and build prototypes, by choosing from the various combinations of performance, power consumption and features provided by
the STM32G4 Series microcontroller. The ARDUINO® Nano V3 connectivity provides easy means of expanding the functionality
of the Nucleo open development platform with a wide choice of specialized shields. The STM32G4 Nucleo-32 board does not
require any separate probe as it integrates the STLINK-V3E debugger/programmer. The STM32G4 Nucleo-32 board comes
with the comprehensive free software libraries and examples available with the STM32CubeG4 MCU Package.
1 Features
• STM32G4 microcontroller (Arm® Cortex®-M4 at 170 MHz) in UFQFPN32 package, featuring 128 Kbytes of
Flash memory and 32 Kbytes of SRAM for STM32G431KBT6
• 1 user LED
• 1 RESET push button
• 24 MHz HSE crystal oscillator
• Board connectors:
– USB with Micro-B
– ARDUINO® Nano V3 expansion connector
• Flexible power-supply options: ST-LINK USB VBUS or external sources
• On-board STLINK-V3E debugger/programmer with SWD connector:
– USB re-enumeration capability: virtual COM port, mass storage, debug port
• Comprehensive free software libraries and examples available with the STM32Cube package
Note: Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
2 Ordering information
To order the STM32G4 Nucleo-32 board, refer to Table 1. Additional information is available from the datasheet
and reference manual of the target STM32.
2.2 Codification
The meaning of the codification is explained in Table 2.
3 Development environment
3.1 System requirements
• Windows® OS (7, 8 and 10), Linux® 64-bit, or macOS®
• USB Type-A to Micro-B cable
Note: macOS® is a trademark of Apple Inc. registered in the U.S. and other countries.
All other trademarks are the property of their respective owners.
4 Conventions
Table 3 provides the conventions used for the ON and OFF settings in the present document.
Convention Definition
5 Quick start
The STM32G4 Nucleo-32 board is a low-cost and easy-to-use development kit, used to evaluate and start a
development quickly with an STM32G4 Series microcontroller in LFQFPN 32-pin package. Before installing and
using the product, accept the Evaluation Product License Agreement from the www.st.com/epla webpage. For
more information on the STM32G4 Nucleo-32 and for demonstration software, visit the www.st.com/stm32nucleo
webpage.
The STM32G4 Nucleo-32 board is designed around the STM32 microcontrollers in a 32-pin UFQFPN package.
Figure 3 shows the connections between the STM32 and its peripherals (STLINK-V3E, push button, LEDs, USB
and Arduino Nano). Figure 4 and Figure 5 show the location of these features on the STM32G4 Nucleo-32 board.
The mechanical dimensions of the board are shown in Figure 6.
USB
Micro-B STLINK-V3E Part
Bicolor connector
LED (CN1)
LD1
(COM)
Embedded
STLINK-V3E
25 MHz
Crystal
VCP
SWD
UART
STLK VCP
SWD
MCO UART
GPIO GPIO
STM32G431KB
ARDUINO® NANO
ARDUINO® NANO
GPIO GPIOs
OSC
24 MHz
Crystal
Green LED
LD2 (USER)
Green LED
Red LED
LD4
LD3 (OC)
(5V_PWR)
B1
button
IDD RESET
Connector
XXX
or jumper
CN1
STLINK-V3E Micro-B
USB connector
X1 25 MHz oscillator
U1 Main CPU
(STM32G431KBT6)
CN1
STLINK-V3E Micro-B
USB connector
U4 Common mode
filter with ESD
protection for USB
U5 STM32F723IEK6
(STLINK-V3E MCU)
CN3
ARDUINO® Nano
connector
HW1 (2.54 mm
jumper) on CN4 [4-5]
U6 3V3_STLK regulator
LD3985M33R
U7
5V_USB_STLK regulator
STMPS2151STR
CN4
ARDUINO® Nano
U8 5V_VIN regulator connector
LD1117S50TR
18.542 mm
50.292 mm
6.3.1 Drivers
Before connecting the STM32G4 Nucleo-32 board to a Windows PC via USB, the user must install a driver for the
STLINK-V3E (not required for Windows 10). It is available at the www.st.com website.
In case the STM32G4 Nucleo-32 board is connected to the PC before the driver is installed, some STM32G4
Nucleo-32 interfaces may be declared as “Unknown” in the PC device manager. In this case, the user must install
the dedicated driver files, and update the driver of the connected device from the device manager as shown in
Figure 7.
Note: Prefer using the USB Composite Device handle for a full recovery.
Note: 37xx:
• 374E for STLINK-V3E without bridges functions
• 374F for STLINK-V3E with bridges functions
5V_USB_CHGR
STLINK-V3E USB connector (CN1)
U8
5V_VIN LDO VIN
LD1117S50TR CN4 CN3
1 1
5V_VIN
ARDUINO®
5V Nano
Connector
15 15
3V3
AVDD
U7
Power switch 5V/0.5A
STMPS2151STR
U9
VDD
5V_USB_STLK 5V LDO 3V3 (VDD)
LD39050PU33R
JP1
5V_VIN MCU STM32G4
ON
VDD (AVDD)
SB5 (ON)
AVDD
In case VIN, 5V or 3V3 is used to power the STM32G4 Nucleo-32 board, this power source must comply with the
EN-60950-1: 2006+A11/2009 standard and must be Safety Extra Low Voltage (SELV) with limited power
capability.
If the power supply is 3V3 or 5V, the ST-LINK is not powered and cannot be used.
• HSI configuration (default): In that case, no external clock is used. The clock is coming from the
STLM32G4 microcontroller. The configuration is:
– SB9 and SB10 OFF
– SB11 and SB8 OFF
– SB13 OFF
• HSE bypass configuration (from ST-LINK): The input clock is the ST-LINK MCO output. The frequency is
fixed to 25 MHz, and connected to the PF0-OSC_IN of the STM32G4 microcontroller. The configuration
must be:
– SB9 and SB10 OFF
– SB11 and SB8 OFF
– SB13 ON
• HSE bypass configuration (from ARDUINO® D7): The clock is coming from an external oscillator through
the pin PF0 (ARDUINO® D7 pin 10 of the CN4 connector). The configuration must be:
– SB9 and SB10 OFF
– SB11 OFF and SB8 ON
– SB13 OFF
• HSE oscillator configuration: The clock is provided by an external crystal (X2) available in the PCB. The
X2 crystal has the following characteristics: 24 MHz, 6 pF load capacitance, 20 ppm. The recommendation is
to use NX2016SA-24MHz-EXS00A-CS10820 manufactured by NDK. For typical frequencies and its
capacitors and resistors, refer to the STM32 microcontroller datasheet and to the Oscillator design guide for
STM8S, STM8A and STM32 microcontrollers Application note (AN2867) for the oscillator design guide. The
configuration must be:
– SB9 and SB10 ON
– SB11 and SB8 OFF
– SB13 OFF
6.6.1 LEDs
LD2 USER
This green LED is connected to the following STM32G4 I/O:
• PB8, if the configuration is SB7 ON, and SB6 OFF (default configuration)
• PB3, if the configuration is SB7 OFF, and SB6 ON
LD4 5V_PWR
The green LED indicates that the STM32G4 part is powered, and the 5 V power is available on CN3 pin 4.
B1 RESET (button)
This push button is connected to NRST (PG10-NRST) and is used to reset the STM32G4 microcontroller.
The communication between the target and the MCU is enabled on USART2 to support the Virtual COM port.
Solder
Solder bridge control State(1) Description(1)
bridge (SB)
Solder
Solder bridge control State(1) Description(1)
bridge (SB)
7 Board connectors
CN3 CN4
ARDUINO® Nano ARDUINO® Nano
connector connector
The related pinout for ARDUINO® connector appears in Figure 12 and is listed in Table 11.
1. Limitations on A4 and A5, related to I2C configuration, are explained in Table 9. Solder bridge configuration according to
SB2/SB3 setting.
2. Only one USART is available and shared between ARDUINO® Nano and VCP. The selection is done by remapping (no
need to change the hardware configuration).
3. D7/D8 are shared with OSC_IN/OSC_OUT.
4. SPI_CS is handled by GPIO.
Pin Pin name Signal or label Main feature / optional feature / (SB)(1)
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.
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 instruction, 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 interference by one or more of the following measures:
• Reorient or relocate the receiving antenna.
• Increase the separation between the equipment and receiver.
• Connect the equipment into an outlet on circuit different from that to which the receiver is connected.
• Consult the dealer or an experienced radio/TV technician for help.
Note: Use only shielded cables.
Terry Blanchard
Americas Region Legal | Group Vice President and Regional Legal Counsel, The Americas
STMicroelectronics, Inc.
750 Canyon Drive | Suite 300 | Coppell, Texas 75019
USA
Telephone: +1 972-466-7845
Revision history
Contents
1 Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
2 Ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.1 Product marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.2 Codification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3 Development environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.1 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.2 Development toolchains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.3 Demonstration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4 Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
5 Quick start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
5.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
List of tables
Table 1. Ordering information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Table 2. Codification explanation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Table 3. ON/OFF convention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Table 4. Jumper configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Table 5. External power sources: VIN (7 V - 12 V) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Table 6. External power sources: 3V3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Table 7. External power sources: 5V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Table 8. USART2 connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 9. Solder bridge configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 10. USB Micro-B connector CN1 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 11. ARDUINO® connector pinout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 12. Nucleo-32 I/O assignment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 13. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
List of figures
Figure 1. NUCLEO-G431KB top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. NUCLEO-G431KB bottom view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 3. Hardware block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 4. Top layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 5. Bottom layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Figure 6. STM32G4 Nucleo 32 board mechanical drawing (in millimeter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 7. USB composite device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Figure 8. STM32G4 Nucleo-32 board power tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Figure 9. STM32G431KB Nucleo-32 board clock configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Figure 10. USB Micro-B connector CN1 (front view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Figure 11. ARDUINO® connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 12. ARDUINO® connector pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21