STM32F030 DEMO BOARD
This board has the bare minimum components required to power on the STM32F030F4P6 MCU. Most of the GPIOs on the STM32 SoC have been exposed in the external headers with silk screen labels that match the SoC’s pin names.
For practical use, you’ll need to add additional components and circuits using a breadboard, for example.
More information about the board can be found at the stm32-base.org website [1].
More information about STM32F030F4P6 can be found here:
Hardware
STM32F030F4P6 ARM Cortex-M0 processor, frequency up to 48 MHz
16 KiB of flash memory and 4 KiB of RAM
8 MHz quartz crystal
1 user LED
One reset button
2-way jumper (BOOT0)
Serial (1x4 male dupont (2.54mm))
SWD (1x4 male dupont (2.54mm))
USB port (power only)
Supported Features
The stm32f030_demo
board supports the hardware features listed below.
- on-chip / on-board
- Feature integrated in the SoC / present on the board.
- 2 / 2
-
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files. -
vnd,foo
-
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.
stm32f030_demo/stm32f030x6
target
Type |
Location |
Description |
Compatible |
---|---|---|---|
CPU |
on-chip |
ARM Cortex-M0 CPU1 |
|
ADC |
on-chip |
STM32 ADC1 |
|
Clock control |
on-chip |
STM32F0/G0 RCC (Reset and Clock controller)1 |
|
on-chip |
STM32 HSE Clock1 |
||
on-chip |
Generic fixed-rate clock provider3 |
||
on-chip |
STM32 LSE Clock1 |
||
on-chip |
STM32F0/F3 Main PLL1 |
||
Counter |
on-chip |
STM32 counters4 |
|
DMA |
on-chip |
STM32 DMA controller (V2bis) for the stm32F0, stm32F1 and stm32L1 soc families1 |
|
Flash controller |
on-chip |
STM32 Family flash controller1 |
|
GPIO & Headers |
on-chip |
||
I2C |
on-chip |
STM32 I2C V2 controller1 |
|
Interrupt controller |
on-chip |
ARMv6-M NVIC (Nested Vectored Interrupt Controller) controller1 |
|
on-chip |
STM32 External Interrupt Controller1 |
||
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
MTD |
on-chip |
STM32 flash memory1 |
|
Pin control |
on-chip |
STM32 Pin controller1 |
|
PWM |
on-chip |
STM32 PWM5 |
|
Reset controller |
on-chip |
STM32 Reset and Clock Control (RCC) Controller1 |
|
RTC |
on-chip |
STM32 RTC1 |
|
Sensors |
on-chip |
STM32 VREF+1 |
|
on-chip |
STM32 TEMP for production calibrated sensors with a single calibration temperature1 |
||
Serial controller |
on-chip |
STM32 USART1 |
|
SMbus |
on-chip |
STM32 SMBus controller1 |
|
SPI |
on-chip |
STM32 SPI controller with embedded Rx and Tx FIFOs1 |
|
SRAM |
on-chip |
Generic on-chip SRAM description1 |
|
Timer |
on-chip |
ARMv6-M System Tick1 |
|
on-chip |
STM32 timers5 |
||
Watchdog |
on-chip |
STM32 watchdog1 |
|
on-chip |
STM32 system window watchdog1 |
Pin Mapping
Default Zephyr Peripheral Mapping:
UART_1 TX/RX : PA9/PA10
LED : PA4
Programming and Debugging
Applications for the stm32f030_demo
board configuration can be built and
flashed in the usual way (see Building an Application and
Run an Application for more details).
Flashing
The board can be flashed by using ST-LINKV2 in-circuit debugger and programmer. This interface is supported by the openocd version included in the Zephyr SDK.
Flashing an application to STM32F030 DEMO BOARD
Here is an example for the Blinky application.
# From the root of the zephyr repository
west build -b stm32f030_demo samples/basic/blinky
west flash
You will see the LED blinking every second.
Debugging
You can debug an application in the usual way. Here is an example for the Blinky application.
# From the root of the zephyr repository
west build -b stm32f030_demo samples/basic/blinky
west debug