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 STM32G031G6U6

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

Inventory:13,506

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

Part Number
Quantity*
Price
Name*
Company
Email*
Comments

Product details

Overview

STM32G031G6U6 from STMicroelectronics is an Arm® Cortex®-M0+ 32-bit microcontroller in UFQFPN28 package, operating up to 64 MHz with 64 KB Flash and 8 KB SRAM. It integrates dual USARTs (one with ISO7816/LIN/IrDA), two I²C interfaces (Fast-mode Plus), two SPIs, 12-bit ADC (0.4 µs conversion), RTC with alarm, and low-power modes including Stop/Standby/Shutdown - deployed in industrial sensor nodes and smart metering front-ends.

For engineers reviewing the STM32G031G6U6 datasheet, STM32G031G6U6 pinout, STM32G031G6U6 application, or STM32G031G6U6 equivalent, key selection criteria include its 64 MHz Cortex-M0+ core, 5 V-tolerant GPIOs, 1.7–3.6 V supply range, integrated VREFBUF and temperature sensor, and SWD debug support for rapid firmware validation.

Technical Context

The STM32G031G6U6 implements a single-core Arm Cortex-M0+ with MPU, supporting TrustZone-like memory protection via readout protection (RDP) levels and securable flash area. Its clock system combines 4–48 MHz HSE, 32 kHz LSE with calibration, and internal 16 MHz HSI (±1%) with PLL for precise timing control across mixed-signal applications.

Peripheral interconnect uses dedicated routing matrices: DMA controller supports 5 channels with flexible peripheral-to-memory mapping, while EXTI handles up to 44 GPIOs as external interrupt sources. The ADC features hardware oversampling (up to 16-bit effective resolution) and simultaneous sampling on up to 16 external channels with VBAT monitoring capability.

Key Specifications

Parameter Value and Actual Design Meaning
CPU Core Arm Cortex-M0+, 64 MHz max - enables real-time deterministic control in cost-sensitive embedded systems.
Memory 64 KB Flash (with securable area & protection), 8 KB SRAM (HW parity) - supports secure boot and robust data integrity.
ADC 12-bit, 0.4 µs conversion time, up to 16 external channels - suitable for fast analog sensing in motor control or battery monitoring.
Timers 11 timers: 1x 128 MHz-capable advanced timer (TIM1), 4x general-purpose 16-bit, 2x low-power 16-bit - enables PWM generation, pulse counting, and ultra-low-power wake-up scheduling.
I/O Voltage 5 V-tolerant on multiple pins - allows direct interfacing with legacy 5 V peripherals without level shifters.
Supply Range 1.7–3.6 V - compatible with single-cell Li-ion, coin-cell backup (VBAT), and wide-input industrial power rails.
Debug Interface Serial Wire Debug (SWD) - enables full JTAG-equivalent debugging with minimal pin count (SWCLK/SWDIO/NRST).

Pinout & Package

STM32G031G6U6 is housed in a 28-pin Ultra-Fine Pitch Quad Flat No-lead (UFQFPN28) package, 4 mm × 4 mm, 0.5 mm pitch, with exposed thermal pad. Pin assignments follow ST's standard STM32G031x6 pinout for UFQFPN28 (A0B0), validated per DS12992 Rev 4 Section 4.

Pin/Terminal Circuit Role Design Meaning
VDD Main power supply 1.7–3.6 V core & I/O supply; decoupling required per datasheet layout guidelines.
VSS GND reference Digital ground plane connection; multiple pins ensure low-impedance return path.
NRST Active-low reset input Asynchronous reset with internal pull-up; accepts 1.65–5.5 V logic; supports external reset button or supervisor IC.
PA0–PA15 General-purpose I/O Up to 16 GPIOs with alternate functions (USART2_TX, TIM2_CH1, ADC_IN0, etc.); most are 5 V-tolerant.
PB0–PB1 General-purpose I/O 2 additional GPIOs (e.g., PB0 = TIM3_CH3, PB1 = ADC_IN9); support EXTI and analog functions.
SYSCLK System clock output Optional 64 MHz clock output for trace/debug or external synchronization (configured via RCC).
SWCLK / SWDIO SWD debug interface Two-pin serial wire debug port - enables programming, breakpointing, and memory inspection without JTAG overhead.

Key Features

Feature Design Value
Low-power operation Shutdown mode current ≤ 100 nA (typ.) with RTC running on VBAT - extends battery life in always-on sensor endpoints.
Secure boot foundation Readout protection (RDP) Level 1/2 and securable flash area - prevents firmware extraction and enables IP protection.
Integrated analog subsystem 12-bit ADC + VREFBUF + temperature sensor + VBAT monitor - eliminates need for external analog components in condition-monitoring designs.
Communication flexibility Two I²C (Fast-mode Plus), two USARTs (one ISO7816/LIN), two SPIs - supports multi-protocol fieldbus integration (e.g., Modbus RTU over UART, I²C sensor hubs).
Robust clock architecture HSE (4–48 MHz), LSE (32.768 kHz calibrated), HSI16 (±1%), LSI (±5%) - ensures accurate timekeeping and stable MCU operation across voltage/temperature variations.

Applications

Industrial Sensor Node Smart Energy Meter Front-End

Use Scenario: Compact, battery-powered environmental sensor collecting temperature, humidity, and CO₂ via I²C sensors and transmitting via LoRaWAN gateway using UART.

IC Role / Device Role / Timing Role: Central controller managing sensor polling, ADC sampling, data preprocessing, and low-power UART communication with sub-second wakeup intervals.

