Send an Inquiry

To receive a quote for your project, please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Part Number*
Quantity*
Message
Submit Inventory List

Please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Upload My List
Message

STMicroelectronics STM32G031K4T6

Part No.:
STM32G031K4T6
Manufacturer:
STMicroelectronics
Category:
Microcontrollers
Package:
32-LQFP
Datasheet:
AetrixSTM32G031K4T6.pdf
Description:
IC MCU 32BIT 16KB FLASH 32LQFP
Quantity:
Payment:
Payment
Shipping:
Shipping

Inventory:4,478

Please send an inquiry. Send us your inquiry, and we will respond immediately.

Part Number
Quantity*
Price
Name*
Company
Email*
Comments

Product details

Overview

STM32G031K4T6 from STMicroelectronics is an Arm® Cortex®-M0+ 32-bit microcontroller with 16 KB Flash, 8 KB SRAM, 48 MHz max CPU frequency, 12-bit ADC (0.4 µs conversion), and dual USART/I²C/SPI interfaces. It operates from 1.7–3.6 V across –40°C to 85°C and targets cost-sensitive industrial control, smart sensors, and power management modules requiring low-power operation and integrated analog peripherals.

For engineers reviewing the STM32G031K4T6 datasheet, STM32G031K4T6 pinout, STM32G031K4T6 application, or STM32G031K4T6 equivalent, key selection criteria include Flash/RAM size, 48 MHz real-time performance, 5 V-tolerant GPIO count (up to 38), low-power Stop/Standby modes (<1 µA), and hardware CRC/RTC support for firmware integrity and time-stamped event logging.

Technical Context

The STM32G031K4T6 integrates a single-core Arm Cortex-M0+ with Memory Protection Unit (MPU), supporting deterministic real-time execution and secure code isolation. Its clock system combines internal 16 MHz RC (±1 %) and 32 kHz RC (±5 %) oscillators with optional 4–48 MHz external crystal input and PLL-based frequency multiplication up to 64 MHz.

Peripheral interconnect uses a dedicated AHB/APB matrix enabling concurrent DMA transfers and peripheral access without bus contention. The 12-bit ADC supports hardware oversampling up to 16-bit resolution and features dedicated channels for temperature sensor, VREFINT, and VBAT monitoring - all calibrated at factory and accessible via dedicated registers.

Key Specifications

Parameter Value and Actual Design Meaning
CPU Core Arm Cortex-M0+, 48 MHz max operating frequency - enables deterministic real-time control loops with sub-µs interrupt latency.
Memory 16 KB Flash (with securable area and readout protection), 8 KB SRAM with hardware parity - ensures firmware integrity and reliable data storage in noisy environments.
ADC 12-bit, 0.4 µs conversion time, up to 16 external channels - supports fast sampling of analog sensors (e.g., current shunt, thermistor) without CPU overhead.
Timers 11 timers including one 32-bit general-purpose, four 16-bit GP, two low-power 16-bit, and SysTick - enables precise PWM generation, motor commutation timing, and ultra-low-power wake-up scheduling.
I/O Voltage 5 V-tolerant on up to 38 pins - allows direct interfacing with legacy 5 V logic (e.g., RS-232 transceivers, discrete MOSFET drivers) without level shifters.
Low-Power Modes Stop 0 (0.32 µA), Standby (0.25 µA), Shutdown (15 nA) - extends battery life in intermittent-sensing applications like wireless sensor nodes and energy harvesters.
Debug Interface Serial Wire Debug (SWD) with 4-pin footprint - enables full JTAG-like debugging and flash programming using standard ST-LINK probes.

Pinout & Package

STM32G031K4T6 is housed in a 32-pin LQFP package (7 × 7 mm, 0.8 mm pitch) with exposed thermal pad. Pin assignments follow ST's standardized STM32G0 series layout, supporting flexible remapping of all GPIOs to alternate functions including USART, I²C, SPI, and timer channels.

Pin/Terminal Circuit Role Design Meaning
VDD, VSS Power supply and ground Dual VDD/VSS pairs ensure stable core and I/O domain operation; decoupling required per datasheet layout guidelines.
NRST Active-low reset input Asynchronous reset with internal pull-up; accepts 1.65–5.5 V logic levels and supports external push-button or supervisor IC assertion.
PA0–PA15, PB0–PB15, PF0–PF1 General-purpose I/O Up to 38 total I/Os; 5 V-tolerant on most pins; all support external interrupt capability and configurable pull-up/pull-down.
PA9/PA10 USART1 TX/RX Dedicated full-duplex UART interface supporting LIN, IrDA, auto-baud detection - ideal for host MCU communication or firmware updates.
PA4–PA7 ADC1_IN0–IN3 Analog inputs with built-in sample-and-hold; support differential mode and hardware-triggered conversions synchronized to timer events.
PC13–PC15 RTC oscillator inputs Connect 32.768 kHz crystal for calendar RTC with alarm and periodic wakeup from Stop/Standby - enables time-of-day awareness in sleep-constrained systems.

