Part Number: STM32F051R8T6

Manufacturer: STMicroelectronics

Description: IC MCU 32BIT 64KB FLASH 64LQFP

Shipped from: Shenzhen/HK Warehouse

Stock Available: Check with us

Technical Specifications of STM32F051R8T6

Datasheet  STM32F051R8T6 datasheet
Category Integrated Circuits (ICs)
Family Embedded – Microcontrollers
Manufacturer STMicroelectronics
Series STM32 F0
Packaging Tray
Part Status Active
Core Processor ARM? Cortex?-M0
Core Size 32-Bit
Speed 48MHz
Peripherals DMA, I2S, POR, PWM, WDT
Number of I/O 55
Program Memory Size 64KB (64K x 8)
Program Memory Type FLASH
RAM Size 8K x 8
Voltage – Supply (Vcc/Vdd) 2 V ~ 3.6 V
Data Converters A/D 19x12b, D/A 1x12b
Oscillator Type Internal
Operating Temperature -40°C ~ 85°C (TA)
Package / Case 64-LQFP
Supplier Device Package *

STM32F051R8T6 Description

High-performance ARM®Cortex®-M0 32-bit RISC cores running at up to 48 MHz are included in the STM32F051xx microcontrollers, together with fast embedded storage (up to 64 Kbytes of Flash memory and 8 Kbytes of SRAM) and a wide variety of improved peripherals and I/Os. Standard interfaces such as I2C, SPI, I2S, HDMI CEC, and UART are present on all devices.

STM32F051R8T6 microcontrollers can function from a 2.0 to 3.6 V power source and in temperatures ranging from -40 to +85 °C to -40 to +105 °C. The development of low-power apps is made possible by a complete suite of power-saving options.

Devices in seven distinct packages, with pin counts ranging from 32 to 64, make up the STM32F051xx family of microcontrollers; die shape is also available on demand. There are various accessory bundles available for your chosen device.

Because of these capabilities, STM32F051xx microcontrollers can be used in a wide variety of contexts, including but not limited to application control and user interfaces; handheld equipment; audio/video receivers and digital TV; PC peripherals; industrial applications; programmable logic controllers; inverters; alarm systems; video intercoms and HVACs; and more.

Development tools

Several programming tools, like software development kits (SDKs), integrated development environments (IDEs), and evaluation boards, can be used to program the STM32F051R8T6 microcontroller. These resources can facilitate the development process and boost design productivity.

The STM32CubeMX software tool is a well-liked SDK for the STM32 family of microcontrollers. It offers a graphical interface for configuring the microcontroller’s peripherals, producing startup code, and building a project skeleton. Without needing to have a thorough understanding of the hardware of the device, this tool enables developers to quickly set up the pins, clocks, timers, and communication interfaces of the microcontroller. The resulting code is compatible with a number of IDEs, including Eclipse, Keil MDK-ARM, and IAR Embedded Workbench.

The STM32 Nucleo board is another well-liked development tool for the STM32F051R8T6, offering a cheap evaluation and development platform. Developers may easily prototype and test their applications using the Nucleo board’s inbuilt ST-Link debugger/programmer, Arduino-compatible expansion header, and access to the microcontroller’s pins. The board is an easy and flexible alternative for development because the STM32CubeMX tool and many IDEs support it.

Professional-grade IDEs like IAR Embedded Workbench or Keil MDK-ARM, which include extensive debugging features, code optimization, and real-time tracing capabilities, can be used by developers to carry out more complex development tasks.

The development of a motor control application using the STM32CubeMX tool and the STM32 Nucleo board is an example of how to use these tools to create applications for the STM32F051R8T6. The tool enables the developer to write initialization code, design a project skeleton, and set the timers and GPIO pins of the microcontroller to operate the motor. The code can be tested and the motor control parameters can be adjusted using the Nucleo board.

A developer can use the Keil MDK-ARM IDE to build C code that reads the temperature sensor’s data using the microcontroller’s I2C interface and outputs the result to an LCD display as another example of creating a temperature sensing application. To go through the code and ensure proper functioning, use the debugging features of the IDE.

In conclusion, various development tools, such as SDKs, IDEs, and evaluation boards, can be used to program the STM32F051R8T6 microcontroller. These tools can streamline the creation process and increase design productivity. These tools can be used by programmers to build a broad variety of applications, from the basic sensor reading to sophisticated motor control.

Functional Overview

● ARM®-Cortex®-M0 core

A sort of 32-bit RISC processor for embedded devices produced by the ARM Corporation is called the ARM® Cortex®-M0. It was designed to be a low-cost platform that can implement MCUs. It requires less power and has fewer pins than other platforms, yet it nevertheless performs exceptionally well in terms of computation and reacts quickly to interruptions. What one would anticipate from an ARM core is the extremely efficient code of the ARM® Cortex®-M0 processors. Also, they provide memory capacities that are typically found in 8-bit and 16-bit devices. The STM32F051xx devices include ARM cores, making it possible to utilize any ARM tools and software with them.

● Cyclic redundancy check calculation unit (CRC)

A 32-bit data word and a CRC-32 (Ethernet) polynomial are used to generate a CRC code using the CRC (cyclic redundancy check) computation unit. CRC-based algorithms are used, among other things, to check the accuracy of data transfer or storage. They provide a way to check the integrity of the Flash memory within the parameters of the EN/IEC 60335-1 standard. To compare the software’s runtime signature to a reference signature created at link-time and saved at a specific memory location, the CRC calculation unit is used.

● Clocks and startup

However, the internal RC 8 MHz oscillator is chosen as the default CPU clock on reset. The system clock is selected on startup. There is an option to pick an external 4-32 MHz clock, in which case its health is checked. The system immediately returns to the internal RC oscillator whenever a failure is found. When enabled, a program interrupt is produced. Likewise, when required, full interrupt management of the PLL clock entry is provided. The application may adjust the AHB and APB domain frequencies using a variety of prescalers. AHB and APB domains can operate at a maximum frequency of 48 MHz.


In summary, the STM32F051R8T6 is a 32-bit microcontroller with a Cortex-M0 CPU and up to 48 MHz frequency. It has a range of features, including up to 64 Kbytes of Flash memory, 8 Kbytes of SRAM, and up to 55 fast I/Os. It also includes a range of timers, communication interfaces, and low-power modes, making it suitable for various applications in electronic design.

The microcontroller’s versatility, efficiency, and reliability make it an excellent choice for various projects, from simple embedded systems to more complex applications. Its low power modes make it ideal for battery-powered devices, while its communication interfaces and timers make it suitable for applications requiring precise timing and control.

Overall, the STM32F051R8T6 is a powerful and flexible microcontroller that offers a wide range of features and capabilities for electronic design. ICRFQ offers the STM32F051R8T6 and other high-quality electronic components at affordable prices, with a team of knowledgeable specialists ready to assist with orders and questions.

4.8/5 - (397 votes)
Kevin Chen