Loading...
Searching...
No Matches
STM32 Nucleo-L4R5ZI

Support for the STM32 Nucleo-L4R5ZI. More...

Detailed Description

Support for the STM32 Nucleo-L4R5ZI.

Overview

The Nucleo-L4R5ZI is a board from ST's Nucleo family supporting a ARM Cortex-M4 STM32L4R5ZI microcontroller with 640KiB of RAM and 2MiB of ROM Flash.

Hardware

Nucleo144 L4R5ZI

MCU

MCU STM32L4R5ZI
Family ARM Cortex-M4F
Vendor ST Microelectronics
RAM 640KiB
Flash 2MiB
Frequency up to 120 MHz
FPU yes
Timers 16 (2x watchdog, 1 SysTick, 2x 32-bit, 11x 16-bit)
ADC 1x 12 bit (16 channels)
UARTs 6
SPIs 3
I2Cs 4
CAN 1
USB 1
Datasheet Datasheet
Reference Manual Reference Manual
Programming Manual Programming Manual
Board Manual Board Manual

Flashing the device

Flashing the Board Using OpenOCD

The ST Nucleo-L4R5ZI board includes an on-board ST-LINK programmer and can be flashed using OpenOCD.

Note
The latest release of OpenOCD doesn't contain support for this board, so a recent development version (including http://openocd.zylin.com/#/c/4777) must be built from source to be able to flash this board.

To flash this board, just use the following command:

make BOARD=nucleo-l4r5zi flash -C examples/hello-world

Flashing the Board Using ST-LINK Removable Media

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:

make BOARD=nucleo-l4r5zi PROGRAMMER=cpy2remed flash
Note
This PROGRAMMER was tested using ST-LINK firmware 2.37.26. Firmware updates could be found on this STM webpage.

Accessing RIOT shell

Default RIOT shell access utilize VCP (Virtual COM Port) via USB interface, provided by integrated ST-LINK programmer. ST-LINK is connected to the microcontroller LPUART1.

The default baud rate is 115 200.

Use the term target to open a terminal:

make BOARD=nucleo-l4r5zi -C examples/hello-world term

Files

file  periph_conf.h
 Peripheral MCU configuration for the nucleo-l4r5zi board.