Key Features

Feature Design Value
Hardware CRC unit Performs IEEE-754-compliant 32-bit CRC on memory blocks or DMA streams - accelerates firmware signature verification and OTA update integrity checks.
Programmable Brownout Reset (BOR) Configurable trip points (2.0/2.2/2.4/2.7 V) with hysteresis - prevents erratic operation during brownout conditions without external supervisor IC.
VBAT supply path Dedicated VBAT pin powers RTC and 32 backup registers during main power loss - retains timekeeping and critical state across power cycles.
Temperature sensor Factory-calibrated ±1.5°C accuracy over –40°C to 85°C - enables self-monitoring of die temperature for thermal throttling or ambient sensing.
Secure boot with ROP Readout Protection Level 2 prevents Flash dump and debug access - enforces firmware confidentiality in deployed edge devices.

Applications

Industrial Motor Control Smart Energy Metering

Use Scenario: Brushless DC (BLDC) fan controller in HVAC systems with speed regulation and fault reporting.

IC Role / Device Role / Timing Role: Real-time PWM generation via TIM1 advanced timer, ADC sampling of current sense resistors, and UART-based diagnostics.

Use Value: Integrated 12-bit ADC with hardware oversampling achieves <1% current measurement error; Stop-mode current <0.5 µA enables always-on fault monitoring.

Use Scenario: Sub-metering node measuring voltage, current, and power factor in commercial building panels.

IC Role / Device Role / Timing Role: Simultaneous sampling of multiple analog inputs via ADC sequencer, RTC timestamping of energy pulses, and I²C communication to master MCU.

Use Value: Hardware CRC validates metering firmware integrity; 5 V-tolerant I²C pins interface directly with isolated I²C isolators without level-shifting components.

Wireless Sensor Node USB-C Power Delivery Monitor

Use Scenario: Battery-powered environmental sensor transmitting temperature/humidity via BLE module.

IC Role / Device Role / Timing Role: Low-power sensor interface (I²C temp/humidity sensor), ADC for battery voltage monitoring, and LPUART wake-up from Standby mode.

Use Value: Standby current of 0.25 µA extends 2000 mAh coin cell life beyond 10 years; LPUART wakeup latency <5 µs ensures responsive BLE connection initiation.

Use Scenario: PD monitor IC in USB-C wall adapter detecting VBUS voltage, CC line state, and fault conditions.

IC Role / Device Role / Timing Role: High-speed ADC sampling of VBUS (0–24 V range via resistor divider), GPIO-driven CC line switching, and real-time fault flagging via USART to PD controller.

Use Value: 12-bit ADC with internal VREFINT reference eliminates need for external voltage reference; 48 MHz CPU handles PD protocol timing constraints without external timing IC.

Equivalent & Alternatives

The following parts are listed as comparable options for similar microcontroller applications.

Alternative Part Technical Difference Application Difference Selection Advice
STM32G030K6T6 Same core and peripherals but 32 KB Flash, no securable area or ROP Level 2 - lacks firmware encryption and debug lock capability. Suitable for non-security-critical consumer devices where firmware IP protection is not required. Select when higher Flash capacity is needed without security enforcement; verify bootloader compatibility due to different ROP behavior.
NXP LPC802UK ARM Cortex-M0+, 16 KB Flash, 4 KB SRAM, no hardware CRC, no RTC calendar, only one USART - fewer integrated peripherals and lower analog precision. Better suited for simple GPIO/LED control or basic serial bridging where ADC resolution and timekeeping are secondary. Choose only if toolchain alignment with NXP ecosystem outweighs STM32's ADC/RTC/low-power advantages; requires external RTC for time-stamping.

Compared with STM32G031K4T6, the STM32G030K6T6 offers more Flash but sacrifices security features essential for certified firmware deployments, while the LPC802UK reduces BOM cost at the expense of analog accuracy, RTC functionality, and ultra-low-power capability - making STM32G031K4T6 optimal for secure, sensor-rich, battery-aware designs.

Availability

STM32G031K4T6 is available at Aetrix Electronics and suitable for industrial motor control, smart energy metering, wireless sensor nodes, and USB-C power delivery monitors requiring stable component supply, long-term lifecycle assurance, and consistent parametric performance across production batches.

Supply support for STM32G031K4T6 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 automotive-grade components since 1987.

The STM32G0 series targets cost-optimized, low-power embedded applications - delivering Cortex-M0+ performance with enhanced analog integration, robust security primitives, and streamlined development for industrial, consumer, and IoT endpoints.

