Nucleo G564RE
Overview
The Nucleo G564RE board is an affordable development platform for the STMicroelectronics STM32G564RE Arm Cortex-M33 microcontroller.
The STM32 Nucleo-64 board provides an affordable and flexible way for users to try out new concepts and build prototypes by choosing from the various combinations of performance and power consumption features provided by the STM32 microcontroller.
More information about the board can be found at the Nucleo G564RE website [1].
Hardware
The STM32G564xx SoC provides the following high-level capabilities used by this board configuration:
STM32 microcontroller in an LQFP64 or LQFP48 package
1 user LED
Three push-buttons: user, reset, and boot
32.768 kHz crystal oscillator
Flexible power-supply options: ST-LINK USB VBUS or external sources
External or internal SMPS to generate Vcore logic supply
24 MHz or 48 MHz HSE
User USB Device full speed, or USB SNK/UFP full speed
Cryptography
CAN FD transceiver
Board connectors:
ARDUINO® Uno V3 expansion connector
ST morpho extension pin headers for full access to all STM32 I/Os
External SMPS experimentation dedicated connector
USB Type-C®, Micro-B, or Mini-B connector for the ST-LINK
USB Type-C® user connector
MIPI® debug connector
CAN FD header
On-board ST-LINK (ST-LINK/V2-1, STLINK-V3E, STLINK-V2EC, or STLINK-V3EC) debugger/programmer with USB re-enumeration capability: mass storage, Virtual COM port, and debug port
More information about STM32G564 devices is available at:
Supported Features
The nucleo_g564re board supports the hardware features listed below.
- on-chip / on-board
- Feature integrated in the SoC / present on the board.
- 2 / 2
-
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files. -
vnd,foo -
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.
nucleo_g564re/stm32g564xx target
On-target memory for this board target: 112 KiB of RAM, 512 KiB of Flash.
Type |
Location |
Description |
Compatible |
|---|---|---|---|
CPU |
on-chip |
ARM Cortex-M33 CPU1 |
|
Clock control |
on-chip |
STM32G5 RCC.1 |
|
on-chip |
STM32 HSE Clock1 |
||
on-chip |
|||
on-chip |
STM32 LSE Clock1 |
||
on-chip |
|||
on-chip |
STM32 Microcontroller Clock Output (MCO)2 |
||
Flash controller |
on-chip |
STM32G5 flash controller1 |
|
GPIO & Headers |
on-chip |
STM32 GPIO Controller8 |
|
on-board |
GPIO pins exposed on Arduino Uno (R3) headers1 |
||
on-board |
GPIO pins exposed on ST Morpho connector1 |
||
Input |
on-board |
Group of GPIO-bound input keys1 |
|
Interrupt controller |
on-chip |
ARMv8-M NVIC (Nested Vectored Interrupt Controller)1 |
|
on-chip |
STM32G0 External Interrupt Controller1 |
||
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
MMU / MPU |
on-chip |
ARMv8-M MPU (Memory Protection Unit)1 |
|
MTD |
on-chip |
STM32 flash memory1 |
|
OTP memory |
on-chip |
||
Pin control |
on-chip |
STM32 Pin controller1 |
|
Reset controller |
on-chip |
STM32 Reset and Clock Control (RCC) Controller1 |
|
RTC |
on-chip |
STM32 RTC1 |
|
Serial controller |
on-chip |
STM32 USART3 |
|
on-chip |
STM32 UART3 |
||
on-chip |
STM32 LPUART1 |
||
Timer |
on-chip |
ARMv8-M System Tick1 |
Connections and IOs
Default Zephyr peripheral mapping:
Console (LPUART1): PA2 (TX), PA3 (RX)
User LED (LD1): PG3
User button: PC13
For connector-level details, refer to the board user manual.
System Clock
The default configuration uses a 24 MHz HSE clock and PLL settings
(M=3, N=40, P=2) to run the system at 160 MHz.
RTC is enabled and sourced from LSE (32.768 kHz), matching the external LSE crystal present on the board schematic.
Serial Port
The Zephyr console is configured on LPUART1 at 115200 8N1 by default.
Programming and Debugging
The nucleo_g564re board supports the runners and associated west commands listed below.
| flash | debug | debugserver | attach | |
|---|---|---|---|---|
| stlink_gdbserver | ✅ (default) | ✅ | ✅ | |
| stm32cubeprogrammer | ✅ (default) |
Nucleo G564RE board includes an STLINK-V3EC embedded debug tool interface.
Applications for the nucleo_g564re board can be built and
flashed in the usual way (see Building an Application and
Run an Application for more details).
Flashing
The board is configured to be flashed using west STM32CubeProgrammer [4] runner, so its installation is required.
Flashing an application to Nucleo G564RE
Here is an example for the Blinky application.
# From the root of the zephyr repository
west build -b nucleo_g564re samples/basic/blinky
west flash
You will see the LED blinking every second.
Debugging
You can debug an application in the usual way using the ST-LINK GDB Server. Here is an example for the Blinky application.
# From the root of the zephyr repository
west build -b nucleo_g564re samples/basic/blinky
west debug