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 STM32G031K6T7

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

Inventory:2,280

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

Part Number
Quantity*
Price
Name*
Company
Email*
Comments

Product details

Overview

STM32G031K6T7 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 LIN/IrDA/ISO7816), and operating voltage range of 1.7–3.6 V. It integrates RTC with alarm, five low-power modes (Stop/Standby/Shutdown), and supports industrial motor control via 11 timers including one 128 MHz-capable advanced timer.

For engineers reviewing the STM32G031K6T7 datasheet, STM32G031K6T7 pinout, STM32G031K6T7 application, or STM32G031K6T7 equivalent, key selection criteria include Flash/SRAM size, 5 V-tolerant I/O count (up to 44), ADC resolution and sampling speed, low-power timer availability, and package compatibility with LQFP32 footprint.

Technical Context

The STM32G031K6T7 implements an Arm Cortex-M0+ core with MPU, running at up to 64 MHz, and features a memory protection unit for secure code execution. Its clock system includes dual oscillators (4–48 MHz HSE and 32 kHz LSE), plus internal RC sources (16 MHz ±1 %, 32 kHz ±5 %) with PLL support for precise frequency synthesis.

Peripheral interconnect uses a flexible AHB/APB matrix enabling concurrent DMA transfers across UART, SPI, I2C, and ADC. The 5-channel DMA controller supports configurable priority and peripheral-to-memory/memory-to-peripheral transfers, while the 12-bit ADC achieves 16-bit effective resolution via hardware oversampling - critical for sensor signal conditioning in battery-powered edge nodes.

Key Specifications

Parameter Value and Actual Design Meaning
CPU Core Arm Cortex-M0+, 64 MHz max - enables real-time deterministic control in compact firmware footprints.
Flash / SRAM 64 KB Flash with securable area + 8 KB SRAM with HW parity - supports encrypted bootloader and fault-tolerant data logging.
ADC 12-bit, 0.4 µs conversion time, up to 16 external channels - delivers sub-millisecond analog acquisition for current/voltage sensing in motor drives.
Timers 11 timers: 1x advanced (TIM1), 4x general-purpose, 2x low-power (LPTIM1/2), 2x watchdogs - enables synchronized PWM generation and ultra-low-power periodic wakeups.
Communication 2× I2C (Fast-mode Plus, 1 Mbit/s), 2× USART (LIN/IrDA/ISO7816), 2× SPI (32 Mbit/s), 1× LPUART - supports multi-protocol fieldbus connectivity with minimal pin count.
I/O Voltage Up to 44 fast I/Os, multiple 5 V-tolerant - allows direct interfacing with legacy 5 V logic without level shifters in industrial HMI designs.
Power Range 1.7–3.6 V operation with BOR/PVD and Shutdown mode (300 nA typical) - enables single-cell Li-ion or coin-cell battery operation in portable sensors.

Pinout & Package

LQFP32 (7 × 7 mm, 0.8 mm pitch) package with exposed thermal pad; RoHS-compliant ECOPACK2 construction. Pin functions validated per STMicroelectronics DS12992 Rev 4, Section 4 (Pin assignment and description), Table 12.

Pin/Terminal Circuit Role Design Meaning
VDD Main power supply 1.7–3.6 V input; decoupling required per datasheet layout guidelines for stable 64 MHz operation.
VSS GND reference Dedicated analog/digital ground pins enable noise isolation for ADC and RTC circuits.
PA0–PA15 General-purpose I/O Configurable as GPIO, EXTI, or alternate functions (e.g., USART2_TX on PA2, ADC1_IN0 on PA0).
PB0–PB1 General-purpose I/O Supports TIM3_CH3 (PB0) and TIM3_CH4 (PB1) for complementary PWM output in motor gate drive.
NRST Active-low reset Internal pull-up; accepts external push-button or supervisor IC assertion for controlled system restart.
BOOT0 Boot mode select High at reset forces system memory boot (for DFU); tied low for normal Flash execution.
SYSCLK System clock output Optional 64 MHz clock output on PA8 for trace/debug synchronization or external timing distribution.

Key Features

Feature Design Value
Secure Boot & ROP Readout protection (ROP) Level 2 prevents Flash dump; securable area isolates cryptographic keys from application code.
Low-Power Timer LPTIM1 operates in Stop/Standby modes with 32 kHz LSE clock - enables 1-second periodic wakeups consuming <1 µA.
Hardware CRC Unit Dedicated CRC-32 engine accelerates firmware image validation and communication packet integrity checks without CPU load.
VBAT Support Separate VBAT pin powers RTC and 32 backup registers during main power loss - maintains real-time stamping across power cycles.
SWD Debug 2-pin Serial Wire Debug interface enables full flash programming and real-time variable inspection using standard ST-LINK tools.

Applications

Smart Metering Industrial Motor Control

Use Scenario: Single-phase electricity meter with pulse counting, tariff switching, and tamper detection.

IC Role / Device Role / Timing Role: Main controller executing metrology algorithms, managing LCD display, and communicating via RS-485 (via USART1) and IR LED (via LPUART).

Use Value: 12-bit ADC with hardware oversampling achieves ±0.5% energy measurement accuracy; Shutdown mode extends battery life to >10 years in backup operation.

Use Scenario: Brushless DC (BLDC) motor driver for HVAC blowers with Hall-effect commutation.

IC Role / Device Role / Timing Role: Real-time PWM generator using TIM1 advanced timer, ADC sampling phase currents, and processing commutation logic.

