Support for the STM32 Nucleo-G431RB. More...
Support for the STM32 Nucleo-G431RB.
The Nucleo-G431RB is a board from ST's Nucleo family supporting a ARM Cortex-M4 STM32G431RB microcontroller with 32KiB of RAM and 128KiB of Flash.
MCU | STM32G431RB |
---|---|
Family | ARM Cortex-M4 |
Vendor | ST Microelectronics |
RAM | 32KiB |
Flash | 128KiB |
Frequency | up to 170 MHz |
Timers | 14 (2x watchdog, 1 SysTick, 10x 16-bit and 1 32-bit) |
ADCs | 2x 12 bit (up to 23 channels) |
UARTs | 5 (one UART, three USARTs and one Low-Power UART) |
I2Cs | 3 |
SPIs | 3 |
RTC | 1 |
Datasheet | Datasheet |
Reference Manual | Reference Manual |
Programming Manual | Programming Manual |
Board Manual | Board Manual |
The ST Nucleo-G431RB board includes an on-board ST-LINK V3 programmer. The easiest way to program the board is to use OpenOCD. Once you have installed OpenOCD (look here for installation instructions), you can flash the board simply by typing
and debug via GDB by simply typing
On-board ST-LINK programmer provides via composite USB device removable media. Copying the HEX file causes reprogramming of the board. This task could be performed manually; however, the cpy2remed (copy to removable media) PROGRAMMER script does this automatically. To program board in this manner, use the command:
For using the ST Nucleo-G431RB board we recommend the usage of the GNU Tools for ARM Embedded Processors toolchain.
Files | |
file | periph_conf.h |
Peripheral MCU configuration for the nucleo-g431rb board. | |