This is information on a product in full production.
January 2019 DS9773 Rev 4 1/93
STM32F030x4 STM32F030x6
STM32F030x8 STM32F030xC
Value-line Arm®-based 32-bit MCU with up to 256 KB Flash, timers,
ADC, communication interfaces, 2.4-3.6 V operation
Datasheet -production data
Features
Core: Arm® 32-bit Cortex®-M0 CPU, frequency
up to 48 MHz
Memories
16 to 256 Kbytes of Flash memory
4 to 32 Kbytes of SRAM with HW parity
CRC calculation unit
Reset and power management
Digital & I/Os supply: VDD = 2.4 V to 3.6 V
Analog supply: VDDA = VDD to 3.6 V
Power-on/Power down reset (POR/PDR)
Low power modes: Sleep, Stop, Standby
Clock management
4 to 32 MHz crystal oscillator
32 kHz oscillator for RTC with calibration
Internal 8 MHz RC with x6 PLL option
Internal 40 kHz RC oscillator
Up to 55 fast I/Os
All mappable on external interrupt vectors
Up to 55 I/Os with 5V tolerant capability
5-channel DMA controller
One 12-bit, 1.0 µs ADC (up to 16 channels)
Conversion range: 0 to 3.6 V
Separate analog supply: 2.4 V to 3.6 V
Calendar RTC with alarm and periodic wakeup
from Stop/Standby
11 timers
One 16-bit advanced-control timer for
six-channel PWM output
Up to seven 16-bit timers, with up to four
IC/OC, OCN, usable for IR control
decoding
Independent and system watchdog timers
SysTick timer
Communication interfaces
Up to two I2C interfaces
Fast Mode Plus (1 Mbit/s) support on
one or two I/Fs, with 20 mA current sink
SMBus/PMBus support (on single I/F)
Up to six USARTs supporting master
synchronous SPI and modem control; one
with auto baud rate detection
Up to two SPIs (18 Mbit/s) with 4 to 16
programmable bit frames
Serial wire debug (SWD)
All packages ECOPACK®2
Table 1. Device summary
Reference Part number
STM32F030x4 STM32F030F4
STM32F030x6 STM32F030C6, STM32F030K6
STM32F030x8 STM32F030C8, STM32F030R8
STM32F030xC STM32F030CC, STM32F030RC
LQFP64 10 × 10 mm
LQFP48 7 × 7 mm
LQFP32 7 × 7 mm
TSSOP20 6.4 × 4.4 mm
www.st.com
Contents STM32F030x4/x6/x8/xC
2/93 DS9773 Rev 4
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3 Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.1 Arm® Cortex®-M0 core with embedded Flash and SRAM . . . . . . . . . . . . 12
3.2 Memories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.3 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.4 Cyclic redundancy check calculation unit (CRC) . . . . . . . . . . . . . . . . . . . 13
3.5 Power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.5.1 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.5.2 Power supply supervisors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.5.3 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.5.4 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.6 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.7 General-purpose inputs/outputs (GPIOs) . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.8 Direct memory access controller (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.9 Interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.9.1 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . 17
3.9.2 Extended interrupt/event controller (EXTI) . . . . . . . . . . . . . . . . . . . . . . 17
3.10 Analog to digital converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.10.1 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.10.2 Internal voltage reference (VREFINT) . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.11 Timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.11.1 Advanced-control timer (TIM1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.11.2 General-purpose timers (TIM3, TIM14..17) . . . . . . . . . . . . . . . . . . . . . . 20
3.11.3 Basic timers TIM6 and TIM7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.11.4 Independent watchdog (IWDG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.11.5 System window watchdog (WWDG) . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.11.6 SysTick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.12 Real-time clock (RTC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.13 Inter-integrated circuit interfaces (I2C) . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.14 Universal synchronous/asynchronous receiver/transmitter (USART) . . . 22