ST Life.augmented

STM32F051R8

Entry-level ARM Cortex-M0 Access line 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 up to 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.

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
Datasheet

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

Top

Technical Documentation

Product Specifications

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

Application Notes

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

Technical Notes & Articles

Description Version Size
pdf
TN0516: Overview of the STM32F0x/F100xx/F103xx and STM32F2xx/F30x/F4xx MCUs PMSM single/dual FOC SDK V4.0
4.0 286 KB
pdf
TN0830: How to use EWARM 6.2x with projects built with EWARM 6.1 and previous versions
1.1 97 KB
pdf
TN1163: Description of WLCSP for microcontrollers and recommendations for its use
3.0 1,095 KB
pdf
TN1204: Tape and reel shipping media for STM32 microcontrollers in BGA packages
2.1 746 KB
pdf
TN1205: Tape and reel shipping media for STM8 and STM32 microcontrollers in FPN packages
3.0 753 KB
pdf
TN1206: Tape and reel shipping media for STM8 and STM32 microcontrollers in QFP packages
3.0 831 KB
pdf
TN1207: Tape and reel shipping media for STM8 and STM32 microcontrollers in SO packages
1.0 755 KB
pdf
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
pdf
RM0091: STM32F0x1/STM32F0x2/STM32F0x8 advanced ARM®-based 32-bit MCUs
8.0 13,725 KB

Programming Manual

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

Errata Sheet

Description Version Size
pdf
ES0202: STM32F051xx device limitations
3.0 199 KB

Device Option List

Description Version Size
zip
STM32F051 64 Kbytes - option list
2 KB

HW Model & CAD Libraries

HW Model & CAD Libraries

Description Version Size
zip
STM32F0 IBIS models
1.0 8,720 KB

Presentations & Training Material

Presentations

Description Version Size
pdf
Getting started with STM32F0 or STM32L0 series
1.0.0 607 KB
pdf
STM32 Embedded Software overview
2.1.1 736 KB
pdf
STM32 and STM8 embedded software solutions
2.0 2,415 KB
pdf
STM32F0x シリーズ テクニカルトレーニング Part1
1.0 4,331 KB
pdf
STM32ファミリ開発環境のご紹介
1.0 2,272 KB

Related Tools and Software

Related Tools and Software

Part Number Description
STM32F0DISCOVERY Discovery kit with STM32F051R8 MCU
ST-LINK In-circuit debugger and programmer for STM8 and STM32 MCUs; with IAR EWARM and Keil RVMDK and ST toolset
ST-LINK/V2 ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32
STM-STUDIO Run-time variables monitoring and visualization tool for STM8 and STM32 microcontrollers
STX-PRO/RAIS Unlimited in-circuit debugging/programming tool for STM32, STR7 and STR9
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-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)
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
STM32-CLASSB-SPL Functional safety package based on Standard Peripheral libraries to achieve IEC 60730 Class B certification with the STM32 (AN3307)
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)
STEVAL-ISA147V2 500 W fully digital AC-DC power supply (D-SMPS) based on STM32F334C8 microcontroller
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)
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
mikroBasicPRO MikroElektronika full-featured Basic compiler which makes STM32 development suitable for everyone
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
mikroCPRO MikroElektronika full-featured ANSI C compiler for STM32 devices. It features an intuitive IDE, powerful compiler with advanced optimizations
CoIDE CooCox CoIDE, a free and highly-integrated software development environment for ARM Cortex MCUs
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.
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
I-CUBE-nRF51DRV STM32Cube nRF51 Bluetooth Low Energy (BLE) embedded software
NUCLEO-F207ZG STM32 Nucleo-144 development board with STM32F207ZGT6 MCU, supports Arduino, ST Zio and Morpho
NUCLEO-F303ZE STM32 Nucleo-144 development board with STM32F303ZET6 MCU, supports Arduino, ST Zio and Morpho
NUCLEO-F429ZI STM32 Nucleo-144 development board with STM32F429ZIT6 MCU, supports Arduino, ST Zio and Morpho
NUCLEO-F446ZE STM32 Nucleo-144 development board with STM32F446ZET6 MCU, supports Arduino, ST Zio and Morpho
NUCLEO-F746ZG STM32 Nucleo-144 development board with STM32F746ZGT6 MCU, supports Arduino, ST Zio and Morpho
NUCLEO-L011K4 STM32 Nucleo-32 development board with STM32L011K4T6 MCU, supports Arduino connectivity
NUCLEO-L031K6 STM32 Nucleo-32 development board with STM32L031K6T6 MCU, supports Arduino connectivity
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.
STSW-STM32102 STM32 Virtual COM Port Driver

Publications and Collaterals

Flyer

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

Brochure

Description Version Size
pdf
STM32 32-bit MCU family - Leading supplier of ARM® Cortex®-M microcontrollers
16.02 1,184 KB
pdf
STM32F0 Series - Mainstream 32-bit MCUs
15.08 1,631 KB

Quality & Reliability

Product Certification

Description Version Size
pdf
STM32 CAN conformance test authentication sheet
183 KB

Sample & Buy

Top
Part Number Marketing StatusPackagePacking TypeOperating Temperature (min) Operating Temperature (max) Order From STUnit Price (US$)*
@ 10000
Distributor AvailabilityRoHS Compliance GradeDownload
Material Declaration**
STM32F051R8H7ActiveUFBGA 5X5X0.6 64L P 0.5 MMTray-40105-1.278No availability reported, please contact our Sales officeEcopack2-
STM32F051R8T6ActiveLQFP 64 10x10x1.4Tray-40105-1.324Distributor reported inventory date: 2016-02-12
Distributor NameRegionStockMin. order
Farnell Element14Order NowEUROPE2181
RS COMPONENTSOrder NowEUROPE5455
RUTRONIKOrder NowEUROPE57601
DIGIKEYOrder NowWORLDWIDE7831
FUTUREOrder NowWORLDWIDE9371
MOUSEROrder NowWORLDWIDE5221
Ecopack2PDF
XML
STM32F051R8T6TRActiveLQFP 64 10x10x1.4Tape And Reel-40105-1.324Distributor reported inventory date: 2016-02-12
Distributor NameRegionStockMin. order
RUTRONIKOrder NowEUROPE10001000
DIGIKEYOrder NowWORLDWIDE9341
MOUSEROrder NowWORLDWIDE13421
Ecopack2PDF
XML
STM32F051R8T7ActiveLQFP 64 10x10x1.4Tray-40105-1.417Distributor reported inventory date: 2016-02-11
Distributor NameRegionStockMin. order
AVNETOrder NowAMERICA9500
Newark Element14Order NowAMERICA1630
Farnell Element14Order NowEUROPE7521
RS COMPONENTSOrder NowEUROPE8751
MOUSEROrder NowWORLDWIDE12901
Ecopack2PDF
XML

(*) 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 st.com 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