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

- Shipping:

Inventory:3,661
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G031C6U6 from STMicroelectronics is an Arm® Cortex®-M0+ 32-bit microcontroller with 32 KB Flash, 8 KB SRAM, 44 GPIOs (5 V-tolerant), 12-bit ADC (0.4 µs conversion), and dual USARTs supporting LIN/IrDA/ISO7816 - deployed in industrial sensor nodes, smart metering front-ends, and low-power IoT edge controllers.
For engineers reviewing the STM32G031C6U6 datasheet, STM32G031C6U6 pinout, STM32G031C6U6 application, or STM32G031C6U6 equivalent, key selection criteria include operating voltage range (1.7–3.6 V), -40°C to 105°C extended temperature grade, integrated VREFBUF and RTC with alarm, and SWD debug support for rapid firmware validation.
Technical Context
The STM32G031C6U6 integrates an Arm Cortex-M0+ core running up to 64 MHz with MPU, hardware CRC unit, and memory protection features including securable flash area and SRAM parity checking. It supports boot from system memory, main flash, or SRAM with configurable reset vector mapping.
Its clock system combines four oscillators: 4–48 MHz HSE, 32 kHz LSE with calibration, 16 MHz HSI (±1%), and 32 kHz LSI (±5%), feeding a flexible PLL for precise peripheral timing. Power management includes programmable BOR, PVD, and five low-power modes (Sleep, Stop0/1, Standby, Shutdown) with sub-μA RTC retention current.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - enables real-time deterministic control in resource-constrained embedded systems. |
| Flash / SRAM | 32 KB Flash with readout protection + 8 KB SRAM with hardware parity - ensures code integrity and robust data handling. |
| ADC | 12-bit, 0.4 µs conversion time, up to 16 external channels - supports fast analog sensing in motor control or battery monitoring. |
| Timers | 11 timers including one 128 MHz-capable advanced timer, two low-power timers, and SysTick - enables PWM generation, time-stamped event capture, and ultra-low-power wakeups. |
| Communication | 2× I²C (Fast-mode Plus), 2× USART (LIN/IrDA/ISO7816), 2× SPI (32 Mbit/s), 1× LPUART - provides interoperability with legacy and modern peripherals across industrial buses. |
| Operating Voltage | 1.7–3.6 V supply range - allows direct integration with Li-ion, coin-cell, or 3.3 V logic domains without level-shifting. |
| Temperature Range | -40°C to +105°C - qualified for extended industrial environments including factory automation and outdoor metering. |
Pinout & Package
STM32G031C6U6 uses the UFQFPN28 (4 × 4 mm, 0.5 mm pitch) package with 28 pins, ECOPACK2-compliant and RoHS-verified. Pin functions are validated per ST's DS12992 Rev 4, Section 4 (Pin assignment and description).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Main power supply | 1.7–3.6 V input powering core, analog, and I/O domains; requires local 100 nF decoupling. |
| VSS | Ground reference | Digital ground plane connection; separate analog ground (VSSA) required for ADC stability. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts 1.65–5.5 V logic levels for robust system initialization. |
| PA0–PA15 | General-purpose I/O | Up to 16 5 V-tolerant pins mappable to EXTI, ADC, timers, or communication interfaces - simplifies mixed-voltage board design. |
| PA13/PA14 | SWD debug interface | Serial Wire Debug (SWDIO/SWCLK) pins - enables non-intrusive programming and real-time debugging without dedicated JTAG header. |
| VBAT | Backup power supply | Supplies RTC and backup registers during main power loss; supports coin-cell or supercapacitor backup. |
Key Features
| Feature | Design Value |
|---|---|
| Hardware CRC unit | Accelerates firmware image verification and data integrity checks without CPU overhead - critical for OTA updates. |
| Programmable BOR/PVD | Configurable brownout reset thresholds and voltage detection alerts - prevents erratic operation during brownout or battery sag. |
| VREFBUF | On-chip 2.048 V reference buffer with 10 µA sink/source capability - eliminates external reference IC for high-accuracy ADC measurements. |
| Calendar RTC | Real-time clock with alarm, periodic wakeup, and tamper detection - enables scheduled tasks and secure time-stamping in energy-harvested devices. |
| Low-power UART | LPUART operates in Stop mode at 32 kHz LSE clock - maintains asynchronous communication while consuming <1.5 µA, ideal for always-on sensors. |
Applications
| Industrial Sensor Node | Smart Energy Meter Front-End |
|---|---|
Use Scenario: Compact environmental monitor collecting temperature, humidity, and CO₂ via I²C sensors, transmitting data over RS-485 using USART with auto-baud detection. IC Role / Device Role / Timing Role: Central controller managing sensor polling, ADC sampling, protocol framing, and low-power sleep/wakeup scheduling. Use Value: Integrated 12-bit ADC with oversampling and 5 V-tolerant I/O eliminate signal conditioning components; Stop mode current of 0.32 µA extends battery life to >10 years. |
Use Scenario: Electricity meter sub-system measuring voltage/current via isolated sigma-delta ADCs, calculating kWh, and communicating via optical port or PLC. IC Role / Device Role / Timing Role: Real-time energy computation engine interfacing with metrology ICs via SPI and driving LCD via GPIOs. Use Value: Hardware CRC validates firmware updates; RTC with calendar alarm triggers tariff switching; VBAT-backed registers retain billing data during power outage. |
| IoT Edge Controller | Motor Drive Auxiliary MCU |
Use Scenario: Battery-powered gateway aggregating BLE/Zigbee sensor data, performing local filtering, and forwarding via cellular modem using LPUART. IC Role / Device Role / Timing Role: Protocol bridge and preprocessing unit handling packet assembly, encryption offload, and modem control. Use Value: Dual USARTs enable simultaneous modem and sensor interface; 64 MHz CPU handles lightweight TLS handshake; 32 KB Flash accommodates secure bootloader + application. |
Use Scenario: Brushless DC motor control board where STM32G031C6U6 manages gate driver sequencing, fault monitoring (overcurrent/overtemp), and CAN bus diagnostics. IC Role / Device Role / Timing Role: Safety-critical auxiliary controller supervising primary motor MCU and reporting faults via isolated UART. Use Value: Independent watchdog (IWDG) and window watchdog (WWDG) provide redundant safety layers; 128 MHz-capable TIM1 enables precise PWM dead-time insertion. |
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 calendar, no LPUART | Limited peripheral set; suitable only for cost-sensitive, non-time-critical control tasks | Select when footprint and BOM cost outweigh need for RTC, VREFBUF, or low-power comms. |
| STM32G041F8P6 | 20-pin TSSOP, 64 KB Flash, enhanced security (AES, RNG), USB 2.0 FS device | Includes cryptographic acceleration and USB interface - adds complexity and power draw | Choose when firmware signing, secure boot, or PC connectivity are mandatory requirements. |
Compared with STM32G030F6P6, the STM32G031C6U6 delivers higher integration (RTC, VREFBUF, LPUART) in a compact 28-pin QFN; versus STM32G041F8P6, it trades USB and crypto for lower cost and reduced active power - making it optimal for battery-operated industrial controllers requiring precision timing and analog sensing without host interface.
Availability
STM32G031C6U6 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart energy meter front-ends, and IoT edge controllers requiring stable component supply across multi-year production cycles.
Supply support for STM32G031C6U6 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, ultra-low-power embedded applications - delivering Cortex-M0+ performance with industrial-grade reliability, simplified toolchain support, and seamless migration from legacy 8-bit platforms.
FAQ
What is the maximum operating frequency of the STM32G031C6U6?
The STM32G031C6U6 runs its Arm Cortex-M0+ core at up to 64 MHz, achieved via internal PLL multiplication of the 16 MHz HSI oscillator or external crystal sources. This frequency is fully supported across the full 1.7–3.6 V supply range and -40°C to +105°C temperature grade, with timing verified per DS12992 Rev 4 Section 5.3.22.
Does the STM32G031C6U6 support hardware encryption or secure boot?
No - the STM32G031C6U6 does not include hardware AES, TRNG, or secure boot engines. It offers basic security features such as readout protection (RDP), securable flash area, and write protection, but lacks cryptographic accelerators found in the G041/G071 variants. Secure firmware updates require software-based implementations.
Can the STM32G031C6U6 drive 5 V logic inputs directly?
Yes - up to 16 GPIOs (PA0–PA15, PB0–PB1) are explicitly rated as 5 V-tolerant in DS12992 Rev 4 Section 5.3.14, accepting input voltages up to 5.5 V regardless of VDD level. This allows direct interfacing with legacy 5 V peripherals without external level shifters.
What debug interface does the STM32G031C6U6 use?
The STM32G031C6U6 uses Serial Wire Debug (SWD) via dedicated PA13 (SWDIO) and PA14 (SWCLK) pins. It does not support JTAG. SWD enables full programming, breakpoint setting, and real-time variable inspection using standard tools like ST-LINK/V2, OpenOCD, or SEGGER J-Link.
STM32G031C6U6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 48-UFQFN Exposed Pad
- Series:
- STM32G0
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- 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:
- 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 19x12b SAR
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G031C6U6 FAQ
1.How can I place an order for STM32G031C6U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G031C6U6 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 STM32G031C6U6 reliable?
The price and inventory of STM32G031C6U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G031C6U6 is usually 5 days.
3.What payment methods are accepted for STM32G031C6U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G031C6U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G031C6U6?
STM32G031C6U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G031C6U6 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 STM32G031C6U6?
For technical support, including STM32G031C6U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G031C6U6 requirements.
6.How does Aetrix verify that STM32G031C6U6 is sourced from the original manufacturer or authorized distributors?
All STM32G031C6U6 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 STM32G031C6U6 meets industry standards.
7.What is the process for return or replacement of STM32G031C6U6?
All STM32G031C6U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G031C6U6, 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 STM32G031C6U6 part is unused and in its original packaging.
Return procedure for STM32G031C6U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G031C6U6 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…
