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

- Shipping:

Inventory:4,588
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G031C8T7 from STMicroelectronics is a 32-bit Arm® Cortex®-M0+ microcontroller in UFQFPN28 package, operating up to 64 MHz with 64 KB Flash, 8 KB SRAM, and integrated 12-bit ADC (0.4 µs conversion), dual USARTs (one with LIN/ISO7816), and RTC with wakeup from Stop/Standby modes. It targets cost-sensitive industrial control, smart sensors, and power management modules requiring low-power operation across -40°C to 125°C.
For engineers reviewing the STM32G031C8T7 datasheet, STM32G031C8T7 pinout, STM32G031C8T7 application, or STM32G031C8T7 equivalent, key selection considerations include its 28-pin UFQFPN footprint, 1.7–3.6 V supply range, hardware parity on SRAM, programmable BOR/PVD, and support for SWD debug - all critical for robust embedded firmware deployment and BOM optimization.
Technical Context
The STM32G031C8T7 implements an Arm Cortex-M0+ core with MPU, supporting TrustZone-like memory protection via readout protection levels and securable flash area. Its clock system integrates HSE (4–48 MHz), LSE (32.768 kHz), HSI16 (±1%), and LSI (±5%) oscillators, plus a PLL for precise frequency synthesis up to 64 MHz.
Peripheral interconnect uses a hierarchical AHB/APB bus matrix with DMA controller (5 channels) and DMAMUX for flexible peripheral-to-memory transfers. All 25 GPIOs are 5 V-tolerant, mappable to external interrupts, and support multiple alternate functions including I²C, SPI, USART, and timer channels - enabling compact, multi-interface designs without external level shifters.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - enables real-time deterministic execution for motor control and sensor fusion at low power. |
| Memory | 64 KB Flash (with securable area & protection), 8 KB SRAM (HW parity) - supports secure firmware updates and fault-tolerant data logging. |
| ADC | 12-bit, 0.4 µs conversion time, up to 16 external channels - delivers fast, high-resolution analog sensing for battery monitoring or environmental sensing. |
| Timers | 11 timers: 1x 128 MHz-capable advanced timer (TIM1), 4x general-purpose 16-bit, 2x low-power 16-bit - enables precise PWM generation and ultra-low-power periodic wakeups. |
| Communication | 2× I²C (Fast-mode Plus, 1 Mbit/s), 2× USART (1 with ISO7816/LIN/IrDA), 2× SPI (32 Mbit/s), 1× LPUART - covers wired industrial protocols and contactless interfaces in one chip. |
| Power Management | 1.7–3.6 V supply, Sleep/Stop/Standby/Shutdown modes, VBAT backup for RTC - extends battery life in portable and energy-harvested systems. |
| Operating Temp | -40°C to +125°C - qualified for under-hood automotive, industrial PLCs, and outdoor IoT edge nodes. |
Pinout & Package
STM32G031C8T7 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 | Main power supply | 1.7–3.6 V input; powers core, SRAM, and most peripherals - requires local 100 nF decoupling. |
| VSS | Ground reference | Digital ground return; must be connected to PCB ground plane with low-inductance path. |
| NRST | Active-low reset input | Asynchronous reset trigger; internal pull-up; accepts external push-button or supervisor IC assertion. |
| PA0–PA15 | General-purpose I/O | 25 total GPIOs (PA0–PA15, PB0–PB10); all 5 V-tolerant, interrupt-capable, and remappable to peripherals. |
| PA13/PA14 | SWD debug interface | Serial Wire Debug (SWDIO/SWCLK) - enables in-circuit programming and real-time debugging without JTAG pins. |
| PC13/PC14/PC15 | RTC-related signals | PC13 = RTC_OUT, PC14/PC15 = 32.768 kHz crystal connections - required for calendar RTC operation with alarm/wakeup. |
Key Features
| Feature | Design Value |
|---|---|
| Hardware CRC unit | Accelerates checksum calculation for firmware integrity verification and communication frame validation - reduces CPU load in safety-critical bootloaders. |
| Programmable voltage detector (PVD) | Monitors VDD against 8 selectable thresholds (2.2–2.9 V) - triggers interrupt or reset before brownout, enabling graceful shutdown of external peripherals. |
| VBAT supply support | Backs up RTC and 32 B of backup registers during main power loss - maintains timekeeping and state retention in battery-backed systems. |
| Temperature sensor & VREFINT | On-die temperature sensor (±2°C accuracy) and internal voltage reference (1.21 V ±1.5%) - enable self-calibration and supply-independent ADC measurements. |
| Low-power UART (LPUART) | Operates in Stop mode with separate clock domain - allows asynchronous wake-up from <1 µA sleep current using standard UART frames, ideal for remote sensor polling. |
Applications
| Industrial Sensor Node | Smart Power Outlet |
|---|---|
Use Scenario: Battery-powered environmental monitor measuring temperature, humidity, and supply voltage in factory settings. IC Role / Device Role / Timing Role: Main MCU executing sensor fusion, data preprocessing, and BLE/Wi-Fi offload via UART; RTC schedules periodic wakeups. Use Value: 125°C rating ensures reliability near motors/transformers; 5 V-tolerant GPIOs interface directly with legacy 5 V sensors; low-power modes extend 10-year battery life. |
Use Scenario: DIN-rail mounted AC outlet with energy metering, relay control, and overcurrent protection. IC Role / Device Role / Timing Role: System controller managing zero-crossing detection, relay timing, kWh accumulation, and RS-485 communication. Use Value: Hardware parity on SRAM prevents corruption in noisy EMI environments; 12-bit ADC with oversampling achieves ±0.5% metering accuracy; TIM1 supports precise 50/60 Hz timing. |
| POS Terminal Peripheral | Automotive Body Control Module |
Use Scenario: Compact add-on module for receipt printers or barcode scanners interfacing with legacy POS systems. IC Role / Device Role / Timing Role: Protocol translator bridging USB host to RS-232/RS-485 peripherals using USART with auto-baud detection and LIN physical layer emulation. Use Value: Dual USARTs with ISO7816 support enable EMV-compliant card readers; LPUART wakes MCU from Stop mode on incoming command - reducing idle power to <1.5 µA. |
Use Scenario: Door module controlling window lift, mirror adjustment, and interior lighting in entry-level vehicles. IC Role / Device Role / Timing Role: Local node MCU handling CAN message filtering, PWM dimming, and diagnostic reporting via LIN bus. Use Value: -40°C to +125°C qualification meets AEC-Q100 Grade 2 requirements; 5 V-tolerant I/Os simplify interface with 12 V automotive sensors; VBAT retains configuration after ignition-off. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G030F6P6 | 20-pin TSSOP, 32 KB Flash, no securable area, no VREFBUF, no LPUART - lacks RTC calibration and advanced analog features. | Suitable only for basic control tasks without secure boot or precision analog sensing. | Select when cost and footprint are primary constraints and advanced peripherals are unnecessary. |
| STM32G041F8P6 | 20-pin TSSOP, 64 KB Flash, 12-bit ADC (same speed), added AES-128 crypto engine and true random number generator (TRNG). | Required for firmware signing, secure OTA updates, or cryptographic key generation in connected devices. | Choose when hardware security primitives are mandatory and TSSOP packaging is acceptable. |
Compared with STM32G031C8T7, the STM32G030F6P6 sacrifices memory, security, and analog capability for lower cost and smaller size, while the STM32G041F8P6 adds cryptographic acceleration but drops the UFQFPN28 package and VBAT-RTC integration - making STM32G031C8T7 optimal for compact, secure, battery-aware industrial nodes.
Availability
STM32G031C8T7 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart power outlets, POS terminal peripherals, and automotive body control modules requiring stable component supply across extended temperature ranges and long product lifecycles.
Supply support for STM32G031C8T7 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, MEMS, and automotive semiconductors since 1987.
The STM32G0 series targets cost-sensitive, low-power embedded applications - delivering Cortex-M0+ performance with enhanced analog integration, security features, and industrial-grade reliability in compact packages.
FAQ
Does STM32G031C8T7 support hardware encryption?
No, STM32G031C8T7 does not include dedicated cryptographic accelerators such as AES or TRNG. It relies on software-based encryption libraries. For hardware crypto, consider STM32G041 or STM32G071 variants which integrate AES-128 and TRNG engines alongside identical peripheral sets and pin compatibility in larger packages.
What is the maximum allowed I/O sink current per pin?
The absolute maximum DC sink current per I/O pin is 25 mA, with a total device limit of 120 mA across all pins. The datasheet specifies that sustained 25 mA operation requires careful thermal design due to junction temperature rise - typical recommended continuous sink is ≤20 mA per pin with proper PCB copper pour and airflow.
Can the internal 32 kHz RC oscillator replace the external LSE crystal for RTC operation?
Yes, the internal 32 kHz RC oscillator can drive the RTC, but with ±5% accuracy versus ±20 ppm for a typical 32.768 kHz crystal. For applications requiring precise timekeeping (e.g., metering, timestamping), the external LSE is mandatory; the internal RC is suitable only for coarse wakeup timing or non-critical calendar functions.
Is SWD debug supported in all low-power modes?
SWD debug remains accessible in Sleep mode but is disabled in Stop, Standby, and Shutdown modes. To maintain debug visibility during low-power operation, use Sleep mode with peripherals clock-gated, or implement a dedicated debug wake-up pin (e.g., EXTI on PA0) to re-enable SWD after exiting deeper low-power states.
STM32G031C8T7 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 ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G031C8T7 FAQ
1.How can I place an order for STM32G031C8T7 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G031C8T7 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 STM32G031C8T7 reliable?
The price and inventory of STM32G031C8T7 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G031C8T7 is usually 5 days.
3.What payment methods are accepted for STM32G031C8T7?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G031C8T7 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G031C8T7?
STM32G031C8T7 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G031C8T7 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 STM32G031C8T7?
For technical support, including STM32G031C8T7 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G031C8T7 requirements.
6.How does Aetrix verify that STM32G031C8T7 is sourced from the original manufacturer or authorized distributors?
All STM32G031C8T7 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 STM32G031C8T7 meets industry standards.
7.What is the process for return or replacement of STM32G031C8T7?
All STM32G031C8T7 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G031C8T7, 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 STM32G031C8T7 part is unused and in its original packaging.
Return procedure for STM32G031C8T7:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G031C8T7 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…

