Loading...
Searching...
No Matches
STM32G0316-DISCO

Support for the STM32G0316-DISCO board. More...

Detailed Description

Support for the STM32G0316-DISCO board.

General information

The ST STM32G0316-DISCO is an evaluation board supporting a ARM Cortex-M0 STM32G031J6 microcontroller with 8KB of RAM and 32KB of ROM Flash.

Pinout

In an SO8 package, this MCU uses multi-bonding to run multiple ports to the same pins. See this application note as reference. This means the responsibility is on the firmware configurer to take special care when configured IO, ensuring that ports are not conflicting on each pin.

Flash the board

The STM32G0316-DISCO board includes an on-board ST-LINK programmer and can be flashed using OpenOCD.

To flash this board, just use the following command:

make BOARD=stm32g0316-disco flash -C examples/hello-world

UART Terminal Interaction

Due to the limited number of pins, to get stdio UART traffic, use a USB->UART adapter like the CP2104 from Adafruit (http://adafru.it/954). Connect the adapter's TX line to the MCU RX pin (PB6, Pin 8) and the adapter's RX line to the MCU's TX pin - (PB7, pin 1)

Files

file  board.h
 Board specific definitions for the STM32G0316-DISCO.
 
file  periph_conf.h
 Configuration of CPU peripherals for STM32G0316-DISCO board.