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 STM32G031G8U6

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

Inventory:3,286

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

Part Number
Quantity*
Price
Name*
Company
Email*
Comments

Product details

Overview

STM32G031G8U6 from STMicroelectronics is an Arm® Cortex®-M0+ 32-bit microcontroller with 64 KB Flash, 8 KB SRAM, 12-bit ADC (0.4 µs conversion), dual USARTs (one supporting LIN/IrDA/ISO7816), and operating voltage range of 1.7–3.6 V. It integrates RTC with alarm, 11 timers including two low-power variants, and supports -40°C to 85°C industrial operation - deployed in smart metering front-ends and battery-powered sensor nodes.

For engineers reviewing the STM32G031G8U6 datasheet, STM32G031G8U6 pinout, STM32G031G8U6 application, or STM32G031G8U6 equivalent, key selection criteria include its 64 MHz max CPU frequency, 5 V-tolerant I/Os, SWD debug interface, and support for Stop/Standby low-power modes with RTC wakeup - critical for energy-constrained embedded control designs.

Technical Context

The STM32G031G8U6 implements a single-core Arm Cortex-M0+ with MPU, executing at up to 64 MHz via internal 16 MHz RC + PLL or external 4–48 MHz crystal. Its memory subsystem includes 64 KB flash with securable area and hardware readout protection, plus 8 KB SRAM with parity checking - enabling secure firmware updates and data integrity in field-deployed devices.

Peripheral interconnect uses a multi-layer AHB/APB bus matrix supporting concurrent DMA transfers across UART, SPI, I2C, and ADC. Clock tree features dual oscillators (HSE/LSE), programmable PVD/BOR, and dynamic voltage scaling - allowing precise power-state transitions between Run, Sleep, Stop 0/1, Standby, and Shutdown modes with sub-5 µs wakeup from Stop using LPUART.

Key Specifications

Parameter Value and Actual Design Meaning
CPU Core Arm Cortex-M0+, 64 MHz max - delivers deterministic real-time control with <10 ns interrupt latency.
Memory 64 KB Flash (securable, ROP-enabled), 8 KB SRAM (HW parity) - supports certified bootloader and fault-tolerant data logging.
ADC 12-bit, 0.4 µs conversion, 16-channel input - enables high-speed analog sensing for motor current or battery voltage monitoring.
Timers 11 timers: 1x 128 MHz-capable advanced timer (TIM1), 4x general-purpose 16-bit, 2x low-power 16-bit - suitable for PWM generation and time-critical event capture.
Communication 2× USART (1x ISO7816/LIN/IrDA), 2× I2C (Fast-mode Plus, 1 Mbit/s), 2× SPI (32 Mbit/s) - supports mixed-protocol industrial connectivity.
Power Range 1.7–3.6 V supply, -40°C to +85°C ambient - validated for operation in unregulated battery and automotive accessory rail environments.
I/O Tolerance Up to 44 fast I/Os, multiple 5 V-tolerant - simplifies level-shifting in legacy 5 V system integration without external buffers.

Pinout & Package

STM32G031G8U6 is housed in a 28-pin UFQFPN (4 × 4 mm, 0.5 mm pitch) package with exposed thermal pad. Pin assignments follow ST's standard STM32G0 series layout, supporting full peripheral remapping via GPIO alternate function registers.

Pin/Terminal Circuit Role Design Meaning
VDD, VSS Power supply and ground Dual VDD/VSS pairs ensure stable core/peripheral rail decoupling; thermal pad improves thermal dissipation in compact PCB layouts.
PA0–PA15, PB0–PB15, PC13–PC15 General-purpose I/O 44 total I/Os; all mappable to EXTI lines - enables flexible button/wake-up/sensor interrupt routing.
NRST Active-low reset input Internal pull-up; accepts 1.65–5.5 V logic - compatible with external supervisor ICs or manual reset circuits.
SWDIO / SWCLK Serial Wire Debug interface 2-pin debug port supporting full SWD protocol - enables in-system programming and real-time trace without JTAG overhead.
VBAT Backup power supply Connects to coin cell for RTC and backup registers during main power loss - retains calendar and alarm state across power cycles.

Key Features

Feature Design Value
Secure Boot & ROP Hardware-enforced readout protection (Level 1/2) and securable flash area - prevents unauthorized firmware extraction in endpoint devices.
Low-Power Modes Stop 0 (190 nA), Standby (150 nA), Shutdown (20 nA) - extends battery life in wireless sensors with periodic wake-up intervals.
ADC Oversampling Hardware 16-bit oversampling (up to 64×) - achieves higher resolution without external sigma-delta converters in precision measurement.
CRC Unit Dedicated CRC-32 engine with programmable polynomial - accelerates firmware image validation and communication frame checksums.
Temperature Sensor Calibrated on-chip sensor (±1.5°C accuracy) - enables self-monitoring for thermal derating in enclosed industrial enclosures.

