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

- Shipping:

Inventory:1,630
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32C031G6U7TR from STMicroelectronics is a 32-bit Arm® Cortex®-M0+ microcontroller in UFQFPN28 package, featuring 32 KB flash, 12 KB SRAM with hardware parity, 48 MHz max CPU frequency, and integrated 12-bit ADC (0.4 µs conversion), two USARTs (one with LIN/ISO7816), I²C Fast-mode Plus (1 Mbit/s), and SPI (24 Mbit/s). It targets cost-sensitive industrial control, smart sensors, and power management modules requiring robust low-power operation down to Shutdown mode.
For engineers reviewing the STM32C031G6U7TR datasheet, STM32C031G6U7TR pinout, STM32C031G6U7TR application, or STM32C031G6U7TR equivalent, key selection criteria include its 5 V-tolerant GPIOs, calibrated 32 kHz LSE oscillator, programmable brownout reset (BOR), CRC calculation unit, and SWD debug interface - all validated for -40°C to 125°C extended temperature operation.
Technical Context
The device integrates an Arm Cortex-M0+ core with MPU, supporting memory protection and deterministic real-time execution. Its clock system combines four oscillators: 4–48 MHz HSE, 32 kHz LSE with calibration, 48 MHz HSI48 (±1%), and 32 kHz LSI (±5%), enabling precise timing across operating modes.
Peripheral interconnect uses a hierarchical AHB/APB bus matrix with DMA controller (3 channels, flexible mapping) and NVIC with 32 interrupt lines. Analog subsystem includes temperature sensor, VREFINT, and ADC with up to 19 external channels and 0–3.6 V input range - all accessible without external components.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 48 MHz max - enables deterministic real-time control with <10 ns interrupt latency. |
| Flash / RAM | 32 KB flash with readout protection; 12 KB SRAM with hardware parity - ensures code integrity and runtime data reliability. |
| ADC | 12-bit, 0.4 µs conversion time, 19-channel multiplexed input - supports high-speed sensor sampling in motor feedback or battery monitoring. |
| Communication | 2× USART (1 with LIN/ISO7816), 1× I²C Fast-mode Plus (1 Mbit/s), 1× SPI (24 Mbit/s) - enables multi-protocol connectivity in industrial gateways. |
| Timers | 8 timers: 1× advanced-control (TIM1), 4× general-purpose (16-bit), 2× watchdogs, SysTick - provides PWM generation, pulse counting, and safety-critical timeout supervision. |
| Power Modes | Run, Sleep, Stop, Standby, Shutdown - achieves 100 nA shutdown current, critical for battery-powered endpoint devices. |
| Operating Temp | -40°C to 125°C - qualified for under-hood automotive sensors and industrial PLC I/O modules. |
Pinout & Package
STM32C031G6U7TR is housed in a 28-pin UFQFPN (4 × 4 mm, 0.5 mm pitch) package with exposed thermal pad. Pin functions are defined per STM32C031GxU pinout (Figure 4, DS13867 Rev 4).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply / ground | Dual 2.0–3.6 V supply domain with internal regulator; supports single-supply operation with decoupling on each VDD pin. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts 5 V-tolerant logic for compatibility with legacy control signals. |
| PA0–PA15, PB0–PB11, PC13–PC15 | General-purpose I/O | All 45 pins 5 V-tolerant, mappable to EXTI; enable direct interfacing with 5 V logic without level shifters. |
| PA2/PA3, PA9/PA10, PB6/PB7 | USART TX/RX, I²C SCL/SDA | Dedicated alternate functions with Fast-mode Plus I²C sink (up to 3 mA) and USART auto-baud detection - simplifies peripheral integration. |
| PA4–PA7, PB0–PB1 | ADC inputs | 12-bit ADC channel mapping with internal VREFINT reference - eliminates need for external voltage reference in precision sensing. |
Key Features
| Feature | Design Value |
|---|---|
| Calibrated 32 kHz LSE oscillator | Enables RTC accuracy within ±10 ppm over -40°C to 85°C - suitable for time-stamped event logging without external crystal. |
| Programmable BOR levels | Four selectable thresholds (2.0/2.2/2.4/2.7 V) - prevents erratic operation during brownout conditions in unregulated power supplies. |
| SWD debug interface | Single-wire serial wire debug with full memory access and real-time trace - reduces PCB footprint vs JTAG while retaining full development visibility. |
| Hardware CRC unit | Dedicated 32-bit CRC engine supporting multiple polynomials - accelerates firmware update validation and communication packet integrity checks. |
| 5 V-tolerant I/Os | All 45 GPIOs withstand 5.5 V input - allows direct connection to legacy 5 V peripherals and simplifies mixed-voltage system design. |
Applications
| Industrial Motor Control | Smart Sensor Node |
|---|---|
Use Scenario: Compact BLDC motor driver with hall-effect feedback and overcurrent protection. IC Role / Device Role / Timing Role: Real-time PWM generation via TIM1, ADC sampling of phase currents, and UART-based diagnostics. Use Value: 48 MHz CPU + 0.4 µs ADC enables 20 kHz PWM carrier with sub-microsecond current loop response. |
Use Scenario: Battery-powered environmental sensor aggregating temperature, humidity, and CO₂ readings. IC Role / Device Role / Timing Role: Low-power scheduler managing sensor polling, RTC wake-up, and BLE data burst transmission. Use Value: 100 nA Shutdown current extends 2000 mAh battery life to >10 years in sleep-dominated duty cycles. |
| Power Supply Monitor | Home Appliance UI Controller |
Use Scenario: AC/DC adapter with output voltage/current telemetry and fault logging. IC Role / Device Role / Timing Role: ADC measurement of isolated feedback signals, BOR-triggered fault capture, and EEPROM-less event logging via flash wear leveling. Use Value: Hardware parity on 12 KB SRAM prevents corrupted telemetry buffers during line transients. |
Use Scenario: Touch-enabled washing machine control panel with LED indicators and buzzer feedback. IC Role / Device Role / Timing Role: GPIO-driven capacitive touch sensing, PWM dimming of status LEDs, and synchronous SPI driving OLED display. Use Value: 5 V-tolerant I/Os interface directly with 5 V touch IC and display drivers, eliminating level-shifter components. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32C011F4U6TR | 16 KB flash, 6 KB SRAM, no RTC calendar, 20-pin TSSOP package | Lacks calendar RTC and has fewer GPIOs - insufficient for time-stamped logging or multi-sensor aggregation | Select when board space and BOM cost are primary constraints and RTC/calendar functionality is unnecessary. |
| STM32G031F8P6 | 64 KB flash, 12 KB SRAM, USB 2.0 FS, higher ESD rating (±4 kV HBM) | Includes USB PHY and enhanced ESD - adds silicon cost and layout complexity for non-USB use cases | Choose only if native USB device interface or higher ESD immunity is required in final product environment. |
Compared with STM32C011F4U6TR, STM32C031G6U7TR delivers 2× flash, calendar RTC, and 28-pin routing flexibility; versus STM32G031F8P6, it avoids USB overhead while maintaining identical analog/peripheral feature set and lower unit cost.
Availability
STM32C031G6U7TR is available at Aetrix Electronics and suitable for industrial motor control, smart sensor nodes, power supply monitors, and home appliance UI controllers requiring stable component supply across long-lifecycle production programs.
Supply support for STM32C031G6U7TR 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, and MEMS sensors for industrial, automotive, and consumer markets.
The STM32C0 series targets cost-optimized, high-reliability embedded applications - specifically engineered for entry-level industrial control, smart actuators, and energy-efficient IoT endpoints where flash size, temperature range, and 5 V tolerance are decisive.
FAQ
What is the maximum operating frequency and associated voltage range for STM32C031G6U7TR?
The STM32C031G6U7TR operates at up to 48 MHz across its full 2.0–3.6 V supply range. At 2.0 V, maximum frequency is 24 MHz; at 2.4 V and above, full 48 MHz operation is guaranteed per DS13867 Rev 4 Section 5.3.1. This scaling enables dynamic voltage/frequency optimization in battery-powered designs.
Does STM32C031G6U7TR support hardware encryption or secure boot features?
No. The STM32C031G6U7TR does not integrate hardware cryptographic accelerators (AES, SHA, PKA) or secure boot ROM. It provides readout protection (RDP) Level 1 and Level 2, but lacks tamper detection, secure key storage, or bootloader authentication - making it unsuitable for applications requiring FIPS 140-2 or PSA Level 2 compliance.
Can the internal 48 MHz RC oscillator be used as the system clock source without external components?
Yes. The HSI48 oscillator is factory-trimmed to ±1% accuracy and can serve as the main system clock without crystals or capacitors. It supports automatic calibration against the LSE (32 kHz) for improved long-term stability, and is the default clock source after reset per Section 3.9 of DS13867 Rev 4.
What is the minimum supply current in Shutdown mode, and what peripherals remain active?
In Shutdown mode, supply current is 100 nA typical at 25°C (Section 5.3.34, DS13867 Rev 4). Only the reset circuit and wakeup logic (via WKUP pins or RTC alarm) remain functional; all clocks, SRAM, and peripherals are powered off. No ADC, timers, or communication interfaces operate in this state.
STM32C031G6U7TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 28-UFQFN
- Series:
- STM32C0
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Active
- Programmable:
- -
- Core Processor:
- ARM® Cortex®-M0+
- Core Size:
- 32-Bit
- Speed:
- 48MHz
- Connectivity:
- I2C, IrDA, LINbus, SMBus, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, DMA, LCD, POR, PWM, WDT
- Number of I/O:
- 26
- Program Memory Size:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 12K x 8
- Voltage - Supply (Vcc/Vdd):
- 2V ~ 3.6V
- Data Converters:
- A/D 17x12b SAR
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32C031G6U7TR FAQ
1.How can I place an order for STM32C031G6U7TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32C031G6U7TR 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 STM32C031G6U7TR reliable?
The price and inventory of STM32C031G6U7TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32C031G6U7TR is usually 5 days.
3.What payment methods are accepted for STM32C031G6U7TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32C031G6U7TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32C031G6U7TR?
STM32C031G6U7TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32C031G6U7TR 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 STM32C031G6U7TR?
For technical support, including STM32C031G6U7TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32C031G6U7TR requirements.
6.How does Aetrix verify that STM32C031G6U7TR is sourced from the original manufacturer or authorized distributors?
All STM32C031G6U7TR 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 STM32C031G6U7TR meets industry standards.
7.What is the process for return or replacement of STM32C031G6U7TR?
All STM32C031G6U7TR units undergo pre-shipment inspection (PSI). If there is an issue with STM32C031G6U7TR, 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 STM32C031G6U7TR part is unused and in its original packaging.
Return procedure for STM32C031G6U7TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32C031G6U7TR 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…

