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

- Shipping:

Inventory:2,426
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G051G6U6 from STMicroelectronics is a 32-bit Arm® Cortex®-M0+ microcontroller in UFQFPN28 package, operating up to 64 MHz with 32 KB Flash and 18 KB SRAM. It integrates dual 12-bit DACs, 12-bit ADC (0.4 µs conversion), two fast analog comparators, RTC with calendar, and communication interfaces including two I²C (Fast-mode Plus), two USARTs (one with ISO7816/LIN/IrDA), and two SPIs - deployed in industrial sensor nodes requiring low-power operation and mixed-signal control.
For engineers reviewing the STM32G051G6U6 datasheet, STM32G051G6U6 pinout, STM32G051G6U6 application, or STM32G051G6U6 equivalent, key selection criteria include its 28-pin UFQFPN footprint, 1.7–3.6 V supply range, -40°C to 105°C extended temperature grade, and support for Stop/Standby/Shutdown low-power modes with sub-µA retention current.
Technical Context
The STM32G051G6U6 implements an Arm Cortex-M0+ core with MPU, supporting TrustZone-like memory protection via securable flash area and hardware parity on 16 KB of SRAM. Its clock system combines 4–48 MHz HSE, 32 kHz LSE with calibration, and internal 16 MHz HSI with PLL for precise timing across mixed-signal peripherals.
Peripheral interconnect uses dedicated DMA channels (7-channel controller) and flexible alternate function mapping across GPIO ports A/B/C/D/F. Analog subsystem includes rail-to-rail comparators with programmable hysteresis, dual DACs with sample-and-hold, and ADC with hardware oversampling up to 16-bit effective resolution - enabling closed-loop control without external signal conditioning.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - delivers deterministic real-time response for motor control and sensor fusion tasks. |
| Flash / RAM | 32 KB Flash (with securable area), 18 KB SRAM (16 KB with HW parity) - supports secure firmware updates and safety-critical data integrity. |
| ADC | 12-bit, 0.4 µs conversion, up to 16 external channels - enables high-speed sampling of multi-sensor inputs in compact IoT endpoints. |
| DAC | Two 12-bit DACs with low-power sample-and-hold - provides independent analog output for biasing, calibration, or waveform generation. |
| Timers | 14 timers including two 128 MHz-capable advanced timers, one 32-bit general-purpose, five 16-bit GP, two low-power - supports PWM generation, encoder interface, and precise time-stamping. |
| I/O Voltage Tolerance | Multiple 5 V-tolerant pins - simplifies level-shifting in mixed-voltage systems interfacing with legacy peripherals. |
| Operating Temp | -40°C to +105°C - qualified for industrial automation and automotive under-hood auxiliary modules. |
| Supply Range | 1.7 V to 3.6 V - compatible with single-cell Li-ion, coin cell backup (VBAT), and wide-input DC-DC outputs. |
Pinout & Package
STM32G051G6U6 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. Pin assignment follows ST's standard STM32G0 series layout optimized for minimal PCB area and thermal performance in space-constrained designs.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Core and I/O domain supply; decoupling required per datasheet layout guidelines for EMI suppression. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts external push-button or supervisor IC assertion. |
| PA0–PA15, PB0–PB15, PC13–PC15, PD0–PD2, PF0–PF1 | General-purpose I/O | Up to 44 mappable GPIOs; multiple pins support EXTI, timer channels, and analog functions (ADC/DAC/COMP). |
| PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA9, PA10, PA11, PA12, PA15, PB0, PB1, PB3, PB4, PB5, PB6, PB7, PB8, PB9, PC13, PC14, PC15 | Alternate function I/O | Supports USART1/2, SPI1/2, I²C1/2, LPUART, ADC_INx, DAC_OUTx, COMPx_INx, TIMx_CHx - enables full peripheral concurrency. |
| VREF+, VREF- | Analog reference inputs | Enable precise ADC/DAC referencing; VREF+ can be internally buffered or externally driven for improved accuracy. |
| VBAT | Backup power supply | Supplies RTC and backup registers during main power loss; supports coin-cell or supercapacitor backup. |
Key Features
| Feature | Design Value |
|---|---|
| Low-power modes | Sleep, Stop, Standby, Shutdown - Stop 0 mode draws ≤1.2 µA (typ.) with RTC running, enabling battery life >10 years in metering applications. |
| Secure boot & ROP | Readout protection (ROP) levels and securable flash area - prevents firmware extraction and enables trusted bootloader execution. |
| Hardware CRC unit | Dedicated CRC-32 engine - accelerates firmware image validation and data packet integrity checks without CPU overhead. |
| Programmable voltage detector | PVD with 8-level threshold selection - triggers interrupt or reset on supply droop, critical for brownout-safe state preservation. |
| Serial wire debug | SWD interface on PA13/PA14 - enables non-intrusive debugging and programming through standard JTAG/SWD probes. |
| 96-bit unique ID | Factory-programmed serial number - supports device authentication, license binding, and secure provisioning in cloud-connected devices. |
Applications
| Industrial Sensor Node | Smart Meter Interface |
|---|---|
|
Use Scenario: Compact environmental monitoring node with temperature/humidity/pressure sensors, LoRaWAN radio, and local display. IC Role / Device Role / Timing Role: Main MCU executing sensor fusion, radio stack, and power management; RTC provides timestamping and periodic wake-up. Use Value: Dual DACs calibrate sensor offsets; 5 V-tolerant I/Os interface directly with legacy analog front-ends; Stop mode extends battery life beyond 5 years. |
Use Scenario: Electricity/water/gas meter with pulse counting, tamper detection, and optical/IR communication port. IC Role / Device Role / Timing Role: System controller managing metrology ADC, EEPROM logging, and IR/UART-based utility interface. Use Value: Hardware parity on SRAM ensures data integrity during power glitches; programmable BOR prevents erratic behavior during grid sags. |
| Motor Control Module | Medical Diagnostic Handheld |
|
Use Scenario: Brushless DC motor driver for HVAC fan or small pump, with Hall-effect feedback and current sensing. IC Role / Device Role / Timing Role: Real-time motion controller generating 3-phase PWM; advanced timers synchronize gate drivers and ADC sampling. Use Value: Two 128 MHz-capable timers enable precise commutation timing; analog comparators provide fast overcurrent shutdown (<100 ns response). |
Use Scenario: Portable blood glucose or ECG monitor with analog front-end, OLED display, and Bluetooth LE connectivity. IC Role / Device Role / Timing Role: Signal processor acquiring and filtering biosignals; LPUART handles BLE UART bridge; RTC manages session logging. Use Value: 12-bit ADC with hardware oversampling achieves >14-bit ENOB for low-noise biosignal capture; VBAT backup preserves last reading during battery swap. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G031F6P6 | 20-pin TSSOP, 32 KB Flash, no DAC, single comparator, no LPUART | Lacks dual DAC and LPUART - unsuitable for analog calibration or ultra-low-power wake-on-RX use cases | Select when cost and footprint are primary constraints and analog output is not required. |
| STM32G071GBU6 | 48-pin UFQFPN, 128 KB Flash, 36 KB SRAM, USB 2.0 FS, additional timers and I/Os | Higher pin count and memory - over-spec for simple sensor nodes but enables USB HID or firmware update via cable | Choose when future scalability, USB connectivity, or expanded peripheral concurrency is needed. |
Compared with STM32G031F6P6, the STM32G051G6U6 adds dual DACs and LPUART for analog calibration and low-power wireless wake-up; versus STM32G071GBU6, it trades USB and memory headroom for smaller size and lower BOM cost in resource-constrained edge nodes.
Availability
STM32G051G6U6 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart meter interfaces, motor control modules, and medical diagnostic handhelds requiring stable component supply across long-lifecycle deployments.
Supply support for STM32G051G6U6 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 ICs, sensors, and analog components for industrial, automotive, and consumer markets.
The STM32G0 series targets cost-sensitive, power-efficient embedded applications requiring Arm Cortex-M0+ performance with rich analog integration - optimized for smart sensors, metering, and human-machine interface devices.
FAQ
What is the maximum operating frequency and supported voltage range?
The STM32G051G6U6 operates at up to 64 MHz and supports a supply voltage range of 1.7 V to 3.6 V. This allows direct compatibility with single-cell lithium batteries (2.5–3.6 V), regulated 3.3 V rails, and energy-harvesting sources down to 1.7 V - with all peripherals fully functional across the entire range.
Does this MCU support hardware encryption or secure boot features?
Yes - it includes readout protection (ROP) levels, a securable flash area for protected bootloader code, and a hardware CRC unit for firmware signature verification. While it lacks dedicated AES engines, the securable area and ROP enable secure boot chain implementation compliant with IEC 62443 Level 1 requirements.
Can the two DAC outputs be used simultaneously with independent triggers?
Yes - both 12-bit DACs operate independently with configurable triggers (timers, software, external events) and built-in sample-and-hold. They support simultaneous or staggered updates, enabling dual-channel waveform generation or differential analog output for precision sensor excitation.
What debug interface does the STM32G051G6U6 use, and what pins are required?
It uses Serial Wire Debug (SWD) via dedicated pins PA13 (SWDIO) and PA14 (SWCLK). No reset pin is mandatory for SWD, though NRST improves reliability during firmware recovery. The interface supports full-speed debugging, flash programming, and real-time variable inspection using standard ST-LINK or CMSIS-DAP tools.
STM32G051G6U6 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:
- 32KB (32K 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:
STM32G051G6U6 FAQ
1.How can I place an order for STM32G051G6U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G051G6U6 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 STM32G051G6U6 reliable?
The price and inventory of STM32G051G6U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G051G6U6 is usually 5 days.
3.What payment methods are accepted for STM32G051G6U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G051G6U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G051G6U6?
STM32G051G6U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G051G6U6 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 STM32G051G6U6?
For technical support, including STM32G051G6U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G051G6U6 requirements.
6.How does Aetrix verify that STM32G051G6U6 is sourced from the original manufacturer or authorized distributors?
All STM32G051G6U6 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 STM32G051G6U6 meets industry standards.
7.What is the process for return or replacement of STM32G051G6U6?
All STM32G051G6U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G051G6U6, 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 STM32G051G6U6 part is unused and in its original packaging.
Return procedure for STM32G051G6U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G051G6U6 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…

