STMicroelectronics STM32G051F8Y6TR
- Part No.:
- STM32G051F8Y6TR
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 20-UFBGA, WLCSP
- Datasheet:
-
STM32G051F8Y6TR.pdf
- Description:
- IC MCU 32BIT 64KB FLASH 20UFBGA
- Quantity:
- Payment:

- Shipping:

Inventory:4,730
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G051F8Y6TR from STMicroelectronics is a 32-bit Arm® Cortex®-M0+ microcontroller in a 20-pin TSSOP package, featuring 64 KB Flash, 18 KB SRAM, dual USARTs (one with LIN/ISO7816), two 12-bit DACs, and 12-bit ADC with hardware oversampling-designed for compact industrial sensor nodes and battery-powered IoT edge controllers.
For engineers reviewing the STM32G051F8Y6TR datasheet, STM32G051F8Y6TR pinout, STM32G051F8Y6TR application, or STM32G051F8Y6TR equivalent, key selection criteria include its 64 MHz max CPU frequency, 1.7–3.6 V supply range, -40°C to 125°C extended temperature grade, and integrated low-power timers with Stop/Standby wakeup via LPUART or RTC alarm.
Technical Context
The device implements an Arm Cortex-M0+ core with MPU, supporting TrustZone-like memory protection through securable flash area and readout protection levels. Its clock system integrates four oscillators: 4–48 MHz HSE, 32 kHz LSE with calibration, 16 MHz HSI with PLL, and 32 kHz LSI-enabling precise timing control across Run, Stop, and Standby modes.
Peripheral interconnect uses a multi-layer AHB/APB bus matrix with DMAMUX for flexible channel mapping. Analog subsystem includes rail-to-rail comparators with programmable hysteresis, dual DACs with sample-and-hold, and ADC with up to 16 external channels and 0.4 µs conversion time-optimized for real-time signal acquisition in resource-constrained embedded systems.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - delivers deterministic real-time execution with <10 ns interrupt latency for motor control and sensor fusion. |
| Memory | 64 KB Flash (with securable area) + 18 KB SRAM (16 KB with HW parity) - enables secure firmware updates and robust data logging in safety-critical applications. |
| ADC | 12-bit, 0.4 µs conversion, up to 16 channels - supports high-speed analog monitoring of multiple sensors without external multiplexing. |
| DAC | Two 12-bit DACs with low-power sample-and-hold - provides simultaneous analog output generation for actuator control or reference voltage synthesis. |
| Timers | 14 timers including two 128 MHz-capable advanced timers, LPTIM1/LPTIM2 - enables precise PWM generation, encoder interfacing, and ultra-low-power periodic wakeups. |
| Communication | Two I2C (Fast-mode Plus), two USART (one ISO7816/LIN/IrDA), one LPUART, two SPI - supports mixed-protocol connectivity in smart metering and industrial gateways. |
| Supply Range | 1.7–3.6 V with BOR/PVD - ensures reliable operation across single-cell Li-ion, coin-cell, and wide-input industrial power rails. |
| Temp Range | -40°C to +125°C - qualified for under-hood automotive modules and industrial PLC I/O expansion cards. |
Pinout & Package
STM32G051F8Y6TR is housed in a 20-pin TSSOP package (6.4 × 4.4 mm, pitch 0.65 mm), RoHS-compliant and ECOPACK2 certified. Pin functions are validated per ST's DS13303 Rev 4, Section 4 (Pin assignment and description), with all I/Os 5 V-tolerant except BOOT0 and NRST.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply / Ground | Dual VDD pins (pins 1, 19) and dual VSS pins (pins 2, 20) reduce IR drop and improve noise immunity in high-frequency switching. |
| PA0–PA7, PB0–PB7 | General-purpose I/O | 16 GPIOs mapped to EXTI lines; PA0–PA3 support analog input, PA2/PA3 support USART2 TX/RX - simplifies sensor interface and debug routing. |
| NRST | Active-low reset | Internal pull-up; accepts 1.65–5.5 V logic - compatible with external supervisors and level-shifted reset networks. |
| BOOT0 | Boot mode select | High at power-up selects system memory bootloader - enables field firmware recovery without SWD debugger. |
| SWDIO / SWCLK | Debug interface | Pins 12 and 13 - support serial wire debug with no additional pins required; essential for production programming and boundary scan. |
Key Features
| Feature | Design Value |
|---|---|
| Low-power modes | Sleep, Stop, Standby, Shutdown - Stop 0 current ≤1.1 µA @ 25°C enables >10-year battery life in wireless sensor transmitters. |
| CRC calculation unit | Hardware-accelerated CRC-32 - offloads checksum computation from CPU during OTA firmware validation and packet integrity checking. |
| RTC with calendar | Alarm + periodic wakeup from Stop/Standby - eliminates need for external real-time clock IC in energy-harvesting nodes. |
| Programmable voltage detector | Configurable threshold (1.9–2.9 V in 0.1 V steps) - triggers controlled shutdown before brownout in Li-SOCl₂ battery systems. |
| 96-bit unique ID | Factory-programmed, non-erasable - enables device-specific cryptographic key binding and secure provisioning in IoT deployments. |
| ECOPACK2 compliance | Halogen-free, lead-free, RoHS-compliant - meets EU environmental directives for industrial and medical equipment. |
Applications
| Smart Metering Node | Industrial Sensor Hub |
|---|---|
Use Scenario: Compact electricity/water meter with pulse counting, tamper detection, and RF sub-GHz communication. IC Role / Device Role / Timing Role: Main controller executing metrology algorithms, managing EEPROM logging, and synchronizing RF burst transmission via RTC alarm. Use Value: Dual DACs generate precision reference voltages for ADC calibration; LPUART enables low-power wake-on-RF-packet for mesh network coordination. |
Use Scenario: DIN-rail mounted temperature/humidity/pressure sensor aggregator with Modbus RTU over RS-485. IC Role / Device Role / Timing Role: Protocol bridge converting analog sensor outputs to Modbus frames; USART1 configured as RS-485 half-duplex master. Use Value: 5 V-tolerant GPIOs directly drive RS-485 transceiver DE/RE pins; 12-bit ADC oversampling achieves ±0.1% measurement accuracy without external op-amps. |
| Medical Wearable Monitor | Automotive Body Control Module |
Use Scenario: ECG patch with dry-electrode sensing, Bluetooth LE connectivity, and motion artifact compensation. IC Role / Device Role / Timing Role: Signal processor acquiring raw electrode data, running digital filters, and buffering packets for BLE transmission. Use Value: Two 12-bit DACs generate bias voltages for active electrode circuits; 125°C rating supports operation near battery thermal zones. |
Use Scenario: Door module controlling window lift, mirror fold, and interior lighting with LIN slave interface. IC Role / Device Role / Timing Role: LIN slave node executing position feedback control and diagnostic reporting via LIN 2.2 protocol stack. Use Value: USART2 with built-in LIN break detection and auto-baud rate sync reduces external transceiver count; 14 timers enable independent PWM dimming for RGB LEDs. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G031F8P6 | 32 KB Flash, 8 KB SRAM, same package/peripherals - lacks second DAC and advanced timer TIM1. | Suitable for cost-sensitive LIN slaves or simple sensor interfaces without analog output requirements. | Select when DACs and motor control timers are unnecessary; saves ~15% BOM cost in high-volume consumer devices. |
| STM32G071F8Y6TR | 64 KB Flash, 36 KB SRAM, USB 2.0 FS, extra I2C/SPI - identical pinout but larger die and higher current consumption. | Required for USB-CDC virtual COM port or dual-sensor fusion with local data preprocessing. | Choose when USB connectivity or >18 KB RAM for complex RTOS stacks is mandatory; adds 20% power overhead in Stop mode. |
Compared with STM32G031F8P6, STM32G051F8Y6TR adds critical analog output capability and extended temperature resilience; versus STM32G071F8Y6TR, it trades USB and RAM headroom for lower static power and smaller footprint-ideal for sealed, battery-operated edge nodes.
Availability
STM32G051F8Y6TR is available at Aetrix Electronics and suitable for industrial sensor nodes, smart metering endpoints, and automotive body electronics requiring stable component supply across extended temperature ranges and long product lifecycles.
Supply support for STM32G051F8Y6TR includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
STMicroelectronics is a global semiconductor leader headquartered in Geneva, Switzerland, designing and manufacturing microcontrollers, power management ICs, and MEMS sensors for industrial, automotive, and consumer markets.
The STM32G0 series targets cost-sensitive, ultra-low-power embedded applications-delivering Cortex-M0+ performance with enhanced analog integration and simplified security features for rapid IoT endpoint development.
FAQ
What is the maximum operating frequency and how is it achieved?
The STM32G051F8Y6TR achieves 64 MHz CPU frequency using its internal 16 MHz HSI oscillator fed into a programmable PLL with multiplication factor up to ×4. This configuration avoids external crystal cost while maintaining timing accuracy within ±1% over temperature, validated per DS13303 Section 5.3.9.
Does this MCU support hardware encryption or secure boot?
It does not include dedicated AES or PKA accelerators, but supports secure firmware deployment via readout protection (RDP) Level 1/2, securable flash area, and 96-bit unique ID for key derivation. Bootloader authentication requires external secure element or software-based HMAC verification using the CRC unit.
Can the two DAC outputs be synchronized for differential signaling?
No-DAC1 and DAC2 operate independently with separate trigger sources and output buffers. They cannot be hardware-synchronized for true differential pair generation; however, software-triggered updates with tight timing loops achieve <1 µs skew in most use cases per DS13303 Section 3.15.
What debug interfaces are supported and what pins do they use?
Only Serial Wire Debug (SWD) is supported, using dedicated pins SWDIO (PA13) and SWCLK (PA14). JTAG is not implemented. These pins are shared with GPIO functionality but default to debug mode on reset; no external pull-ups are required for standard SWD programmers like ST-LINK/V2.
STM32G051F8Y6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-UFBGA, WLCSP
- Series:
- STM32G0
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Active
- Programmable:
- -
- Core Processor:
- ARM® Cortex®-M0+
- Core Size:
- 32-Bit Single-Core
- Speed:
- 64MHz
- Connectivity:
- I2C, IrDA, LINbus, SPI, SmartCard, UART/USART
- Peripherals:
- Brown-out Detect/Reset, DMA, I2S, POR, PWM, WDT
- Number of I/O:
- 18
- Program Memory Size:
- 64KB (64K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 18K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.7V ~ 3.6V
- Data Converters:
- A/D 16x12b SAR; D/A 2x12b
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G051F8Y6TR FAQ
1.How can I place an order for STM32G051F8Y6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G051F8Y6TR on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for STM32G051F8Y6TR reliable?
The price and inventory of STM32G051F8Y6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G051F8Y6TR is usually 5 days.
3.What payment methods are accepted for STM32G051F8Y6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G051F8Y6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G051F8Y6TR?
STM32G051F8Y6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G051F8Y6TR order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for STM32G051F8Y6TR?
For technical support, including STM32G051F8Y6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G051F8Y6TR requirements.
6.How does Aetrix verify that STM32G051F8Y6TR is sourced from the original manufacturer or authorized distributors?
All STM32G051F8Y6TR products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that STM32G051F8Y6TR meets industry standards.
7.What is the process for return or replacement of STM32G051F8Y6TR?
All STM32G051F8Y6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM32G051F8Y6TR, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The STM32G051F8Y6TR part is unused and in its original packaging.
Return procedure for STM32G051F8Y6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G051F8Y6TR Tags

-
ATTINY4-TSHR
Microchip Technology

-
ATTINY10-TSHR
Microchip Technology

-
ATTINY10-TS8R
Microchip Technology

-
ATTINY202-SSNR
Microchip Technology

-
ATTINY202-SSFR
Microchip Technology

-
ATTINY402-SSNR
Microchip Technology

-
PIC16F15213T-I/MF
Microchip Technology

-
PIC16F15213-E/MF
Microchip Technology

-
PIC10F200T-I/OT
Microchip Technology

-
ATTINY412-SSNR
Microchip Technology

-
PIC10F202T-I/OT
Microchip Technology

-
ATTINY404-SSNR
Microchip Technology
Tech Hub
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…

