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

- Shipping:

Inventory:2,680
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G031K8T3 from STMicroelectronics is a 32-bit Arm® Cortex®-M0+ microcontroller in UFQFPN32 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 hardware CRC. It targets cost-sensitive industrial control nodes requiring low-power operation (Stop/Standby modes), secure firmware execution, and robust I/O tolerance (5 V-tolerant pins) in space-constrained designs.
For engineers reviewing the STM32G031K8T3 datasheet, STM32G031K8T3 pinout, STM32G031K8T3 application, or STM32G031K8T3 equivalent, key selection criteria include its 64 MHz CPU frequency, 64 KB securable Flash with ROP support, 11 timer suite (including LPTIM for ultra-low-power wakeups), dual Fast-mode Plus I²C interfaces, and verified 1.7–3.6 V supply range with programmable BOR/PVD.
Technical Context
The STM32G031K8T3 implements an Arm Cortex-M0+ core with Memory Protection Unit (MPU), enabling secure partitioning of code and data regions. Its clock system integrates four independent sources: 4–48 MHz HSE, 32 kHz LSE with calibration, 16 MHz HSI (±1%), and 32 kHz LSI (±5%), all feeding a flexible PLL for precise peripheral timing.
Peripherals are interconnected via a dedicated AHB/APB matrix supporting concurrent DMA transfers - including a 5-channel DMA controller with configurable request mapping - and feature hardware-accelerated functions such as 16-bit oversampling on the ADC, calendar RTC with alarm/wakeup from Stop/Standby, and two I²C interfaces with SMBus/PMBus support and extra current sink capability.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - enables real-time deterministic control loops with <10 ns interrupt latency. |
| Memory | 64 KB Flash (with securable area & readout protection), 8 KB SRAM (HW parity) - supports firmware encryption and error-detecting runtime data storage. |
| ADC | 12-bit, 0.4 µs conversion time, up to 16 external channels - delivers high-speed analog sensing for motor current or battery voltage monitoring. |
| Timers | 11 timers: 1x 128 MHz-capable advanced timer (TIM1), 4x general-purpose 16-bit, 2x low-power 16-bit (LPTIM1/2), 2x watchdogs - enables motor FOC, PWM generation, and sub-microamp wake-from-Stop timing. |
| I/O Voltage Tolerance | Multiple 5 V-tolerant pins - allows direct interfacing with legacy 5 V logic without level shifters in mixed-voltage systems. |
| Power Supply Range | 1.7 V to 3.6 V - compatible with single-cell Li-ion, LiPo, or 3.3 V rail systems while maintaining full peripheral functionality. |
| Operating Temperature | −40°C to 125°C - qualified for under-hood automotive sensors, industrial PLC I/O modules, and outdoor metering applications. |
Pinout & Package
STM32G031K8T3 is housed in a 5 × 5 mm UFQFPN32 (A0B8) package with 32 leads, 0.5 mm pitch, and exposed thermal pad. This compact, surface-mount package supports high-density PCB layouts and efficient thermal dissipation in fanless enclosures.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual VDD/VSS pairs ensure stable core/peripheral rail decoupling; VSS also serves as analog ground reference for ADC. |
| PA0–PA15, PB0–PB15, PF0–PF1 | General-purpose I/O | Up to 26 GPIOs; multiple pins support 5 V tolerance, EXTI, and remappable alternate functions (USART/I²C/SPI). |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts external push-button or supervisor IC assertion for safe system recovery. |
| BOOT0 | Boot mode selection | High at power-on selects system memory bootloader; used for field firmware updates via USART without debugger. |
| SWDIO / SWCLK | Serial Wire Debug interface | Two-pin debug port enabling full flash programming, breakpoint debugging, and real-time variable inspection during development. |
Key Features
| Feature | Design Value |
|---|---|
| Secure Boot & ROP | Readout Protection Level 2 prevents Flash dump and disables SWD access - enforces firmware IP protection in production units. |
| Low-Power Modes | Stop 0 mode draws 0.32 µA (typ.) with RTC running - extends battery life in wireless sensor nodes beyond 10 years on CR2032. |
| Hardware CRC Unit | Dedicated 32-bit CRC engine computes checksums in one cycle per byte - accelerates OTA update validation and EEPROM integrity checks. |
| Calendar RTC | Full binary-coded decimal (BCD) calendar with alarm, periodic wakeup, and VBAT backup - eliminates need for external real-time clock IC. |
| Fast-mode Plus I²C | 1 Mbit/s I²C with extra current sink on SDA/SCL - drives longer bus traces or higher capacitive loads without external buffers in multi-sensor systems. |
Applications
| Smart Energy Metering | Industrial I/O Module |
|---|---|
Use Scenario: Bidirectional energy measurement in DIN-rail mounted meters with tamper detection and secure firmware updates. IC Role / Device Role / Timing Role: Main controller executing metrology algorithms, managing RS-485/LIN communication, and enforcing secure boot before loading metering firmware. Use Value: Integrated 12-bit ADC with hardware oversampling achieves ±0.1% current/voltage accuracy; securable Flash prevents unauthorized firmware modification. |
Use Scenario: Remote digital input/output expansion for PLCs in factory automation, handling 24 V DC field signals. IC Role / Device Role / Timing Role: Edge intelligence node performing local logic processing, isolation supervision, and Modbus RTU over USART. Use Value: 5 V-tolerant GPIOs interface directly with industrial 24 V optocoupler inputs; LPTIM2 enables precise 1 ms sampling intervals in Stop mode. |
| Wireless Sensor Node | Automotive Body Control |
Use Scenario: Battery-powered environmental sensor (temp/humidity/pressure) transmitting data via BLE or LoRaWAN gateway. IC Role / Device Role / Timing Role: System-on-chip host managing sensor polling, data preprocessing, and low-power radio wake-up coordination. Use Value: Stop 0 mode (0.32 µA) + RTC alarm enables scheduled sensor reads every 30 seconds - extends CR2032 battery life to >5 years. |
Use Scenario: Interior lighting control module with PWM dimming, LIN communication to head unit, and ambient light sensing. IC Role / Device Role / Timing Role: LIN slave node executing lighting sequences, interpreting LIN frames, and driving LED drivers via TIM1 complementary outputs. Use Value: Dual USARTs allow simultaneous LIN physical layer (UART1) and debug/programming (UART2); 125°C rating ensures reliability near dashboard electronics. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G041K8T3 | Same package and pinout, but adds USB 2.0 FS device interface and doubles Flash to 128 KB. | Required where host-side USB enumeration or larger firmware (e.g., DFU bootloader + application) is needed. | Select when USB connectivity or future firmware scalability outweighs cost sensitivity. |
| STM32F031K6T6 | Legacy Cortex-M0 core, 48 MHz max, 32 KB Flash, no LPTIM or hardware oversampling ADC. | Suitable for simpler control tasks without ultra-low-power wakeups or high-precision analog acquisition. | Choose only for legacy design continuity or cost-driven replacements where 64 MHz and 64 KB Flash are unnecessary. |
Compared with STM32G041K8T3, the STM32G031K8T3 trades USB and extra Flash for lower BOM cost and identical low-power performance; versus STM32F031K6T6, it delivers higher CPU throughput, enhanced analog capability, and modern security features - making it optimal for new designs balancing cost, power, and feature density.
Availability
STM32G031K8T3 is available at Aetrix Electronics and suitable for smart energy metering, industrial I/O modules, wireless sensor nodes, and automotive body control applications requiring stable component supply across long product lifecycles.
Supply support for STM32G031K8T3 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 devices for industrial, automotive, and consumer markets.
The STM32G0 series targets entry-level embedded applications demanding high integration, ultra-low power, and robust security - specifically optimized for cost-sensitive, space-constrained, and battery-operated systems requiring Arm Cortex-M0+ efficiency with production-grade reliability.
FAQ
What is the maximum operating frequency and supported voltage range?
The STM32G031K8T3 operates at up to 64 MHz and supports a supply voltage range of 1.7 V to 3.6 V. This range accommodates single-cell lithium batteries (2.5–3.6 V), regulated 3.3 V rails, and brownout conditions down to 1.7 V while maintaining full peripheral functionality and Flash write capability.
Does this MCU support hardware-based security features?
Yes - it includes Readout Protection (ROP) Level 2, which permanently disables SWD debug access and prevents Flash memory readout; a securable Flash area for encrypted firmware partitions; and a 96-bit unique ID for device authentication and secure key derivation in trusted execution environments.
How many communication interfaces does the STM32G031K8T3 provide?
It provides two I²C interfaces (both Fast-mode Plus, 1 Mbit/s), two USARTs (one with LIN/ISO7816 support), one LPUART, and two SPIs (32 Mbit/s). One SPI is multiplexed with I²S, and both USARTs can be configured in synchronous SPI mode - enabling flexible multi-protocol connectivity in resource-constrained designs.
What low-power modes are available and what is the lowest current consumption?
The MCU offers Sleep, Stop (0 and 1), Standby, and Shutdown modes. In Stop 0 mode with RTC running and VDD powered, typical current consumption is 0.32 µA at 25°C - achieved using the LSE oscillator and LPTIM wakeup capability, making it ideal for battery-powered sensing applications with infrequent activity.
STM32G031K8T3 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-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:
- 30
- 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 18x12b SAR
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 125°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G031K8T3 FAQ
1.How can I place an order for STM32G031K8T3 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G031K8T3 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 STM32G031K8T3 reliable?
The price and inventory of STM32G031K8T3 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G031K8T3 is usually 5 days.
3.What payment methods are accepted for STM32G031K8T3?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G031K8T3 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G031K8T3?
STM32G031K8T3 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G031K8T3 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 STM32G031K8T3?
For technical support, including STM32G031K8T3 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G031K8T3 requirements.
6.How does Aetrix verify that STM32G031K8T3 is sourced from the original manufacturer or authorized distributors?
All STM32G031K8T3 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 STM32G031K8T3 meets industry standards.
7.What is the process for return or replacement of STM32G031K8T3?
All STM32G031K8T3 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G031K8T3, 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 STM32G031K8T3 part is unused and in its original packaging.
Return procedure for STM32G031K8T3:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G031K8T3 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…

