Document
STM32F051x4 STM32F051x6 STM32F051x8
ARM®-based 32-bit MCU, 16 to 64 KB Flash, 11 timers, ADC, DAC and communication interfaces, 2.0-3.6 V
Datasheet - production data
Features
• Core: ARM® 32-bit Cortex®-M0 CPU, frequency up to 48 MHz
• Memories – 16 to 64 Kbytes of Flash memory – 8 Kbytes of SRAM with HW parity checking
• CRC calculation unit
• Reset and power management – Digital and I/O supply: VDD = 2.0 V to 3.6 V – Analog supply: VDDA = from VDD to 3.6 V – Power-on/Power down reset (POR/PDR) – Programmable voltage detector (PVD) – Low power modes: Sleep, Stop, Standby – VBAT supply for RTC and backup registers
• 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 36 I/Os with 5 V 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 from 2.4 up to 3.6
• One 12-bit DAC channel
• Two fast low-power analog comparators with programmable input and output
• Up to 18 capacitive sensing channels supporting touchkey, linear and rotary touch sensors
• Up to 11 timers – One 16-bit 7-channel advanced-control timer for 6 channels PWM output, with deadtime generation and emergency stop – One 32-bit and one 16-bit timer, with up to 4 IC/OC, usable for IR control decoding
&"'!
LQFP64 10x10 mm UFQFPN48 7x7 mm UFBGA64 WLCSP36 LQFP48 7x7 mm UFQFPN32 5x5 mm 5x5 mm 2.6x2.7 mm LQFP32 7x7 mm
– One 16-bit timer, with 2 IC/OC, 1 OCN, deadtime generation and emergency stop
– Two 16-bit timers, each with IC/OC and OCN, deadtime generation, emergency stop and modulator gate for IR control
– One 16-bit timer with 1 IC/OC
– Independent and system watchdog timers
– SysTick timer: 24-bit downcounter
– One 16-bit basic timer to drive the DAC
• Calendar RTC with alarm and periodic wakeup from Stop/Standby
• Communication interfaces – Up to two I2C interfaces, one supporting Fast Mode Plus (1 Mbit/s) with 20 mA current sink, SMBus/PMBus and wakeup from Stop mode
– Up to two USARTs supporting master synchronous SPI and modem control, one with ISO7816 interface, LIN, IrDA capability, auto baud rate detection and wakeup feature
– Up to two SPIs (18 Mbit/s) with 4 to 16 programmable bit frame, one with I2S interface multiplexed
• HDMI CEC interface, wakeup on header reception
• Serial wire debug (SWD)
• 96-bit unique ID • All packages ECOPACK®2
Table 1. Device summary
Reference
Part number
STM32F051xx
STM32F051C4, STM32F051K4, STM32F051R4
STM32F051C6, STM32F051K6, STM32F051R6
STM32F051C8, STM32F051K8, STM32F051R8, STM32F051T8
December 2015
This is information on a product in full production.
DocID022265 Rev 6
1/121
www.st.com
Contents
Contents
STM32F051x4 STM32F051x6 STM32F051x8
1 2 3
2/121
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.1 ARM®-Cortex®-M0 core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.2 Memories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.3 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.4 Cyclic redundancy check calculation unit (CRC) . . . . . . . . . . . . . . . . . . . 14
3.5 Power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.5.1 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.5.2 Power supply supervisors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.5.3 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.5.4 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.6 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
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) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.10.1 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..