2018-07-26 11:48:55 +02:00
/**
@defgroup boards_nucleo-l476rg STM32 Nucleo-L476RG
@ingroup boards_common_nucleo64
@brief Support for the STM32 Nucleo-L476RG
2022-08-08 18:07:54 +02:00
## Overview
The Nucleo-L476RG is a board from ST's Nucleo family supporting ARM Cortex-M4
2024-01-01 13:06:37 +01:00
STM32L476RG microcontroller with 128KiB of RAM and 1MiB of Flash.
2022-08-08 18:07:54 +02:00
2023-03-17 15:04:17 +01:00
## Pinout
2024-10-19 18:09:36 +02:00
@image html pinouts/nucleo-l476rg.svg "Pinout for the Nucleo-L476RG (from STM user manual UM1724, http://www.st.com/resource/en/user_manual/dm00105823.pdf, page 35)" width=50%
2018-07-26 11:48:55 +02:00
2023-03-17 15:04:17 +01:00
### MCU
2018-07-26 11:48:55 +02:00
2022-08-04 21:49:42 +02:00
| MCU | STM32L476RG |
|:---------- |:----------------- |
| Family | ARM Cortex-M4 |
| Vendor | ST Microelectronics|
| RAM | 128KiB |
| Flash | 1MiB |
| Frequency | up to 80MHz |
2020-02-05 21:30:45 +01:00
| FPU | yes |
2022-11-17 22:08:20 +01:00
| Timers | 16 (2x watchdog, 1 SysTick, 6x 16-bit, 2x 32-bit [TIM2]) |
2024-06-14 16:47:22 +02:00
| ADCs | 3x 12-bit (up to 16 channels) |
| UARTs | 6 (three USARTs, two UARTs and one Low-Power UART) |
2020-02-05 21:30:45 +01:00
| SPIs | 3 |
| I2Cs | 3 |
| RTC | 1 |
| CAN | 1 |
2022-08-04 21:49:42 +02:00
| Vcc | 1.71 V - 3.6V |
2022-11-17 22:08:20 +01:00
| Datasheet | [Datasheet](https://www.st.com/resource/en/datasheet/stm32l476je.pdf) |
2018-07-26 11:48:55 +02:00
| Reference Manual | [Reference Manual](http://www.st.com/content/ccc/resource/technical/document/reference_manual/02/35/09/0c/4f/f7/40/03/DM00083560.pdf/files/DM00083560.pdf/jcr:content/translations/en.DM00083560.pdf) |
| Programming Manual | [Programming Manual](http://www.st.com/content/ccc/resource/technical/document/programming_manual/6c/3a/cb/e7/e4/ea/44/9b/DM00046982.pdf/files/DM00046982.pdf/jcr:content/translations/en.DM00046982.pdf) |
2020-02-05 21:30:45 +01:00
| Board Manual | [Board Manual](https://www.st.com/content/ccc/resource/technical/document/user_manual/98/2e/fa/4b/e0/82/43/b7/DM00105823.pdf/files/DM00105823.pdf/jcr:content/translations/en.DM00105823.pdf) |
## Flashing the device
2022-08-08 18:07:54 +02:00
### Flashing the Board Using OpenOCD
2020-02-05 21:30:45 +01:00
The ST Nucleo-L476RG board includes an on-board ST-LINK V2 programmer. The
easiest way to program the board is to use OpenOCD. Once you have installed
OpenOCD (look [here](https://github.com/RIOT-OS/RIOT/wiki/OpenOCD) for
installation instructions), you can flash the board simply by typing
```
make BOARD=nucleo-l476rg flash
```
and debug via GDB by simply typing
```
make BOARD=nucleo-l476rg debug
```
2022-08-08 18:07:54 +02:00
### 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-l476rg 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).
2020-02-05 21:30:45 +01:00
## Supported Toolchains
For using the ST Nucleo-L476RG board we strongly recommend the usage of the
[GNU Tools for ARM Embedded Processors](https://launchpad.net/gcc-arm-embedded)
toolchain.
2018-07-26 11:48:55 +02:00
*/