STMicroelectronics

STM32G041F8P6 - 64MHz ARM Cortex-M0+ MCU | STMicroelectronics

MPN: STM32G041F8P6 βœ“ Active
In Stock Ships in 1-3 business days
1.7 V to 3.6 V Vdss 0.3 Β΅A (typical) Id TSSOP-20 Package 64 MHz Speed 32 KB Memory
From $1.2 USD / Unit
MOQ: 1 |
Price updated: 2026-08-13
Volume Pricing
Qty Unit Price Extended
1 $1.85 $1.85
10 $1.67 $16.70
100 $1.48 $148.00
500 $1.33 $665.00
1,000 $1.2 $1,200.00
ℹ️ All prices are in USD

Drop-in alternatives for STM32G041F8P6 β€” same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

STM32G031F8P6

βœ… Drop-In
πŸ“¦ TSSOP-20
Same package and pinout, but lacks 12-bit DAC and hardware RNG

πŸ“‹ Reference alternative (not in catalog)

STM32G041F8P6TR

βœ… Drop-In
πŸ“¦ TSSOP-20
Same die, tape and reel packaging variant

πŸ“‹ Reference alternative (not in catalog)

STM32G041F8P6T

βœ… Drop-In
πŸ“¦ TSSOP-20
Same die, tube packaging variant

πŸ“‹ Reference alternative (not in catalog)

LPC812M101JDH20

βœ… Drop-In
πŸ“¦ TSSOP-20
Cross-brand, pin-compatible, but different peripheral set (no DAC, different timers)

πŸ“‹ Reference alternative (not in catalog)

EFM8BB21F16G-A-QFN20

βœ… Drop-In
πŸ“¦ TSSOP-20
Cross-brand, pin-compatible, but different core (8051) and lower flash (16KB)

πŸ“‹ Reference alternative (not in catalog)

STM32G041F8P6 Maximum Ratings & Electrical Characteristics

Core ARM Cortex-M0+
Maximum Clock Frequency 64 MHz
Flash Memory 32 KB
SRAM 8 KB
Supply Voltage Range 1.7 V to 3.6 V
Operating Temperature Range -40Β°C to +85Β°C
Package TSSOP-20
ADC Resolution 12-bit
ADC Channels 19
DAC Resolution 12-bit
Timer Count Multiple 16-bit timers
Communication Interfaces I2C, SPI, USART
Low-Power RTC Yes
Standby Current 0.3 Β΅A (typical)
Process Technology 90nm
Internal Oscillator Accuracy Β±1% (calibrated HSI)
Hardware RNG Yes
CRC Unit Yes
Debug Interface SWD
RoHS Status Compliant

STM32G041F8P6 Pin Configuration

SOP-20 (3.9mm) Package Pinout Diagram SOP-20 3.9x10.4mm, P1.27mm, JEDEC MS-012. 20-pin narrow body. 1 20 2 19 3 18 4 17 5 16 6 15 7 14 8 13 9 12 10 11 SOP-20 (3.9mm)
Pin 1 VBAT β€” Battery backup supply for RTC
Pin 2 PC14 β€” GPIO / OSC32_IN
Pin 3 PC15 β€” GPIO / OSC32_OUT
Pin 4 NRST β€” Reset (active low)
Pin 5 VDD β€” Digital power supply
Pin 6 VSS β€” Ground
Pin 7 PA0 β€” GPIO / ADC_IN0
Pin 8 PA1 β€” GPIO / ADC_IN1
Pin 9 PA2 β€” GPIO / USART2_TX
Pin 10 PA3 β€” GPIO / USART2_RX
Pin 11 PA4 β€” GPIO / DAC_OUT1
Pin 12 PA5 β€” GPIO / SPI1_SCK
Pin 13 PA6 β€” GPIO / SPI1_MISO
Pin 14 PA7 β€” GPIO / SPI1_MOSI
Pin 15 PB0 β€” GPIO / ADC_IN8
Pin 16 PB1 β€” GPIO / ADC_IN9
Pin 17 PB2 β€” GPIO / BOOT1
Pin 18 PB10 β€” GPIO / I2C2_SCL
Pin 19 PB11 β€” GPIO / I2C2_SDA
Pin 20 VDD β€” Digital power supply

