STMicroelectronics STM32G051K8T6
- Part No.:
- STM32G051K8T6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 32-LQFP
- Datasheet:
-
STM32G051K8T6.pdf
- Description:
- IC MCU 32BIT 64KB FLASH 32LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:1,472
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G051K8T6 from STMicroelectronics is a 32-bit Arm® Cortex®-M0+ microcontroller in LQFP32 package, operating up to 64 MHz with 64 KB Flash, 18 KB SRAM, and integrated peripherals including dual USARTs (one with LIN/IrDA), two I²C interfaces (Fast-mode Plus), two SPIs, 12-bit ADC (16-channel), dual 12-bit DACs, and calendar RTC - deployed in industrial sensor nodes requiring low-power connectivity and analog signal conditioning.
For engineers reviewing the STM32G051K8T6 datasheet, STM32G051K8T6 pinout, STM32G051K8T6 application, or STM32G051K8T6 equivalent, key selection criteria include its 64 MHz Cortex-M0+ core, 1.7–3.6 V supply range, -40°C to 125°C extended temperature grade, 44 fast I/Os (multiple 5 V-tolerant), and support for SWD debug - critical for cost-sensitive, space-constrained embedded control designs.
Technical Context
The device 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 timers, ADC, DAC, comparators, and communication interfaces-via a multi-layer AHB/APB bus matrix with DMA controller (7 channels) and DMAMUX for flexible peripheral-to-memory transfers.
Power management includes four low-power modes (Sleep, Stop, Standby, Shutdown), programmable Brownout Reset (BOR), voltage detector (PVD), and VBAT-supplied RTC/backup registers. Analog subsystem features rail-to-rail comparators with programmable inputs/outputs, 12-bit ADC with hardware oversampling up to 16-bit resolution, and two low-power DACs with sample-and-hold capability.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - enables real-time deterministic execution for motor control and protocol stacks. |
| Memory | 64 KB Flash (with securable area), 18 KB SRAM (16 KB with HW parity) - supports firmware updates and robust data buffering. |
| ADC | 12-bit, 0.4 µs conversion, up to 16 external channels - delivers high-speed analog acquisition for sensor fusion. |
| DAC | Two 12-bit DACs with low-power sample-and-hold - enables precise analog output generation without external components. |
| 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 interfacing, and ultra-low-power timing. |
| Communication | Two I²C (Fast-mode Plus, 1 Mbit/s), two USART (LIN/IrDA/ISO7816), one LPUART, two SPI (32 Mbit/s) - covers wired industrial protocols and battery-aware serial links. |
| Operating Temp | -40°C to +125°C - qualified for under-hood automotive and industrial ambient environments. |
| Supply Voltage | 1.7 V to 3.6 V - compatible with single-cell Li-ion, 3.3 V logic rails, and energy-harvesting power supplies. |
Pinout & Package
LQFP32 (7 × 7 mm) package with exposed thermal pad; RoHS-compliant ECOPACK2; 32-pin quad flat pack with standard 0.8 mm pitch.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Main power supply | 1.7–3.6 V core/digital supply; decoupling required per datasheet layout guidelines. |
| VSS | Ground reference | Digital ground plane connection; must be low-impedance and tied to VSSA for analog integrity. |
| PA0–PA15 | General-purpose I/O | Up to 44 mappable GPIOs; multiple pins support 5 V-tolerance and external interrupt vectors. |
| PA1, PA2, PA3 | USART2 TX/RX/CTS | Hardware UART interface supporting LIN physical layer and auto baud rate detection. |
| PA4–PA7 | SPI1 MOSI/MISO/SCK/NSS | Full-duplex synchronous serial interface configurable up to 32 Mbit/s bit rate. |
| PA8 | MCO (Master Clock Output) | Programmable clock output for system-level synchronization or external device clocking. |
| PA9, PA10 | USART1 TX/RX | Primary UART with ISO7816 smartcard, IrDA, and wakeup-from-Stop capability. |
| PA11, PA12 | USB D+/D− | Integrated USB 2.0 FS transceiver (not present on G051K8T6 - excluded per datasheet Table 12). |
| PC13–PC15 | RTC/LSE pins | 32.768 kHz crystal oscillator input/output and RTC backup domain power control. |
| NRST | Active-low reset | Asynchronous reset input with internal pull-up; supports external reset button or supervisor IC. |
| BOOT0 | Boot mode select | High at power-up forces system memory boot; used for factory programming or recovery. |
| VREF+ | Analog reference input | Optional external reference for ADC/DAC; improves accuracy vs. internal VREFINT. |
| VDDA/VSSA | Analog power/ground | Dedicated analog supply domain; must be filtered separately from digital VDD/VSS. |
| VBAT | Backup power supply | Supplies RTC and backup registers during main power loss; accepts 1.65–3.6 V. |
| PF0, PF1 | OSC_IN/OSC_OUT | 4–48 MHz external crystal oscillator connections; supports high-accuracy clock source. |
Key Features
| Feature | Design Value |
|---|---|
| Secure Boot & ROP | Readout protection (ROP) levels and securable flash area prevent firmware extraction and unauthorized code execution. |
| Low-Power Timers | LPTIM1/LPTIM2 operate in Stop/Standby modes with sub-microamp current draw - ideal for periodic wakeups in battery-powered sensors. |
| Hardware CRC Unit | Dedicated CRC-32 engine accelerates firmware image validation and data integrity checks without CPU overhead. |
| 5 V-Tolerant I/Os | Multiple GPIOs tolerate 5 V inputs while powered from 1.7–3.6 V - simplifies level-shifting in mixed-voltage systems. |
| Calibrated Internal Oscillators | 16 MHz HSI (±1% after calibration) and 32 kHz LSI (±5%) reduce BOM cost by eliminating external crystals in non-critical timing applications. |
| SWD Debug Interface | 2-pin Serial Wire Debug (SWDIO/SWCLK) enables full JTAG-equivalent debugging and programming - minimal PCB footprint. |
Applications
| Smart Industrial Sensor Node | Energy-Efficient Home Appliance Control |
|---|---|
Use Scenario: Compact environmental monitor measuring temperature, humidity, and CO₂ using analog sensors and digital I²C devices. IC Role / Device Role / Timing Role: Central MCU executing sensor fusion algorithms, managing dual I²C buses, driving UART-based wireless module, and scheduling periodic measurements via LPTIM. Use Value: Integrated 12-bit ADC with hardware oversampling eliminates external signal conditioning; 125°C rating ensures reliability near motors or heating elements. | Use Scenario: Washing machine main control board managing motor drive, water valve actuation, display, and user interface. IC Role / Device Role / Timing Role: Real-time motor control via advanced timer PWM outputs, analog feedback acquisition via ADC, and LIN communication with door lock or detergent dispenser modules. Use Value: Two 12-bit DACs generate precise reference voltages for op-amp circuits; dual USARTs support both LIN (PA1–PA3) and debug UART (PA9–PA10) simultaneously. |
| USB-C Power Delivery Monitor | Medical Wearable Data Logger |
Use Scenario: PD monitor IC companion that reads voltage/current via shunt amplifier and communicates over I²C to host MCU. IC Role / Device Role / Timing Role: Standalone measurement node with calibrated ADC, RTC timestamping, and I²C slave interface - no USB required. Use Value: VBAT-supplied RTC maintains accurate time stamps during main power interruption; 18 KB SRAM buffers extended logging sessions before flash write. | Use Scenario: ECG patch recording biopotential signals, storing raw data, and transmitting via BLE gateway. IC Role / Device Role / Timing Role: Low-noise analog front-end controller acquiring differential ECG via ADC, applying digital filtering, and managing flash wear leveling for long-term storage. Use Value: 12-bit ADC with 0.4 µs conversion supports >2.5 kSPS sampling; 64 KB Flash accommodates firmware + encrypted patient data with secure erase. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G071K8T6 | Same pinout, 128 KB Flash, 36 KB SRAM, added USB 2.0 FS, extra ADC channel, higher temp grade (125°C) | Required when USB device functionality or larger code/data footprint is needed | Select if future firmware expansion or USB connectivity is planned; otherwise, G051 offers lower cost and identical peripheral set. |
| STM32F072CBT6 | LQFP48, Cortex-M0, 128 KB Flash, 16 KB SRAM, USB 2.0 FS, no LPUART, different timer count and ADC specs | Used where USB host/device is mandatory and board layout allows larger package | Choose only if USB is essential and LQFP48 footprint is acceptable; G051K8T6 provides better power efficiency and modern peripheral integration in smaller LQFP32. |
Compared with STM32G071K8T6, the G051K8T6 trades Flash/SRAM capacity and USB for lower BOM cost and identical low-power performance; versus STM32F072CBT6, it delivers superior active/standby current, richer analog features, and smaller footprint - making it optimal for compact, battery-aware edge nodes.
Availability
STM32G051K8T6 is available at Aetrix Electronics and suitable for industrial sensor nodes, home appliance controllers, USB-C PD monitors, and medical wearable data loggers requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for STM32G051K8T6 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, sensors, and analog products for industrial, automotive, and consumer markets.
The STM32G0 series targets cost-sensitive, ultra-low-power embedded applications with Arm Cortex-M0+ cores, integrated analog peripherals, and streamlined development tools - optimized for rapid time-to-market in resource-constrained designs.
FAQ
What is the maximum operating frequency and supported voltage range for STM32G051K8T6?
The STM32G051K8T6 operates at up to 64 MHz using its Arm Cortex-M0+ core and supports a supply voltage range of 1.7 V to 3.6 V. This range enables direct compatibility with single-cell lithium batteries, 3.3 V logic systems, and energy-harvesting power supplies. The device maintains full peripheral functionality across the entire voltage and temperature range (-40°C to +125°C), with internal regulators and voltage detectors ensuring reliable operation during brownout conditions.
Does STM32G051K8T6 include hardware security features for firmware protection?
Yes, the STM32G051K8T6 integrates readout protection (ROP) with three configurable levels, a securable flash area for protected code execution, and a 96-bit unique device ID. It supports secure boot via option bytes and includes a dedicated hardware CRC calculation unit for firmware image integrity verification. These features enable tamper-resistant firmware deployment and prevent unauthorized access to sensitive application code stored in flash memory.
Can STM32G051K8T6 support simultaneous use of multiple communication interfaces like I²C, USART, and SPI?
Yes, the STM32G051K8T6 supports concurrent operation of all major communication peripherals: two I²C interfaces (one with SMBus/PMBus), two USARTs (one with LIN/IrDA/ISO7816), one LPUART, and two SPIs (32 Mbit/s). Pin remapping via alternate function registers allows flexible routing, and the 7-channel DMA controller with DMAMUX enables zero-CPU-overhead data transfers across multiple interfaces without conflict or timing degradation.
What low-power modes are available, and what is the typical current consumption in Standby mode?
The STM32G051K8T6 offers Sleep, Stop, Standby, and Shutdown low-power modes. In Standby mode with RTC running and VBAT supplied, typical current consumption is 0.33 µA at 25°C (per DS13303 Rev 4, Table 30). This mode retains RTC timekeeping and backup register contents while disabling all clocks and most circuitry - enabling multi-year battery life in infrequently awakened sensor applications.
STM32G051K8T6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-LQFP
- 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:
STM32G051K8T6 FAQ
1.How can I place an order for STM32G051K8T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G051K8T6 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 STM32G051K8T6 reliable?
The price and inventory of STM32G051K8T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G051K8T6 is usually 5 days.
3.What payment methods are accepted for STM32G051K8T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G051K8T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G051K8T6?
STM32G051K8T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G051K8T6 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 STM32G051K8T6?
For technical support, including STM32G051K8T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G051K8T6 requirements.
6.How does Aetrix verify that STM32G051K8T6 is sourced from the original manufacturer or authorized distributors?
All STM32G051K8T6 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 STM32G051K8T6 meets industry standards.
7.What is the process for return or replacement of STM32G051K8T6?
All STM32G051K8T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G051K8T6, 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 STM32G051K8T6 part is unused and in its original packaging.
Return procedure for STM32G051K8T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G051K8T6 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…