Use Value: 128 MHz timer clock enables 20 kHz PWM carrier with 12-bit resolution; 5 V-tolerant I/Os interface directly with Hall sensors and gate drivers.

Wireless Sensor Node Medical Wearable

Use Scenario: BLE-connected environmental sensor node measuring temperature/humidity and transmitting via UART-to-Bluetooth bridge.

IC Role / Device Role / Timing Role: Host MCU managing sensor I2C reads, data preprocessing, and UART framing for external BLE module.

Use Value: Dual I2C interfaces allow simultaneous connection to HTS221 and LIS2DH; Stop mode current <1.5 µA extends CR2032 battery life to 2+ years.

Use Scenario: ECG front-end with lead-off detection, analog filtering, and Bluetooth LE telemetry.

IC Role / Device Role / Timing Role: Signal conditioner and digital controller acquiring analog leads via ADC, computing heart rate, and driving UART to BLE SoC.

Use Value: 12-bit ADC with programmable gain amplifier (via VREFBUF) achieves 100 dB SNR for microvolt-level ECG signals; 32 kHz RTC ensures accurate timestamping of arrhythmia events.

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/peripherals but only 32 KB Flash, no securable area, and no VREFBUF - lacks hardware voltage reference buffer for precision ADC scaling. Not suitable for applications requiring calibrated analog measurements (e.g., medical sensors) or secure firmware updates. Select when cost sensitivity outweighs need for >32 KB Flash or hardware VREFBUF; verify ADC accuracy requirements.
NXP LPC804M101JDH20 ARM Cortex-M0+, 32 KB Flash, 8 KB SRAM, but only 10-bit ADC (no oversampling), no RTC calendar, and no LPUART - lacks low-power wakeup capability and time-stamping. Unsuitable for battery-backed real-time logging or sub-µA periodic sensing due to missing Standby/Shutdown modes and RTC alarm. Consider only for simple control tasks without time-critical analog acquisition or long-term autonomous operation.

Compared with STM32G031K6T7, STM32G030K6T6 trades security and analog precision for lower cost, while LPC804M101JDH20 omits essential low-power and timing peripherals - making the G031K6T7 uniquely balanced for secure, battery-aware embedded control with high-fidelity sensing.

Availability

STM32G031K6T7 is available at Aetrix Electronics and suitable for smart metering, industrial motor control, wireless sensor nodes, and medical wearables requiring stable component supply across extended product lifecycles.

Supply support for STM32G031K6T7 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 devices, sensors, and analog ICs for industrial, automotive, and consumer markets.

The STM32G0 series targets cost-sensitive, power-constrained applications requiring robust security, rich analog integration, and seamless toolchain support - optimized for rapid development of certified IoT endpoints and industrial controllers.

FAQ

What is the maximum operating temperature range for the STM32G031K6T7?

The STM32G031K6T7 is qualified for industrial operation from –40°C to +85°C ambient temperature, with extended variants supporting up to +125°C. This rating is verified per JEDEC JESD47 and applies to all LQFP32 packages under specified voltage and load conditions.

Does the STM32G031K6T7 support USB device functionality?

No, the STM32G031K6T7 does not integrate a USB PHY or USB controller. It lacks dedicated USB pads, descriptors, and enumeration logic. For USB connectivity, external USB-to-UART bridges (e.g., CP2102N) or migration to STM32G071/081 series with integrated USB 2.0 FS is required.

Can the internal 16 MHz RC oscillator be used as the system clock source without calibration?

Yes, the HSI16 oscillator operates at 16 MHz ±1 % over temperature and voltage, meeting timing requirements for most peripherals including USART (with auto-baud detection) and SPI. Calibration is optional and improves accuracy to ±0.5 % but is not mandatory for functional operation.

How many I/O pins support external interrupt capability?

All 30 general-purpose I/O pins (PA0–PA15, PB0–PB1, PF0–PF1) are mappable to external interrupt vectors via the EXTI controller. Each pin can trigger rising/falling/both-edge interrupts independently, enabling responsive button, sensor, or communication event handling without polling.

STM32G031K6T7 Specifications

Product attributes
Attribute value
Manufacturer:
STMicroelectronics
Package/Case:
32-LQFP
Series:
STM32G0
Packaging:
Tray
Product Status:
Active
Programmable:
-
Core Processor:
ARM® Cortex®-M0+
Core Size:
32-Bit
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:
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 18x12b SAR
Oscillator Type:
Internal
Operating Temperature:
-40°C ~ 105°C (TA)
Grade:
-
Qualification:
-
Mounting Type:
Surface Mount
Supplier Device Package:

STM32G031K6T7 FAQ

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

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

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

3.What payment methods are accepted for STM32G031K6T7?

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

Note: Certain payment methods may incur a processing fee.

4.How is shipping managed for STM32G031K6T7?

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

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

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

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

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

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

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

Return procedure for STM32G031K6T7:

1.Submit a request within 90 days.

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

STM32G031K6T7 Tags

  • STM32G031K6T7
  • STM32G031K6T7 PDF
  • STM32G031K6T7 Datasheet
  • STM32G031K6T7 Specifications
  • STM32G031K6T7 Images
  • STMicroelectronics
  • STMicroelectronics STM32G031K6T7
  • Buy STM32G031K6T7
  • STM32G031K6T7 Price
  • STM32G031K6T7 Distributor
  • STM32G031K6T7 Supplier
  • STM32G031K6T7 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