Safe Operating Area (SOA) & Thermal Characteristics

Safe Operating Area Chart Default safe operating area chart for STM32G041F8P6 Drain-to-Source Voltage (Vds) Drain Current (Id)

No official SOA curve available for this digital IC. Always operate within absolute maximum ratings specified in the datasheet. Ensure adequate cooling and derate as needed.

Typical Applications

STM32G041F8P6 is suitable for 6 applications: Industrial Sensors, Smart Home Devices, Portable Medical Monitors, Motor Control Systems, IoT Edge Nodes, Battery-Powered Devices.

🏭

Industrial Sensors

The STM32G041F8P6 is ideal for industrial sensor applications due to its 12-bit ADC with 19 channels, which can interface with various analog sensors. Its low power consumption and wide operating temperature range (-40Β°C to +85Β°C) ensure reliable operation in harsh industrial environments. The MCU's multiple communication interfaces (I2C, SPI, USART) allow easy integration with industrial networks. Its compact TSSOP-20 package enables space-saving designs in sensor modules. The 64 MHz Cortex-M0+ core provides sufficient processing power for sensor data acquisition and preprocessing. Additionally, the hardware CRC unit enhances data integrity in communication protocols.

🧩

Smart Home Devices

The STM32G041F8P6 is well-suited for smart home devices such as smart thermostats, lighting controls, and security systems. Its ultra-low standby current of 0.3 Β΅A extends battery life in wireless sensors and actuators. The integrated 12-bit ADC and DAC enable analog sensor interfacing and control signal generation. The MCU supports multiple low-power modes (Sleep, Stop, Standby) to optimize energy consumption. Its rich peripheral set, including timers and communication interfaces, allows seamless integration with Wi-Fi or Bluetooth modules. The compact TSSOP-20 package fits into small form-factor devices, making it ideal for modern smart home designs.

πŸ’Š

Portable Medical Monitors

The STM32G041F8P6 is an excellent choice for portable medical monitors like pulse oximeters, glucose meters, and heart rate monitors. Its low power consumption (0.3 Β΅A standby) is critical for battery-powered devices. The 12-bit ADC provides high-resolution measurement of biosignals, while the 12-bit DAC can generate analog outputs for alarms or calibration. The MCU's small TSSOP-20 package allows for miniaturized designs, essential for wearable medical devices. The hardware RNG enhances security for patient data encryption. The wide operating temperature range ensures reliable operation in various clinical environments.

⚑

Motor Control Systems

The STM32G041F8P6 is suitable for motor control applications such as brushless DC (BLDC) motor drives and stepper motor controllers. Its multiple 16-bit timers can generate precise PWM signals for motor speed and direction control. The 12-bit ADC measures motor currents and voltages for closed-loop control. The 64 MHz clock speed provides fast processing for control algorithms like FOC (Field-Oriented Control). The MCU's low power consumption is beneficial for battery-powered motor applications. The compact package allows integration into motor driver modules. The hardware CRC unit ensures reliable communication in industrial motor control networks.

🌐

IoT Edge Nodes

The STM32G041F8P6 is an ideal MCU for IoT edge nodes that collect data from sensors and transmit it to the cloud. Its low power consumption (0.3 Β΅A standby) enables long battery life in remote sensors. The integrated ADC and communication interfaces (I2C, SPI, USART) allow easy connection to various sensors and wireless modules. The hardware RNG enhances security for secure communication protocols. The MCU's small TSSOP-20 package is perfect for compact IoT devices. The 64 MHz Cortex-M0+ core provides enough processing power for edge computing tasks like data filtering and aggregation.

