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

- Shipping:

Inventory:3,212
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32C031G6U6 from STMicroelectronics is a 32-bit Arm® Cortex®-M0+ microcontroller with 32 KB flash, 12 KB SRAM, 48 MHz max CPU frequency, 12-bit ADC (0.4 µs conversion), and dual USARTs supporting LIN/IrDA/ISO7816 - deployed in industrial sensor nodes and smart metering front-ends requiring low-power operation and robust serial communication.
For engineers reviewing the STM32C031G6U6 datasheet, STM32C031G6U6 pinout, STM32C031G6U6 application, or STM32C031G6U6 equivalent, key selection criteria include operating voltage range (2.0–3.6 V), 5 V-tolerant I/O count (up to 45), embedded CRC unit, hardware parity on SRAM, and support for Stop/Standby/Shutdown low-power modes with sub-µA retention current.
Technical Context
The STM32C031G6U6 integrates an Arm Cortex-M0+ core with MPU, enabling memory protection for real-time deterministic execution in safety-aware edge devices. It features dual clock domains: a high-speed 48 MHz HSI oscillator (±1 %) and a calibrated 32 kHz LSE for RTC, both supporting automatic clock switching during low-power transitions.
Its peripheral interconnect uses a hierarchical AHB/APB bus matrix with DMA request multiplexing, allowing concurrent ADC sampling, SPI transfers, and UART transmission without CPU intervention - critical for battery-powered data loggers requiring simultaneous analog acquisition and wireless telemetry.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 48 MHz max - enables real-time control loops with <100 ns interrupt latency for motor commutation or PWM timing. |
| Flash / RAM | 32 KB flash with readout protection + 12 KB SRAM with hardware parity - supports secure firmware updates and fault-tolerant data buffering. |
| ADC | 12-bit, 0.4 µs conversion time, up to 19 external channels - delivers 1 MSPS sampling for multi-sensor monitoring in HVAC controllers. |
| Communication | 2× USART (1 with ISO7816/LIN/IrDA), 1× I²C (Fast-mode Plus, 1 Mbit/s), 1× SPI (24 Mbit/s) - enables interoperability with smart cards, automotive LIN buses, and high-speed sensors. |
| Power Modes | Sleep/Stop/Standby/Shutdown with wake-up from GPIO, RTC alarm, or USART event - achieves <100 nA shutdown current for >10-year battery life in IoT endpoints. |
| I/O Voltage | 5 V-tolerant on all 45 fast I/Os - eliminates level-shifting components when interfacing with legacy 5 V peripherals like optocouplers or discrete logic. |
| Clock Sources | 4–48 MHz HSE crystal, 32 kHz LSE with calibration, 48 MHz HSI (±1 %), 32 kHz LSI (±5 %) - provides precise timing for RTC and jitter-free USB-less communication without external oscillators. |
Pinout & Package
STM32C031G6U6 is housed in a 28-pin UFQFPN (4 × 4 mm, 0.5 mm pitch) package with exposed thermal pad, optimized for compact PCB layouts and thermal dissipation in space-constrained industrial modules.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual power domain: VDD powers digital/analog circuits; separate VSS pins reduce noise coupling in mixed-signal operation. |
| PA0–PA15, PB0–PB15, PC13–PC15, PF0–PF1 | General-purpose I/O | All 45 pins support external interrupt, alternate functions, and 5 V tolerance - simplifies board-level ESD protection and interface flexibility. |
| NRST | Active-low reset input | Accepts 1.65–5.5 V logic; internal pull-up ensures reliable startup after brownout or power sequencing. |
| BOOT0 | Boot mode selection | High at power-on forces system memory boot (for DFU); tied low via 10 kΩ resistor for normal flash execution. |
| OSC_IN / OSC_OUT | HSE crystal interface | Supports 4–48 MHz quartz; internal load capacitors eliminate need for external caps in cost-sensitive designs. |
| VREF+ / VREF− | ADC reference inputs | Allow external precision reference or internal VREFINT (1.21 V ±1.5 %) for stable 12-bit conversions across temperature. |
Key Features
| Feature | Design Value |
|---|---|
| Hardware CRC unit | Accelerates firmware integrity checks and OTA update validation in under 1 µs per 32-bit word - essential for secure remote device management. |
| Programmable BOR | Four threshold levels (1.6–2.5 V) enable adaptive brownout detection aligned with battery discharge curves in portable equipment. |
| Temperature sensor | Calibrated ±1.5 °C accuracy over −40 to 125 °C - enables on-chip thermal monitoring without external ICs in motor drives or power supplies. |
| Advanced-control timer (TIM1) | 16-bit with complementary outputs, dead-time insertion, and break input - supports three-phase inverter control with <100 ns timing resolution. |
| Calendar RTC with alarm | Retains time/date in Standby mode using LSE; alarm wakes CPU within 5 µs - ideal for scheduled sensor polling in energy-harvesting systems. |
Applications
| Industrial Sensor Node | Smart Energy Meter |
|---|---|
Use Scenario: Battery-powered environmental monitor collecting temperature, humidity, and CO₂ via I²C sensors and transmitting data via LoRaWAN gateway. IC Role / Device Role / Timing Role: Central controller managing sensor polling, ADC sampling, data encryption, and low-power radio wake-up scheduling. Use Value: 45 5 V-tolerant I/Os simplify direct connection to legacy sensors; Stop mode current <1.5 µA extends 10-year battery life. | Use Scenario: DIN-rail mounted electricity meter measuring voltage/current harmonics and communicating via RS-485 with utility backend. IC Role / Device Role / Timing Role: Real-time energy calculation engine with ISO7816-compliant USART for secure metrology certification and tamper logging. Use Value: Dual USARTs allow simultaneous RS-485 master and secure smart card interface; hardware parity prevents corrupted billing data. |
| Motor Control Module | IoT Edge Gateway |
Use Scenario: Brushless DC motor driver for HVAC blower, implementing field-oriented control with Hall-effect feedback. IC Role / Device Role / Timing Role: Precision PWM generator with TIM1 advanced timer, ADC synchronized sampling, and fault protection via break input. Use Value: 16-bit advanced timer with dead-time insertion ensures safe gate drive; 12-bit ADC captures current ripple at 1 MSPS for torque regulation. | Use Scenario: Cellular-connected gateway aggregating BLE sensor data from factory floor assets and forwarding to cloud via MQTT. IC Role / Device Role / Timing Role: Protocol translator and security enforcer handling BLE stack offload, TLS handshake acceleration, and secure key storage. Use Value: 32 KB flash accommodates dual-application image for A/B firmware updates; CRC unit validates encrypted payloads before decryption. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32C011F4U6 | 16 KB flash, 6 KB SRAM, no RTC calendar, single USART | Limited memory and peripheral set - suitable only for ultra-low-cost sensor endpoints without time-stamping or dual-serial needs. | Select when BOM cost reduction outweighs future firmware scalability and real-time scheduling requirements. |
| STM32G031F6P6 | 64 MHz Cortex-M0+, 32 KB flash, 12 KB SRAM, same pinout but LQFP32 package | Higher performance and identical feature set, but larger footprint and no 5 V-tolerant I/Os | Choose for designs needing higher CPU throughput where PCB area allows LQFP32 and 5 V interfaces are absent. |
Compared with STM32C011F4U6, STM32C031G6U6 adds RTC, second USART, and full 5 V-tolerance - making it superior for time-critical industrial comms. Versus STM32G031F6P6, it trades speed for ruggedness and compactness, excelling in space- and voltage-constrained edge nodes.
Availability
STM32C031G6U6 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart energy meters, motor control modules, and IoT edge gateways requiring stable component supply across extended product lifecycles.
Supply support for STM32C031G6U6 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-sensitive, resource-constrained embedded applications demanding high reliability, low power, and rapid time-to-market - with emphasis on industrial automation, smart metering, and appliance control.
FAQ
What is the maximum operating temperature for STM32C031G6U6?
The STM32C031G6U6 is rated for operation from −40 °C to 125 °C ambient temperature, validated per JEDEC JESD22-A108. This extended grade supports deployment in harsh environments such as motor drives, power converters, and outdoor metering enclosures without derating.
Does STM32C031G6U6 support USB connectivity?
No, the STM32C031G6U6 does not integrate a USB peripheral. It relies on USART-based protocols (e.g., virtual COM port over UART-to-USB bridge ICs) for host communication. For native USB, consider STM32G0 or STM32F0 series variants.
Can the internal 48 MHz RC oscillator be used for precise timing-critical applications?
Yes - the HSI48 oscillator is factory-trimmed to ±1 % accuracy across voltage and temperature, and supports automatic calibration against LSE or external clock sources. It meets timing requirements for UART baud rates up to 1 Mbps and SPI clocks up to 24 MHz without external crystals.
How many independent PWM channels does STM32C031G6U6 support?
The device supports up to 12 independent PWM outputs: 6 from TIM1 (advanced timer with complementary pairs), and 2 each from TIM3, TIM14, TIM16, and TIM17 (general-purpose timers). All channels support programmable resolution, dead-time insertion (TIM1 only), and synchronization triggers.
STM32C031G6U6 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:
- 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 ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32C031G6U6 FAQ
1.How can I place an order for STM32C031G6U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32C031G6U6 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 STM32C031G6U6 reliable?
The price and inventory of STM32C031G6U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32C031G6U6 is usually 5 days.
3.What payment methods are accepted for STM32C031G6U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32C031G6U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32C031G6U6?
STM32C031G6U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32C031G6U6 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 STM32C031G6U6?
For technical support, including STM32C031G6U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32C031G6U6 requirements.
6.How does Aetrix verify that STM32C031G6U6 is sourced from the original manufacturer or authorized distributors?
All STM32C031G6U6 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 STM32C031G6U6 meets industry standards.
7.What is the process for return or replacement of STM32C031G6U6?
All STM32C031G6U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32C031G6U6, 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 STM32C031G6U6 part is unused and in its original packaging.
Return procedure for STM32C031G6U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32C031G6U6 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…

