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

- Shipping:

Inventory:3,645
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G051C8U7 from STMicroelectronics is a 32-bit Arm® Cortex®-M0+ microcontroller in UFQFPN28 package, featuring 64 KB Flash, 18 KB SRAM, dual 12-bit DACs, 12-bit ADC with 16 external channels, and operating voltage range of 1.7–3.6 V. It integrates two USARTs (one with ISO7816/LIN/IrDA), two I²C interfaces (Fast-mode Plus), two SPIs, RTC with alarm, and supports -40°C to 85°C ambient operation - deployed in industrial sensor nodes and smart metering front-ends.
For engineers reviewing the STM32G051C8U7 datasheet, STM32G051C8U7 pinout, STM32G051C8U7 application, or STM32G051C8U7 equivalent, key selection criteria include its 28-pin UFQFPN footprint, dual DAC support for analog output generation, 14-timer suite including LPTIMs for ultra-low-power wakeups, and hardware parity on 16 KB of SRAM for functional safety-critical firmware execution.
Technical Context
The STM32G051C8U7 implements an Arm Cortex-M0+ core with MPU, running at up to 64 MHz via internal 16 MHz RC + PLL or external 4–48 MHz crystal. Its memory subsystem includes securable Flash with readout protection and 18 KB SRAM (16 KB with hardware parity), enabling certified firmware integrity checks.
Peripherals are interconnected via AHB/APB buses with DMA routing flexibility: 7-channel DMA controller supports configurable request mapping, while the 12-bit ADC achieves 0.4 µs conversion time across 16 external inputs and internal references (VREFINT, temperature sensor, VBAT). Two rail-to-rail comparators and dual low-power DACs enable closed-loop analog control without external components.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - enables real-time deterministic control with <10 ns interrupt latency. |
| Flash / RAM | 64 KB Flash (securable area), 18 KB SRAM (16 KB with HW parity) - supports secure boot and ASIL-B-level data integrity. |
| Analog Peripherals | 12-bit ADC (16 ext. ch., 0.4 µs), two 12-bit DACs, two rail-to-rail comparators - enables sensor signal conditioning and actuator drive in single-chip designs. |
| Timers | 14 timers: two 128 MHz-capable advanced timers, five 16-bit GP, two LPTIMs, two watchdogs - supports motor commutation, PWM generation, and sub-millisecond wake-from-Stop timing. |
| Communication | Two I²C (Fast-mode Plus, 1 Mbit/s), two USART (ISO7816/LIN/IrDA), one LPUART, two SPI (32 Mbit/s) - covers wired industrial protocols and battery-powered remote comms. |
| Supply & Power | 1.7–3.6 V operation; Sleep/Stop/Standby/Shutdown modes; programmable BOR/PVD - ensures robust operation across wide battery and rail conditions. |
| Package | UFQFPN28 (4 × 4 mm, 0.5 mm pitch) - compact footprint suitable for space-constrained IoT edge nodes and portable instrumentation. |
Pinout & Package
STM32G051C8U7 is housed in a 28-pin Ultra-Fine Pitch Quad Flat No-lead (UFQFPN28) package, 4 mm × 4 mm body, 0.5 mm pitch, exposed thermal pad. Pin assignments conform to ST's standard STM32G051x8 pinout for this package variant.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply / Ground | Dual VDD/VSS pairs ensure stable core/analog domain decoupling; VSSA isolated for ADC/DAC reference stability. |
| PA0–PA15, PB0–PB11, PC13–PC15 | General-purpose I/O | Up to 44 fast I/Os; multiple 5 V-tolerant pins allow interfacing with legacy 5 V logic without level shifters. |
| PA1, PA2, PA3, PA4, PA5, PA6, PA7, PA8, PA9, PA10, PA11, PA12, PA13, PA14, PA15, PB0, PB1, PB2, PB10, PB11, PC13, PC14, PC15 | Alternate function mapping | Supports USART1/2, I²C1/2, SPI1/2, LPUART, ADC1_IN0–15, DAC1_OUT, DAC2_OUT, TIM1–17 channels, RTC_TAMP - enables full peripheral utilization within 28-pin constraint. |
| NRST | Reset input | Active-low reset with internal pull-up; accepts external push-button or supervisor IC assertion for system recovery. |
| BOOT0 | Boot mode select | Controls startup source: internal Flash (BOOT0 = 0) or system memory (BOOT0 = 1) - essential for field firmware updates via UART. |
Key Features
| Feature | Design Value |
|---|---|
| Hardware CRC unit | Accelerates firmware image validation and data packet integrity checking without CPU overhead. |
| Programmable voltage detector (PVD) | Monitors VDD against 8 user-selectable thresholds (2.2–2.9 V) to trigger early warning interrupts before brownout. |
| Calendar RTC with alarm & wakeup | Enables precise timekeeping and periodic wake-from-Stop/Standby at sub-second intervals - critical for duty-cycled sensor logging. |
| Serial wire debug (SWD) | Single-pin debug interface supporting full flash programming, real-time variable inspection, and breakpoint debugging in production firmware. |
| 96-bit unique ID | Factory-programmed serial number used for device authentication, license binding, or cryptographic key derivation in secure applications. |
Applications
| Smart Energy Metering | Industrial Sensor Node |
|---|---|
Use Scenario: Bidirectional energy measurement with tariff switching, tamper detection, and wireless reporting. IC Role / Device Role / Timing Role: Main controller executing metrology algorithms, managing LCD/LED display, handling RS-485/M-Bus communication, and triggering RTC-based billing cycles. Use Value: Dual DACs generate precise reference voltages for analog front-end calibration; 12-bit ADC oversampling achieves >14-bit effective resolution for current/voltage sensing. | Use Scenario: Battery-powered vibration, temperature, and humidity monitoring in predictive maintenance systems. IC Role / Device Role / Timing Role: Low-power host managing sensor acquisition, local FFT processing, and BLE/Wi-Fi coexistence via LPUART/USART wakeup coordination. Use Value: Stop mode current <1.5 µA with RTC active enables multi-year battery life; LPTIM2 provides accurate 1 Hz sampling timer independent of main clock. |
| Medical Wearable Patch | Home Appliance Control Panel |
Use Scenario: ECG/PPG signal acquisition, motion artifact compensation, and Bluetooth LE telemetry in compact wearable form factor. IC Role / Device Role / Timing Role: Analog signal conditioner (ADC + DAC + COMP), digital signal processor (Cortex-M0+), and BLE interface coordinator (via USART/SPI). Use Value: Integrated rail-to-rail comparators enable real-time R-peak detection; 18 KB SRAM accommodates dual-buffered ECG waveform storage and FIR filter coefficients. | Use Scenario: Touch-enabled UI, motor speed control, and fault monitoring in washing machines, dishwashers, and HVAC controllers. IC Role / Device Role / Timing Role: System-on-chip replacing discrete MCU + analog ICs; drives triac/relay outputs, reads capacitive touch keys, and monitors NTC thermistors. Use Value: Advanced-control timer (TIM1) delivers 6-channel complementary PWM with dead-time insertion for BLDC motor drives; 5 V-tolerant GPIOs simplify direct connection to panel switches and displays. |
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, no DAC, fewer timers (10), same UFQFPN28 package | Suitable for cost-sensitive, non-analog-intensive control tasks (e.g., basic relay logic, LED drivers) | Select when analog peripherals and extended memory are unnecessary - reduces BOM cost by ~18%. |
| STM32G071CBT6 | 128 KB Flash, 36 KB SRAM, same peripherals, LQFP48 package (7 × 7 mm) | Better suited for complex HMI, USB-C PD negotiation, or multi-sensor fusion requiring larger code/data space | Choose when design requires >64 KB Flash or additional GPIOs - adds 20 pins but increases board area by 3×. |
Compared with STM32G051C8U7, the G031F8P6 sacrifices DACs and memory for lower cost in simpler control roles, while the G071CBT6 expands Flash/SRAM and I/O count at the expense of larger footprint - making the C8U7 the optimal balance of analog capability, compactness, and embedded firmware headroom.
Availability
STM32G051C8U7 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart energy metering, medical wearable patches, and home appliance control panels requiring stable component supply across long-lifecycle deployments.
Supply support for STM32G051C8U7 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 automotive-grade components since 1987.
The STM32G0 series targets cost-sensitive, ultra-low-power embedded applications demanding high integration, security features, and rapid time-to-market - optimized for IoT edge devices, consumer electronics, and industrial controls.
FAQ
What is the maximum operating frequency and how is it achieved?
The STM32G051C8U7 achieves a maximum CPU frequency of 64 MHz using its internal 16 MHz RC oscillator combined with a programmable PLL multiplier. Alternatively, an external 4–48 MHz crystal can feed the PLL for higher precision timing. The system clock tree supports dynamic switching between sources during runtime for power/performance trade-offs.
Does STM32G051C8U7 support hardware encryption or secure boot?
It does not integrate dedicated cryptographic accelerators (AES, SHA, PKA), but supports secure boot via readout protection (RDP) Level 1/2, securable Flash area, and option bytes configuration. Secure firmware updates require external trusted execution environment or companion secure element - ST recommends pairing with STSAFE-A110 for certified secure boot in regulated markets.
Can the two DAC outputs be synchronized for differential analog generation?
Yes - both DAC1 and DAC2 share a common trigger source (TIM2/TRGO, EXTI line, software) and support simultaneous update mode. When configured with identical alignment and trigger settings, their outputs update within one APB clock cycle, enabling true differential signaling or matched analog stimulus for sensor excitation or audio biasing.
What is the minimum supply voltage for reliable RTC operation with VBAT?
The RTC operates reliably down to 1.65 V on VBAT, maintaining calendar, alarm, and backup registers. With typical coin-cell batteries (CR2032, ~3 V nominal), the RTC sustains >10 years of continuous operation. VBAT must be decoupled with ≥100 nF ceramic capacitor placed near the VBAT pin to suppress noise-induced resets.
STM32G051C8U7 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 48-UFQFN Exposed Pad
- Series:
- STM32G0
- Packaging:
- Tray
- 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:
- 44
- 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 19x12b SAR; D/A 2x12b
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G051C8U7 FAQ
1.How can I place an order for STM32G051C8U7 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G051C8U7 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 STM32G051C8U7 reliable?
The price and inventory of STM32G051C8U7 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G051C8U7 is usually 5 days.
3.What payment methods are accepted for STM32G051C8U7?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G051C8U7 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G051C8U7?
STM32G051C8U7 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G051C8U7 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 STM32G051C8U7?
For technical support, including STM32G051C8U7 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G051C8U7 requirements.
6.How does Aetrix verify that STM32G051C8U7 is sourced from the original manufacturer or authorized distributors?
All STM32G051C8U7 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 STM32G051C8U7 meets industry standards.
7.What is the process for return or replacement of STM32G051C8U7?
All STM32G051C8U7 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G051C8U7, 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 STM32G051C8U7 part is unused and in its original packaging.
Return procedure for STM32G051C8U7:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G051C8U7 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…

