Loading...
Searching...
No Matches
STM32F030C8 based Bluepill

Support for the STM32F030C8 based Bluepill. More...

Detailed Description

Support for the STM32F030C8 based Bluepill.

Overview

The STM32F030C8 based Bluepill is a very cheap breakout board for the STM32F030C8 MCU.

Warning
Be aware that a lot of these boards have fake STM32 chips, which may or may not work with RIOT.

Hardware

STM32F030C8 based Bluepill

MCU

MCU STM32F030C8T6
Family ARM Cortex-M0
Vendor ST Microelectronics
RAM 8 KiB
Flash 64 KiB
Frequency up to 48MHz
FPU no
Timers 8 (2x watchdog, 1 SysTick, 5x 16-bit)
ADCs 1x 12-bit
UARTs 2
SPIs 2
I2Cs 2
RTC 1
Vcc 2.0V - 3.6V
Datasheet Datasheet
Reference Manual Reference Manual
Programming Manual Programming Manual

Flashing the Board

The STM32F030C8 based Bluepill board does not include a programmer. You have to connect a separate ST-Link programmer to the (SW)DIO, (SW)CLK and GND pins on the board.

If you want a serial terminal, you have to connect a separate USB-Serial adapter to the PA09 (TX) and PA10 (RX) pins on the board.

A detailed description about the flashing process can be found on the guides page. The board name for the STM32F030C8 based Bluepill is bluepill-stm32f030c8.

Known Issues

Flashing fails

The board does not expose a pin for the reset signal but wires it only to the reset button. You can work around this by pressing the reset button when OpenOCD wants to connect to the Blue Pill, or keep it pressed until OpenOCD tries to connect. Hit the reset button again after flashing in order to boot the newly flashed image.

Files

file  board.h
 This board can be bought very cheaply (< 2€) on sites like eBay or AliExpress.
 
file  gpio_params.h
 Board specific configuration of direct mapped GPIOs.
 
file  periph_conf.h
 Peripheral MCU configuration for the bluepill-stm32f030c8 board.