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

- Shipping:

Inventory:3,862
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G041K8T6 from STMicroelectronics is a 32-bit Arm® Cortex®-M0+ microcontroller in LQFP32 package, featuring 64 KB Flash, 8 KB SRAM, 12-bit ADC (0.4 µs conversion), AES-128/256 encryption, and dual USARTs with LIN/IrDA support. It operates from 1.7–3.6 V across –40°C to 85°C and targets secure, low-power industrial sensor nodes and smart metering interfaces.
For engineers reviewing the STM32G041K8T6 datasheet, STM32G041K8T6 pinout, STM32G041K8T6 application, or STM32G041K8T6 equivalent, key selection criteria include its 64 MHz CPU clock, hardware RNG, 11-timer suite (including two low-power timers), and 5 V-tolerant GPIOs for robust peripheral interfacing in cost-sensitive embedded designs.
Technical Context
The STM32G041K8T6 integrates an Arm Cortex-M0+ core with MPU, supporting TrustZone-like memory protection via securable flash area and HW parity on SRAM. Its clock system combines 4–48 MHz HSE, 32 kHz LSE with calibration, and ±1% internal 16 MHz RC oscillator with PLL.
Peripheral interconnect uses a multi-layer AHB/APB bus matrix enabling concurrent DMA transfers across UART, SPI, I2C, and ADC. The 128 MHz-capable advanced timer (TIM1) supports complementary PWM outputs with dead-time insertion for motor control, while LPUART enables sub-µA wakeup from Stop mode.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, up to 64 MHz - delivers deterministic real-time response for firmware-controlled timing-critical tasks. |
| Memory | 64 KB Flash (with securable area) + 8 KB SRAM (HW parity) - enables secure firmware storage and error-detecting data buffering. |
| ADC | 12-bit, 0.4 µs conversion, up to 16 external channels - supports fast analog sensing in battery-powered IoT endpoints. |
| Crypto | AES-128/256 hardware accelerator + True RNG - provides certified cryptographic primitives for device authentication and encrypted communication. |
| Timers | 11 timers including TIM1 (128 MHz capable), two LPTIMs, SysTick, WWDG/IWDG - enables precise motor control, low-power scheduling, and system-level fault recovery. |
| I/O | Up to 26 fast I/Os, multiple 5 V-tolerant - simplifies interface to legacy 5 V logic and sensors without level shifters. |
| Supply Range | 1.7–3.6 V with programmable BOR/PVD - ensures reliable operation across single-cell Li-ion, coin-cell, and industrial 3.3 V rails. |
Pinout & Package
LQFP32 (7 × 7 mm, 0.8 mm pitch) package with exposed thermal pad; RoHS-compliant ECOPACK2.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual VDD pins ensure stable core/peripheral rail decoupling; VSS pins provide low-impedance return paths. |
| PA0–PA15, PB0–PB15, PF0–PF1 | General-purpose I/O | 26 total GPIOs; all mappable to EXTI, multiple support 5 V tolerance for mixed-voltage system integration. |
| NRST | Active-low reset input | Accepts external push-button or supervisor IC reset signal; internal pull-up enables standalone reset functionality. |
| BOOT0 | Boot mode selection | High at power-on selects system memory bootloader; used for field firmware updates via USART. |
| SWDIO/SWCLK | Serial Wire Debug interface | Two-pin debug port supports full SWD programming, real-time tracing, and breakpoint debugging without JTAG overhead. |
Key Features
| Feature | Design Value |
|---|---|
| Low-power modes | Sleep, Stop, Standby, Shutdown - Stop 0 draws 0.32 µA typical, enabling >10-year battery life in metering applications. |
| Clock flexibility | 4–48 MHz HSE, 32 kHz LSE with auto-calibration, ±1% HSI16 + PLL - eliminates external crystal in cost-sensitive designs while maintaining RTC accuracy. |
| Secure boot | Readout protection (RDP) Level 1/2 + securable flash area - prevents firmware extraction and enforces trusted execution environment. |
| Communication density | 2× I2C (Fast-mode Plus), 2× USART (one with ISO7816/LIN), 2× SPI, LPUART - supports simultaneous wired sensor bus, secure card interface, and ultra-low-power wake-up channel. |
| Analog subsystem | 12-bit ADC with hardware oversampling to 16-bit, VREFINT, temperature sensor, VBAT monitor - enables self-calibrating sensor fusion without external references. |
Applications
| Smart Utility Metering | Industrial Sensor Node |
|---|---|
Use Scenario: Electricity/water/gas meter with tamper detection, pulse counting, and secure data upload via NB-IoT or LoRaWAN. IC Role / Device Role / Timing Role: Main controller managing metrology ADC sampling, RTC-based billing intervals, AES-encrypted payload generation, and LPUART wakeup for periodic transmission. Use Value: Integrated RNG and AES reduce BOM cost vs. discrete crypto IC; Stop mode current <0.5 µA extends 10-year battery life without supercapacitors. | Use Scenario: Wireless vibration/temperature/pressure sensor in predictive maintenance systems deployed in factory floors. IC Role / Device Role / Timing Role: Edge processing unit acquiring analog signals via 12-bit ADC, performing FFT preprocessing, and triggering BLE/Wi-Fi transmission upon threshold breach. Use Value: Hardware oversampling to 16-bit resolution improves SNR for low-amplitude vibration analysis; 5 V-tolerant I/Os interface directly to legacy 4–20 mA transmitters. |
| Secure Access Control | Motorized Actuator Interface |
Use Scenario: Door lock controller with fingerprint reader, NFC tag, and encrypted audit log storage. IC Role / Device Role / Timing Role: Trusted execution environment handling biometric matching, secure key derivation, and tamper-evident logging to protected flash sectors. Use Value: RDP Level 2 and securable flash prevent physical firmware dump; true RNG seeds cryptographic keys resistant to replay attacks. | Use Scenario: HVAC damper or valve actuator with position feedback, overcurrent protection, and CAN/UART command interface. IC Role / Device Role / Timing Role: Motion controller generating complementary PWM on TIM1 with configurable dead-time, monitoring current sense ADC, and communicating status via USART. Use Value: 128 MHz timer clock enables 10 ns PWM resolution for smooth torque control; integrated comparator inputs allow fast overcurrent shutdown (<1 µs response). |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G031K8T6 | Same package and pinout; 32 KB Flash, no AES engine, no RNG | Lacks hardware crypto acceleration and true entropy source - unsuitable for secure firmware update or TLS stack. | Select when cost sensitivity outweighs security requirements and Flash footprint fits design. |
| STM32F072CBT6 | LQFP48, 128 KB Flash, 16 KB RAM, USB 2.0 FS, no hardware AES/RNG | Requires larger PCB footprint; USB interface adds complexity but enables direct PC connectivity and DFU. | Choose when USB device capability is mandatory and board space allows LQFP48. |
Compared with STM32G031K8T6, the G041K8T6 adds essential security primitives for OTA updates and data confidentiality; versus STM32F072CBT6, it trades USB for lower power, smaller form factor, and integrated crypto-making it optimal for sealed, battery-operated edge nodes.
Availability
STM32G041K8T6 is available at Aetrix Electronics and suitable for smart utility metering, industrial sensor nodes, secure access control systems, and motorized actuator interfaces requiring stable component supply and long-term manufacturability.
Supply support for STM32G041K8T6 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 devices, sensors, and analog ICs for industrial, automotive, and consumer markets.
The STM32G0 series targets cost-sensitive, ultra-low-power embedded applications requiring security, rich analog integration, and simplified development-positioned between legacy STM32F0 and higher-end G4 families.
FAQ
What is the maximum operating frequency and corresponding supply voltage range?
The STM32G041K8T6 achieves 64 MHz CPU frequency across its full 1.7–3.6 V supply range. At 1.7 V, the maximum frequency is reduced to 24 MHz per datasheet Section 5.3.1; full 64 MHz operation requires ≥2.0 V. Internal voltage regulator supports dynamic scaling between Run and Low-power Run modes.
Does this MCU support hardware-based secure boot and firmware integrity verification?
Yes. It implements Readout Protection (RDP) Levels 1 and 2 to prevent unauthorized debug access, plus a securable flash area where critical bootloader code can be locked against read/write. Combined with the hardware RNG and AES engine, it enables verified boot chains using SHA-256 signatures and encrypted firmware images.
How many I/O pins support 5 V tolerance, and which specific pins are they?
22 of the 26 GPIOs are 5 V-tolerant: all PAx, PBx, and PFx pins except PA11, PA12, and PF0. This is confirmed in Table 51 (I/O static characteristics) and Section 3.10 of the datasheet. These pins tolerate 5.5 V max input voltage regardless of VDD, enabling direct connection to 5 V peripherals.
What is the typical current consumption in Stop 0 mode, and what peripherals remain active?
Typical current in Stop 0 mode is 0.32 µA at 25°C with RTC and LSE running. In this mode, the 1.2 V regulator is disabled, but the VBAT domain remains powered to sustain RTC, backup registers, and tamper detection. LPUART and I2C can be configured to wake the device from Stop 0 using their respective event lines.
STM32G041K8T6 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:
- 30
- Program Memory Size:
- 64KB (64K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 8K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.7V ~ 3.6V
- Data Converters:
- A/D 18x12b
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G041K8T6 FAQ
1.How can I place an order for STM32G041K8T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G041K8T6 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 STM32G041K8T6 reliable?
The price and inventory of STM32G041K8T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G041K8T6 is usually 5 days.
3.What payment methods are accepted for STM32G041K8T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G041K8T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G041K8T6?
STM32G041K8T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G041K8T6 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 STM32G041K8T6?
For technical support, including STM32G041K8T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G041K8T6 requirements.
6.How does Aetrix verify that STM32G041K8T6 is sourced from the original manufacturer or authorized distributors?
All STM32G041K8T6 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 STM32G041K8T6 meets industry standards.
7.What is the process for return or replacement of STM32G041K8T6?
All STM32G041K8T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G041K8T6, 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 STM32G041K8T6 part is unused and in its original packaging.
Return procedure for STM32G041K8T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G041K8T6 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…

