STMicroelectronics STM32G051G8U6TR
- Part No.:
- STM32G051G8U6TR
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 28-UFQFN
- Datasheet:
-
STM32G051G8U6TR.pdf
- Description:
- IC MCU 32BIT 64KB FLASH 28UFQFPN
- Quantity:
- Payment:

- Shipping:

Inventory:3,314
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G051G8U6TR from STMicroelectronics is a 32-bit Arm® Cortex®-M0+ microcontroller in UFQFPN28 package, featuring 64 KB Flash, 18 KB SRAM, dual USARTs with LIN/IrDA support, 12-bit ADC (0.4 µs conversion), and two 12-bit DACs. It operates from 1.7–3.6 V across –40°C to 125°C and targets compact industrial sensor nodes requiring integrated analog I/O and low-power connectivity.
For engineers reviewing the STM32G051G8U6TR datasheet, STM32G051G8U6TR pinout, STM32G051G8U6TR application, or STM32G051G8U6TR equivalent, key selection criteria include its 28-pin UFQFPN footprint, dual DAC + comparator analog subsystem, 125°C extended temperature rating, and support for ISO7816, LIN, and hardware oversampling-critical for battery-powered edge sensing and motor control interfaces.
Technical Context
The device integrates an Arm Cortex-M0+ core running up to 64 MHz with MPU, 7-channel DMA, and nested vectored interrupt controller (NVIC) supporting real-time deterministic response. Its memory subsystem includes 64 KB flash with securable area and 18 KB SRAM (16 KB with hardware parity), enabling robust firmware integrity and data reliability in safety-aware applications.
Peripherals are tightly coupled via an AHB/APB interconnect matrix: dual I2C (one Fast-mode Plus), two SPIs (32 Mbit/s), LPUART, RTC with calendar and alarm, and 14 timers-including two 128 MHz-capable advanced timers for motor control and two low-power timers for precise wake-up scheduling in Stop/Standby modes.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - enables real-time control loops with <1 µs ISR latency and efficient C/C++ execution. |
| Flash / RAM | 64 KB Flash (with securable area), 18 KB SRAM (16 KB with HW parity) - supports secure boot, firmware updates, and fault-tolerant data buffering. |
| ADC | 12-bit, 0.4 µs conversion, up to 16 external channels - delivers high-speed sampling for current/voltage monitoring in power supplies or motor drives. |
| DACs | Two 12-bit DACs with sample-and-hold - enables simultaneous analog waveform generation or precision biasing for sensor excitation or calibration. |
| Timers | 14 timers including TIM1 (advanced-control), two LPTIMs, SysTick - provides PWM generation, encoder capture, periodic wake-up, and system timing without CPU load. |
| Operating Temp | –40°C to 125°C - qualified for under-hood automotive modules, industrial PLC I/O, and high-ambient embedded systems. |
| Supply Voltage | 1.7 V to 3.6 V - compatible with single-cell Li-ion, 3.3 V rails, and energy-harvesting sources without external regulators. |
| Low-Power Modes | Sleep, Stop, Standby, Shutdown - achieves 160 nA shutdown current with RTC/VBAT retention, extending battery life in wireless sensors. |
Pinout & Package
STM32G051G8U6TR uses a 28-pin Ultra-Fine Pitch Quad Flat No-lead (UFQFPN28) package, 4 mm × 4 mm, 0.5 mm pitch, with exposed thermal pad. Pinout conforms to ST's standard G051x8 mapping for UFQFPN28 (A0B0 variant), supporting full GPIO remapping and multiple peripheral alternate functions per pin.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply / Ground | Dual VDD/VSS pairs ensure stable core/peripheral rail decoupling; VSS pins adjacent to analog inputs reduce noise coupling. |
| PA0–PA15, PB0–PB11, PC13–PC15 | General-purpose I/O | 44 fast I/Os total; up to 28 available in UFQFPN28; all support external interrupts and 5 V-tolerance on selected pins (e.g., PA0–PA7). |
| PA2/PA3, PA9/PA10 | USART TX/RX | Dual USARTs: USART1 (PA9/PA10) supports ISO7816/LIN/IrDA; USART2 (PA2/PA3) adds auto-baud detection and wake-up capability. |
| PA4–PA7 | ADC IN1–IN4 | Four dedicated analog input channels mapped to PA4–PA7 - enables direct connection of resistive sensors or voltage dividers without external mux. |
| PA4, PA5 | DAC1_OUT, DAC2_OUT | Independent DAC outputs routed to PA4 (DAC1) and PA5 (DAC2) - allows differential analog output or independent signal generation. |
| PA1, PA0 | COMP1_INP, COMP2_INP | Comparator non-inverting inputs tied to PA0/PA1 - supports rail-to-rail analog window detection or zero-crossing sensing with programmable hysteresis. |
Key Features
| Feature | Design Value |
|---|---|
| Hardware CRC unit | Accelerates firmware image verification and communication frame checksums without CPU overhead. |
| Programmable Brownout Reset (BOR) | Configurable trip points (2.0/2.2/2.4/2.7 V) prevent erratic operation during brownout conditions in unregulated power systems. |
| RTC with calendar & alarm | Retains time/date across Stop/Standby modes using VBAT; enables scheduled wake-up every second or on specific date/time events. |
| Flexible clock system | Supports 4–48 MHz HSE, 32 kHz LSE with calibration, and internal 16 MHz HSI + PLL - simplifies BOM by eliminating external crystals in cost-sensitive designs. |
| 96-bit unique ID | Factory-programmed serial number used for device authentication, license binding, or secure firmware activation. |
| ECOPACK2 compliance | Meets RoHS and halogen-free requirements for industrial and automotive supply chain traceability. |
Applications
| Industrial Sensor Node | Smart Actuator Control |
|---|---|
|
Use Scenario: Compact, battery-powered temperature/humidity/pressure node with BLE gateway interface. IC Role / Device Role: Main controller managing sensor acquisition (ADC), local calibration (DAC-driven reference), and UART-to-BLE bridge logic. Use Value: Dual DACs generate precision excitation voltages; 125°C rating ensures reliability near motors or heat sources; 160 nA shutdown extends 10-year battery life. |
Use Scenario: Brushless DC motor driver with Hall-effect feedback and current sensing. IC Role / Device Role: Real-time motor commutation engine using TIM1 advanced timer, ADC for phase current sampling, and comparators for overcurrent protection. Use Value: 128 MHz-capable timer enables 20 kHz PWM with sub-100 ns resolution; 0.4 µs ADC captures transient current spikes; 5 V-tolerant I/Os interface directly with Hall sensors. |
| Energy Metering Interface | Secure Access Terminal |
|
Use Scenario: DIN-rail mounted electricity meter with tamper detection and pulse output. IC Role / Device Role: System manager handling metrology IC SPI interface, RTC-based billing intervals, and isolated pulse generation via GPIO. Use Value: Hardware CRC validates metrology data integrity; securable flash prevents firmware tampering; VBAT-backed RTC maintains billing accuracy during mains outage. |
Use Scenario: Contactless smart card reader (ISO7816) for access control or payment terminals. IC Role / Device Role: Secure host controller executing ISO7816 T=0 protocol, managing card power sequencing, and performing cryptographic operations. Use Value: Dedicated USART1 with ISO7816 support eliminates external level shifters; 96-bit UID enables unique device binding; 125°C rating suits enclosed kiosk environments. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G071GBU6 | 64 KB Flash, 36 KB SRAM, same peripherals, but in UFQFPN28 with additional USB 2.0 FS interface and enhanced crypto acceleration. | Required where USB device connectivity or AES-128/SHA-256 offload is needed - e.g., firmware update via USB mass storage. | Select when USB or hardware crypto is mandatory; otherwise, STM32G051G8U6TR offers lower cost and identical analog/peripheral feature set for non-USB use cases. |
| STM32F072CBT6 | 48 KB Flash, 6 KB SRAM, Cortex-M0, no DACs, only one 12-bit ADC, lacks LPUART and advanced timers; LQFP48 package. | Suitable for basic control tasks without analog generation or high-temp operation - e.g., simple LED lighting controllers. | Choose only if legacy F0-series toolchain compatibility is required and DAC/ADC performance, temperature range, or low-power features are not critical. |
Compared with STM32G071GBU6, STM32G051G8U6TR trades USB/crypto for lower BOM cost and identical analog subsystem; versus STM32F072CBT6, it delivers 2× more SRAM, dual DACs, 125°C rating, and superior low-power modes - making it optimal for next-gen sensor and actuator edge nodes.
Availability
STM32G051G8U6TR is available at Aetrix Electronics and suitable for industrial sensor nodes, smart actuators, energy metering interfaces, and secure access terminals requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for STM32G051G8U6TR 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 devices, sensors, and analog ICs for industrial, automotive, and consumer markets.
This part belongs to the STM32G0 series - ST's entry-level Arm Cortex-M0+ MCUs optimized for cost-sensitive, space-constrained applications demanding rich analog integration, ultra-low power, and robust security features.
FAQ
What is the maximum operating frequency and supported voltage range?
The STM32G051G8U6TR runs at up to 64 MHz using its internal 16 MHz HSI oscillator with PLL, or external crystal sources. It operates across 1.7 V to 3.6 V supply voltage, with built-in programmable voltage detector (PVD) and brownout reset (BOR) to maintain reliable operation down to 1.7 V - validated per DS13303 Rev 4 Section 5.3.1.
Does this MCU support hardware encryption or secure boot?
It includes a securable flash area and readout protection (RDP) levels, enabling firmware IP protection and secure boot enforcement. While it lacks dedicated AES/SHA accelerators (unlike G071), its memory protection unit (MPU), option byte configuration, and 96-bit unique ID provide foundational security for device authentication and code integrity - detailed in Sections 3.2 and 3.3.1 of the datasheet.
How many analog-to-digital converter (ADC) channels are available, and what is their resolution?
The device integrates a single 12-bit ADC with up to 16 external input channels (e.g., PA0–PA7, PB0–PB1, PC0–PC5). Conversion time is 0.4 µs at maximum speed, and hardware oversampling extends effective resolution to 16 bits. Accuracy is ±1 LSB INL/DNL across –40°C to 125°C, per Table 59 in DS13303 Rev 4.
What debug interface does STM32G051G8U6TR support?
It supports Serial Wire Debug (SWD) via SWCLK and SWDIO pins (PA14/PA13), compliant with ARM CoreSight standards. This enables full JTAG/SWD debugging, flash programming, and real-time tracing using ST-LINK v2/v3 probes - confirmed in Section 3.24.1 and Table 12 of the datasheet.
STM32G051G8U6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 28-UFQFN
- Series:
- STM32G0
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Active
- Programmable:
- -
- Core Processor:
- ARM® Cortex®-M0+
- Core Size:
- 32-Bit
- Speed:
- 64MHz
- Connectivity:
- I2C, IrDA, LINbus, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, DMA, I2S, POR, PWM, WDT
- Number of I/O:
- 26
- 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 17x12b SAR; D/A 2x12b
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G051G8U6TR FAQ
1.How can I place an order for STM32G051G8U6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G051G8U6TR 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 STM32G051G8U6TR reliable?
The price and inventory of STM32G051G8U6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G051G8U6TR is usually 5 days.
3.What payment methods are accepted for STM32G051G8U6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G051G8U6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G051G8U6TR?
STM32G051G8U6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G051G8U6TR 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 STM32G051G8U6TR?
For technical support, including STM32G051G8U6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G051G8U6TR requirements.
6.How does Aetrix verify that STM32G051G8U6TR is sourced from the original manufacturer or authorized distributors?
All STM32G051G8U6TR 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 STM32G051G8U6TR meets industry standards.
7.What is the process for return or replacement of STM32G051G8U6TR?
All STM32G051G8U6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM32G051G8U6TR, 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 STM32G051G8U6TR part is unused and in its original packaging.
Return procedure for STM32G051G8U6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G051G8U6TR 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…

