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

- Shipping:

Inventory:2,966
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G041F6P6 from STMicroelectronics is an Arm® Cortex®-M0+ 32-bit microcontroller with 32 KB Flash, 8 KB SRAM, 1.7–3.6 V operation, and integrated AES-128/256 encryption and true random-number generator (RNG). It delivers up to 64 MHz CPU frequency, supports -40°C to 85°C industrial temperature range, and features two USARTs (one with ISO7816/LIN/IrDA), one LPUART, two I²C interfaces (Fast-mode Plus), and two SPIs - deployed in smart metering, industrial sensor nodes, and secure IoT edge devices.
For engineers reviewing the STM32G041F6P6 datasheet, STM32G041F6P6 pinout, STM32G041F6P6 application, or STM32G041F6P6 equivalent, key selection criteria include its 20-pin TSSOP package, 5 V-tolerant GPIOs, hardware-accelerated cryptography, low-power Stop/Standby modes (<1 µA), and SWD debug interface compatibility.
Technical Context
The STM32G041F6P6 integrates a single-core Arm Cortex-M0+ with Memory Protection Unit (MPU), enabling secure partitioning of code and data spaces. Its clock system combines internal 16 MHz RC (±1%) and 32 kHz RC (±5%), plus external 4–48 MHz crystal and 32.768 kHz RTC oscillator with calibration - supporting precise timing for real-time control and battery-backed calendar functions.
Peripheral interconnect uses a hierarchical AHB/APB bus matrix with DMA request multiplexer (DMAMUX), allowing flexible routing of 5-channel DMA across ADC, timers, USARTs, and SPIs. The 12-bit ADC achieves 0.4 µs conversion time over 0–3.6 V range and supports hardware oversampling up to 16-bit resolution.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - enables deterministic real-time execution with low interrupt latency for motor control and sensor fusion. |
| Flash / SRAM | 32 KB Flash (with securable area), 8 KB SRAM with HW parity - supports firmware updates and robust data integrity in safety-critical applications. |
| Operating Voltage | 1.7–3.6 V - compatible with single-cell Li-ion, 3.3 V logic rails, and energy-harvesting power supplies. |
| ADC Resolution | 12-bit, 0.4 µs conversion, up to 16 external channels - sufficient for precision analog sensing in environmental monitoring and power metering. |
| Crypto Acceleration | AES-128/256 + True RNG - enables FIPS-compliant secure boot, OTA firmware authentication, and encrypted communication without software overhead. |
| Low-Power Modes | Stop 0 (0.32 µA), Standby (0.25 µA), Shutdown (15 nA) - extends battery life in always-on sensor endpoints and wearable medical devices. |
| I/O Count & Tolerance | 17 fast I/Os, multiple 5 V-tolerant - simplifies level-shifting design when interfacing with legacy 5 V peripherals or industrial sensors. |
| Debug Interface | Serial Wire Debug (SWD) - provides full run-control, memory access, and trace capability using only two pins (SWCLK/SWDIO). |
Pinout & Package
TSSOP20 (YA) package: 20-pin thin shrink small outline package, 6.4 × 4.4 mm body, 0.65 mm pitch, ECOPACK2 compliant. Pinout validated per STMicroelectronics DS12993 Rev 4, Section 4 (Pin assignment and description), Table 12.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply input | Main 1.7–3.6 V core and I/O supply; decoupling required near pin for noise immunity. |
| VSS | Ground reference | Digital ground return path; must be connected to PCB ground plane with low-inductance layout. |
| NRST | Active-low reset input | Asynchronous reset trigger; internal pull-up; accepts 1.65–5.5 V logic levels for robust reset signaling. |
| PA0–PA9 | General-purpose I/Os | Configurable as GPIO, EXTI, ADC_IN0–IN9, TIMx_CHy, USARTx_TX/RX - supports mixed-signal peripheral mapping. |
| PA13/PA14 | SWD debug interface | SWDIO and SWCLK pins - dedicated 2-pin debug port; no alternate function remapping allowed. |
| VBAT | RTC backup supply | Connects to coin cell or supercapacitor to retain RTC/calendar and 32 B backup registers during main power loss. |
Key Features
| Feature | Design Value |
|---|---|
| Hardware AES engine | Accelerates encryption/decryption at >10 MB/s throughput - eliminates CPU load for TLS handshake and secure storage operations. |
| True RNG | FIPS 140-2 compliant entropy source - provides cryptographically secure keys for device provisioning and session establishment. |
| Programmable BOR/PVD | Configurable brownout reset threshold (four levels) and voltage detector output - prevents erratic behavior during battery sag or power ramp-up. |
| Calendar RTC with alarm | Accurate timekeeping with ±5 ppm drift (32.768 kHz crystal), wakeup from Stop/Standby - enables scheduled sensor sampling and low-power scheduling. |
| 5 V-tolerant I/Os | 17 pins support 5 V inputs while powered from 1.8–3.3 V - eliminates external level shifters in mixed-voltage systems. |
| Secure boot with ROP | Readout protection (Level 2) prevents flash dump; securable area isolates bootloader - enforces trusted firmware execution chain. |
Applications
| Smart Energy Metering | Industrial Sensor Node |
|---|---|
Use Scenario: Compact, battery-powered electricity meter with tamper detection and secure data upload via NB-IoT. IC Role / Device Role / Timing Role: Main controller managing ADC sampling (voltage/current), AES-encrypted data packaging, LPUART/NB-IoT modem interface, and RTC-based billing intervals. Use Value: Sub-µA Stop mode extends 10-year battery life; hardware RNG ensures unique per-device keys; 5 V-tolerant GPIOs interface directly with legacy metering ICs. |
Use Scenario: Wireless vibration/temperature node on rotating machinery with predictive maintenance firmware. IC Role / Device Role / Timing Role: Real-time acquisition hub aggregating analog (thermistor), digital (I²C accelerometer), and pulse (tachometer) inputs; schedules BLE transmission bursts. Use Value: 12-bit ADC with hardware oversampling achieves <±0.5°C temp accuracy; low-power timers trigger wakeups every 500 ms; SWD enables field firmware updates. |
| Secure Access Control | Medical Wearable |
Use Scenario: Contactless door lock with NFC reader, biometric verification, and encrypted audit log storage. IC Role / Device Role / Timing Role: Secure host processor handling ISO14443-A/MIFARE communication, fingerprint match engine (via external co-processor), and AES-encrypted event logging to Flash. Use Value: Securable Flash area protects bootloader; true RNG generates session keys for NFC mutual authentication; 17 GPIOs drive LED indicators, buzzer, and solenoid driver. |
Use Scenario: ECG patch with continuous biosignal acquisition, motion artifact compensation, and Bluetooth LE telemetry. IC Role / Device Role / Timing Role: Signal conditioning and preprocessing unit: ADC oversampling, digital filtering (via CMSIS-DSP), and low-latency BLE packet assembly. Use Value: 0.4 µs ADC conversion enables >1 kHz sampling for high-fidelity waveform capture; 8 KB SRAM with parity supports real-time DSP buffers; VBAT retains timestamped event logs. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G031F6P6 | Same package and pinout; 16 KB Flash, no AES/RNG, no LPUART | Lacks crypto acceleration and ultra-low-power UART - unsuitable for secure or battery-constrained designs requiring frequent wakeups | Select when cost sensitivity outweighs security needs and power budget allows higher active current. |
| STM32G041K6T6 | LQFP32 package (32-pin); same 32 KB Flash, AES, RNG, but adds 2 more GPIOs and extra USART/SPI | Enables larger sensor fusion systems with dual communication paths (e.g., LoRa + BLE) and expanded analog front-end | Choose for designs needing >17 I/Os or additional serial interfaces without changing MCU architecture. |
Compared with STM32G031F6P6, the G041F6P6 adds essential security and ultra-low-power features at minimal cost premium; versus G041K6T6, it trades pin count and interface count for compactness and lower BOM footprint in space-constrained TSSOP layouts.
Availability
STM32G041F6P6 is available at Aetrix Electronics and suitable for smart metering, industrial sensor nodes, and secure access control systems requiring stable component supply, long-term lifecycle assurance, and ECOPACK2 compliance.
Supply support for STM32G041F6P6 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, MEMS, and automotive-grade components since 1987.
The STM32G0 series targets cost-sensitive, power-constrained embedded applications - delivering Cortex-M0+ performance with advanced security, analog integration, and ultra-low-power modes for IoT edge nodes and industrial controls.
FAQ
Does STM32G041F6P6 support USB connectivity?
No. The STM32G041F6P6 does not integrate a USB peripheral or PHY. It relies on external USB-to-UART bridges (e.g., CP2102N) or wireless interfaces (BLE, LoRa) for host connectivity. This omission reduces die size and cost while maintaining focus on low-power sensor and control applications where USB is rarely required.
What is the maximum operating frequency with internal RC oscillator?
The internal 16 MHz RC oscillator (HSI16) achieves ±1% accuracy across temperature and voltage when used with PLL to reach 64 MHz CPU frequency. Without PLL, HSI16 runs at 16 MHz nominal; direct use at 64 MHz requires external crystal or HSE input per DS12993 Rev 4 Section 3.9 and Table 41.
Can the 32 KB Flash be protected against unauthorized readout?
Yes. The device implements Readout Protection (ROP) Level 1 and Level 2. Level 2 permanently disables debug access and flash readout via SWD, and locks the securable area - verified in DS12993 Rev 4 Section 3.3.1 and Table 3. This meets IEC 62443-3-3 requirements for secure firmware storage.
Is VBAT pin mandatory for RTC operation?
No. VBAT is optional but required to retain RTC time, calendar, and 32 B backup registers during main power removal. When VBAT is unconnected, RTC stops and backup registers reset on VDD power cycle. For battery-backed operation, connect a 1.8–3.6 V source (e.g., CR1220) with recommended 100 nF decoupling per DS12993 Rev 4 Section 3.7.6.
STM32G041F6P6 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:
- 32KB (32K 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:
STM32G041F6P6 FAQ
1.How can I place an order for STM32G041F6P6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G041F6P6 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 STM32G041F6P6 reliable?
The price and inventory of STM32G041F6P6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G041F6P6 is usually 5 days.
3.What payment methods are accepted for STM32G041F6P6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G041F6P6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G041F6P6?
STM32G041F6P6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G041F6P6 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 STM32G041F6P6?
For technical support, including STM32G041F6P6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G041F6P6 requirements.
6.How does Aetrix verify that STM32G041F6P6 is sourced from the original manufacturer or authorized distributors?
All STM32G041F6P6 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 STM32G041F6P6 meets industry standards.
7.What is the process for return or replacement of STM32G041F6P6?
All STM32G041F6P6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G041F6P6, 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 STM32G041F6P6 part is unused and in its original packaging.
Return procedure for STM32G041F6P6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G041F6P6 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…