Applications

Smart Energy Metering Industrial Sensor Node

Use Scenario: Bidirectional energy measurement with tamper detection and secure data upload via NB-IoT modem.

IC Role / Device Role / Timing Role: Main controller managing metrology ADC sampling, RTC timestamping, and secure bootloader execution.

Use Value: Integrated 12-bit ADC with hardware oversampling eliminates external signal conditioning; Stop mode with RTC wakeup reduces average current to <2 µA during idle periods.

Use Scenario: Wireless vibration and temperature monitoring on rotating machinery with edge FFT preprocessing.

IC Role / Device Role / Timing Role: Real-time acquisition node performing analog front-end conditioning, sensor fusion, and low-power BLE packet assembly.

Use Value: 64 MHz CPU handles 1 kHz sensor sampling + 128-point FFT in <1.2 ms; 5 V-tolerant I/Os interface directly with legacy 5 V transducers.

Home Appliance Control Automotive Body Electronics

Use Scenario: Washing machine mainboard controlling motor drive, water valves, and user interface with safety monitoring.

IC Role / Device Role / Timing Role: Central MCU coordinating PWM motor control, touch-button scanning, and fault-safe shutdown sequencing.

Use Value: Advanced-control timer (TIM1) generates complementary dead-time PWM for BLDC inverter; HW parity on SRAM detects memory corruption during ESD events.

Use Scenario: Door module managing window lift, mirror fold, and interior lighting with LIN communication to body controller.

IC Role / Device Role / Timing Role: LIN slave node executing position feedback, PWM dimming, and diagnostic reporting over LIN physical layer.

Use Value: One USART supports LIN 2.2 physical layer (with auto-baud detection); VBAT retention preserves last-known position after ignition-off.

Equivalent & Alternatives

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

Alternative Part Technical Difference Application Difference Selection Advice
STM32G030F6P6 20-pin TSSOP, 32 KB Flash, no securable area, no VREFBUF Limited I/O count and memory; lacks hardware security features Select when cost-sensitive, low-pin-count designs omit secure boot or precision ADC reference needs.
NXP LPC804M101JDH20 ARM Cortex-M0+, 32 KB Flash, no RTC calendar, no USB, different peripheral set No integrated calendar RTC or LIN-capable USART; fewer low-power modes Choose if existing NXP toolchain familiarity outweighs need for RTC alarm or LIN compliance.

Compared with STM32G031G8U6, STM32G030F6P6 sacrifices security and analog capability for lower BOM cost, while LPC804M101JDH20 offers comparable core performance but lacks production-ready LIN/RTC features essential for automotive body electronics.

Availability

STM32G031G8U6 is available at Aetrix Electronics and suitable for smart metering, industrial sensor nodes, home appliance control, and automotive body electronics requiring stable component supply across extended product lifecycles.

Supply support for STM32G031G8U6 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, designing and manufacturing microcontrollers, power management ICs, and MEMS sensors for industrial, automotive, and consumer markets.

The STM32G0 series targets cost-sensitive, ultra-low-power embedded applications - emphasizing security, analog integration, and simplified development for entry-level 32-bit MCU adoption.

FAQ

Does STM32G031G8U6 support USB device functionality?

No. The STM32G031G8U6 does not include a USB peripheral. It provides two USARTs (one with ISO7816/LIN/IrDA), two I2C interfaces, and two SPIs - but no USB PHY or controller. For USB connectivity, consider STM32G071 or STM32G0B1 series variants.

What is the maximum allowed VDD slew rate during power-up?

The absolute maximum VDD slew rate is 1 V/ms, per Section 5.3.2 of DS12992 Rev 4. Exceeding this may cause improper reset assertion or flash corruption; recommended practice is to use a dedicated power supply supervisor or RC-based POR circuit with ≥10 ms rise time.

Can the internal 32 kHz RC oscillator be used as RTC clock source?

Yes. The internal 32 kHz RC (LSI) oscillator is a valid RTC clock source and is factory-calibrated to ±5% accuracy. For higher precision, the 32.768 kHz external crystal (LSE) is supported with automatic calibration - achieving ±1 ppm stability over temperature.

Is SWD debug supported in all low-power modes?

SWD is disabled in Stop, Standby, and Shutdown modes. It remains active only in Run and Sleep modes. To debug low-power behavior, use HAL_PWREx_EnterSTOPxMode() with WakeUp flag enabled and trigger wake-up via EXTI or RTC alarm before halting execution.

STM32G031G8U6 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:
64KB (64K 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:

STM32G031G8U6 FAQ

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

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

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

3.What payment methods are accepted for STM32G031G8U6?

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

Note: Certain payment methods may incur a processing fee.

4.How is shipping managed for STM32G031G8U6?

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

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

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

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

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

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

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

Return procedure for STM32G031G8U6:

1.Submit a request within 90 days.

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

STM32G031G8U6 Tags

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