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

- Shipping:

Inventory:2,193
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G051K8U6 from STMicroelectronics is a 32-bit Arm® Cortex®-M0+ microcontroller in UFQFPN32 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 - deployed in industrial sensor nodes requiring compact size, real-time control, and battery longevity.
For engineers reviewing the STM32G051K8U6 datasheet, STM32G051K8U6 pinout, STM32G051K8U6 application, or STM32G051K8U6 equivalent, key selection criteria include voltage range (1.7–3.6 V), 44 fast I/Os (multiple 5 V-tolerant), SWD debug support, ECOPACK2 compliance, and verified operation at -40°C to 125°C ambient.
Technical Context
The STM32G051K8U6 integrates an Arm Cortex-M0+ core with MPU, supporting deterministic real-time execution and memory protection for safety-critical firmware. Its clock system combines 4–48 MHz HSE, 32 kHz LSE with calibration, 16 MHz HSI with PLL, and 32 kHz LSI - enabling precise timing across Run, Stop, Standby, and Shutdown modes.
Peripheral interconnect uses a multi-layer AHB/APB bus matrix with DMA controller (7 channels) and DMAMUX for flexible peripheral-to-memory transfers. Analog subsystem includes dual rail-to-rail comparators, temperature sensor, VREFINT, and VBAT monitoring - all accessible without CPU intervention in low-power states.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - enables deterministic real-time task scheduling with <10 ns interrupt latency. |
| Memory | 64 KB Flash (with securable area), 18 KB SRAM (16 KB with HW parity) - supports secure firmware updates and ECC-protected data buffers. |
| Analog Peripherals | 12-bit ADC (16-channel, 0.4 µs), two 12-bit DACs, two rail-to-rail comparators - enables closed-loop analog control without external signal conditioning. |
| Timers | 14 timers: two 128 MHz-capable advanced timers, one 32-bit general-purpose, five 16-bit GP, two low-power, two watchdogs - supports motor commutation, PWM generation, and ultra-low-power wake-up intervals. |
| Communication | Two I2C (Fast-mode Plus, 1 Mbit/s), two USART (ISO7816/LIN/IrDA), one LPUART, two SPI (32 Mbit/s) - covers wired industrial protocols and battery-efficient remote telemetry. |
| Power Management | 1.7–3.6 V supply, programmable BOR/PVD, Sleep/Stop/Standby/Shutdown modes - achieves 190 nA shutdown current with RTC + backup registers active. |
| Package & Temp | UFQFPN32 (5 × 5 mm), -40°C to 125°C operating range - suitable for space-constrained automotive body electronics and industrial PLC modules. |
Pinout & Package
STM32G051K8U6 is housed in a 32-pin Ultra-Fine Pitch Quad Flat No-lead (UFQFPN32) package, 5 × 5 mm, 0.5 mm pitch, with exposed thermal pad. Pin assignment conforms to ST's standard STM32G051x8 pinout for LQFP32/UFQFPN32 variants.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VDDA, VSS, VSSA | Power supply and ground | Dual-domain power pins enable independent analog/digital supply filtering; VDDA must be ≥ VDD for ADC/DAC accuracy. |
| PA0–PA15, PB0–PB15, PC13–PC15 | General-purpose I/O | 44 total GPIOs; PA0–PA7, PB0–PB1, PC13–PC15 are 5 V-tolerant - simplifies level-shifting in mixed-voltage systems. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts 1.65–5.5 V logic - compatible with external supervisors and pushbutton debouncing circuits. |
| SWDIO / SWCLK | Serial Wire Debug interface | Two-pin debug port supporting full SWD protocol - enables in-circuit programming and real-time trace without dedicated JTAG pins. |
| OSC_IN / OSC_OUT | HSE crystal oscillator terminals | Supports 4–48 MHz quartz crystals; internal load caps configurable via option bytes - eliminates need for external capacitors in cost-sensitive designs. |
| VBAT | Backup power supply | Supplies RTC and 32 backup registers during main power loss - enables timekeeping and state retention with coin-cell or supercapacitor. |
Key Features
| Feature | Design Value |
|---|---|
| Secure Boot & ROP | Readout Protection (ROP) Level 1/2 with securable flash area - prevents unauthorized firmware extraction while allowing field updates via signed images. |
| Low-Power Timers | LPTIM1/LPTIM2 operate in Stop/Standby modes with sub-microamp consumption - enables periodic sensor sampling without waking CPU. |
| Hardware CRC Unit | Dedicated 32-bit CRC engine compliant with IEEE-802.3 - accelerates firmware integrity checks and communication frame validation in real time. |
| ADC Oversampling | Hardware 16× oversampling yields 16-bit effective resolution - replaces external sigma-delta converters in precision measurement applications. |
| Flexible Clock System | Multiple clock sources (HSE/LSE/HSI/LSI) with automatic failover and PLL fine-tuning - ensures robust timing under voltage/temp variation and crystal aging. |
Applications
| Smart Metering Node | Industrial Motor Controller |
|---|---|
|
Use Scenario: Battery-powered electricity meter with tamper detection, pulse counting, and wireless upload via LPUART. IC Role / Device Role / Timing Role: Main MCU executing metrology algorithms, managing RTC-based billing cycles, and handling ISO7816-compliant secure element interface. Use Value: 190 nA shutdown current extends 10-year battery life; dual DACs generate precise reference voltages for shunt-based current sensing. |
Use Scenario: Compact BLDC motor driver for HVAC blowers with Hall-effect feedback and thermal monitoring. IC Role / Device Role / Timing Role: Real-time motor commutation controller using TIM1 advanced timer with dead-time insertion and fault protection. Use Value: 128 MHz timer clock enables 20 kHz PWM carrier frequency; 5 V-tolerant GPIOs interface directly to Hall sensors without level shifters. |
| IoT Edge Sensor Hub | Automotive Body Control Module |
|
Use Scenario: Multi-sensor node (temp, humidity, motion) aggregating data via I2C and transmitting over LoRaWAN using UART-to-SX1276 bridge. IC Role / Device Role / Timing Role: Central sensor fusion processor with hardware-accelerated CRC and DMA-driven I2C/SPI transfers to minimize CPU load. Use Value: 7-channel DMA offloads burst transfers from ADC, DAC, and I2C - reduces active time by >40% versus polling-based firmware. |
Use Scenario: Door module controlling window lift, mirror fold, and interior lighting with LIN communication to central ECU. IC Role / Device Role / Timing Role: LIN slave node implementing SAE J2602 protocol using USART1 with auto-baud rate detection and wakeup-on-LIN. Use Value: Integrated LIN physical layer support eliminates external transceiver; 125°C rating ensures reliability in door cavity thermal environments. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G071K8U6 | Same package, 128 KB Flash, 36 KB SRAM, added USB 2.0 FS device, enhanced RNG | Required when USB connectivity or larger code footprint needed; higher BOM cost | Select if future firmware expansion or host-side debugging via USB CDC is required. |
| STM32G031K8U6 | Same package, 32 KB Flash, 8 KB SRAM, no DAC, single comparator, reduced timer count | Suitable for cost-sensitive, non-analog-intensive applications like simple LED controllers | Choose only when analog features (DAC/ADC oversampling) and RTC alarm are not required. |
Compared with STM32G051K8U6, the G071 offers headroom for feature-rich firmware but increases cost and power; the G031 cuts analog capability and memory to reduce price - making the G051 the optimal balance of analog integration, memory, and industrial temperature support.
Availability
STM32G051K8U6 is available at Aetrix Electronics and suitable for industrial sensor nodes, automotive body electronics, and smart metering applications requiring stable component supply, long-term lifecycle assurance, and extended temperature operation.
Supply support for STM32G051K8U6 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, specializing in microcontrollers, power management, MEMS, and automotive ICs with vertical manufacturing and broad IP portfolio.
The STM32G0 series targets cost-sensitive, power-constrained embedded applications demanding Arm Cortex-M0+ performance, robust security, and seamless integration of analog/mixed-signal peripherals - optimized for industrial IoT edge nodes and automotive body electronics.
FAQ
What is the maximum operating frequency and corresponding supply voltage range?
The STM32G051K8U6 achieves 64 MHz maximum CPU frequency across its full 1.7–3.6 V supply range. At 1.7 V, the maximum safe frequency is 24 MHz per datasheet Table 21; full 64 MHz operation requires ≥2.0 V. Internal voltage regulator and dynamic voltage scaling ensure stable timing across voltage transitions.
Does this MCU support hardware encryption or secure boot features?
Yes - it includes Readout Protection (ROP) Levels 1 and 2, securable flash area, and unique 96-bit ID. While it lacks AES hardware accelerators, ROP combined with bootloader signature verification (via external secure element or software-based ECDSA) enables secure firmware updates and IP protection per ST's AN5274 guidelines.
Can the two DAC outputs drive analog actuators directly?
Each 12-bit DAC delivers up to 1 mA sink/source into resistive loads with rail-to-rail output swing (0–VDD). For driving actuators requiring >1 mA or capacitive loads, an external op-amp buffer is required. DAC output impedance is ~15 kΩ - direct connection to piezo elements or low-current LEDs is supported.
Is the UFQFPN32 package RoHS and REACH compliant?
Yes - the STM32G051K8U6 in UFQFPN32 package meets RoHS Directive 2011/65/EU and REACH Regulation (EC) No. 1907/2006. It is also ECOPACK2 certified, confirming halogen-free materials and lead-free terminations compliant with JEDEC J-STD-020 moisture sensitivity level MSL3.
STM32G051K8U6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-UFQFN Exposed Pad
- Series:
- STM32G0
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- 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:
- -
- 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 12b SAR; D/A 2x12b
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G051K8U6 FAQ
1.How can I place an order for STM32G051K8U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G051K8U6 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 STM32G051K8U6 reliable?
The price and inventory of STM32G051K8U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G051K8U6 is usually 5 days.
3.What payment methods are accepted for STM32G051K8U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G051K8U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G051K8U6?
STM32G051K8U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G051K8U6 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 STM32G051K8U6?
For technical support, including STM32G051K8U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G051K8U6 requirements.
6.How does Aetrix verify that STM32G051K8U6 is sourced from the original manufacturer or authorized distributors?
All STM32G051K8U6 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 STM32G051K8U6 meets industry standards.
7.What is the process for return or replacement of STM32G051K8U6?
All STM32G051K8U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G051K8U6, 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 STM32G051K8U6 part is unused and in its original packaging.
Return procedure for STM32G051K8U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G051K8U6 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…

