Support for the STM32 Nucleo-L476RG. More...
Support for the STM32 Nucleo-L476RG.
The Nucleo-L476RG is a board from ST's Nucleo family supporting ARM Cortex-M4 STM32L476RG microcontroller with 128KiB of RAM and 1MiB of Flash.
MCU | STM32L476RG |
---|---|
Family | ARM Cortex-M4 |
Vendor | ST Microelectronics |
RAM | 128KiB |
Flash | 1MiB |
Frequency | up to 80MHz |
FPU | yes |
Timers | 16 (2x watchdog, 1 SysTick, 6x 16-bit, 2x 32-bit [TIM2]) |
ADCs | 3x 12-bit (up to 16 channels) |
UARTs | 6 (three USARTs, two UARTs and one Low-Power UART) |
SPIs | 3 |
I2Cs | 3 |
RTC | 1 |
CAN | 1 |
Vcc | 1.71 V - 3.6V |
Datasheet | Datasheet |
Reference Manual | Reference Manual |
Programming Manual | Programming Manual |
Board Manual | Board Manual |
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 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-L476RG board we strongly recommend the usage of the GNU Tools for ARM Embedded Processors toolchain.
Files | |
file | periph_conf.h |
Peripheral MCU configuration for the nucleo-l476rg board. | |