Use Value: Integrated RTC alarm and LPTIM enable precise 10 s wakeup cycles; 5 V-tolerant I²C pins simplify sensor interface; Shutdown mode draws <100 nA for multi-year battery life.

Use Scenario: Residential electricity meter measuring voltage/current via shunt/CT and communicating tariff data via optical IR port and RS-485.

IC Role / Device Role / Timing Role: Primary metrology controller executing ISO/IEC 62056-compliant protocols, driving IR LED via TIM1 PWM, and managing secure firmware updates.

Use Value: ISO7816-capable USART drives optical probe; VREFBUF stabilizes ADC reference for ±0.5% energy accuracy; RDP Level 2 prevents tampering with billing logic.

White Goods Motor Control IoT Edge Gateway Subsystem

Use Scenario: Brushless DC motor driver in washing machine drum control, requiring commutation timing, current sensing, and fault detection.

IC Role / Device Role / Timing Role: Dedicated motor control co-processor handling six-step commutation via TIM1 complementary outputs and ADC-triggered current sampling.

Use Value: TIM1's 128 MHz input clock enables 10 ns PWM resolution; hardware ADC trigger syncs sampling to switching edges; BOR/PVD prevent erratic behavior during brownout.

Use Scenario: Local edge node aggregating BLE sensor data, performing lightweight ML inference, and forwarding to cloud via Wi-Fi module over UART.

IC Role / Device Role / Timing Role: Secure host processor managing encrypted OTA updates, TLS handshake offload via crypto acceleration (AES-128), and watchdog-monitored firmware execution.

Use Value: 64 KB Flash stores dual-image bootloader; CRC unit validates firmware integrity; SWD enables field firmware recovery without physical access.

Equivalent & Alternatives

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

Alternative Part Technical Difference Application Difference Selection Advice
STM32G030F6P6 Same Cortex-M0+ core, 64 MHz, but only 32 KB Flash, no VREFBUF, no temperature sensor, and no securable flash area. Lacks hardware security and precision analog features - suitable for basic control where firmware IP protection and sensor accuracy are non-critical. Select when cost is primary constraint and advanced analog/security features are unnecessary.
NXP LPC802M011JDH20 ARM Cortex-M0+, 30 MHz max, 16 KB Flash, no USB, limited I²C/UART count, no hardware oversampling ADC. Lower performance and peripheral integration - fits simple actuator control but cannot match STM32G031G6U6's mixed-signal throughput or low-power depth. Choose only if existing NXP toolchain familiarity outweighs performance and feature gaps.

Compared with STM32G030F6P6, the STM32G031G6U6 adds VREFBUF, securable flash, and temperature sensor - critical for certified metering; versus LPC802M011JDH20, it delivers 2.1× higher CPU speed, 4× more Flash, and superior analog subsystem integration for sensor-rich edge nodes.

Availability

STM32G031G6U6 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart energy meters, white goods motor control, and IoT edge gateways requiring stable component supply across long-lifecycle deployments.

Supply support for STM32G031G6U6 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, low-power embedded applications demanding high integration, security, and industrial temperature resilience - optimized for smart home, industrial automation, and metering markets.

FAQ

Does STM32G031G6U6 support USB connectivity?

No, the STM32G031G6U6 does not integrate a USB peripheral. It relies on external USB-to-UART bridges (e.g., CP2102, FT232RL) for host communication. This design reduces silicon cost and power consumption while maintaining compatibility with standard development tools via its dual USARTs and SWD interface.

What is the maximum operating temperature grade for STM32G031G6U6 in UFQFPN28 package?

The STM32G031G6U6 in UFQFPN28 (A0B0) package is qualified for industrial temperature range: –40°C to +85°C. Extended grades (–40°C to +105°C and –40°C to +125°C) apply only to specific variants like STM32G031K8T6 in LQFP32, not this part number.

Can the internal 16 MHz RC oscillator be used as system clock without calibration?

Yes - the HSI16 oscillator operates at 16 MHz ±1% over full temperature and voltage range without external calibration. It can serve as default system clock at power-on or during HSE startup delay, and feeds the PLL for 64 MHz operation without crystal dependency.

Is SWD debug supported on all UFQFPN28 pins of STM32G031G6U6?

SWD requires only three dedicated pins: SWCLK (PA14), SWDIO (PA13), and NRST (pin 1). These are fixed-function and cannot be remapped. All other UFQFPN28 pins retain their default or alternate functions independently - no conflict arises between SWD and peripheral use.

STM32G031G6U6 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:
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 SAR
Oscillator Type:
External, Internal
Operating Temperature:
-40°C ~ 85°C (TA)
Grade:
-
Qualification:
-
Mounting Type:
Surface Mount
Supplier Device Package:

STM32G031G6U6 FAQ

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

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

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

3.What payment methods are accepted for STM32G031G6U6?

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

Note: Certain payment methods may incur a processing fee.

4.How is shipping managed for STM32G031G6U6?

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

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

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

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

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

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

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

Return procedure for STM32G031G6U6:

1.Submit a request within 90 days.

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

STM32G031G6U6 Tags

  • STM32G031G6U6
  • STM32G031G6U6 PDF
  • STM32G031G6U6 Datasheet
  • STM32G031G6U6 Specifications
  • STM32G031G6U6 Images
  • STMicroelectronics
  • STMicroelectronics STM32G031G6U6
  • Buy STM32G031G6U6
  • STM32G031G6U6 Price
  • STM32G031G6U6 Distributor
  • STM32G031G6U6 Supplier
  • STM32G031G6U6 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