STMicroelectronics STM32G041F8P6
- Part No.:
- STM32G041F8P6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 20-TSSOP (0.173", 4.40mm Width)
- Datasheet:
-
STM32G041F8P6.pdf
- Description:
- IC MCU 32BIT 64KB FLASH 20TSSOP
- Quantity:
- Payment:

- Shipping:

Inventory:868
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G041F8P6 from STMicroelectronics is an Arm® Cortex®-M0+ 32-bit microcontroller with 64 KB Flash, 8 KB SRAM, 12-bit ADC (0.4 µs conversion), AES-128/256 encryption, and dual USARTs supporting LIN/IrDA/ISO7816 - deployed in industrial sensor nodes, smart metering endpoints, and battery-powered IoT edge devices.
For engineers reviewing the STM32G041F8P6 datasheet, STM32G041F8P6 pinout, STM32G041F8P6 application, or STM32G041F8P6 equivalent, key selection criteria include its 64 MHz max CPU frequency, 1.7–3.6 V supply range, 11 timers (including two low-power variants), RTC with periodic wakeup from Stop/Standby, and hardware RNG for secure boot and key generation.
Technical Context
The STM32G041F8P6 integrates an Arm Cortex-M0+ core with MPU, supporting TrustZone-like memory protection via securable flash area and readout protection levels. Its clock system combines 4–48 MHz HSE, 32 kHz LSE with calibration, and ±1% internal 16 MHz RC with PLL - enabling precise timing for real-time control loops and low-jitter communication.
Peripherals are interconnected via a dedicated AHB/APB matrix, allowing concurrent DMA transfers across UART, SPI, I2C, and ADC without CPU intervention. The 5-channel DMA controller supports flexible mapping to 44 GPIOs - many 5 V-tolerant - and enables deterministic sensor data acquisition with hardware oversampling up to 16-bit resolution.
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 protocol stacks. |
| Memory | 64 KB Flash (with securable area & protection), 8 KB SRAM (HW parity) - supports firmware updates and safety-critical data integrity. |
| ADC | 12-bit, 0.4 µs conversion, up to 16 external channels - enables fast analog sensing in multi-sensor systems. |
| Crypto | AES-128/256 hardware accelerator + True RNG - provides certified entropy and accelerated encryption for TLS/DTLS handshakes. |
| Timers | 11 timers: one 128 MHz-capable advanced timer, four 16-bit general-purpose, two low-power 16-bit - supports PWM generation, pulse counting, and ultra-low-power wakeups. |
| RTC | Calendar RTC with alarm and periodic wakeup from Stop/Standby/Shutdown - sustains timekeeping during battery backup (VBAT). |
| Supply Range | 1.7 V to 3.6 V - compatible with single-cell Li-ion, LiFePO₄, and 3.3 V rail systems without level-shifting. |
Pinout & Package
STM32G041F8P6 is housed in a TSSOP20 package (6.4 × 4.4 mm, 0.65 mm pitch), optimized for compact industrial PCB layouts and automated assembly. Pin functions support full peripheral remapping across GPIO ports A–D and F.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual VDD/VSS pairs ensure stable core and I/O domain operation under dynamic load. |
| NRST | Active-low reset input | Accepts external reset pulses; supports programmable BOR/PVD for brownout detection. |
| PA0–PA15, PB0–PB15, PC13–PC15, PD0–PD2, PF0–PF1 | General-purpose I/O | Up to 44 pins; multiple 5 V-tolerant; all mappable to EXTI for wake-from-Stop event detection. |
| PA9/PA10, PA14/PA15, PB6/PB7 | USART/I2C/SPI alternate functions | Hardware-peripheral routing enables simultaneous LIN, I2C Fast-mode Plus (1 Mbit/s), and SPI (32 Mbit/s) operation. |
| PA1, PA4, PA5, PA6, PA7, PB0, PB1 | ADC input channels | 12-bit ADC inputs with internal temperature sensor and VREFINT reference for self-calibration. |
Key Features
| Feature | Design Value |
|---|---|
| Low-power modes | Sleep, Stop, Standby, Shutdown - Stop 0 current ≤1.2 µA (typ.) at 25°C with RTC running on VBAT. |
| Clock flexibility | Four clock sources: HSE (4–48 MHz), LSE (32.768 kHz), HSI16 (±1%), LSI (±5%) - enables fail-safe timing and rapid wake-up. |
| Secure boot | Bootloader with securable flash area and ROP level 2 - prevents unauthorized firmware execution and memory dumping. |
| Development support | Serial Wire Debug (SWD) interface - enables non-intrusive debugging, flash programming, and real-time trace without JTAG pins. |
| Unique ID | 96-bit factory-programmed identifier - used for device authentication, license binding, and secure provisioning. |
Applications
| Industrial Sensor Node | Smart Electricity Meter |
|---|---|
Use Scenario: Wireless temperature/humidity/pressure node with LoRaWAN backhaul and local display. IC Role / Device Role / Timing Role: Main MCU handling sensor fusion, AES-encrypted payload encryption, and precise 1-second RTC-triggered transmission windows. Use Value: Low-power Stop mode with RTC wakeup ensures <2 µA average current; hardware RNG secures per-device key derivation. |
Use Scenario: DIN-rail mounted meter with tamper detection, energy pulse counting, and RS-485 communication. IC Role / Device Role / Timing Role: System controller managing metrology interface (SPI to ADC), tariff switching via RTC calendar, and ISO7816-compliant secure element interface. Use Value: Dual USARTs enable simultaneous RS-485 (Modbus) and secure element (ISO7816) communication; VBAT monitoring detects power theft attempts. |
| Battery-Powered Asset Tracker | White Goods Motor Control |
Use Scenario: GPS/GNSS tracker with motion-triggered wake, BLE beaconing, and accelerometer-based activity logging. IC Role / Device Role / Timing Role: Central processor executing motion-detection algorithms, managing BLE stack timing, and scheduling GPS fixes using LPTIM2. Use Value: Two low-power timers (LPTIM1/LPTIM2) provide sub-millisecond wake intervals while consuming <150 nA in Shutdown mode. |
Use Scenario: Brushless DC motor drive in refrigerator compressor with overcurrent protection and thermal monitoring. IC Role / Device Role / Timing Role: Real-time motor commutation controller using TIM1's complementary PWM outputs and ADC-triggered current sampling. Use Value: 128 MHz-capable advanced timer delivers 7.8 ns PWM resolution; hardware oversampling improves current-sense accuracy to ±0.5%. |
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, same 8 KB SRAM, identical peripherals and pinout - lacks securable flash area and AES engine. | Suitable for cost-sensitive designs without cryptographic requirements or firmware IP protection needs. | Select when security features are unnecessary and BOM cost reduction is prioritized over future firmware extensibility. |
| STM32G071GBU6 | 128 KB Flash, 36 KB SRAM, additional USB 2.0 FS, more timers and ADC channels - in UFQFPN28 package (28-pin, not 20-pin). | Required for applications needing USB connectivity, larger code footprint, or higher-resolution analog acquisition. | Choose when scaling beyond 64 KB Flash or adding USB device functionality - requires PCB redesign due to different package and pin count. |
Compared with STM32G031F8P6, the G041F8P6 adds AES and securable flash for firmware integrity; compared with STM32G071GBU6, it trades USB and memory headroom for smaller footprint and lower system cost in space-constrained embedded nodes.
Availability
STM32G041F8P6 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart electricity meters, battery-powered asset trackers, and white goods motor control requiring stable component supply across multi-year production cycles.
Supply support for STM32G041F8P6 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 specializing in microcontrollers, power management, and sensing technologies for industrial, automotive, and consumer markets.
The STM32G0 series targets cost-sensitive, power-efficient embedded applications - designed for seamless integration into resource-constrained IoT endpoints, smart meters, and appliance controllers with robust security and long-term supply assurance.
FAQ
What is the maximum operating temperature for STM32G041F8P6?
The STM32G041F8P6 is qualified for operation from –40°C to 85°C (industrial grade), with extended variants available up to 125°C. This rating is validated per JEDEC JESD47 and applies across the full 1.7–3.6 V supply range and all active low-power modes.
Does STM32G041F8P6 support USB connectivity?
No, the STM32G041F8P6 does not integrate a USB peripheral. It offers two USARTs (one with ISO7816/LIN/IrDA), two I2C interfaces, two SPIs, and an LPUART - but no USB PHY or controller. For USB functionality, consider the STM32G071 or STM32G081 series.
How many I/O pins are 5 V-tolerant on this device?
Up to 31 GPIOs on the STM32G041F8P6 are 5 V-tolerant, including all pins on Port A, Port B, and selected pins on Port C and Port D. This is confirmed in Section 5.3.14 of DS12993 Rev 4, enabling direct interfacing with legacy 5 V logic without level shifters.
Can the internal 32 kHz RC oscillator be used for RTC calibration?
Yes - the internal 32 kHz RC oscillator (LSI) can serve as the RTC clock source, and its frequency is factory-trimmed to ±5% accuracy. For higher precision, the 32.768 kHz external crystal (LSE) with calibration capability is recommended, achieving ±20 ppm stability over temperature and voltage.
STM32G041F8P6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-TSSOP (0.173", 4.40mm Width)
- Series:
- STM32G0
- Packaging:
- Tube
- 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:
- 18
- 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 17x12b
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G041F8P6 FAQ
1.How can I place an order for STM32G041F8P6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G041F8P6 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 STM32G041F8P6 reliable?
The price and inventory of STM32G041F8P6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G041F8P6 is usually 5 days.
3.What payment methods are accepted for STM32G041F8P6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G041F8P6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G041F8P6?
STM32G041F8P6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G041F8P6 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 STM32G041F8P6?
For technical support, including STM32G041F8P6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G041F8P6 requirements.
6.How does Aetrix verify that STM32G041F8P6 is sourced from the original manufacturer or authorized distributors?
All STM32G041F8P6 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 STM32G041F8P6 meets industry standards.
7.What is the process for return or replacement of STM32G041F8P6?
All STM32G041F8P6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G041F8P6, 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 STM32G041F8P6 part is unused and in its original packaging.
Return procedure for STM32G041F8P6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G041F8P6 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…

