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 LQFP64 10x10 mm UFQFPN48 7x7 mm UFBGA64 WLCSP36 LQFP48 7x7 mm UFQFPN32 5x5 mm 5x5 mm 2.6x2.7 mm LQFP32 7x7 mm Memories 16 to 64 Kbytes of Flash memory One 16-bit timer, with 2 IC/OC, 1 OCN, 8 Kbytes of SRAM with HW parity checking deadtime generation and emergency stop Two 16-bit timers, each with IC/OC and CRC calculation unit OCN, deadtime generation, emergency Reset and power management stop and modulator gate for IR control Digital and I/O supply: V = 2.0 V to 3.6 V DD One 16-bit timer with 1 IC/OC Analog supply: V = from V to 3.6 V DDA DD Independent and system watchdog timers Power-on/Power down reset (POR/PDR) SysTick timer: 24-bit downcounter Programmable voltage detector (PVD) One 16-bit basic timer to drive the DAC Low power modes: Sleep, Stop, Standby Calendar RTC with alarm and periodic wakeup V supply for RTC and backup registers BAT from Stop/Standby Clock management Communication interfaces 4 to 32 MHz crystal oscillator 2 Up to two I C interfaces, one supporting 32 kHz oscillator for RTC with calibration Fast Mode Plus (1 Mbit/s) with 20 mA Internal 8 MHz RC with x6 PLL option current sink, SMBus/PMBus and wakeup Internal 40 kHz RC oscillator from Stop mode Up to two USARTs supporting master Up to 55 fast I/Os synchronous SPI and modem control, one All mappable on external interrupt vectors with ISO7816 interface, LIN, IrDA Up to 36 I/Os with 5 V tolerant capability capability, auto baud rate detection and 5-channel DMA controller wakeup feature One 12-bit, 1.0 s ADC (up to 16 channels) Up to two SPIs (18 Mbit/s) with 4 to 16 2 programmable bit frame, one with I S Conversion range: 0 to 3.6 V interface multiplexed Separate analog supply from 2.4 up to 3.6 HDMI CEC interface, wakeup on header One 12-bit DAC channel reception Two fast low-power analog comparators with Serial wire debug (SWD) programmable input and output 96-bit unique ID Up to 18 capacitive sensing channels supporting touchkey, linear and rotary touch All packages ECOPACK 2 sensors Table 1. Device summary Up to 11 timers Reference Part number One 16-bit 7-channel advanced-control timer for 6 channels PWM output, with STM32F051C4, STM32F051K4, STM32F051R4 STM32F051C6, STM32F051K6, STM32F051R6 deadtime generation and emergency stop STM32F051xx STM32F051C8, STM32F051K8, STM32F051R8, One 32-bit and one 16-bit timer, with up to STM32F051T8 4 IC/OC, usable for IR control decoding January 2017 DocID022265 Rev 7 1/122 This is information on a product in full production. www.st.comContents STM32F051x4 STM32F051x6 STM32F051x8 Contents 1 Introduction 9 2 Description 10 3 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 18 3.10.2 Internal voltage reference (V ) . 18 REFINT 3.10.3 V battery voltage monitoring . 19 BAT 3.11 Digital-to-analog converter (DAC) 19 3.12 Comparators (COMP) . 19 3.13 Touch sensing controller (TSC) 19 3.14 Timers and watchdogs . 21 3.14.1 Advanced-control timer (TIM1) . 21 3.14.2 General-purpose timers (TIM2, 3, 14, 15, 16, 17) . 22 3.14.3 Basic timer TIM6 22 3.14.4 Independent watchdog (IWDG) . 22 3.14.5 System window watchdog (WWDG) . 23 2/122 DocID022265 Rev 7