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

- Shipping:

Inventory:7,040
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32C031G4U6 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, 12-bit 0.4 µs ADC (19 channels), and dual USARTs with LIN/ISO7816 support. It targets cost-sensitive industrial control, smart sensors, and low-power IoT edge nodes requiring robust analog integration and 5 V-tolerant I/Os.
For engineers reviewing the STM32C031G4U6 datasheet, STM32C031G4U6 pinout, STM32C031G4U6 application, or STM32C031G4U6 equivalent, key selection criteria include its 28-pin UFQFPN footprint, 2–3.6 V supply range, integrated CRC unit, programmable BOR, and SWD debug interface - all validated for operation up to 125°C ambient.
Technical Context
The STM32C031G4U6 integrates an Arm Cortex-M0+ core with MPU, supporting deterministic real-time execution at up to 48 MHz. Its memory subsystem includes 32 KB of flash with readout protection and 12 KB of SRAM with hardware parity checking - enabling safety-critical firmware integrity verification.
Clock architecture combines four sources: 4–48 MHz HSE, 32 kHz LSE with calibration, 48 MHz HSI48 (±1%), and 32 kHz LSI (±5%). Peripheral interconnect uses a multi-layer AHB/APB matrix, allowing concurrent DMA transfers across ADC, timers, and communication interfaces without CPU intervention.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+ @ up to 48 MHz - delivers deterministic interrupt latency and low-power real-time control for motor drives and sensor fusion. |
| Memory | 32 KB flash (with protection) + 12 KB SRAM (with hardware parity) - supports secure boot and ECC-free RAM error detection in safety-aware designs. |
| ADC | 12-bit, 0.4 µs conversion time, up to 19 external channels - enables high-speed sampling of multiple analog sensors (e.g., temperature, current, voltage) in compact systems. |
| Timers | Eight timers: one advanced-control (TIM1), four general-purpose (TIM3/14/16/17), two watchdogs (IWDG/WWDG), SysTick - provides PWM generation, encoder input, pulse counting, and fail-safe timeout monitoring. |
| Communication | Two USARTs (one with LIN/ISO7816/IrDA), one I²C (Fast-mode Plus, 1 Mbit/s), one SPI (24 Mbit/s, multiplexed with I²S) - supports automotive diagnostics, industrial fieldbus, and audio peripheral interfacing. |
| I/O | Up to 45 fast I/Os, all 5 V-tolerant and mappable to external interrupts - simplifies level-shifting in mixed-voltage systems and enables direct connection to legacy 5 V peripherals. |
| Power Management | Supply range 2.0–3.6 V; low-power modes (Sleep, Stop, Standby, Shutdown); programmable BOR - extends battery life in portable devices while maintaining reliable reset behavior across voltage transients. |
Pinout & Package
STM32C031G4U6 is housed in a 28-pin Ultra-Fine Pitch Quad Flat No-lead (UFQFPN28) package, 4 mm × 4 mm, 0.5 mm pitch, with exposed thermal pad. This compact, RoHS-compliant ECOPACK2 package supports high-density PCB layouts and efficient thermal dissipation in space-constrained applications.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Core & I/O power supply | 2.0–3.6 V main supply; decoupling required per datasheet layout guidelines to ensure stable operation under dynamic load. |
| VSS | Ground reference | Digital ground plane connection; separate analog/digital grounding recommended for ADC accuracy. |
| NRST | Active-low reset input | Asynchronous reset pin with internal pull-up; accepts external push-button or supervisor IC assertion for system recovery. |
| PA0–PA15 | General-purpose I/O bank A | 5 V-tolerant; configurable as GPIO, ADC_INx, TIMx_CHy, USARTx_TX/RX, I²C1_SCL/SDA - enables flexible peripheral mapping without external logic. |
| PB0–PB1 | General-purpose I/O bank B | 5 V-tolerant; supports ADC_INx, TIMx_CHy, USARTx_CK, SPIx_NSS - used for clocked serial interfaces and analog inputs. |
| BOOT0 | Boot mode selection | High at power-on selects system memory bootloader; tied low for normal flash execution - critical for firmware update reliability. |
Key Features
| Feature | Design Value |
|---|---|
| Hardware CRC unit | Accelerates firmware image checksum validation and data packet integrity checks - reduces CPU overhead in OTA updates and communication stacks. |
| Programmable brownout reset (BOR) | Three selectable thresholds (2.1/2.4/2.7 V) - prevents erratic operation during brownout conditions without external supervisor IC. |
| Calendar RTC with alarm | Independent 32.768 kHz clock domain with wake-up capability from Stop mode - enables time-stamped logging and scheduled low-power wake events. |
| 3-channel DMA controller | Flexible peripheral-to-memory and memory-to-peripheral transfers - offloads CPU during ADC sampling bursts or UART data streaming. |
| Temperature sensor & VREFINT | Calibrated on-chip temperature sensor (±1.5°C accuracy) and internal voltage reference (1.21 V ±1%) - eliminates need for external sensing components in thermal monitoring. |
Applications
| Industrial Motor Control | Smart Sensor Node |
|---|---|
Use Scenario: Brushless DC motor commutation in HVAC blowers and small pumps using hall-effect or back-EMF sensing. IC Role / Device Role / Timing Role: Real-time PWM generation via TIM1, ADC-based current sensing, and USART-based diagnostic reporting. Use Value: Integrated advanced timer and 12-bit ADC enable precise phase current measurement and closed-loop speed regulation within a single 4×4 mm package. |
Use Scenario: Battery-powered environmental monitor measuring temperature, humidity, and CO₂ via analog and digital sensors. IC Role / Device Role / Timing Role: Low-power system orchestrator managing sensor polling, data aggregation, and BLE/Wi-Fi module wake-up via USART or SPI. Use Value: Standby mode current <1 µA and RTC alarm wake-up allow multi-year battery life while maintaining accurate timestamping and event scheduling. |
| Automotive Body Electronics | Consumer Appliance Control |
Use Scenario: LIN bus node for seat position memory, mirror adjustment, or lighting control in entry-level vehicles. IC Role / Device Role / Timing Role: LIN physical layer interface via USART1 with auto-baud rate detection and ISO7816-compatible framing. Use Value: Single-chip LIN slave implementation eliminates external transceiver, reducing BOM count and PCB area in cost-sensitive automotive modules. |
Use Scenario: Washing machine main control board handling user interface, motor drive, water level sensing, and fault diagnostics. IC Role / Device Role / Timing Role: Central MCU executing state machine, driving triac/relay outputs, reading potentiometers and pressure sensors via ADC. Use Value: 5 V-tolerant I/Os interface directly with legacy appliance sensors and actuators; hardware parity on SRAM ensures runtime data integrity during long operational cycles. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32C011F4U6 | 20-pin TSSOP, 16 KB flash, no RTC, no temperature sensor | Limited peripheral count and no calendar timekeeping; suitable only for simpler timing or I/O-centric tasks | Select when board space allows TSSOP and RTC/temperature sensing are unnecessary - lower cost but reduced feature set. |
| STM32G031F6P6 | LQFP32 package, 64 KB flash, 12 KB SRAM, USB 2.0 FS, higher ESD rating (±4 kV HBM) | Includes USB device interface and enhanced robustness; requires larger footprint and additional USB layout considerations | Choose when host connectivity or higher ESD immunity is mandatory - trades compactness for expanded interface capability. |
Compared with STM32C011F4U6, the STM32C031G4U6 adds RTC, temperature sensor, and 16 KB more flash in the same 28-pin form factor; versus STM32G031F6P6, it sacrifices USB and extra flash for smaller size and lower system-level EMI susceptibility in noise-sensitive analog environments.
Availability
STM32C031G4U6 is available at Aetrix Electronics and suitable for industrial motor control, smart sensor nodes, automotive body electronics, and consumer appliance control requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for STM32C031G4U6 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, sensors, and analog products for industrial, automotive, and consumer markets.
The STM32C0 series targets cost-optimized, high-integration microcontrollers for entry-level embedded applications - emphasizing compact packaging, low active/standby power, and rich analog/motor control peripherals without sacrificing Arm ecosystem compatibility.
FAQ
What is the maximum operating temperature for STM32C031G4U6?
The STM32C031G4U6 is rated for operation from –40°C to +125°C ambient temperature, verified per ST's production data sheet DS13867 Rev 4. This extended grade supports deployment in under-hood automotive modules, industrial drives, and outdoor sensor enclosures without derating.
Does STM32C031G4U6 support in-circuit debugging?
Yes - it features Serial Wire Debug (SWD) interface compliant with ARM CoreSight standards, accessible via dedicated SWCLK and SWDIO pins. No JTAG header is required; full halt-mode debugging, register inspection, and flash programming are supported using ST-LINK v2/v3 tools.
Can STM32C031G4U6 operate from a single 3.3 V supply?
Yes - its specified supply range is 2.0 V to 3.6 V, making 3.3 V nominal operation fully compliant. The internal voltage regulator supplies core logic, and all I/Os remain 5 V-tolerant regardless of VDD level, enabling safe interfacing with 5 V peripherals.
Is the UFQFPN28 package lead-free and RoHS-compliant?
Yes - the STM32C031G4U6 uses an ECOPACK2-compliant UFQFPN28 package, meeting RoHS Directive 2011/65/EU and REACH SVHC requirements. Lead-free soldering profiles follow JEDEC J-STD-020, with peak reflow temperature up to 260°C.
STM32C031G4U6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 28-UFQFN
- Series:
- STM32C0
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- ARM® Cortex®-M0+
- Core Size:
- 32-Bit
- Speed:
- 48MHz
- Connectivity:
- I2C, IrDA, LINbus, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
- Number of I/O:
- 26
- Program Memory Size:
- 16KB (16K 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 ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32C031G4U6 FAQ
1.How can I place an order for STM32C031G4U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32C031G4U6 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 STM32C031G4U6 reliable?
The price and inventory of STM32C031G4U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32C031G4U6 is usually 5 days.
3.What payment methods are accepted for STM32C031G4U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32C031G4U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32C031G4U6?
STM32C031G4U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32C031G4U6 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 STM32C031G4U6?
For technical support, including STM32C031G4U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32C031G4U6 requirements.
6.How does Aetrix verify that STM32C031G4U6 is sourced from the original manufacturer or authorized distributors?
All STM32C031G4U6 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 STM32C031G4U6 meets industry standards.
7.What is the process for return or replacement of STM32C031G4U6?
All STM32C031G4U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32C031G4U6, 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 STM32C031G4U6 part is unused and in its original packaging.
Return procedure for STM32C031G4U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32C031G4U6 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…
