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

- Shipping:

Inventory:1,861
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G031K6T6 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 two I²C interfaces supporting Fast-mode Plus (1 Mbit/s). It targets cost-sensitive industrial control and smart sensor nodes requiring low-power operation down to Shutdown mode (200 nA) and RTC backup via VBAT.
For engineers reviewing the STM32G031K6T6 datasheet, STM32G031K6T6 pinout, STM32G031K6T6 application, or STM32G031K6T6 equivalent, key selection criteria include its 64 MHz CPU frequency, 5-channel DMA controller with flexible mapping, 11 timers (including two low-power LPTIMs), 44 fast I/Os with 5 V tolerance, and support for SWD debug interface - all validated for -40°C to 85°C operation.
Technical Context
The STM32G031K6T6 integrates an Arm Cortex-M0+ core with MPU, embedded flash with securable area and hardware parity on SRAM, and a comprehensive clock system featuring 4–48 MHz HSE, 32 kHz LSE with calibration, and ±1% internal 16 MHz RC oscillator with PLL. Its power architecture supports four low-power modes (Sleep, Stop, Standby, Shutdown) with programmable BOR and PVD.
Peripheral interconnect includes dedicated DMA request multiplexer (DMAMUX), NVIC with 32 external interrupts, and advanced analog subsystem comprising 12-bit ADC with hardware oversampling (up to 16-bit), temperature sensor, VREFINT, and VBAT monitoring - all accessible across multiple I/O ports with full alternate function remapping.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - enables real-time deterministic control in compact firmware footprint. |
| Memory | 64 KB Flash (with protection/securable area), 8 KB SRAM (HW parity) - supports secure boot and robust data integrity. |
| ADC | 12-bit, 0.4 µs conversion time, up to 16 external channels - delivers high-speed sampling for motor current sensing or sensor fusion. |
| Timers | 11 timers: 1x 128 MHz-capable advanced timer (TIM1), 4x general-purpose 16-bit, 2x low-power 16-bit (LPTIM1/2), 2x watchdogs - covers motor control, PWM generation, and ultra-low-power timing. |
| Communication | 2× I²C (Fast-mode Plus, 1 Mbit/s), 2× USART (one with LIN/ISO7816/IrDA), 2× SPI (32 Mbit/s), 1× LPUART - enables multi-protocol connectivity in constrained nodes. |
| Power Range | 1.7–3.6 V supply, -40°C to +85°C ambient - suitable for battery-powered and industrial environments without external regulators. |
| I/O Count | Up to 44 fast I/Os, multiple 5 V-tolerant - simplifies level-shifting in mixed-voltage systems and eases PCB routing. |
Pinout & Package
STM32G031K6T6 is housed in a 32-pin Ultra-Fine Pitch Quad Flat No-lead (UFQFPN32) package, 5 × 5 mm, 0.5 mm pitch, ECOPACK2-compliant. Pinout validated per STMicroelectronics DS12992 Rev 4, Section 4 (Pinouts, pin description and alternate functions).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual VDD/VSS pairs ensure stable core and I/O rail decoupling; supports single-supply operation from 1.7–3.6 V. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; compatible with external push-button or supervisor IC assertion. |
| PA0–PA15, PB0–PB15, PC13–PC15 | General-purpose I/Os | 44 total GPIOs; all mappable to external interrupt vectors; multiple pins 5 V-tolerant for interfacing with legacy peripherals. |
| PA9/PA10, PA11/PA12 | USART1 TX/RX, USB D+/D− | PA9/PA10 support USART1 with auto baud rate detection; PA11/PA12 are USB 2.0 Full-Speed capable (no internal PHY - requires external transceiver). |
| PA1, PA4–PA7, PB0–PB1 | ADC inputs | 16-channel ADC input mapping; includes internal temperature sensor and VREFINT channel for calibration. |
| PA13/PA14 | SWDIO/SWCLK | Serial Wire Debug interface - enables non-intrusive programming and real-time debugging with minimal pin count. |
Key Features
| Feature | Design Value |
|---|---|
| Low-power shutdown mode | 200 nA typical current draw with RTC and backup registers retained - extends battery life in metering and IoT endpoints. |
| Hardware CRC unit | Dedicated 32-bit CRC calculation engine - accelerates firmware integrity checks and communication frame validation without CPU load. |
| Programmable voltage detector (PVD) | Configurable trip points across VDD range - enables early warning of brownout conditions before system reset occurs. |
| Calendar RTC with alarm | Real-time clock with sub-second resolution, alarm, and periodic wakeup from Stop/Standby - eliminates need for external RTC IC. |
| Secure boot and ROP | Readout protection (ROP) levels and securable flash area - enforces firmware confidentiality and prevents unauthorized code extraction. |
Applications
| Smart Energy Metering | Industrial Sensor Node |
|---|---|
Use Scenario: Electricity/water/gas meter with pulse counting, tamper detection, and wireless reporting. IC Role / Device Role / Timing Role: Main system controller managing metrology ADC sampling, RTC-based billing intervals, and UART/LPUART communication to NB-IoT or LoRaWAN modem. Use Value: Integrated 12-bit ADC with hardware oversampling achieves >14-bit effective resolution for accurate energy measurement; Shutdown mode enables 10+ year battery life. |
Use Scenario: Wireless temperature/humidity/pressure node deployed in factory floor or HVAC ducts. IC Role / Device Role / Timing Role: Data acquisition hub interfacing analog sensors via ADC, driving local display via SPI, and transmitting via USART to gateway. Use Value: Dual low-power timers (LPTIM1/2) enable precise sensor sampling intervals; 5 V-tolerant I/Os simplify connection to legacy analog front-ends without level shifters. |
| Motor Control Interface | Secure Access Controller |
Use Scenario: Brushless DC motor driver with Hall-effect feedback and overcurrent protection. IC Role / Device Role / Timing Role: Real-time commutation logic using TIM1 advanced timer with complementary PWM outputs and dead-time insertion. Use Value: 128 MHz-capable timer delivers sub-microsecond PWM resolution; hardware fault input (BKIN) enables immediate shutdown on overcurrent event. |
Use Scenario: Door lock or access panel with keypad, RFID reader, and encrypted audit logging. IC Role / Device Role / Timing Role: Secure host processor validating credentials, managing encrypted EEPROM writes, and controlling solenoid via GPIO with tamper detection. Use Value: Readout protection (ROP) and securable flash prevent firmware reverse-engineering; 96-bit unique ID enables device-specific key binding. |
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 or VREFBUF; identical UFQFPN32 package. | Lacks hardware voltage reference buffer and secure boot features - unsuitable for calibrated sensor systems or firmware IP protection. | Select when cost sensitivity outweighs need for secure boot or precision analog reference. |
| STM32F030K6T6 | Cortex-M0 core (48 MHz), no LPUART, no hardware oversampling, no PVD, 16 KB Flash, same package. | Lower peripheral integration and missing low-power features limit use in battery-operated or safety-critical designs. | Choose only for legacy F0 migration where existing toolchain compatibility is prioritized over power/performance gains. |
Compared with STM32G030K6T6, the G031K6T6 adds securable flash and VREFBUF for enhanced security and analog accuracy; versus STM32F030K6T6, it delivers higher clock speed, richer low-power modes, and modern peripheral set - making it the preferred choice for new designs requiring scalability and future-proofing.
Availability
STM32G031K6T6 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart metering systems, and motor interface modules requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for STM32G031K6T6 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 entry-level embedded applications demanding high integration, ultra-low power, and robust security - delivering Cortex-M0+ performance in cost-optimized packages for mass-market IoT and control systems.
FAQ
Does STM32G031K6T6 support USB device functionality?
No, STM32G031K6T6 does not integrate a USB physical layer (PHY). While PA11/PA12 are labeled USB D+/D− in the datasheet, they require an external USB transceiver to implement USB Full-Speed device functionality. The MCU provides only the USB controller logic and clocking infrastructure.
What is the maximum operating frequency of the ADC clock?
The ADC clock (ADCCLK) is derived from APB1 and must not exceed 16 MHz per DS12992 Rev 4 Section 5.3.18. At 16 MHz, the 12-bit conversion time remains 0.4 µs (16 ADCCLK cycles), enabling up to 2.5 MSPS sampling rate with no oversampling.
Can the internal 32 kHz RC oscillator be used for RTC calibration?
Yes - the internal 32 kHz RC oscillator (LSI) can drive the RTC in absence of an external 32.768 kHz crystal. However, its ±5% accuracy limits timekeeping precision; for sub-second accuracy, the calibrated 32 kHz crystal oscillator (LSE) with built-in trimming is required.
Is the STM32G031K6T6 pin-compatible with other STM32G031 variants?
Yes, within the same package variant: STM32G031K6T6 (UFQFPN32) shares identical pinout with STM32G031K4T6 and STM32G031K8T6. Differences lie solely in Flash size (32/64/128 KB) and feature enablement - allowing hardware reuse across product tiers.
STM32G031K6T6 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:
- 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:
- External, Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G031K6T6 FAQ
1.How can I place an order for STM32G031K6T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G031K6T6 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 STM32G031K6T6 reliable?
The price and inventory of STM32G031K6T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G031K6T6 is usually 5 days.
3.What payment methods are accepted for STM32G031K6T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G031K6T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G031K6T6?
STM32G031K6T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G031K6T6 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 STM32G031K6T6?
For technical support, including STM32G031K6T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G031K6T6 requirements.
6.How does Aetrix verify that STM32G031K6T6 is sourced from the original manufacturer or authorized distributors?
All STM32G031K6T6 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 STM32G031K6T6 meets industry standards.
7.What is the process for return or replacement of STM32G031K6T6?
All STM32G031K6T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G031K6T6, 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 STM32G031K6T6 part is unused and in its original packaging.
Return procedure for STM32G031K6T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G031K6T6 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…

