Send an Inquiry

To receive a quote for your project, please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Part Number*
Quantity*
Message
Submit Inventory List

Please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Upload My List
Message

STMicroelectronics STM32F031G4U6

Part No.:
STM32F031G4U6
Manufacturer:
STMicroelectronics
Category:
Microcontrollers
Package:
28-UFQFN
Datasheet:
AetrixSTM32F031G4U6.pdf
Description:
IC MCU 32BIT 16KB FLASH 28UFQFPN
Quantity:
Payment:
Payment
Shipping:
Shipping

Inventory:4,668

Please send an inquiry. Send us your inquiry, and we will respond immediately.

Part Number
Quantity*
Price
Name*
Company
Email*
Comments

Product details

Overview

STM32F031G4U6 from STMicroelectronics is an ARM® Cortex®-M0 32-bit microcontroller with 16 KB Flash, 4 KB SRAM (with hardware parity), and operates at up to 48 MHz. It integrates a 12-bit 1.0 µs ADC (10-channel), nine timers-including one advanced-control timer with deadtime generation-and communication interfaces (I²C, USART, SPI) for embedded control in space-constrained industrial sensors and motor drives.

For engineers reviewing the STM32F031G4U6 datasheet, STM32F031G4U6 pinout, STM32F031G4U6 application, or STM32F031G4U6 equivalent, key selection criteria include its UFQFPN28 package footprint, 5 V-tolerant I/O capability on up to 26 pins, RTC with alarm and wakeup from Stop/Standby, and support for Fast Mode Plus I²C (1 Mbit/s) with 20 mA sink current.

Technical Context

The device implements a single-cycle ARM Cortex-M0 core with Thumb-2 instruction set, coupled with tightly integrated peripherals including a CRC calculation unit and programmable voltage detector (PVD) for system-level power monitoring. Its clock tree supports multiple sources: 4–32 MHz HSE crystal, 32 kHz LSE for RTC, and internal RC oscillators (8 MHz HSI with PLL, 40 kHz LSI).

Power architecture separates digital (VDD: 2.0–3.6 V) and analog (VDDA: 2.4–3.6 V) domains, enabling precise ADC operation while supporting Sleep, Stop, and Standby low-power modes with RTC and backup register retention powered by VBAT. All 28 pins of the UFQFPN28 package are assigned to GPIO, peripheral functions, or power/ground-no dedicated test or debug-only pins.

Key Specifications

ParameterValue and Actual Design Meaning
CoreARM Cortex-M0, 48 MHz max - enables real-time deterministic control in cost-sensitive applications without floating-point unit overhead.
Flash / SRAM16 KB Flash, 4 KB SRAM with HW parity - sufficient for compact firmware with error-detection integrity for safety-critical sensor nodes.
ADC12-bit, 1.0 µs conversion, 10 channels - supports simultaneous sampling of analog sensor inputs (e.g., temperature, current) with sub-microsecond latency.
Timers9 timers including TIM1 (16-bit, 7-channel advanced-control) - provides PWM generation with deadtime insertion and emergency stop for BLDC motor gate drivers.
I/O Voltage ToleranceUp to 26 pins 5 V tolerant - allows direct interfacing with legacy 5 V logic or industrial I/O without level-shifting components.
CommunicationI²C Fast Mode Plus (1 Mbit/s, 20 mA sink), USART (LIN/IrDA/ISO7816), SPI (18 Mbit/s) - enables robust fieldbus connectivity and smart-card interface in metering and access control.
Operating Temp−40°C to +105°C - qualified for under-hood automotive sensors and industrial PLC modules without external thermal derating.

Pinout & Package

STM32F031G4U6 uses the UFQFPN28 (4 × 4 mm, 0.5 mm pitch) package, optimized for high-density PCB layouts in space-constrained applications such as smart actuators and portable diagnostics tools.

Pin/TerminalCircuit RoleDesign Meaning
VDD, VSSDigital power supply and groundPrimary 2.0–3.6 V domain powering CPU, memory, and digital peripherals; decoupling required per datasheet layout guidelines.
VDDA, VSSAAnalog power supply and groundIndependent 2.4–3.6 V domain isolating ADC and reset circuitry from digital noise; must be filtered separately.
PA0–PA15, PB0–PB12General-purpose I/O28 total GPIO pins; up to 26 support 5 V tolerance and external interrupt mapping-enables flexible signal routing and wake-on-event capability.
NRSTActive-low reset inputAsynchronous reset pin with internal pull-up; accepts 1.65–5.5 V logic levels and supports external reset button or supervisor IC connection.
BOOT0Boot mode selectionConfigures boot source (system memory or main Flash) at power-on; requires external pull-down for normal Flash execution.

Key Features

