STM32 Nucleo-U385RG-Q
Support for the STM32 Nucleo-U385RG-Q
Support for the STM32 Nucleo-U385RG-Q
Overview
The NUCLEO-U385RG-Q is a board from ST’s Nucleo-64 family supporting the STM32U385RG ultra-low-power microcontroller based on an ARM Cortex-M33 core with TrustZone, 256KiB of RAM, and 1MiB of Flash.
You can find general information about the Nucleo-64 boards on the boards_common_nucleo64 page.
This is the initial bring-up of the STM32U3 family and the Nucleo-U385RG-Q board: CPU and clock setup, GPIO, and the serial console (UART/LPUART).
Hardware
MCU
| MCU | STM32U385RG |
|---|---|
| Family | ARM Cortex-M33 |
| Vendor | STMicroelectronics |
| RAM | 256KiB |
| Flash | 1MiB |
| Frequency | up to 96MHz (currently clocked at 16MHz) |
| FPU | yes |
| TrustZone | yes |
| Datasheet | Datasheet |
| Reference Manual | Reference Manual |
| Programming Manual | Programming Manual |
| Board Manual | Board Manual |
Flashing the Board
A detailed description of the flashing process can be found on the guides page.
The board name for the NUCLEO-U385RG-Q is nucleo-u385rg-q.
Note: OpenOCD does not yet support the STM32U3, so the default
make BOARD=nucleo-u385rg-q flash (which uses OpenOCD) does not work
for this board. Until OpenOCD support is available, build with
make BOARD=nucleo-u385rg-q and flash the resulting ELF with the
STM32CubeProgrammer CLI, e.g.:
@code
STM32_Programmer_CLI -c port=SWD -w bin/nucleo-u385rg-q/
Accessing RIOT shell
Default RIOT shell access uses the VCP (Virtual COM Port) over the USB interface
provided by the on-board ST-LINK programmer. The ST-LINK is connected to the
microcontroller’s USART1 (UART_DEV(0), STDIO).
The default baud rate is 115200.
If a physical connection to USART1 is needed, connect a UART interface to pins PA9 (USART1 TX) and PA10 (USART1 RX).