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

- Shipping:

Inventory:2,370
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G031C8U6TR from STMicroelectronics is a 32-bit Arm® Cortex®-M0+ microcontroller with 64 KB Flash, 8 KB SRAM, 12-bit ADC (0.4 µs conversion), dual USARTs (one with LIN/ISO7816), and operating voltage range of 1.7–3.6 V. It integrates RTC with alarm, five-channel DMA, and low-power modes (Stop/Standby/Shutdown) for battery-powered sensor nodes and industrial control interfaces.
For engineers reviewing the STM32G031C8U6TR datasheet, STM32G031C8U6TR pinout, STM32G031C8U6TR application, or STM32G031C8U6TR equivalent, key selection criteria include its 48-pin UFQFPN package, 64 MHz max CPU frequency, 5 V-tolerant I/Os, hardware parity on SRAM, and securable flash area for firmware IP protection.
Technical Context
The device implements an Arm Cortex-M0+ core with Memory Protection Unit (MPU), supporting TrustZone-like isolation for secure boot and peripheral access control. Its clock system includes dual oscillators (4–48 MHz HSE + 32 kHz LSE), internal 16 MHz RC with ±1% accuracy, and PLL for precise system timing.
Peripheral interconnect uses a hierarchical AHB/APB bus matrix with configurable DMA request mapping. The 12-bit ADC supports hardware oversampling up to 16-bit resolution and features dedicated channels for temperature sensor, VREFINT, and VBAT monitoring - all calibrated at factory.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - enables real-time deterministic control in compact firmware footprint. |
| Flash / SRAM | 64 KB flash with securable area + 8 KB SRAM with HW parity - supports certified bootloader and error-detecting data buffers. |
| ADC | 12-bit, 0.4 µs conversion, 16 external channels - suitable for fast analog sensing in motor control feedback loops. |
| Timers | 11 timers including 128 MHz-capable advanced timer (TIM1), two low-power timers (LPTIM1/2) - enables PWM generation and ultra-low-power wake-up scheduling. |
| Communication | 2× I2C (Fast-mode Plus, 1 Mbit/s), 2× USART (LIN/ISO7816 capable), 2× SPI (32 Mbit/s) - meets automotive diagnostics and industrial fieldbus interface requirements. |
| Power Range | 1.7–3.6 V supply with BOR/PVD and Shutdown mode ≤100 nA - ensures operation across single-cell Li-ion and coin-cell battery systems. |
| Package | UFQFPN48 (7 × 7 mm, 0.5 mm pitch) - provides high I/O density in space-constrained PCB layouts while supporting reflow assembly. |
Pinout & Package
STM32G031C8U6TR is housed in a 48-pin Ultra-Fine Pitch Quad Flat No-lead (UFQFPN48) package with exposed thermal pad, compliant with ECOPACK2 environmental standards. Pin assignments follow ST's standard STM32G031x8 pinout for LQFP48/UFQFPN48 variants.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VDDA, VSS, VSSA | Power supply and ground | Dual-domain power pins enable independent analog/digital supply filtering and noise isolation. |
| PA0–PA15, PB0–PB15, PC13–PC15 | General-purpose I/O | Up to 44 GPIOs; multiple pins support 5 V-tolerant inputs and remappable EXTI/interrupt vectors. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts 1.65–5.5 V logic levels for robust system initialization. |
| BOOT0 | Boot mode selection | High at power-on selects system memory bootloader; controlled via external resistor or MCU pin during debug. |
| SYSCLK, SWDIO, SWCLK | Debug and clock interface | Serial Wire Debug (SWD) pins support full-speed programming and real-time trace without additional UART pins. |
Key Features
| Feature | Design Value |
|---|---|
| Secure Boot with ROP | Readout protection (ROP) Level 1/2 prevents unauthorized flash readout; securable flash area isolates cryptographic keys. |
| Low-Power RTC | Calendar RTC with alarm and periodic wakeup from Stop/Standby/Shutdown using VBAT - enables time-stamped logging in energy-harvested sensors. |
| Hardware CRC Unit | Dedicated CRC-32 engine accelerates firmware image verification and communication frame checksums without CPU overhead. |
| Temperature Sensor | Factory-calibrated internal sensor (±1.5°C accuracy) - eliminates external components for ambient/SoC thermal monitoring. |
| VREFBUF | Programmable 2.048 V / 2.5 V reference buffer with 100 µA sink/source - stabilizes ADC reference under varying load conditions. |
Applications
| Smart Metering Interface | Industrial PLC I/O Module |
|---|---|
Use Scenario: Bidirectional communication between meter ICs (e.g., metrology SoCs) and host controller via isolated RS-485 or M-Bus. IC Role / Device Role / Timing Role: Central MCU managing protocol translation (DLMS/COSEM), secure firmware updates, and tamper detection logic. Use Value: Hardware parity on SRAM and securable flash ensure data integrity and firmware authenticity in revenue-critical infrastructure. |
Use Scenario: DIN-rail mounted digital input/output expansion module with local logic execution and Modbus RTU over RS-485. IC Role / Device Role / Timing Role: Real-time I/O scheduler using LPTIM2 wakeup and TIM1 PWM for LED status indication and relay timing. Use Value: 5 V-tolerant GPIOs interface directly with 24 V industrial logic without level-shifter components. |
| Wireless Sensor Node Hub | Medical Diagnostic Handheld |
Use Scenario: BLE/Wi-Fi co-processor hub aggregating data from analog front-ends (ECG, temp, motion) before wireless transmission. IC Role / Device Role / Timing Role: ADC manager with hardware oversampling and DMA-driven data buffering to minimize host CPU load. Use Value: Shutdown mode current <100 nA extends coin-cell life beyond 5 years in always-on monitoring applications. |
Use Scenario: Portable diagnostic tool with touch UI, battery gauge, and USB-C CDC interface for PC connectivity. IC Role / Device Role / Timing Role: System controller handling USB enumeration, button debouncing, and VBAT-backed RTC for timestamped patient records. Use Value: Integrated ISO7816 USART supports secure element communication for HIPAA-compliant data encryption keys. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G030F6P6TR | 20-pin TSSOP, 32 KB Flash, no VREFBUF, no RTC calendar, no securable flash area | Limited to cost-sensitive, non-secure, low-I/O count applications like simple LED drivers or fan controllers | Select when board space and BOM cost outweigh need for security, RTC, or analog precision. |
| NXP LPC804M101JDH20 | ARM Cortex-M0+, 32 KB Flash, 8 KB SRAM, no securable area, no hardware parity, 10-bit ADC only | Suitable for basic control tasks but lacks certified secure boot, VBAT RTC, and ADC oversampling capability | Prefer only if existing NXP toolchain investment or specific peripheral compatibility (e.g., SCTimer) is required. |
Compared with STM32G031C8U6TR, the STM32G030F6P6TR sacrifices security, precision analog, and real-time calendar functions for lower cost and smaller footprint, while the LPC804M101JDH20 offers comparable entry-level performance but lacks hardware-based safety and measurement features critical for certified medical or utility-grade designs.
Availability
STM32G031C8U6TR is available at Aetrix Electronics and suitable for smart metering interfaces, industrial PLC I/O modules, wireless sensor node hubs, and medical diagnostic handhelds requiring stable component supply across multi-year production cycles.
Supply support for STM32G031C8U6TR 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, specializing in microcontrollers, power management, and MEMS sensors for industrial, automotive, and consumer markets.
This part belongs to the STM32G0 series - ST's entry-level Arm Cortex-M0+ portfolio designed for cost-sensitive, low-power, and secure embedded applications where code size efficiency and peripheral integration are prioritized over raw performance.
FAQ
What is the maximum operating frequency and supported voltage range?
The STM32G031C8U6TR operates at up to 64 MHz with a supply voltage range of 1.7 V to 3.6 V. Its internal 16 MHz RC oscillator has ±1% accuracy at 25°C and is usable without external components; the PLL allows scaling to full 64 MHz. Voltage regulation includes programmable brownout reset (BOR) and voltage detector (PVD) thresholds for reliable startup and brownout recovery.
Does this MCU support secure firmware updates and code protection?
Yes - it features Readout Protection (ROP) Levels 1 and 2, a securable flash area for isolating cryptographic keys or bootloader code, and hardware CRC-32 acceleration for firmware image validation. These capabilities enable secure over-the-air (OTA) update mechanisms compliant with IEC 62443-3-3 requirements for industrial devices.
Can the ADC measure internal temperature and supply voltage?
Yes - the integrated 12-bit ADC supports dedicated channels for the factory-calibrated temperature sensor (TS), internal voltage reference (VREFINT), and VBAT battery monitoring. Calibration values for TS and VREFINT are stored in system memory and accessible at runtime to achieve ±1.5°C temperature accuracy and <1% VDDA measurement precision.
What debug interface does STM32G031C8U6TR use, and is SWD supported?
It uses Serial Wire Debug (SWD) via dedicated SWDIO and SWCLK pins - no JTAG header required. SWD supports full-speed programming, real-time variable inspection, and hardware breakpoints. The device also supports single-wire output (SWO) for printf-style debugging through the SWO pin when enabled in the debug configuration.
STM32G031C8U6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 48-UFQFN Exposed Pad
- Series:
- STM32G0
- Packaging:
- Tape & Reel (TR)
- 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:
- 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 19x12b SAR
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G031C8U6TR FAQ
1.How can I place an order for STM32G031C8U6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G031C8U6TR 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 STM32G031C8U6TR reliable?
The price and inventory of STM32G031C8U6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G031C8U6TR is usually 5 days.
3.What payment methods are accepted for STM32G031C8U6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G031C8U6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G031C8U6TR?
STM32G031C8U6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G031C8U6TR 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 STM32G031C8U6TR?
For technical support, including STM32G031C8U6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G031C8U6TR requirements.
6.How does Aetrix verify that STM32G031C8U6TR is sourced from the original manufacturer or authorized distributors?
All STM32G031C8U6TR 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 STM32G031C8U6TR meets industry standards.
7.What is the process for return or replacement of STM32G031C8U6TR?
All STM32G031C8U6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM32G031C8U6TR, 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 STM32G031C8U6TR part is unused and in its original packaging.
Return procedure for STM32G031C8U6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G031C8U6TR 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…
