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

- Shipping:

Inventory:715
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G031C8T6 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 supporting ISO7816/LIN/IrDA), and operating voltage range of 1.7–3.6 V. It integrates RTC with alarm, 11 timers (including two low-power), and supports -40°C to 85°C industrial operation - deployed in smart metering front-ends and battery-powered sensor nodes.
For engineers reviewing the STM32G031C8T6 datasheet, STM32G031C8T6 pinout, STM32G031C8T6 application, or STM32G031C8T6 equivalent, key selection criteria include its 48-pin LQFP package, 64 MHz max CPU frequency, hardware parity-checked SRAM, securable flash area, and dual I²C interfaces with Fast-mode Plus (1 Mbit/s) and SMBus/PMBus support.
Technical Context
The device implements an Arm Cortex-M0+ core with Memory Protection Unit (MPU), enabling secure partitioning of code and data spaces for certified firmware updates. Its clock system combines four oscillators - 4–48 MHz HSE, 32 kHz LSE with calibration, 16 MHz HSI (±1%), and 32 kHz LSI (±5%) - feeding a programmable PLL for precise peripheral timing.
Peripheral interconnect uses a hierarchical AHB/APB bus matrix with DMA controller (5 channels, flexible mapping) and DMAMUX for dynamic request routing. Analog subsystem includes temperature sensor, VREFINT, VBAT monitoring, and 12-bit ADC with hardware oversampling up to 16-bit resolution and 0–3.6 V input range.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - enables real-time control loops with <100 ns instruction cycle at full speed. |
| Flash / SRAM | 64 KB flash with securable area + 8 KB SRAM with HW parity - supports certified OTA updates and fault-tolerant data logging. |
| ADC | 12-bit, 0.4 µs conversion, up to 16 external channels - captures fast transients in motor current sensing or power quality monitoring. |
| Timers | 11 timers: one 128 MHz-capable advanced timer (TIM1), four 16-bit general-purpose, two low-power 16-bit - meets motor FOC, PWM generation, and ultra-low-power wake-up timing needs. |
| Communication | 2× I²C (Fast-mode Plus, SMBus), 2× USART (ISO7816/LIN/IrDA), 1× LPUART, 2× SPI (32 Mbit/s) - enables multi-protocol connectivity in industrial gateways and metering systems. |
| Power Modes | Sleep, Stop, Standby, Shutdown - achieves 190 nA shutdown current with RTC/VBAT retention, critical for 10-year battery life in IoT endpoints. |
| Operating Temp | -40°C to +85°C - qualified for deployment in outdoor utility infrastructure and automotive body electronics. |
| Supply Voltage | 1.7–3.6 V - compatible with single-cell Li-ion, LiFePO₄, and 3.3 V regulated rails without level-shifting. |
Pinout & Package
LQFP48 (7 × 7 mm, 0.5 mm pitch) package with ECOPACK2 environmental compliance and 44 fast I/Os - all mappable to external interrupt vectors, multiple 5 V-tolerant pins for mixed-voltage interface robustness.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Main power supply and ground | Supports 1.7–3.6 V operation; decoupling required per datasheet layout guidelines for stable 64 MHz execution. |
| NRST | Active-low reset input | Accepts standard push-button or supervisor IC reset signals; internal pull-up enables reliable cold-start initialization. |
| PA0–PA15, PB0–PB15, PC13–PC15, PD0–PD2 | General-purpose I/Os | 44 total GPIOs; up to 39 support external interrupts, 22 are 5 V-tolerant - simplifies interfacing with legacy 5 V peripherals. |
| PA9/PA10, PA14/PA15, PB6/PB7 | USART1/USART2/I²C1 SDA/SCL | Dual USARTs and I²C share pins via alternate functions - enables compact board design with minimal routing congestion. |
| PC13, PC14, PC15 | RTC oscillator inputs / tamper | Support 32.768 kHz crystal with built-in calibration - delivers ±1 ppm RTC accuracy over temperature for time-stamped event logging. |
| VBAT | Backup power supply | Connects to coin cell or supercapacitor to retain RTC and 32 B backup registers during main power loss. |
Key Features
| Feature | Design Value |
|---|---|
| Secure boot with ROP | Readout protection (ROP) levels prevent unauthorized firmware extraction - essential for payment terminal and energy meter certification. |
| Hardware CRC unit | Dedicated CRC-32 engine accelerates firmware image verification and communication frame checksumming - reduces CPU load by >95% vs software CRC. |
| Programmable BOR/PVD | Brownout reset threshold adjustable in 16 steps; voltage detector triggers interrupt before brownout - enables graceful shutdown and data save in unstable power conditions. |
| SWD debug interface | 2-pin Serial Wire Debug (SWDIO/SWCLK) supports full JTAG-equivalent debugging and flash programming - eliminates need for costly debug probes in production test. |
| 96-bit unique ID | Factory-programmed serial number enables device-specific cryptographic key binding and secure provisioning in cloud-connected devices. |
| ECOPACK2 compliance | Halogen-free, RoHS-compliant packaging - meets EU environmental directives for industrial and consumer equipment shipments. |
Applications
| Smart Energy Metering | Industrial Sensor Node |
|---|---|
Use Scenario: Bidirectional electricity meter with tariff switching, tamper detection, and HAN communication. IC Role / Device Role / Timing Role: Main application MCU handling metrology calculations, LCD driving, IR/PLC/HAN comms, and secure firmware updates. Use Value: Integrated 12-bit ADC with hardware oversampling achieves Class 0.5 accuracy; RTC with calendar alarm enables precise billing cycle transitions. | Use Scenario: Wireless vibration/temperature node in predictive maintenance system with 5-year battery life. IC Role / Device Role / Timing Role: Low-power host controller managing sensor acquisition, local FFT processing, and BLE/Wi-Fi offload. Use Value: 190 nA shutdown current with RTC/VBAT retention extends battery life; LPUART wakeup enables sub-second response to edge-triggered alerts. |
| Automotive Body Control | Home Appliance UI Controller |
Use Scenario: Door module controlling window lift, mirror fold, and interior lighting with LIN bus integration. IC Role / Device Role / Timing Role: LIN slave node executing position feedback, PWM dimming, and diagnostic reporting. Use Value: USART1 with built-in LIN physical layer support eliminates external transceiver; 5 V-tolerant GPIOs interface directly with 12 V vehicle bus signals. | Use Scenario: Touch-enabled oven control panel with real-time cooking status display and safety interlocks. IC Role / Device Role / Timing Role: Human interface processor managing capacitive touch sensing, buzzer feedback, relay control, and display refresh. Use Value: 44 fast GPIOs enable direct matrix keypad scanning and LED driver PWM; hardware parity on SRAM prevents UI lockup due to cosmic ray soft errors. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G041C8T6 | Same core/package but adds USB 2.0 FS device interface and 128 KB Flash | Required where host-side USB enumeration or larger firmware storage is needed (e.g., firmware updater dongles) | Select when USB connectivity or extended code space justifies higher cost and BOM complexity. |
| STM32F031K6T6 | ARM Cortex-M0 (not M0+), 32 KB Flash, no hardware parity on SRAM, no securable flash area | Suitable for cost-sensitive, non-security-critical applications like basic motor drivers or lighting controllers | Choose only if security, memory integrity, or future firmware scalability are not requirements. |
Compared with STM32G031C8T6, the G041 offers USB and doubled Flash at higher cost and power, while the F031 lacks MPU, securable flash, and SRAM parity - making the G031 optimal for secure, long-lifecycle industrial endpoints requiring field-upgradable firmware and deterministic low-power behavior.
Availability
STM32G031C8T6 is available at Aetrix Electronics and suitable for smart metering, industrial sensor nodes, automotive body electronics, and home appliance UI controllers requiring stable component supply across multi-year production cycles.
Supply support for STM32G031C8T6 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 components for industrial, automotive, and consumer markets.
The STM32G0 series targets cost-sensitive, ultra-low-power embedded applications requiring security, rich analog integration, and seamless migration from legacy 8-bit platforms - optimized for smart meters, wearables, and IoT edge nodes.
FAQ
What is the maximum operating frequency of the STM32G031C8T6?
The STM32G031C8T6 features an Arm Cortex-M0+ core rated for up to 64 MHz operation. This frequency is achievable using the internal 16 MHz HSI oscillator with PLL multiplication or an external 4–48 MHz crystal. The 128 MHz capable advanced timer (TIM1) operates independently of CPU clock domain, enabling high-resolution PWM generation even at lower CPU frequencies.
Does the STM32G031C8T6 support hardware encryption or secure boot?
The STM32G031C8T6 does not integrate dedicated AES or hash accelerators, but it supports secure boot via readout protection (ROP) levels and securable flash area configuration. Bootloader code can be locked to prevent readout, and firmware images may be verified using the hardware CRC unit before execution - meeting IEC 62443-3-3 SL1 requirements for basic firmware integrity.
Can the STM32G031C8T6 drive a standard 16x2 character LCD directly?
Yes - the STM32G031C8T6 supports static and multiplexed LCD driving via its integrated LCD controller (available in variants with LCD segment drivers). However, the C8T6 variant (LQFP48) does not include the LCD peripheral; direct LCD driving requires external segment drivers or use of GPIO-based bit-banged control with careful timing management in Stop mode.
What debug interface does the STM32G031C8T6 use, and how many pins are required?
The STM32G031C8T6 uses Serial Wire Debug (SWD), requiring only two pins: SWDIO (bidirectional data) and SWCLK (clock). No NRST connection is mandatory for basic debug, though it improves reliability during firmware upload and reset recovery. SWD replaces JTAG, reducing debug footprint and enabling in-system programming through compact 2-pin headers.
STM32G031C8T6 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:
- 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:
STM32G031C8T6 FAQ
1.How can I place an order for STM32G031C8T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G031C8T6 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 STM32G031C8T6 reliable?
The price and inventory of STM32G031C8T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G031C8T6 is usually 5 days.
3.What payment methods are accepted for STM32G031C8T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G031C8T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G031C8T6?
STM32G031C8T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G031C8T6 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 STM32G031C8T6?
For technical support, including STM32G031C8T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G031C8T6 requirements.
6.How does Aetrix verify that STM32G031C8T6 is sourced from the original manufacturer or authorized distributors?
All STM32G031C8T6 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 STM32G031C8T6 meets industry standards.
7.What is the process for return or replacement of STM32G031C8T6?
All STM32G031C8T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G031C8T6, 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 STM32G031C8T6 part is unused and in its original packaging.
Return procedure for STM32G031C8T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G031C8T6 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…

