ST Micro "Nucleo" L552ZE

The STM32 Nucleo L552ZE is an ARM development board based on the ST Micro STM32L552ZE SoC.

It has onboard ethernet, 2 user buttons, and 3 user LEDs.

Interfaces

Interface Hardware Supported TinyGo Support
GPIO YES YES
UART YES YES
SPI YES Not yet
I2C YES YES
ADC YES Not yet
PWM YES Not yet
USBDevice YES Not yet

Pins

Pin Hardware pin Alternative names
LED_GREEN PC7 LED_BUILTIN, LED
LED_BLUE PB7
LED_RED PA9
BUTTON PC13 BUTTON_USER
UART_TX_PIN PG7
UART_RX_PIN PG8
I2C0_SCL_PIN PB8
I2C0_SDA_PIN PB9

Machine Package Docs

Documentation for the machine package for the STM32 Nucleo l552ze

Flashing

OpenOCD

Programs are loaded onto the STM32 Nucleo L552ZE with the onboard STLink v2 hardware programmer, using the openocd command line utility program to perform the board flashing. You must install OpenOCD before you will be able to flash the STM32 Nucleo L552ZE board with your TinyGo code.

  • Plug your STM32 Nucleo L552ZE into your computer’s USB port.
  • Build and flash your TinyGo program using tinygo flash -target=nucleo-l552ze