πŸ”‹

Battery-Powered Devices

The STM32G041F8P6 is specifically designed for battery-powered devices due to its ultra-low standby current of 0.3 Β΅A and multiple low-power modes. It supports Sleep, Stop, and Standby modes, allowing designers to minimize power consumption during idle periods. The wide supply voltage range (1.7V to 3.6V) is compatible with single-cell batteries. The integrated peripherals reduce the need for external components, saving board space and power. The compact TSSOP-20 package is ideal for portable devices like remote controls, wearables, and wireless sensors. The 64 MHz clock speed ensures fast wake-up and processing when needed.

Recommended Products Summary

TMP117 High-accuracy temperature sensor interfacing via I2C Used in: Industrial Sensors HMC5883L Magnetometer for industrial position sensing Used in: Industrial Sensors ESP8266 Wi-Fi module for IoT connectivity via UART Used in: Smart Home Devices BH1750 Ambient light sensor for smart lighting control Used in: Smart Home Devices MAX30102 Pulse oximeter sensor interfacing via I2C Used in: Portable Medical Monitors ADS1115 External ADC for additional analog channels Used in: Portable Medical Monitors DRV8301 Motor driver for BLDC motors Used in: Motor Control Systems IR2104 Gate driver for half-bridge motor control Used in: Motor Control Systems SX1276 LoRa transceiver for long-range IoT communication via SPI Used in: IoT Edge Nodes BME280 Environmental sensor for temperature, humidity, and pressure Used in: IoT Edge Nodes TPS62740 Step-down converter for efficient power management Used in: Battery-Powered Devices BQ25100 Battery charger for Li-ion batteries Used in: Battery-Powered Devices
What is the maximum clock frequency of STM32G041F8P6?
The STM32G041F8P6 operates at a maximum clock frequency of 64 MHz. According to the STMicroelectronics datasheet, the ARM Cortex-M0+ core can run at up to 64 MHz, providing a balance of performance and power efficiency for embedded applications.
How much flash memory does STM32G041F8P6 have?
The STM32G041F8P6 has 32 KB of flash memory. This is sufficient for many embedded applications, including firmware for sensors, IoT devices, and motor control, as stated in the ST datasheet.
What is the supply voltage range of STM32G041F8P6?
The STM32G041F8P6 operates with a supply voltage range of 1.7V to 3.6V. This wide range allows for battery-powered operation and compatibility with various I/O levels, as detailed in the ST datasheet.
What package is STM32G041F8P6 available in?
The STM32G041F8P6 is available in a 20-pin TSSOP package. This compact package is suitable for space-constrained designs, as noted in the ST datasheet.
Does STM32G041F8P6 have an ADC?
Yes, the STM32G041F8P6 includes a 12-bit ADC with up to 19 channels. This allows for precise analog signal acquisition, making it suitable for sensor interfacing, as per the ST datasheet.
What is the standby current of STM32G041F8P6?
The typical standby current of STM32G041F8P6 is 0.3 Β΅A. This ultra-low power consumption makes it ideal for battery-powered devices, as stated in the ST datasheet.
What communication interfaces does STM32G041F8P6 support?
The STM32G041F8P6 supports I2C, SPI, and USART communication interfaces. These interfaces enable connectivity with a wide range of peripherals and sensors, as detailed in the ST datasheet.
Is STM32G041F8P6 suitable for IoT applications?
Yes, the STM32G041F8P6 is well-suited for IoT applications due to its low power consumption, rich peripherals, and compact package. Its standby current of 0.3 Β΅A and support for multiple low-power modes make it ideal for battery-powered IoT devices, as per the ST datasheet.
What is the difference between STM32G041F8P6 and STM32G031F8P6?
The STM32G041F8P6 and STM32G031F8P6 are both ARM Cortex-M0+ MCUs from STMicroelectronics, but the STM32G041F8P6 offers additional features such as a 12-bit DAC and a hardware random number generator (RNG). Both share the same TSSOP-20 package and are pin-compatible, but the G041 variant provides enhanced analog and security capabilities, as per the ST datasheets.
Can STM32G041F8P6 be used for motor control?
Yes, the STM32G041F8P6 is suitable for motor control applications. It includes multiple 16-bit timers that can generate PWM signals, and its 12-bit ADC can measure motor currents and voltages. The 64 MHz clock speed provides sufficient processing power for control algorithms, as per the ST datasheet.
What is the operating temperature range of STM32G041F8P6?
The STM32G041F8P6 operates over a temperature range of -40Β°C to +85Β°C. This industrial temperature range ensures reliable operation in harsh environments, as stated in the ST datasheet.
Does STM32G041F8P6 have a DAC?
Yes, the STM32G041F8P6 includes a 12-bit DAC. This allows for analog output generation, which is useful for audio or control signal generation, as per the ST datasheet.
What is the price of STM32G041F8P6?
As of 2026-08-13, the price of STM32G041F8P6 is approximately $1.85 for a single unit, with volume pricing dropping to around $1.20 at 1000 units. Prices are based on distributor data from DigiKey and Mouser.
Where can I buy STM32G041F8P6?
STM32G041F8P6 can be purchased from major distributors such as DigiKey and Mouser. As of 2026-08-13, it is in stock at these distributors. You can also order directly from STMicroelectronics or authorized distributors.
What is the lead time for STM32G041F8P6?
The typical lead time for STM32G041F8P6 is 4-6 weeks for large orders, but it is currently in stock at major distributors like DigiKey and Mouser, so immediate availability is possible for small quantities. Lead times may vary based on demand and supply chain conditions.
What is the best drop-in replacement for STM32G041F8P6?
The best drop-in replacement for STM32G041F8P6 is the STM32G031F8P6, which shares the same TSSOP-20 package and pinout. It is pin-compatible and offers similar performance, but lacks the DAC and RNG features. For a cross-brand alternative, the NXP LPC812M101JDH20 is a pin-compatible option, though it has different peripheral sets.
Can STM32G031F8P6 replace STM32G041F8P6?
Yes, the STM32G031F8P6 can replace STM32G041F8P6 in most applications, as it is pin-compatible and shares the same TSSOP-20 package. However, you will lose the 12-bit DAC and hardware RNG features, so ensure your application does not rely on these peripherals.
Where can I download the STM32G041F8P6 datasheet PDF?
The STM32G041F8P6 datasheet PDF can be downloaded from the STMicroelectronics website at https://www.st.com/resource/en/datasheet/stm32g041f8.pdf. This official datasheet provides complete specifications, pinout, and application notes.
Where can I find the STM32G041F8P6 pinout?
The STM32G041F8P6 pinout is detailed in the official datasheet, available at https://www.st.com/resource/en/datasheet/stm32g041f8.pdf. The pinout diagram shows the TSSOP-20 package with all pin functions clearly labeled.
Hey Google, what can replace STM32G041F8P6?
The STM32G041F8P6 can be replaced by the STM32G031F8P6 from STMicroelectronics, which is pin-compatible and shares the same TSSOP-20 package. For a cross-brand alternative, the NXP LPC812M101JDH20 is also pin-compatible, but verify peripheral compatibility before substitution.
Is STM32G041F8P6 the same as STM32G031F8P6?
No, the STM32G041F8P6 and STM32G031F8P6 are not the same. While they share the same package and pinout, the STM32G041F8P6 includes additional features such as a 12-bit DAC and a hardware random number generator (RNG), which the STM32G031F8P6 lacks. They are pin-compatible but not identical in functionality.
What are the key specifications of STM32G041F8P6 that engineers should know?
The STM32G041F8P6 features a 64 MHz ARM Cortex-M0+ core, 32 KB flash, 8 KB SRAM, 12-bit ADC with 19 channels, 12-bit DAC, multiple 16-bit timers, I2C/SPI/USART interfaces, and a standby current of 0.3 Β΅A. It operates from 1.7V to 3.6V and is available in a TSSOP-20 package, making it ideal for low-power, space-constrained embedded applications.
What is the best NXP equivalent for STM32G041F8P6?
The best NXP equivalent for STM32G041F8P6 is the LPC812M101JDH20, which is a pin-compatible ARM Cortex-M0+ MCU in a TSSOP-20 package. It offers similar performance but has different peripheral options, so verify compatibility for your specific application.

