Support for the STM32F030F4 Demo Board. More...
Support for the STM32F030F4 Demo Board.
The STM32F030F4 Demo Board is a very cheap breakout board for the STM32F030F4 MCU.
MCU | STM32F030R4 |
---|---|
Family | ARM Cortex-M0 |
Vendor | ST Microelectronics |
RAM | 4Kb |
Flash | 16Kb |
Frequency | up to 48MHz |
FPU | no |
Timers | 8 (2x watchdog, 1 SysTick, 5x 16-bit) |
ADCs | 1x 12-bit |
UARTs | 6 |
SPIs | 1 |
I2Cs | 1 |
RTC | 1 |
Vcc | 2.0V - 3.6V |
Datasheet | Datasheet |
Reference Manual | Reference Manual |
Programming Manual | Programming Manual |
The STM32F030F4 Demo Board board does not include a programmer. You have to connect a separate ST-Link programmer to the (SW)DIO, (SW)CLK, GND and NRST pins on the board.
If you want a serial terminal, you have to connect a separate USB-Serial adapter to the RX and TX pins on the board.
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
Files | |
file | board.h |
This board can be bought very cheaply (< 1€) on sites like eBay or AliExpress. | |
file | periph_conf.h |
Peripheral MCU configuration for the stm32f030f4-demo board. | |