FAQ

What is the maximum operating frequency of the STM32G031K4T6?

The STM32G031K4T6 runs at up to 48 MHz from its internal 16 MHz RC oscillator with PLL enabled, or up to 64 MHz when using an external high-speed crystal (HSE) with PLL configuration. This frequency is validated across the full –40°C to 85°C temperature range and 1.7–3.6 V supply, with timing margins guaranteed per DS12992 Rev 4 Section 5.3.9.

Does the STM32G031K4T6 support hardware encryption or secure boot?

The STM32G031K4T6 supports Readout Protection (ROP) Level 2, which disables SWD debug access and prevents Flash memory readout, and includes a hardware CRC calculation unit for firmware image validation. However, it does not integrate AES or public-key cryptographic accelerators - secure boot must be implemented in software using CRC-verified bootloader stages and ROP-enforced Flash locking.

How many 5 V-tolerant I/O pins does the STM32G031K4T6 have?

The STM32G031K4T6 provides 38 5 V-tolerant I/O pins across its LQFP32 package, covering all GPIO ports except PF0–PF1. These pins tolerate up to 5.5 V regardless of VDD level, enabling direct interfacing with 5 V peripherals such as RS-232 transceivers, optocouplers, and legacy logic families without external level shifters.

Can the STM32G031K4T6 operate from a single-cell Li-ion battery?

Yes - the STM32G031K4T6 operates from 1.7 V to 3.6 V, matching the discharge curve of a single-cell Li-ion (2.7–4.2 V) when used with a low-dropout regulator (LDO) or buck converter. Its Shutdown mode draws only 15 nA, and Standby mode consumes 0.25 µA with RTC active, making it suitable for multi-year battery life in portable sensor applications.

STM32G031K4T6 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:
16KB (16K 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 ~ 85°C (TA)
Grade:
-
Qualification:
-
Mounting Type:
Surface Mount
Supplier Device Package:

STM32G031K4T6 FAQ

1.How can I place an order for STM32G031K4T6 through Aetrix?

Please submit a Request for Quotation (RFQ) for STM32G031K4T6 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 STM32G031K4T6 reliable?

The price and inventory of STM32G031K4T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G031K4T6 is usually 5 days.

3.What payment methods are accepted for STM32G031K4T6?

We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G031K4T6 transactions.

Note: Certain payment methods may incur a processing fee.

4.How is shipping managed for STM32G031K4T6?

STM32G031K4T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.

Once your STM32G031K4T6 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 STM32G031K4T6?

For technical support, including STM32G031K4T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G031K4T6 requirements.

6.How does Aetrix verify that STM32G031K4T6 is sourced from the original manufacturer or authorized distributors?

All STM32G031K4T6 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 STM32G031K4T6 meets industry standards.

7.What is the process for return or replacement of STM32G031K4T6?

All STM32G031K4T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G031K4T6, 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 STM32G031K4T6 part is unused and in its original packaging.

Return procedure for STM32G031K4T6:

1.Submit a request within 90 days.

2.Obtain a Return Material Authorization (RMA) from Aetrix.

STM32G031K4T6 Tags

  • STM32G031K4T6
  • STM32G031K4T6 PDF
  • STM32G031K4T6 Datasheet
  • STM32G031K4T6 Specifications
  • STM32G031K4T6 Images
  • STMicroelectronics
  • STMicroelectronics STM32G031K4T6
  • Buy STM32G031K4T6
  • STM32G031K4T6 Price
  • STM32G031K4T6 Distributor
  • STM32G031K4T6 Supplier
  • STM32G031K4T6 Wholesale
Related Products
ATTINY4-TSHR
ATTINY4-TSHR

Microchip Technology

ATTINY10-TSHR
ATTINY10-TSHR

Microchip Technology

ATTINY10-TS8R
ATTINY10-TS8R

Microchip Technology

ATTINY202-SSNR
ATTINY202-SSNR

Microchip Technology

ATTINY202-SSFR
ATTINY202-SSFR

Microchip Technology

ATTINY402-SSNR
ATTINY402-SSNR

Microchip Technology

PIC16F15213T-I/MF
PIC16F15213T-I/MF

Microchip Technology

PIC16F15213-E/MF
PIC16F15213-E/MF

Microchip Technology

PIC10F200T-I/OT
PIC10F200T-I/OT

Microchip Technology

ATTINY412-SSNR
ATTINY412-SSNR

Microchip Technology

PIC10F202T-I/OT
PIC10F202T-I/OT

Microchip Technology

ATTINY404-SSNR
ATTINY404-SSNR

Microchip Technology

Tech Hub

Search

Search

PRODUCT

PRODUCT

PHONE

PHONE

USER

USER