ST Life.augmented


Entry-level ARM Cortex-M0 MCU with 64 Kbytes Flash, 48 MHz CPU, motor control and CEC functions
  • active Active

The STM32F051xx microcontrollers incorporate the high-performance ARM® Cortex®-M0 32-bit RISC core operating at a 48 MHz frequency, high-speed embedded memories (up to 64 Kbytes of Flash memory and 8 Kbytes of SRAM), and an extensive range of enhanced peripherals and I/Os. All devices offer standard communication interfaces (up to two I2Cs, up to two SPIs, one I2S, one HDMI CEC and up to two USARTs), one 12-bit ADC, one 12-bit DAC, six 16-bit timers, one 32-bit timer and an advanced-control PWM timer.

The STM32F051xx microcontrollers operate in the -40 to +85 °C and -40 to +105 °C temperature ranges, from a 2.0 to 3.6 V power supply. A comprehensive set of power-saving modes allows the design of low-power applications.

The STM32F051xx microcontrollers include devices in seven different packages ranging from 32 pins to 64 pins with a die form also available upon request. Depending on the device chosen, different sets of peripherals are included. The description below provides an overview of the complete range of STM32F051xx peripherals proposed.

These features make the STM32F051xx microcontrollers suitable for a wide range of applications such as application control and user interfaces, hand-held equipment, A/V receivers and digital TV, PC peripherals, gaming and GPS platforms, industrial applications, PLCs, inverters, printers, scanners, alarm systems, video intercoms, and HVACs.

pdf Download

Key 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 VDDto 3.6 V
  • Power-on/Power down reset (POR/PDR)
  • Programmable voltage detector (PVD)
  • Low power modes: Sleep, Stop, Standby
  • VBATsupply 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
  • 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

Circuit Diagram

Design Resources


Technical Documentation

Product Specifications

Description Version Size
DS8668: ARM®-based 32-bit MCU, 16 to 64-KB Flash, timers, ADC, DAC and communication interfaces, 2.0-3.6 V
5.0 2,087 KB

Application Notes

Description Version Size
AN1709: EMC design guide for ST microcontrollers
1.7 657 KB
AN2606: STM32 microcontroller system memory boot mode
24.0 2,832 KB
AN2834: How to get the best ADC accuracy in STM32Fx Series and STM32L1 Series devices
2.0 846 KB
AN2867: Oscillator design guide for STM8S, STM8A and STM32 microcontrollers
10.0 2,877 KB
AN2869: Guidelines for designing touch sensing applications
6.1 977 KB
AN2945: STM8S and STM32™ MCUs: a consistent 8/32-bit product line for painless migration
1.2 213 KB
AN3070: Managing the Driver Enable signal for RS-485 and IO-Link communications with the STM32™’s USART
1.2 191 KB
AN3126: Audio and waveform generation using the DAC in STM32 microcontrollers
2.0 830 KB
AN3155: USART protocol used in the STM32 bootloader
6.0 1,157 KB
AN3156: USB DFU protocol used in the STM32 bootloader
4.0 395 KB
AN3236: Guidelines to increase the number of touch sensing touchkeys
4.0 300 KB
AN3307: Guidelines for obtaining IEC 60335 Class B certification for any STM32 application
4.0 431 KB
AN3364: Migration and compatibility guidelines for STM32 microcontroller applications
3.0 128 KB
AN3371: Using the hardware real-time clock (RTC) in STM32 F0, F2, F3, F4 and L1 series of MCUs
5.0 422 KB
AN4013: STM32F0, STM32F1, STM32F2, STM32F4, STM32L1 series, STM32F30x, STM32F3x8, STM32F373 timer overview
4.0 514 KB
AN4062: STM32F0DISCOVERY peripheral firmware examples
3.0 512 KB
AN4067: Calibrating STM32F0x1, STM32F0x2 and STM32F0x8 lines internal RC oscillators
2.0 512 KB
AN4076: Two or three shunt resistor based current sensing circuit design in 3-phase inverters
1.6 1,198 KB
AN4080: Getting started with STM32F0x1/x2/x8 hardware development
4.0 569 KB
AN4088: Migrating between STM32F1 and STM32F0 series microcontrollers
3.0 1,255 KB
AN4099: Implementing transmitters and receivers for infrared remote control protocols using STM32F0xx and STM32F3xx microcontrollers
2.0 521 KB
AN4104: Using the STM32F0xx DMA controller
1.0 90 KB
AN4112: Using STM32F05xx analog comparators in application cases
1.0 238 KB
AN4221: I2C protocol used in the STM32 bootloader
3.0 683 KB
AN4229: How to implement a vocoder solution using STM32 microcontrollers
1.0 467 KB
AN4299: Guidelines to improve conducted noise robustness on STM32F0, STM32F3 and STM32L0 series touch sensing applications
2.0 672 KB
AN4310: Sampling capacitor selection guide for MCU based touch sensing applications
2.0 175 KB
AN4312: Guidelines for designing touch sensing applications with surface sensors
1.0 973 KB
AN4316: Tuning a STMTouch-based application
3.0 784 KB
AN4566: Extending the DAC performance of STM32 microcontrollers
2.0 365 KB
AN4617: Migrating between STM32F0 and STM32L0 microcontrollers
1.0 462 KB
AN4655: Virtually increasing the number of serial communication peripherals in STM32 applications
1.1 339 KB
AN4735: STM32Cube firmware examples for STM32F0 Series
2.0 281 KB
AN4750: Handling of soft errors in STM32 applications
2.1 411 KB

