1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/nucleo-l4r5zi/doc.txt

83 lines
3.8 KiB
Plaintext
Raw Normal View History

/**
* @defgroup boards_nucleo144-l4r5 STM32 Nucleo-L4R5ZI
* @ingroup boards_common_nucleo144
* @brief 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.
2022-10-14 18:58:51 +02:00
## Hardware
![Nucleo144 L4R5ZI](https://www.st.com/bin/ecommerce/api/image.PF264781.en.feature-description-include-personalized-no-cpn-large.jpg)
## Pinout
2024-09-10 17:44:04 +02:00
@image html pinouts/nucleo-l4r5zi.svg "Pinout for the Nucleo-L4R5ZI (from STM user manual, UM2179, http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/um2179-stm32-nucleo144-boards-mb1312-stmicroelectronics.pdf, page 35)" width=55%
2022-10-14 18:58:51 +02:00
### 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](https://www.st.com/resource/en/datasheet/stm32l4r5zi.pdf)|
| Reference Manual | [Reference Manual](https://www.st.com/resource/en/reference_manual/rm0432-stm32l4-series-advanced-armbased-32bit-mcus-stmicroelectronics.pdf)|
| Programming Manual | [Programming Manual](https://www.st.com/resource/en/programming_manual/pm0214-stm32-cortexm4-mcus-and-mpus-programming-manual-stmicroelectronics.pdf)|
2024-09-10 17:44:04 +02:00
| Board Manual | [Board Manual](http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/um2179-stm32-nucleo144-boards-mb1312-stmicroelectronics.pdf)|
2022-10-14 18:58:51 +02:00
## 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](https://www.st.com/en/development-tools/stsw-link007.html).
2022-10-14 18:58:51 +02:00
## Accessing RIOT shell
2022-10-14 18:58:51 +02:00
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.
2022-10-14 18:58:51 +02:00
The default baud rate is 115 200.
2019-10-23 21:13:12 +02:00
Use the `term` target to open a terminal:
make BOARD=nucleo-l4r5zi -C examples/hello-world term
*/