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

- Shipping:

Inventory:1,517
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G031C4U6 from STMicroelectronics is an Arm® Cortex®-M0+ 32-bit microcontroller with 16 KB Flash, 8 KB SRAM, 48 MHz max CPU frequency, 12-bit ADC (0.4 µs conversion), and dual USART/I²C/SPI interfaces. It operates from 1.7–3.6 V across –40°C to 85°C and targets low-cost industrial sensor nodes, smart metering peripherals, and battery-powered control modules.
For engineers reviewing the STM32G031C4U6 datasheet, STM32G031C4U6 pinout, STM32G031C4U6 application, or STM32G031C4U6 equivalent, key selection criteria include its 28-pin UFQFPN package, integrated VREFBUF and RTC with wakeup, hardware parity on SRAM, and support for ISO7816/LIN/IrDA on USART1 - critical for secure peripheral interfacing and ultra-low-power operation.
Technical Context
The STM32G031C4U6 integrates a single-core Arm Cortex-M0+ with MPU, supporting TrustZone-like memory protection via RDP and securable flash area. Its clock system combines 4–48 MHz HSE, 32 kHz LSE with calibration, and ±1% internal 16 MHz HSI with PLL - enabling precise timing for synchronous communication and motor control loops.
Peripheral interconnect uses a multi-layer AHB/APB bus matrix with DMA request multiplexer (DMAMUX), allowing flexible routing of 5 DMA channels to 32+ peripherals including ADC, timers, and serial interfaces - essential for deterministic real-time data acquisition without CPU intervention.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 48 MHz max - delivers deterministic 32-bit processing for real-time control with <10 ns interrupt latency. |
| Memory | 16 KB Flash (with readout protection & securable area), 8 KB SRAM (HW parity) - enables firmware security and reliable runtime data integrity. |
| ADC | 12-bit, 0.4 µs conversion time, up to 16 external channels - supports fast sampling of analog sensors (e.g., temperature, current) in compact systems. |
| Timers | 11 timers: 1x 16-bit advanced (TIM1), 4x 16-bit general-purpose, 2x low-power (LPTIM), 2x watchdogs - covers motor commutation, PWM generation, and fail-safe supervision. |
| Communication | 2× I²C (Fast-mode Plus, 1 Mbit/s), 2× USART (one with ISO7816/LIN/IrDA), 2× SPI (32 Mbit/s) - enables robust multi-protocol connectivity in constrained space. |
| Power Modes | Stop 0 (190 nA), Standby (150 nA), Shutdown (20 nA) - extends battery life in always-on sensing applications without external PMIC. |
| Package | UFQFPN28 (4 × 4 mm, 0.5 mm pitch) - surface-mount footprint optimized for high-density PCB layouts and automated assembly. |
Pinout & Package
STM32G031C4U6 is housed in a 28-pin Ultra-Fine Pitch Quad Flat No-lead (UFQFPN28) package with 0.5 mm pitch, 4 × 4 mm body, and exposed thermal pad. Pin functions are validated per ST's DS12992 Rev 4, Table 12 (Pin assignment and description).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Core & I/O supply | 1.7–3.6 V main power input; decoupling required at each VDD pin for stable core operation. |
| VSS | GND reference | Dedicated ground return for analog/digital domains; multiple pins ensure low-impedance return path. |
| PA0–PA15 | General-purpose I/O | Up to 24 5 V-tolerant GPIOs with EXTI capability - supports direct connection to legacy 5 V logic or sensors. |
| PA1, PA2, PA3 | USART2 TX/RX/CTS | Hardware UART interface with auto-baud detection - enables plug-and-play serial diagnostics and host communication. |
| PA4–PA7 | ADC IN1–IN4 | Analog inputs with 12-bit resolution and 0.4 µs conversion - suitable for precision voltage/current monitoring. |
| PC13–PC15 | RTC oscillator pins | Supports 32.768 kHz crystal with built-in calibration - provides accurate real-time clock and periodic wake-up from Stop/Standby. |
Key Features
| Feature | Design Value |
|---|---|
| Hardware CRC unit | Accelerates firmware update validation and data packet integrity checks without CPU overhead. |
| Programmable BOR/PVD | Configurable brownout reset and voltage detector thresholds - prevents erratic behavior during supply droop in industrial environments. |
| VREFBUF | Internal 2.048 V reference buffer with 10 µA sink/source - eliminates external reference IC for ADC calibration and analog sensing. |
| 96-bit unique ID | Factory-programmed serial number - enables device authentication and secure firmware binding in IoT edge nodes. |
| SWD debug interface | 2-pin serial wire debug with SWO trace - supports full debugging and real-time variable monitoring in space-constrained designs. |
Applications
| Smart Energy Metering | Industrial Sensor Node |
|---|---|
Use Scenario: Compact electricity meter add-on module measuring voltage, current, and power factor via shunt/CT sensors. IC Role / Device Role / Timing Role: Main controller executing metrology algorithms, managing LCD display, and communicating via RS-485/IR. Use Value: Integrated 12-bit ADC with oversampling and hardware CRC ensures accurate energy calculation and tamper-resistant firmware updates. |
Use Scenario: Battery-powered wireless node monitoring temperature, humidity, and vibration in factory equipment. IC Role / Device Role / Timing Role: Low-power data acquisition hub with RTC-triggered sampling and BLE/Wi-Fi coexistence via UART. Use Value: Stop 0 mode (190 nA) + LPTIM wakeup enables multi-year battery life while maintaining precise timestamping. |
| Secure Access Terminal | Motor Control Interface |
Use Scenario: Door access panel with RFID reader, buzzer, and relay driver for entry control. IC Role / Device Role / Timing Role: Secure host processor handling ISO7816 smart card interface and encrypted credential verification. Use Value: USART1 with ISO7816 support and securable flash area enable certified secure transaction handling without external crypto IC. |
Use Scenario: Brushless DC motor driver board requiring PWM timing, current feedback, and fault reporting. IC Role / Device Role / Timing Role: Timing controller generating complementary PWM signals with dead-time insertion via TIM1. Use Value: Advanced-control timer (TIM1) with programmable dead-time and fault input ensures safe gate drive sequencing and overcurrent shutdown. |
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, 16 KB Flash, no VREFBUF or RTC calibration - lacks precision analog reference and accurate calendar timekeeping. | Suitable only for basic GPIO/UART control where RTC and ADC accuracy are non-critical. | Select when board space allows TSSOP and analog performance requirements are relaxed. |
| NXP LPC802M011JDH20 | ARM Cortex-M0+, 16 KB Flash, 4 KB SRAM, no hardware parity, no securable flash - weaker memory safety and security features. | Better suited for cost-sensitive consumer devices lacking firmware security or data integrity mandates. | Choose only if ST ecosystem tools (STM32CubeMX, HAL) are not required and security certification is unnecessary. |
Compared with STM32G031C4U6, the STM32G030F6P6 sacrifices analog precision and RTC reliability for lower package cost, while the LPC802M011JDH20 trades memory protection and secure boot capability for broader peripheral flexibility in non-industrial contexts.
Availability
STM32G031C4U6 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart metering peripherals, and secure access terminals requiring stable component supply and long-term production continuity.
Supply support for STM32G031C4U6 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 sensing solutions for industrial, automotive, and IoT markets.
The STM32G0 series targets cost-sensitive, ultra-low-power embedded applications - delivering Cortex-M0+ performance with enhanced analog integration and security features in compact packages.
FAQ
What is the maximum operating frequency of the STM32G031C4U6?
The STM32G031C4U6 runs at up to 48 MHz using its internal 16 MHz HSI oscillator with PLL multiplication or an external 4–48 MHz crystal. This frequency is confirmed in Section 3.9 and Table 43 of DS12992 Rev 4, and applies across the full –40°C to 85°C temperature range with 1.7–3.6 V supply.
Does the STM32G031C4U6 support hardware encryption or secure boot?
No - the STM32G031C4U6 does not include dedicated cryptographic accelerators (AES, PKA) or immutable secure boot ROM. It offers software-configurable readout protection (RDP), securable flash area, and 96-bit unique ID for firmware binding, but full secure boot requires external components or higher-series STM32G0 chips like G0B1.
Can the STM32G031C4U6 drive 5 V logic directly?
Yes - up to 24 GPIOs (PA0–PA15, PB0–PB1, PC0–PC7, PF0–PF1) are 5 V-tolerant when configured as inputs or open-drain outputs. However, output voltage swing is limited to VDD (max 3.6 V), so level-shifting is required for driving 5 V CMOS loads actively.
What debug interface does the STM32G031C4U6 use, and how many pins are required?
The STM32G031C4U6 uses Serial Wire Debug (SWD) with two mandatory pins: SWCLK and SWDIO. Optional SWO (serial wire output) enables trace functionality. This 2-pin interface is documented in Section 3.22.1 and reduces debug footprint versus JTAG while retaining full programming and real-time debugging capability.
STM32G031C4U6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 48-UFQFN Exposed Pad
- 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:
- 44
- 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 19x12b SAR
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G031C4U6 FAQ
1.How can I place an order for STM32G031C4U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G031C4U6 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 STM32G031C4U6 reliable?
The price and inventory of STM32G031C4U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G031C4U6 is usually 5 days.
3.What payment methods are accepted for STM32G031C4U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G031C4U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G031C4U6?
STM32G031C4U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G031C4U6 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 STM32G031C4U6?
For technical support, including STM32G031C4U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G031C4U6 requirements.
6.How does Aetrix verify that STM32G031C4U6 is sourced from the original manufacturer or authorized distributors?
All STM32G031C4U6 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 STM32G031C4U6 meets industry standards.
7.What is the process for return or replacement of STM32G031C4U6?
All STM32G031C4U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G031C4U6, 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 STM32G031C4U6 part is unused and in its original packaging.
Return procedure for STM32G031C4U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G031C4U6 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…
