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

- Shipping:

Inventory:2,391
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G031G4U6 from STMicroelectronics is an Arm® Cortex®-M0+ 32-bit microcontroller with 16 KB Flash, 8 KB SRAM, 12-bit ADC (0.4 µs conversion), two USARTs (one with LIN/IrDA/ISO7816), and operates from 1.7–3.6 V across –40°C to 85°C. It integrates a 16 MHz internal RC oscillator (±1 %), programmable BOR/PVD, and supports Sleep/Stop/Standby low-power modes - deployed in smart sensor nodes requiring compact size and battery longevity.
For engineers reviewing the STM32G031G4U6 datasheet, STM32G031G4U6 pinout, STM32G031G4U6 application, or STM32G031G4U6 equivalent, key selection criteria include Flash/SRAM capacity, ADC resolution and speed, UART/LIN interface support, operating voltage range, and UFQFPN28 package compatibility with space-constrained PCB layouts.
Technical Context
The STM32G031G4U6 implements a single-core Arm Cortex-M0+ CPU running up to 64 MHz, paired with a Memory Protection Unit (MPU) for secure code execution. Its clock system combines internal oscillators (HSI16 ±1 %, LSI ±5 %) and external crystal support (4–48 MHz HSE, 32 kHz LSE), enabling precise timing control for real-time peripherals including RTC with alarm and periodic wakeup.
Peripheral interconnect uses a dedicated AHB/APB bus matrix supporting concurrent DMA transfers across five channels. The 12-bit ADC features hardware oversampling up to 16-bit effective resolution, while timers include one advanced-control timer (TIM1), four general-purpose 16-bit timers, and two low-power 16-bit timers - all synchronized via shared trigger inputs for motor control or signal acquisition sequences.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | Arm Cortex-M0+, 64 MHz max - delivers deterministic real-time response for firmware-driven control loops. |
| Flash / SRAM | 16 KB Flash with securable area + 8 KB SRAM with HW parity - enables robust firmware storage and runtime data integrity checking. |
| ADC | 12-bit, 0.4 µs conversion time, up to 16 external channels - supports fast analog sensing in industrial monitoring applications. |
| Communication | 2× USART (1 with LIN/IrDA/ISO7816), 2× I2C (Fast-mode Plus), 2× SPI (32 Mbit/s) - provides flexible wired connectivity for sensor fusion and host communication. |
| Timers | 11 timers: 1× 128 MHz-capable advanced timer, 4× general-purpose 16-bit, 2× low-power 16-bit - enables PWM generation, pulse counting, and ultra-low-power periodic wakeups. |
| Supply & Temp | 1.7–3.6 V operation, –40°C to +85°C ambient - suitable for industrial-grade embedded systems without external voltage regulation. |
| Package | UFQFPN28 (4 × 4 mm, 0.5 mm pitch) - surface-mount footprint optimized for high-density PCBs with thermal pad for improved heat dissipation. |
Pinout & Package
STM32G031G4U6 is housed in a 28-pin Ultra-Fine Pitch Quad Flat No-lead (UFQFPN28) package with exposed thermal pad (A0B0). Pin count and layout match ST's standardized UFQFPN28 mechanical specification, supporting reflow soldering and automated optical inspection.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply input | Main 1.7–3.6 V supply rail; decoupling required per datasheet layout guidelines. |
| VSS | Ground reference | Digital ground plane connection; separate analog/digital ground routing recommended. |
| PA0–PA15 | General-purpose I/O | Up to 24 GPIOs mappable to EXTI interrupts; multiple pins support 5 V-tolerant operation. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts external push-button or supervisor IC assertion. |
| SWDIO / SWCLK | Debug interface signals | Serial Wire Debug (SWD) port for programming and real-time debugging without JTAG overhead. |
Key Features
| Feature | Design Value |
|---|---|
| Secure boot & ROP | Readout protection (ROP) levels prevent unauthorized firmware extraction; securable flash area isolates critical code. |
| Low-power modes | Stop 0 mode draws ≤0.34 µA (typical); RTC + backup registers remain active - extends battery life in always-on sensor nodes. |
| ADC precision | 12-bit resolution with ±1 LSB INL/DNL; hardware oversampling achieves 14–16-bit effective resolution at reduced sampling rate. |
| USART flexibility | One USART supports LIN physical layer (ISO 17987), IrDA modulation, ISO7816 smartcard interface, and auto-baud detection - simplifies multi-protocol peripheral integration. |
| Clock accuracy | Internal 16 MHz RC oscillator calibrated to ±1 % over temperature/voltage - eliminates need for external crystal in cost-sensitive designs. |
Applications
| Smart Home Sensor Node | Industrial Motor Control Interface |
|---|---|
Use Scenario: Battery-powered temperature/humidity sensor transmitting data via UART to gateway. IC Role / Device Role / Timing Role: Main controller executing sensor readout, calibration, and serial protocol framing; RTC triggers periodic measurements. Use Value: Low-power Stop mode (<0.34 µA) and integrated ADC enable >2-year battery life; LIN-capable USART allows direct connection to HVAC control buses. |
Use Scenario: Compact BLDC motor driver board requiring commutation timing and fault monitoring. IC Role / Device Role / Timing Role: Timing engine generating complementary PWM outputs via TIM1; ADC monitors current/voltage feedback in real time. Use Value: 128 MHz-capable advanced timer ensures sub-microsecond PWM edge alignment; hardware oversampling improves current-sense accuracy without external op-amps. |
| Medical Wearable Monitor | Asset Tracking Module |
Use Scenario: Portable pulse oximeter using analog front-end and Bluetooth LE host interface. IC Role / Device Role / Timing Role: Signal processor acquiring photodiode data via ADC; LPUART interfaces to BLE SoC; RTC manages sleep/wakeup cycles. Use Value: 5 V-tolerant I/Os simplify level-shifting with external sensors; VREFINT and temperature sensor enable on-chip calibration without external references. |
Use Scenario: GPS-enabled logistics tracker reporting location via cellular modem over UART. IC Role / Device Role / Timing Role: System manager handling GPS NMEA parsing, modem AT command sequencing, and power state coordination. Use Value: Dual USARTs allow simultaneous GPS and modem communication; programmable BOR prevents brownout-induced data corruption during vehicle ignition transients. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G030F6P6 | Same core/peripherals but only 16 KB Flash, no securable area, and TSSOP20 package (20-pin, larger footprint). | Lacks RTC calendar function and has fewer GPIOs - suitable for simpler timer/UART-based control where security and precision timing are not required. | Select when cost and board space are primary constraints and advanced features like secure boot or RTC alarm are unnecessary. |
| STM32G041F8P6 | Higher Flash (64 KB), same UFQFPN28 package, adds USB 2.0 FS device interface and enhanced crypto acceleration (AES-128). | Enables firmware updates over USB and secure OTA authentication - appropriate for field-upgradable devices requiring higher memory headroom. | Choose when future-proofing for USB connectivity or cryptographic operations is needed, accepting higher unit cost and power consumption. |
Compared with STM32G030F6P6, the STM32G031G4U6 offers superior security and timing features in a smaller package; versus STM32G041F8P6, it trades USB/crypto capability for lower cost and power - making it optimal for fixed-function, battery-operated edge nodes.
Availability
STM32G031G4U6 is available at Aetrix Electronics and suitable for smart sensor nodes, industrial motor interfaces, medical wearables, and asset tracking modules requiring stable component supply, long-term lifecycle assurance, and RoHS-compliant packaging.
Supply support for STM32G031G4U6 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 analog/mixed-signal ICs - serving automotive, industrial, and consumer markets with scalable, certified platforms.
The STM32G0 series targets cost-sensitive, space-constrained embedded applications demanding high integration, low power, and robust security - designed specifically for IoT edge nodes and intelligent peripherals.
FAQ
Does STM32G031G4U6 support USB device functionality?
No. The STM32G031G4U6 does not integrate a USB PHY or USB controller. USB connectivity requires an external USB-to-UART bridge IC or migration to the STM32G041/G071 series, which include full-speed USB 2.0 device interfaces and associated descriptors.
What is the maximum operating frequency of the internal HSI16 oscillator?
The internal 16 MHz RC oscillator (HSI16) operates at exactly 16 MHz with factory-calibrated accuracy of ±1 % over the full temperature and voltage range. It can be used directly as system clock or fed into the PLL to achieve up to 64 MHz CPU frequency.
Can the ADC perform simultaneous sampling on multiple channels?
No. The STM32G031G4U6 features a single 12-bit ADC with sequential channel scanning. While it supports up to 16 external inputs and hardware oversampling, it lacks dual ADCs or interleaved sampling capability - simultaneous sampling requires external analog multiplexing or higher-tier STM32 families.
Is the UFQFPN28 package lead-free and RoHS compliant?
Yes. The STM32G031G4U6 in UFQFPN28 (A0B0) package is manufactured using lead-free solderable terminations and fully complies with EU RoHS Directive 2011/65/EU and REACH regulations, as confirmed in ST's official ECOPACK2 documentation.
STM32G031G4U6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 28-UFQFN
- 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:
- 26
- Program Memory Size:
- 16KB (16K 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 SAR
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G031G4U6 FAQ
1.How can I place an order for STM32G031G4U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G031G4U6 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 STM32G031G4U6 reliable?
The price and inventory of STM32G031G4U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G031G4U6 is usually 5 days.
3.What payment methods are accepted for STM32G031G4U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G031G4U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G031G4U6?
STM32G031G4U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G031G4U6 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 STM32G031G4U6?
For technical support, including STM32G031G4U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G031G4U6 requirements.
6.How does Aetrix verify that STM32G031G4U6 is sourced from the original manufacturer or authorized distributors?
All STM32G031G4U6 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 STM32G031G4U6 meets industry standards.
7.What is the process for return or replacement of STM32G031G4U6?
All STM32G031G4U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G031G4U6, 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 STM32G031G4U6 part is unused and in its original packaging.
Return procedure for STM32G031G4U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G031G4U6 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…