FeatureDesign Value
Hardware CRC unitAccelerates firmware integrity checks and communication frame validation without CPU load-critical for OTA updates and CAN/LIN message checksums.
RTC with alarm & wakeupCalendar-based timekeeping with periodic interrupt and deep-sleep exit trigger-enables battery-powered data loggers with scheduled sensor reads every 10 seconds.
Programmable voltage detector (PVD)Monitors VDD in real time with 4 selectable thresholds (2.2–2.9 V); generates interrupt or reset to prevent erratic operation during brown-out conditions.
SWD debug interface2-pin Serial Wire Debug (SWCLK/SWDIO) supports full JTAG-equivalent debugging and flash programming-reduces PCB footprint vs. traditional 10-pin JTAG headers.
96-bit unique IDFactory-programmed serial number accessible via memory-mapped register-enables secure device authentication and license binding in connected edge devices.

Applications

Industrial Sensor NodeSmart Actuator Control

Use Scenario: Compact environmental monitor measuring temperature, humidity, and CO₂ in HVAC ducts with wireless telemetry.

IC Role / Device Role / Timing Role: Central MCU executing sensor fusion algorithms, managing I²C sensor reads, and scheduling LoRaWAN packet transmission via USART.

Use Value: 16 KB Flash accommodates lightweight MQTT-Lite stack and calibration routines; 5 V-tolerant I/O interfaces directly with legacy analog sensor outputs.

Use Scenario: Brushless DC motor driver module for automated valve positioning in water treatment plants.

IC Role / Device Role / Timing Role: Real-time PWM generator using TIM1's deadtime control and emergency stop to drive 3-phase gate drivers while monitoring current feedback via ADC.

Use Value: −40°C to +105°C rating ensures reliability in outdoor enclosures; RTC alarm triggers daily self-test sequences without host intervention.

Energy Meter InterfaceAccess Control Terminal

Use Scenario: DIN-rail mounted electricity meter with pulse counting, tamper detection, and IR communication for utility readout.

IC Role / Device Role / Timing Role: Pulse accumulator and ISO7816-compatible USART controller handling contactless smart card authentication and tariff switching commands.

Use Value: Fast Mode Plus I²C (1 Mbit/s) supports high-speed EEPROM writes for tariff tables; VBAT-backed RTC maintains billing timestamps during mains failure.

Use Scenario: Battery-powered door lock with keypad, RFID reader, and audible feedback-requiring low standby current and secure credential storage.

IC Role / Device Role / Timing Role: Secure bootloader and AES-128 encryption engine (via software library) managing credential verification and actuator timing.

Use Value: 4 KB SRAM with hardware parity prevents memory corruption during power glitches; Stop mode draws <1.3 µA (typical) extending coin-cell life to >5 years.

Equivalent & Alternatives

The following parts are listed as comparable options for similar microcontroller applications.

Alternative PartTechnical DifferenceApplication DifferenceSelection Advice
STM32F030F4P616 KB Flash, 4 KB SRAM, same Cortex-M0 core but no advanced-control timer (TIM1) or RTC calendar function.Lacks deadtime generation and alarm-triggered wakeup-unsuitable for motor control or time-stamped logging.Select only for basic GPIO/UART tasks where RTC and advanced PWM are unnecessary.
STM32F031K4T6Same feature set and 16 KB Flash, but in LQFP32 package (7×7 mm) with 32 pins-adds 4 extra GPIO and one more ADC channel.Requires larger PCB area; additional pins enable dual-sensor redundancy or expanded communication options (e.g., second UART).Choose when board layout permits larger footprint and design requires pin expansion beyond 28 I/O.

Compared with STM32F031G4U6, the F030F4P6 sacrifices critical timing and safety features for lower cost, while the F031K4T6 trades compactness for pin scalability-making the G4U6 optimal for size-constrained, time-aware embedded control where both integration and thermal resilience matter.

Availability

STM32F031G4U6 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart actuator control, energy meter interfaces, and access control terminals requiring stable component supply across extended temperature ranges and long production lifecycles.

Supply support for STM32F031G4U6 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 STM32F0 series targets cost-sensitive, resource-constrained embedded applications-emphasizing ultra-low-power operation, robust peripheral integration, and rapid time-to-market for industrial automation and consumer IoT endpoints.

FAQ

What is the maximum operating frequency of the STM32F031G4U6?

The STM32F031G4U6 achieves a maximum CPU clock frequency of 48 MHz using its internal 8 MHz HSI oscillator with x6 PLL multiplication or an external 4–32 MHz crystal. This frequency is guaranteed across the full −40°C to +105°C operating range and supports deterministic real-time task scheduling in control loops with sub-100 ns instruction timing.

Does the STM32F031G4U6 support USB or Ethernet connectivity?

