Skip to content

STM32L476G-DISCO

Support for the STM32L476G-DISCO board.

Overview

The STM32L476GDISCOVERY is an evaluation board with the ARM Cortex-M4 based ultra-low power microcontroller STM32L476VGT6 with 128KiB of RAM and 1MiB of ROM Flash.

Hardware

STM32L476G-DISCO

Pinout

Pinout for the stm32l476g-disco (from STM board manual)

MCU

MCUSTM32L476VG
FamilyARM Cortex-M4
VendorST Microelectronics
RAM128KiB
Flash1MiB
Frequencyup to 80MHz
FPUyes
Timers16 (2x watchdog, 1 SysTick, 6x 16-bit, 2x 32-bit [TIM2])
ADCs3x 12-bit (up to 16 channels)
UARTs6 (three USARTs, two UARTs and one Low-Power UART)
SPIs3
I2Cs3
RTC1
CAN1
Vcc1.71 V - 3.6V
DatasheetDatasheet
Reference ManualReference Manual
Programming ManualProgramming Manual
Board ManualBoard Manual

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=stm32l476g-disco PROGRAMMER=cpy2remed flash

Note: This PROGRAMMER was tested using ST-LINK firmware 2.37.26. Firmware updates can 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 USART2.

The default baud rate is 115200.