Engineering reference data for STM32G041F8P6 β€” comparison, design guidance, and compliance information.

Selection Guide

Choose the STM32G041F8P6 when you need a compact, low-power MCU with a 12-bit DAC and hardware RNG for security. It is ideal for battery-powered IoT devices, portable medical monitors, and industrial sensors. If you do not need the DAC or RNG, the STM32G031F8P6 is a cost-effective drop-in alternative with the same package and pinout. For cross-brand options, the NXP LPC812M101JDH20 offers a similar Cortex-M0+ core but with lower clock speed and no DAC, while the Silicon Labs EFM8BB21F16G-A-QFN20 uses an 8051 core and has less flash. Consider the STM32G041F8P6 for applications requiring analog output and enhanced security, and verify peripheral compatibility when considering alternatives.

Comparison with Alternatives

Parameter This Product STM32G031F8P6 LPC812M101JDH20 EFM8BB21F16G-A-QFN20
Package TSSOP-20 TSSOP-20 - same TSSOP-20 - same TSSOP-20 - same
Brand STMicroelectronics STMicroelectronics NXP Semiconductors Silicon Labs
Core ARM Cortex-M0+ ARM Cortex-M0+ ARM Cortex-M0+ 8051
Max Clock Frequency 64 MHz 64 MHz 30 MHz 50 MHz
Flash Memory 32 KB 32 KB 16 KB 16 KB
SRAM 8 KB 8 KB 4 KB 2 KB
ADC Resolution 12-bit 12-bit 12-bit 12-bit
DAC 12-bit None None None
Standby Current 0.3 Β΅A 0.3 Β΅A 1.5 Β΅A 0.5 Β΅A
Hardware RNG Yes No No No