No, the STM32F031G4U6 does not integrate USB or Ethernet PHY/MAC peripherals. Its communication interfaces are limited to I²C, USART (with LIN/IrDA/ISO7816 modes), and SPI. For USB connectivity, designers must use external transceivers or select higher-series STM32 variants (e.g., F072 or G0 series) with built-in USB 2.0 FS controllers.

How many ADC channels are available, and what is their resolution?

The STM32F031G4U6 features a single 12-bit successive-approximation ADC with up to 10 input channels (including internal temperature sensor and VREFINT). Conversion time is 1.0 µs at maximum clock speed, and the ADC supports scan mode, continuous conversion, and injected channel sequencing-all configurable via registers without CPU intervention.

Is the UFQFPN28 package RoHS-compliant and lead-free?

Yes, the STM32F031G4U6 in UFQFPN28 packaging complies with RoHS Directive 2011/65/EU and is fully lead-free. It carries STMicroelectronics' ECOPACK®2 environmental certification, confirming halogen-free materials, reduced hazardous substance content, and compatibility with standard Pb-free reflow soldering profiles (peak temperature ≤260°C).

STM32F031G4U6 Specifications

Product attributes
Attribute value
Manufacturer:
STMicroelectronics
Package/Case:
28-UFQFN
Series:
STM32F0
Packaging:
Tray
Product Status:
Active
Programmable:
Not Verified
Core Processor:
ARM® Cortex®-M0
Core Size:
32-Bit Single-Core
Speed:
48MHz
Connectivity:
I2C, IrDA, LINbus, SPI, UART/USART
Peripherals:
DMA, I2S, POR, PWM, WDT
Number of I/O:
23
Program Memory Size:
16KB (16K x 8)
Program Memory Type:
FLASH
EEPROM Size:
-
RAM Size:
4K x 8
Voltage - Supply (Vcc/Vdd):
2V ~ 3.6V
Data Converters:
A/D 13x12b
Oscillator Type:
Internal
Operating Temperature:
-40°C ~ 85°C (TA)
Grade:
-
Qualification:
-
Mounting Type:
Surface Mount
Supplier Device Package:

STM32F031G4U6 FAQ

1.How can I place an order for STM32F031G4U6 through Aetrix?

Please submit a Request for Quotation (RFQ) for STM32F031G4U6 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 STM32F031G4U6 reliable?

The price and inventory of STM32F031G4U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32F031G4U6 is usually 5 days.

3.What payment methods are accepted for STM32F031G4U6?

We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32F031G4U6 transactions.

Note: Certain payment methods may incur a processing fee.

4.How is shipping managed for STM32F031G4U6?

STM32F031G4U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.

Once your STM32F031G4U6 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 STM32F031G4U6?

For technical support, including STM32F031G4U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32F031G4U6 requirements.

6.How does Aetrix verify that STM32F031G4U6 is sourced from the original manufacturer or authorized distributors?

All STM32F031G4U6 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 STM32F031G4U6 meets industry standards.

7.What is the process for return or replacement of STM32F031G4U6?

All STM32F031G4U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32F031G4U6, 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 STM32F031G4U6 part is unused and in its original packaging.

Return procedure for STM32F031G4U6:

1.Submit a request within 90 days.

2.Obtain a Return Material Authorization (RMA) from Aetrix.

STM32F031G4U6 Tags

  • STM32F031G4U6
  • STM32F031G4U6 PDF
  • STM32F031G4U6 Datasheet
  • STM32F031G4U6 Specifications
  • STM32F031G4U6 Images
  • STMicroelectronics
  • STMicroelectronics STM32F031G4U6
  • Buy STM32F031G4U6
  • STM32F031G4U6 Price
  • STM32F031G4U6 Distributor
  • STM32F031G4U6 Supplier
  • STM32F031G4U6 Wholesale
Related Products
ATTINY4-TSHR
ATTINY4-TSHR

Microchip Technology

ATTINY10-TSHR
ATTINY10-TSHR

Microchip Technology

ATTINY10-TS8R
ATTINY10-TS8R

Microchip Technology

ATTINY202-SSNR
ATTINY202-SSNR

Microchip Technology

ATTINY202-SSFR
ATTINY202-SSFR

Microchip Technology

ATTINY402-SSNR
ATTINY402-SSNR

Microchip Technology

PIC16F15213T-I/MF
PIC16F15213T-I/MF

Microchip Technology

PIC16F15213-E/MF
PIC16F15213-E/MF

Microchip Technology

PIC10F200T-I/OT
PIC10F200T-I/OT

Microchip Technology

ATTINY412-SSNR
ATTINY412-SSNR

Microchip Technology

PIC10F202T-I/OT
PIC10F202T-I/OT

Microchip Technology

ATTINY404-SSNR
ATTINY404-SSNR

Microchip Technology

Tech Hub

Search

Search

PRODUCT

PRODUCT

PHONE

PHONE

USER

USER