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

- Shipping:

Inventory:577
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G051G8U6 from STMicroelectronics is a 32-bit Arm® Cortex®-M0+ microcontroller in UFQFPN28 package, operating up to 64 MHz with 64 KB Flash, 18 KB SRAM, and integrated peripherals including dual USARTs, two 12-bit DACs, 12-bit ADC (0.4 µs conversion), RTC with alarm, and low-power timers-used in battery-powered sensor nodes and industrial control edge devices.
For engineers reviewing the STM32G051G8U6 datasheet, STM32G051G8U6 pinout, STM32G051G8U6 application, or STM32G051G8U6 equivalent, key selection criteria include its 64 MHz CPU clock, 1.7–3.6 V supply range, -40°C to 125°C extended temperature grade, 5 V-tolerant I/Os, and SWD debug interface for rapid firmware validation.
Technical Context
The STM32G051G8U6 implements an Arm Cortex-M0+ core with Memory Protection Unit (MPU) and supports multiple clock sources: 4–48 MHz HSE crystal, 32 kHz LSE with calibration, 16 MHz HSI RC with PLL, and 32 kHz LSI RC (±5%). Its interconnect architecture routes peripherals-including two I2C (one Fast-mode Plus), two SPI (32 Mbit/s), and two USARTs-through a flexible AHB/APB matrix.
Power management includes programmable Brownout Reset (BOR), voltage detector (PVD), and four low-power modes (Sleep, Stop, Standby, Shutdown) with sub-μA shutdown current and RTC/backup register retention via VBAT. The device integrates hardware CRC, 96-bit unique ID, and ECOPACK2-compliant packaging.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - enables real-time deterministic control in compact firmware footprints. |
| Flash / RAM | 64 KB Flash (with securable area), 18 KB SRAM (16 KB with HW parity) - supports secure boot and robust data integrity in field-deployed firmware. |
| ADC | 12-bit, 0.4 µs conversion time, up to 16 external channels - delivers fast sampling for analog sensor interfacing without external oversampling hardware. |
| DAC | Two 12-bit DACs with sample-and-hold - enables simultaneous analog output generation for control loops or waveform synthesis. |
| Timers | 14 timers including two 128 MHz-capable advanced timers, one 32-bit general-purpose, five 16-bit GP, two low-power - supports motor control, PWM generation, and precise timing across power states. |
| Communication | Two I2C (Fast-mode Plus), two USART (ISO7816/LIN/IrDA), one LPUART, two SPI - provides multi-protocol connectivity for industrial sensors and smart peripherals. |
| Operating Temp | -40°C to +125°C - qualified for under-hood automotive, industrial PLC, and outdoor IoT deployments without derating. |
| Supply Voltage | 1.7 V to 3.6 V - compatible with single-cell Li-ion, LiFePO₄, and 3.3 V system rails without external regulators. |
Pinout & Package
STM32G051G8U6 is housed in 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 G0-series layout for UFQFPN28 (package code A0B0), supporting full peripheral mapping and 5 V-tolerant I/Os on designated pins.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VDDA, VSS, VSSA | Power supply and ground | Separate analog/digital domains ensure clean ADC/DAC reference and reduce noise coupling in mixed-signal operation. |
| PA0–PA15, PB0–PB15, PC13–PC15 | General-purpose I/O | Up to 44 fast I/Os; all mappable to EXTI, multiple 5 V-tolerant - simplifies level-shifting in legacy 5 V subsystem integration. |
| NRST | Active-low reset input | Accepts 1.65–5.5 V logic; supports external reset supervision and brownout recovery sequencing. |
| SWDIO / SWCLK | Serial Wire Debug interface | Two-pin debug port enables in-circuit programming and real-time trace without JTAG overhead or pin count penalty. |
| BOOT0 | Boot mode selection | Configures boot source (system memory, Flash, or SRAM); essential for bootloader updates and factory programming. |
Key Features
| Feature | Design Value |
|---|---|
| Low-power modes | Shutdown current < 30 nA with RTC active - extends battery life in wireless sensor nodes beyond 10 years on coin cell. |
| Hardware CRC unit | Dedicated 32-bit CRC engine - accelerates firmware image verification and communication packet integrity checks without CPU load. |
| Secure boot support | Readout protection (RDP) Level 1/2 and securable Flash area - prevents unauthorized firmware extraction in connected edge devices. |
| Analog peripherals | Integrated temperature sensor, VREFINT, VBAT monitor, and two rail-to-rail comparators - eliminates need for external analog front-end components. |
| Flexible clocking | Multiple internal/external clock sources with automatic failover and calibration - ensures timing resilience in noisy or thermally variable environments. |
| ECOPACK2 compliance | Halogen-free, RoHS-compliant package with enhanced thermal performance - meets industrial and automotive environmental standards. |
Applications
| Smart Sensor Node | Industrial Control Panel |
|---|---|
|
Use Scenario: Battery-powered environmental monitoring node measuring temperature, humidity, and CO₂ with BLE gateway interface. IC Role / Device Role: Main system controller managing sensor acquisition, data preprocessing, low-power scheduling, and UART-to-BLE bridge. Use Value: Sub-μA shutdown current and RTC wakeup enable multi-year operation; dual DACs drive analog calibration references for sensor compensation. |
Use Scenario: Local HMI panel in factory automation with pushbuttons, LED indicators, and RS-485 Modbus RTU communication. IC Role / Device Role: Real-time command interpreter and peripheral coordinator handling button debouncing, LED PWM dimming, and protocol framing. Use Value: 14 timers support independent PWM outputs for LEDs and precise UART baud rate generation; 5 V-tolerant I/Os interface directly with legacy 5 V logic. |
| Energy Meter Interface | Automotive Body Controller |
|
Use Scenario: Pulse-counting and tariff-switching module in residential electricity meters interfacing with shunt-based current sensing. IC Role / Device Role: Isolated metering companion MCU acquiring ADC samples, computing RMS values, and driving optical IR LED for utility readout. Use Value: 12-bit ADC with hardware oversampling achieves >14-bit effective resolution; LPUART enables ultra-low-power wake-on-command from utility handheld readers. |
Use Scenario: Door lock actuator control module in 12 V automotive systems requiring CAN communication and window lift safety logic. IC Role / Device Role: Secondary controller managing motor drivers, Hall-effect position feedback, and LIN bus diagnostics. Use Value: -40°C to +125°C rating ensures reliability in under-dash environments; ISO7816-capable USART supports secure key provisioning during manufacturing. |
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, USB 2.0 FS, additional ADC channel - larger memory and USB interface not present in G051G8U6. | Required where host-side USB device functionality or larger firmware buffers are needed (e.g., USB HID peripherals). | Select when USB connectivity or >18 KB RAM is mandatory; otherwise G051G8U6 offers lower BOM cost and identical peripheral set for non-USB use cases. |
| STM32F072CBT6 | 48 MHz Cortex-M0, 128 KB Flash, 16 KB SRAM, USB 2.0 FS - older F0 series with higher Flash but no LPUART or calibrated LSE. | Suitable for cost-sensitive USB-enabled designs where extended temperature range (-40°C to +125°C) is not required. | Prefer G051G8U6 for new designs needing extended temp, lower power, or LPUART; F072CBT6 remains viable only for legacy USB-only projects with existing toolchain investment. |
Compared with STM32G071GBU6 and STM32F072CBT6, the STM32G051G8U6 delivers optimal balance of low-power operation, extended temperature capability, and rich analog/peripheral integration at minimal pin count and footprint-making it ideal for space-constrained, battery-operated, or thermally demanding embedded control.
Availability
STM32G051G8U6 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart meter interfaces, and automotive body electronics requiring stable component supply, long lifecycle assurance, and full production traceability.
Supply support for STM32G051G8U6 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, MEMS, and automotive-grade silicon.
The STM32G0 series targets entry-level embedded applications demanding high integration, ultra-low power, and robust security-optimized for cost-sensitive, battery-powered, and industrial edge devices.
FAQ
Does STM32G051G8U6 support USB device functionality?
No. The STM32G051G8U6 does not integrate a USB transceiver or USB controller. It lacks dedicated USB PHY and USB-specific registers. For USB-enabled designs, ST recommends the STM32G071 or STM32G081 variants, which include full-speed USB 2.0 device support with built-in PHY and descriptor handling.
What is the maximum allowed VDD slew rate during power-up?
The STM32G051G8U6 requires VDD ramp time ≥ 1 ms from 0 V to minimum operating voltage (1.7 V). Exceeding 1 V/ms slew rate may cause improper POR circuit activation or metastability in internal latches; ST specifies this in Section 5.3.2 of DS13303 Rev 4.
Can the internal 32 kHz RC oscillator be used for RTC calibration?
Yes. The internal 32 kHz RC oscillator (LSI) can serve as RTC clock source, and its frequency is factory-trimmed to ±5% accuracy. For higher precision, the 32.768 kHz external crystal (LSE) with calibration register (RTCCAL) achieves ±1 ppm stability after software calibration using the RTC calibration register.
How many I/O pins support external interrupt capability?
All 44 GPIOs on STM32G051G8U6 support external interrupt generation via the EXTI controller. Each pin maps to a dedicated EXTI line (PA0 → EXTI0, PB1 → EXTI1, etc.), and up to 16 lines can trigger interrupts simultaneously with configurable priority and event/IRQ mode selection in NVIC.
STM32G051G8U6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 28-UFQFN
- Series:
- STM32G0
- Packaging:
- Tray
- 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:
- 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:
STM32G051G8U6 FAQ
1.How can I place an order for STM32G051G8U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G051G8U6 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 STM32G051G8U6 reliable?
The price and inventory of STM32G051G8U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G051G8U6 is usually 5 days.
3.What payment methods are accepted for STM32G051G8U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G051G8U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G051G8U6?
STM32G051G8U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G051G8U6 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 STM32G051G8U6?
For technical support, including STM32G051G8U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G051G8U6 requirements.
6.How does Aetrix verify that STM32G051G8U6 is sourced from the original manufacturer or authorized distributors?
All STM32G051G8U6 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 STM32G051G8U6 meets industry standards.
7.What is the process for return or replacement of STM32G051G8U6?
All STM32G051G8U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G051G8U6, 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 STM32G051G8U6 part is unused and in its original packaging.
Return procedure for STM32G051G8U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G051G8U6 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…

