STMicroelectronics STM32G031C6T6
- Part No.:
- STM32G031C6T6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 48-LQFP
- Datasheet:
-
STM32G031C6T6.pdf
- Description:
- IC MCU 32BIT 32KB FLASH 48LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:9,890
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G031C6T6 from STMicroelectronics is an Arm® Cortex®-M0+ 32-bit microcontroller with 32 KB Flash, 8 KB SRAM, operating at up to 64 MHz, supporting 1.7–3.6 V supply and -40°C to 85°C ambient. It integrates dual USARTs (one with LIN/ISO7816), two I²C interfaces (Fast-mode Plus), two SPIs, 12-bit ADC (16-channel), eleven timers including LPTIMs and RTC, and SWD debug - deployed in smart metering front-ends and industrial sensor nodes.
For engineers reviewing the STM32G031C6T6 datasheet, STM32G031C6T6 pinout, STM32G031C6T6 application, or STM32G031C6T6 equivalent, key selection criteria include its 32-pin LQFP package, 5 V-tolerant GPIOs, hardware parity on SRAM, programmable BOR/PVD, and dual low-power UART/I²C wakeup capability from Stop mode.
Technical Context
The STM32G031C6T6 implements a single-core Arm Cortex-M0+ with Memory Protection Unit (MPU), supporting TrustZone-like secure boot via readout protection (RDP) levels and securable flash area. Its clock system combines internal 16 MHz RC (±1 %) with PLL, 4–48 MHz HSE, and 32 kHz LSE with calibration for RTC accuracy.
Peripheral interconnect uses a hierarchical AHB/APB bus matrix with DMA request multiplexer (DMAMUX) enabling flexible channel mapping across 5 DMA streams. Analog subsystem includes VREFINT, temperature sensor, VBAT monitoring, and 12-bit ADC with hardware oversampling up to 16-bit effective resolution.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - deterministic real-time execution with 2.28 CoreMark/MHz efficiency. |
| Memory | 32 KB Flash (with securable area & RDP), 8 KB SRAM with hardware parity - enables certified firmware storage and fault-tolerant data buffers. |
| ADC | 12-bit, 0.4 µs conversion, up to 16 external channels - supports fast sampling of multi-sensor analog inputs without CPU overhead. |
| Timers | 11 timers: 1x advanced-control (TIM1), 4x general-purpose (16-bit), 2x low-power (LPTIM1/2), 2x watchdogs - enables motor control, precise timing, and ultra-low-power wakeups. |
| Communication | 2× I²C (Fast-mode Plus, 1 Mbit/s), 2× USART (LIN/ISO7816 capable), 2× SPI (32 Mbit/s), 1× LPUART - meets industrial fieldbus and smart sensor interface requirements. |
| Power Management | Voltage range 1.7–3.6 V; Sleep/Stop/Standby/Shutdown modes; programmable BOR & PVD - ensures robust operation across battery and rail-powered systems. |
| Package | LQFP32 (7 × 7 mm), ECOPACK2-compliant - standard surface-mount footprint compatible with automated assembly and thermal management. |
Pinout & Package
LQFP32 package (7 × 7 mm, 0.8 mm pitch), RoHS-compliant, ECOPACK2 certified. Pin count: 32 leads with exposed thermal pad (not electrically connected). Operating temperature: -40°C to +85°C.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply / Ground | Dual VDD/VSS pairs ensure stable core & I/O rail decoupling; supports independent power domain sequencing. |
| PA0–PA15, PB0–PB11 | General-purpose I/O | Up to 29 GPIOs; all mappable to EXTI; multiple 5 V-tolerant pins enable direct interfacing with legacy 5 V logic. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts external push-button or supervisor IC assertion. |
| SWDIO / SWCLK | Debug interface | 2-pin Serial Wire Debug (SWD) supports full programming, tracing, and real-time register inspection during development. |
| BOOT0 | Boot mode selection | High at power-up selects system memory bootloader; enables field firmware recovery without debugger. |
Key Features
| Feature | Design Value |
|---|---|
| Hardware CRC unit | Accelerates checksum calculation for firmware integrity verification and communication frame validation. |
| VBAT supply support | Enables RTC calendar and 32 backup registers to retain state during main power loss - critical for time-stamped logging. |
| Programmable voltage detector (PVD) | Monitors VDD against 4 selectable thresholds (2.2–2.9 V); triggers interrupt or reset before brownout-induced corruption. |
| Temperature sensor & VREFINT | On-die sensor calibrated per device; internal 1.2 V reference enables self-calibrating ADC measurements without external components. |
| Low-power UART (LPUART) | Operates in Stop mode with 32 kHz LSE clock; wakes CPU on RX activity - extends battery life in always-on sensor endpoints. |
Applications
| Smart Energy Metering | Industrial Sensor Node |
|---|---|
Use Scenario: Bidirectional energy measurement with tamper detection and secure data upload via RS-485/LIN. IC Role / Device Role / Timing Role: Main controller managing metrology ADC interface, RTC timestamping, LIN physical layer, and secure flash updates. Use Value: Hardware parity on SRAM prevents corrupted metering logs; LPUART wakeup reduces average current to <1.5 µA in deep sleep. |
Use Scenario: Wireless vibration/temperature node with local edge processing and BLE gateway handoff. IC Role / Device Role / Timing Role: Signal acquisition hub running FFT preprocessing, RTC-triggered sampling, and SPI-to-BLE bridge. Use Value: 12-bit ADC oversampling achieves 14.5 ENOB for precision sensor digitization; 5 V-tolerant GPIOs simplify connection to legacy analog sensors. |
| Home Appliance Control | Medical Diagnostic Handheld |
Use Scenario: Washing machine mainboard controlling motor drivers, water valves, and user interface. IC Role / Device Role / Timing Role: Real-time motor commutation via TIM1, PWM generation, and fault-safe I/O supervision. Use Value: Advanced timer dead-time insertion prevents shoot-through in half-bridge drivers; BOR ensures safe shutdown during line dips. |
Use Scenario: Portable ECG/SpO₂ device requiring low-noise analog front-end and FDA-compliant firmware updates. IC Role / Device Role / Timing Role: Secure data acquisition engine with encrypted flash storage, calibrated ADC, and USB CDC virtual COM port. Use Value: Securable flash area isolates bootloader from application code; VREFINT calibration enables ±0.5% ADC accuracy over temperature. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G030F6P6 | 24-pin TSSOP, 16 KB Flash, no securable area, no VREFBUF | Limited peripheral count; lacks VBAT RTC retention and hardware oversampling | Select when cost-sensitive, space-constrained designs require basic UART/I²C and omit secure boot or precision ADC. |
| STM32G041F8P6 | 24-pin TSSOP, 64 KB Flash, enhanced security (AES, RNG), 1x USB 2.0 FS | Includes cryptographic accelerators and USB PHY; higher static power in Stop mode | Choose for USB-connected devices needing firmware signing or secure OTA updates - not drop-in compatible due to USB pin allocation. |
Compared with STM32G031C6T6, STM32G030F6P6 trades security and analog features for lower cost and smaller footprint, while STM32G041F8P6 adds USB and crypto at the expense of higher BOM complexity and marginally increased power in active mode.
Availability
STM32G031C6T6 is available at Aetrix Electronics and suitable for smart metering, industrial sensor nodes, home appliance control, and portable medical diagnostics requiring stable component supply across extended product lifecycles.
Supply support for STM32G031C6T6 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 ICs, MEMS, and automotive-grade silicon since 1987.
The STM32G0 series targets cost-sensitive, low-power embedded applications demanding high integration, security primitives, and industrial temperature reliability - optimized for smart sensing, control, and connectivity edge nodes.
FAQ
What is the maximum operating frequency and supported voltage range?
The STM32G031C6T6 operates at up to 64 MHz using its internal 16 MHz RC oscillator with PLL or external crystal sources. Its supply voltage range is strictly 1.7 V to 3.6 V; operation outside this range risks functional failure or permanent damage. The device includes programmable Brownout Reset (BOR) with four threshold levels to enforce safe voltage margins during brownout conditions.
Does it support hardware-based security features like secure boot or flash protection?
Yes - the STM32G031C6T6 implements Readout Protection (RDP) Level 1 and Level 2, enabling irreversible lock of debug access and flash content. It also provides a securable area within Flash memory where sensitive code or keys can be isolated and protected from unauthorized read/write access, meeting basic requirements for firmware IP protection and secure boot chain implementation.
How many I/O pins are 5 V tolerant, and which ones?
26 of the 32 GPIOs on the LQFP32 package are 5 V tolerant, specifically PA0–PA15, PB0–PB11 (excluding PB2 used for BOOT1). This tolerance allows direct interfacing with 5 V peripherals such as legacy sensors, displays, or level-shifting-free RS-232 transceivers without external circuitry - verified per ST's electrical characteristics table (Section 5.3.14).
What low-power modes are available, and what is the typical current in Stop mode?
The device supports Sleep, Stop (0 and 1), Standby, and Shutdown modes. In Stop 0 mode (all clocks stopped, SRAM retained), typical current is 0.34 µA at 25°C with RTC and IWDG enabled. In Stop 1 mode (low-power regulator off), consumption drops to 0.19 µA - both values measured with VDD = 3.3 V and specified in DS12992 Rev 4, Table 28–29.
STM32G031C6T6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 48-LQFP
- Series:
- STM32G0
- Packaging:
- Tray
- 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:
- 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:
STM32G031C6T6 FAQ
1.How can I place an order for STM32G031C6T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G031C6T6 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 STM32G031C6T6 reliable?
The price and inventory of STM32G031C6T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G031C6T6 is usually 5 days.
3.What payment methods are accepted for STM32G031C6T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G031C6T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G031C6T6?
STM32G031C6T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G031C6T6 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 STM32G031C6T6?
For technical support, including STM32G031C6T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G031C6T6 requirements.
6.How does Aetrix verify that STM32G031C6T6 is sourced from the original manufacturer or authorized distributors?
All STM32G031C6T6 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 STM32G031C6T6 meets industry standards.
7.What is the process for return or replacement of STM32G031C6T6?
All STM32G031C6T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G031C6T6, 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 STM32G031C6T6 part is unused and in its original packaging.
Return procedure for STM32G031C6T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G031C6T6 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…