Technical Notes & Articles

Description Version Size
TN0516: Overview of the STM32F0x/F100xx/F103xx and STM32F2xx/F30x/F4xx MCUs PMSM single/dual FOC SDK V4.0
4.0 286 KB
TN0830: How to use EWARM 6.2x with projects built with EWARM 6.1 and previous versions
1.1 97 KB
TN1204: Tape and reel shipping media for STM32 microcontrollers in BGA packages
2.1 746 KB
TN1205: Tape and reel shipping media for STM8 and STM32 microcontrollers in FPN packages
3.0 753 KB
TN1206: Tape and reel shipping media for STM8 and STM32 microcontrollers in QFP packages
3.0 831 KB
TN1207: Tape and reel shipping media for STM8 and STM32 microcontrollers in SO packages
1.0 755 KB
TN1208: Tape and reel shipping media for STM8 and STM32 microcontrollers in TSSOP and SSOP packages
1.0 743 KB

Reference Manual

Description Version Size
RM0091: STM32F0x1/STM32F0x2/STM32F0x8 advanced ARM®-based 32-bit MCUs
8.0 13,725 KB

Programming Manual

Description Version Size
PM0215: STM32F0xxx Cortex-M0 programming manual
1.0 822 KB

Errata Sheet

Description Version Size
ES0202: STM32F051xx device limitations
3.0 199 KB

Device Option List

Description Version Size
STM32F051 64 Kbytes - option list
2 KB

Presentations & Training Material


Description Version Size
Getting started with STM32F0 or STM32L0 series
1.0.0 607 KB
STM32 Embedded Software overview
2.1.0 736 KB
STM32 and STM8 embedded software solutions
2.0 2,415 KB
STM32F0x シリーズ テクニカルトレーニング Part1
1.0 4,331 KB

Related Tools and Software

Related Tools and Software