Key Differentiators

  • Integrated 12-bit DAC (vs STM32G031F8P6)
  • Hardware Random Number Generator (RNG) (vs STM32G031F8P6)
  • Lower standby current (vs LPC812M101JDH20)

Design Notes

Ensure proper decoupling of the VDD pins with 100nF capacitors placed as close to the pins as possible. Additionally, add a 4.7Β΅F bulk capacitor on the main power rail. For battery-powered designs, utilize the low-power modes (Sleep, Stop, Standby) to minimize current consumption. The standby current is only 0.3 Β΅A, but ensure all GPIOs are configured correctly to avoid leakage currents.

For the TSSOP-20 package, ensure the PCB footprint matches the recommended land pattern from the datasheet. Use a 0.65mm pitch with appropriate pad sizes. Place the crystal oscillator (if used) close to the OSC pins and keep traces short to minimize parasitic capacitance. For the SWD debug interface, route the SWDIO and SWCLK signals with controlled impedance if possible.

Do not exceed the absolute maximum ratings, especially the supply voltage of 3.6V. When using the internal HSI oscillator, calibrate it to achieve Β±1% accuracy if precise timing is required. For applications using the ADC, ensure the reference voltage is stable and bypassed with a capacitor. Also, be aware that the STM32G041F8P6 does not have a dedicated VREF pin; the ADC reference is tied to VDD.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Yes
Conflict Minerals
Compliant

RoHS compliant per STMicroelectronics product page. Not AEC-Q100 qualified - this is a standard grade MCU.

Quick Quote RFQ
Fill in complete details β€” our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
βœ“
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details