Part Number Description
STEVAL-ISA147V2 500 W fully digital AC-DC power supply (D-SMPS) based on STM32F334C8 microcontroller
STM32F0DISCOVERY Discovery kit with STM32F051R8 MCU
STM-STUDIO Run-time variables monitoring and visualization tool for STM8 and STM32 microcontrollers
ST-LINK/V2 ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32
STX-PRO/RAIS Unlimited in-circuit debugging/programming tool for STM32, STR7 and STR9
ST-LINK In-circuit debugger and programmer for STM8 and STM32 MCUs; with IAR EWARM and Keil RVMDK and ST toolset
NUCLEO-F091RC STM32 Nucleo-64 development board with STM32F091RCT6 MCU, supports Arduino and ST morpho connectivity
NUCLEO-F072RB STM32 Nucleo-64 development board with STM32F072RBT6 MCU, supports Arduino and ST morpho connectivity
32F0-TOUCH-LIB STM32F0 STMTouch library
STM320518-SK/IAR IAR starter kit for STM32 F0 series microcontrollers (STM32F051R8 MCU)
STSW-STM32025 Managing the Driver Enable signal for RS-485 and IO-Link communications with the STM32 USART
STSW-STM32013 STM32F10xxx LCD glass driver firmware (AN2656)
STM32-MP3NL/COD Audio Engine MP3 Codec and Utilities
STM32-MP3NL/DEC Audio Engine MP3 Decoder and Utilities
X-CUBE-CRYPTOLIB STM32 cryptographic firmware library software expansion for STM32Cube (UM1924)
NUCLEO-F031K6 STM32 Nucleo-32 development board with STM32F031K6T6 MCU, supports Arduino connectivity
NUCLEO-F042K6 STM32 Nucleo-32 development board with STM32F042K6T6 MCU, supports Arduino connectivity
STM32-SafeSIL Functional safety package to achieve IEC 61508 Safety Integrity Level (SIL2/3) certification with STM32
STM32091C-EVAL Evaluation board with STM32F091VC MCU
STSW-STM32149 STM32 nRF51 Bluetooth Low Energy (BLE) embedded software
STM32CubeF0 Embedded software for STM32 F0 series (HAL low level drivers, USB, File system, RTOS, Touch Sensing - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)
STM32SnippetsF0 Example Code snippets covering STM32 F0 serie
32F072BDISCOVERY Discovery kit with STM32F072RB MCU
STM32072B-EVAL Evaluation board with STM32F072VB MCU
STM32-CRYP-LIB STM32 cryptographic library (UM0586)
STSW-STM32134 Developing an HDMI-CEC network using an STM32F0xx microcontroller (AN4066)
STSW-STM32133 Managing the driver enable signal for RS-485 and IO-Link communications with the STM32F05x USART (AN4113)
STSW-STM32132 STM32F0xx internal RC oscillators calibration (AN4067)
STemWin Professional graphical stack library enabling the building up of Graphical User Interfaces (GUIs) (AN4323)
STSW-STM32AN4187 Using CRC peripheral in STM32 family (AN4187)
STSW-STM32130 Designing a smartcard interface using an STM32F0xx microcontroller (AN4100)
STSW-STM32126 I2C timing configuration tool for STM32F3xx and STM32F0xx microcontrollers (AN4235)
STSW-STM32121 STM32F10x, STM32L1xx and STM32F3xx USB full speed device library (UM0424)
STSW-STM32117 EEPROM emulation in STM32F0xx microcontrollers (AN4061)
STSW-STM32116 STM32F0xx in-application programming using the USART (AN4065)
STSW-STM32100 STM32 PMSM FOC Software Development Kit - MC library (UM1052)
STSW-STM32099 STM32 secure firmware upgrade (SFU) (AN4024)
STSW-STM32094 STM32 in-application programming over the I2C bus (AN3078)
STSW-STM32088 Clock configuration tool for STM32F0xx microcontrollers (AN4055)
STSW-STM32080 DfuSe USB device firmware upgrade STMicroelectronics extension: contains the demo GUI, debugging GUI, all sources files and the protocol layer (UM0412)
STSW-STM32048 STM32F0xx standard peripherals library
STSW-STM32047 Implementing receivers for infrared remote control protocols using STM32F1 microcontrollers (AN3174)
STSW-STM32028 STM32's ADC modes and their applications (AN3116)
CoIDE CooCox CoIDE, a free and highly-integrated software development environment for ARM Cortex MCUs
TrueINSPECTOR A tool that detects potential coding issues at an early stage. The product performs static source code inspection and generates software metrics and code complexity measurements
TrueSTUDIO The premier C/C++ development tool for STM32 development, with its unrivalled feature set and unprecedented integration
CrossWorks Rowley Associates CrossWorks, integrated development environment with JTAG Flash download and debug
RIDE Raisonance branded integrated development environment for MCUs
MDK-ARM MDK-ARM software development environment for Cortex-M and Cortex-R based mcus
Hitop5 Universal user interface, IDE and debugger for all Hitex development tools
MULTI GreenHills integrated development and debug environment for embedded applications using C and C++
TASKINGVX TASKING VX-toolset for ARM based on Altium's Viper C compiler technology
STM32-WMA/DEC Audio Engine WMA Decoder and Utilities
STVP ST Visual Programmer for programming ST7, STM8 and STM32
STX-RLINK In-circuit debugger/programmer for STM8, ST7, STM32, STR7 and STR9 microcontrollers
TrueVERIFIER Tool for advanced test automation. The product performs source code analysis and auto-generate unit tests that exercise an extensive set of different execution paths
TrueANALYSER A tool that performs advanced test quality measurements. The product performs dynamic execution flow analysis and provides rigorous code coverage measurements.
mikroCPRO MikroElektronika full-featured ANSI C compiler for STM32 devices. It features an intuitive IDE, powerful compiler with advanced optimizations
mikroPascalPRO MikroElektronika full-featured Pascal compiler for STM32 devices. It has an intuitive IDE with docking support, rich with features, advanced text editor, many available tools, libraries and examples
mikroBasicPRO MikroElektronika full-featured Basic compiler which makes STM32 development suitable for everyone
VisualTFT A standalone application used for rapid development of graphical user interfaces for TFT displays. Software generates code for STM32 MCUs. Code is fully compatible with mikroElektronika compilers mikroC, mikroBasic and mikroPascal
STSW-STM32102 STM32 Virtual COM Port Driver
NUCLEO-F303K8 STM32 Nucleo-32 development board with STM32F303K8T6 MCU, supports Arduino connectivity
X-CUBE-IAP-USART STM32Cube in-application programming using the USART embedded software (AN4657)
iSYS-winIDEA iSYSTEM's complete software development and test solution for the STM32 and STM8 families
iSYS-winIDEAOpen iSYSTEM's free unlimited software development platform for all STM32 Cortex-M based devices
SW4STM32 AC6 free multi-OS software development environment for STM32 MCUs
X-CUBE-SMBUS STM32Cube SMBus/PMBus embedded software (AN4502)
X-CUBE-nRF51DRV STM32Cube nRF51 Bluetooth Low Energy (BLE) embedded software
FREE-RTOS FreeRTOS Real Time Operating System for STM32 ARM Cortex-M Microcontrollers families
IAR-EWARM IAR Integrated development environment and optimizing C/C++ compiler for ARM Cortex-M
WEI-KNX Weinzierl KNX standard communication protocols for the STM32 ARM Cortex-M Microcontrollers families (KNX Stack)
emtas-CANopen CANopen Protocol Stack for STM32
EXP-TRACE Express Logic TraceX Graphical finetuning tool
EXP-FILE Express Logic FileX file system
EXP-USB Express Logic USBX USB stack
EXP-TCP Express Logic NetX and NetX Duo TCP/IP stacks
EXP-RTOS Express Logic ThreadX Real time operating system (RTOS)
ORYX-SSL Oryx CycloneSSL lightweight SSL/TLS implementation
ORYX-TCP Oryx CycloneTCP TCP/IP stack (IPv4, IPv6)
WITT-MW Wittenstein Middleware components (USB, File System, TCP/IP, ...)
WITT-RTOS-SAFE Wittenstein SafeRTOS, safety-certified flavor of open source FreeRTOS
WITT-RTOS Wittenstein OpenRTOS, commercial flavor of open source FreeRTOS
ALTIA-GUI Altia DeepScreen for STM32: Graphical user interface (GUI)
STM32-PRIMER/LAB Raisonance complete EvoPrimer ready-to-use for STM32 standalone programmer & application monitor
TAP-KNX-KAIStack KNX home automation for STM8 and STM32, from Tapko Technologies GMBH
STSW-STM32103 STM32 Serial Wire Viewer (SWV) and Embedded Trace Macrocell (ETM)capabilities. Examples and technical note.

Publications and Collaterals


Description Version Size
STM32 Nucleo boards
15.10 871 KB
STM32 for makers Releasing your creativity
15.10 1,128 KB


Description Version Size
STM32F0 Series - Mainstream 32-bit MCUs
15.08 1,631 KB

Quality & Reliability

Product Certification

Description Version Size
STM32 CAN conformance test authentication sheet
183 KB

Sample & Buy

Part Number Marketing StatusPackagePacking TypeOperating Temperature (min) Operating Temperature (max) Order From STUnit Price (US$)*
@ 10000
Distributor AvailabilityRoHS Compliance GradeDownload
Material Declaration**
STM32F051K8T6ActiveLQFP 32 7x7x1.4Tray-4085-1.155Distributor reported inventory date: 2015-11-27
Distributor NameRegionStockMin. order
Newark Element14Order NowAMERICA670
Farnell Element14Order NowEUROPE17761
STM32F051K8T6TRActiveLQFP 32 7x7x1.4Tape And Reel-4085-1.155Distributor reported inventory date: 2015-11-27
Distributor NameRegionStockMin. order
STM32F051K8T7ActiveLQFP 32 7x7x1.4Tray-40105-1.236No availability reported, please contact our Sales officeEcopack2-
STM32F051K8U6ActiveUFQFPN 32 5x5x0.55Tray-4085-1.093Distributor reported inventory date: 2015-11-27
Distributor NameRegionStockMin. order
ARROWOrder NowAMERICA22142940
Farnell Element14Order NowEUROPE1661
STM32F051K8U6TRActiveUFQFPN 32 5x5x0.55Tape And Reel-4085-1.093Distributor reported inventory date: 2015-11-27
Distributor NameRegionStockMin. order
STM32F051K8U7ActiveUFQFPN 32 5x5x0.55Tray-40105-1.169Distributor reported inventory date: 2015-11-27
Distributor NameRegionStockMin. order
ARROWOrder NowAMERICA548082940
Newark Element14Order NowAMERICA1640
Farnell Element14Order NowEUROPE39251
STM32F051K8U7TRActiveUFQFPN 32 5x5x0.55Tape And Reel-40105-1.169Distributor reported inventory date: 2015-11-24
Distributor NameRegionStockMin. order

(*) Suggested Resale Price per unit (USD) for BUDGETARY USE ONLY. For quotes, prices in local currency, please contact your local ST Sales Office or our Distributors
(**) The Material Declaration forms available on may be generic documents based on the most commonly used package within a package family. For this reason, they may not be 100% accurate for a specific device. Please contact our sales support for information on specific devices.
Feedback Form
Customer Feedback