STMicroelectronics STM32F031K6U6
- Part No.:
- STM32F031K6U6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 32-UFQFN Exposed Pad
- Datasheet:
-
STM32F031K6U6.pdf
- Description:
- IC MCU 32BIT 32KB FLASH 32UFQFPN
- Quantity:
- Payment:

- Shipping:

Inventory:2,158
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32F031K6U6 from STMicroelectronics is a 32-bit ARM® Cortex®-M0 microcontroller in UFQFPN32 (5 × 5 mm) package, operating up to 48 MHz with 32 KB Flash, 4 KB SRAM (HW parity), and integrated 12-bit ADC (1.0 µs conversion), advanced timer (TIM1 with deadtime & emergency stop), and multiple communication interfaces (I²C Fast Mode Plus, USART with IrDA/LIN, SPI at 18 Mbit/s). It targets cost-sensitive industrial control and smart sensor nodes requiring low-power operation and robust analog integration.
For engineers reviewing the STM32F031K6U6 datasheet, STM32F031K6U6 pinout, STM32F031K6U6 application, or STM32F031K6U6 equivalent, key selection criteria include its 32-pin UFQFPN footprint, 5 V-tolerant I/O count (up to 26 pins), RTC with alarm/wakeup from Stop/Standby, programmable voltage detector (PVD), and extended temperature range (–40 to +105°C).
Technical Context
The STM32F031K6U6 implements an ARM Cortex-M0 core with Harvard architecture, supporting Thumb-2 instruction set and NVIC for deterministic interrupt handling. Its clock system integrates four oscillators: 4–32 MHz HSE, 32 kHz LSE for RTC, 8 MHz HSI with x6 PLL, and 40 kHz LSI - enabling flexible low-power mode transitions and precise timing control across sleep, stop, and standby states.
Peripheral interconnect uses AHB/APB buses with DMA support for ADC, USART, SPI, and I²C. The 12-bit ADC features separate analog supply (2.4–3.6 V), internal reference (VREFINT), and temperature sensor calibration. TIM1 provides six-channel PWM with hardware deadtime insertion and emergency input, critical for motor gate drive safety compliance.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | ARM Cortex-M0, 48 MHz max - enables real-time deterministic control with <100 ns interrupt latency. |
| Memory | 32 KB Flash (100k write/erase cycles), 4 KB SRAM with hardware parity - supports firmware updates and fault-tolerant data buffering. |
| ADC | 12-bit, 1.0 µs conversion time, 10-channel multiplexed - delivers 1 MSPS sampling for closed-loop analog sensing. |
| Timers | 1× advanced-control (TIM1), 4× general-purpose (TIM2/3/14/16), 1× SysTick - enables multi-axis motor control, IR decoding, and precise system timing. |
| I/O Voltage Tolerance | 26 pins 5 V tolerant - simplifies interface with legacy 5 V peripherals without level shifters. |
| Operating Temperature | –40 to +105°C - certified for industrial environments including motor drives and power supplies. |
| Power Supply Range | Digital I/O: 2.0–3.6 V; Analog (VDDA): 2.4–3.6 V - allows single-supply design with internal LDO regulation. |
Pinout & Package
STM32F031K6U6 is housed in a 32-pin Ultra-Fine Pitch Quad Flat No-lead (UFQFPN32) package measuring 5 × 5 × 0.55 mm, with 0.5 mm pitch and exposed thermal pad for enhanced thermal dissipation in compact PCB layouts.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Digital core and I/O supply (2.0–3.6 V); requires local 100 nF decoupling per VDD pin. |
| VDDA, VSSA | Analog power and ground | Independent analog domain supply (2.4–3.6 V); must be filtered separately to preserve ADC accuracy. |
| PA0–PA15, PB0–PB1 | General-purpose I/O | 32 total GPIOs; 26 support 5 V tolerance; all mappable to external interrupts (EXTI0–EXTI15). |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts 1.65–5.5 V logic levels for robust system initialization. |
| BOOT0 | Boot mode selection | High at power-on selects system memory bootloader; tied low for normal Flash execution. |
| SWDIO / SWCLK | Serial Wire Debug interface | 2-pin debug port supporting full JTAG/SWD functionality; no external pull-ups required. |
Key Features
| Feature | Design Value |
|---|---|
| Hardware CRC calculation unit | Accelerates firmware integrity checks and communication packet validation without CPU overhead. |
| Programmable voltage detector (PVD) | Configurable trip points (2.2–2.9 V) enable early brown-out detection and graceful shutdown before reset. |
| RTC with calendar, alarm, and wakeup | Retains time/date in Standby mode using VBAT; wakes CPU from Stop/Standby in <5 µs via EXTI line. |
| Independent & window watchdogs (IWDG/WWDG) | LSI-driven IWDG (40 kHz) and PCLK-driven WWDG provide dual-layer fail-safe reset for safety-critical tasks. |
| Temperature sensor & VREFINT | Calibrated on-chip sensor (±1.5°C accuracy) and internal reference (1.22 V ±1.5%) enable self-calibrating systems. |
Applications
| Industrial Motor Control | Smart Sensor Node |
|---|---|
Use Scenario: Brushless DC (BLDC) motor commutation in HVAC blowers and small pumps. IC Role / Device Role / Timing Role: Real-time PWM generation (TIM1), current sensing (ADC), and fault monitoring (emergency stop input). Use Value: Hardware deadtime prevents shoot-through in half-bridge drivers; 5 V-tolerant GPIOs interface directly with Hall-effect sensors. |
Use Scenario: Battery-powered environmental monitor logging temperature, humidity, and air quality. IC Role / Device Role / Timing Role: Sensor interface hub, low-power scheduler (RTC alarm), and wireless data prep (USART/I²C). Use Value: Stop mode current <1.3 µA extends battery life; calibrated temperature sensor eliminates external IC cost. |
| Energy Metering Interface | Home Appliance Control Panel |
Use Scenario: Isolated metering front-end communicating via I²C Fast Mode Plus to host MCU. IC Role / Device Role / Timing Role: Analog signal conditioning (ADC), isolation barrier interface (SPI), and tamper detection (GPIO EXTI). Use Value: 12-bit ADC with internal VREFINT ensures stable measurement accuracy across supply variations. |
Use Scenario: Touch-button and LED display controller in washing machines and microwaves. IC Role / Device Role / Timing Role: Capacitive touch acquisition (ADC), LED dimming (PWM), and user input scanning (GPIO matrix). Use Value: 48 MHz CPU handles real-time touch response; 32 GPIOs support 16-key matrix + 8 LED channels. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32F030K6T6 | Same Cortex-M0 core and pinout, but only 16 KB Flash and no hardware parity on SRAM. | Lacks SRAM parity and advanced timer features - unsuitable for safety-critical or high-integrity buffer applications. | Select when cost sensitivity outweighs need for SRAM error detection and enhanced timer capability. |
| STM32F042K6U6 | Adds USB 2.0 FS device interface and 16 KB of system memory for bootloader; same Flash/SRAM size. | Enables direct USB connectivity for firmware updates and PC-based diagnostics - not supported by F031. | Choose if USB device functionality is required and board layout can accommodate identical UFQFPN32 footprint. |
Compared with STM32F031K6U6, STM32F030K6T6 reduces memory reliability and peripheral sophistication for lower BOM cost, while STM32F042K6U6 adds USB at no package or pin-count penalty - making it ideal for field-upgradable embedded devices.
Availability
STM32F031K6U6 is available at Aetrix Electronics and suitable for industrial motor control, smart sensor nodes, energy metering interfaces, and home appliance control panels requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for STM32F031K6U6 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 components for industrial, automotive, and consumer markets.
The STM32F0 series targets cost-optimized, low-power embedded applications with Cortex-M0 cores, emphasizing analog integration, robust I/O, and simplified toolchain adoption for entry-level firmware development.
FAQ
What is the maximum operating frequency and how is it achieved?
The STM32F031K6U6 achieves 48 MHz maximum CPU frequency using its internal 8 MHz HSI oscillator with a 6× PLL multiplier, or optionally via an external 4–32 MHz crystal (HSE). The PLL output feeds the system clock (SYSCLK), and all APB/AHB peripherals derive clocks from this source with configurable prescalers. This configuration is validated across the full –40 to +105°C temperature range.
Does the device support true 5 V-tolerant I/O on all pins?
No - only up to 26 GPIOs (PA0–PA15, PB0–PB1, and specific alternate function pins) are specified as 5 V tolerant in the datasheet. Pins such as VDDA, NRST, BOOT0, and SWDIO are not 5 V tolerant and must remain within their absolute maximum ratings (≤3.6 V for most inputs). Always consult Table 11 (Pin Definitions) and Section 6.3.14 (I/O port characteristics) for per-pin voltage limits.
How does the RTC maintain time during power loss?
The RTC retains timekeeping and alarm functionality during main power loss by switching to the VBAT supply (1.65–3.6 V), which powers the RTC oscillator, calendar registers, and backup SRAM. A coin-cell battery or supercapacitor connected to VBAT ensures continuous operation. The LSE (32.768 kHz) crystal remains active in Standby mode, and wakeup from Stop/Standby occurs in under 5 µs upon RTC alarm event.
Is the 12-bit ADC fully differential or single-ended?
The ADC is single-ended only, with 10 input channels selectable via analog multiplexer. It supports conversion against VREFINT (1.22 V) or external VDDA (2.4–3.6 V) as reference. Differential mode is not implemented - no dedicated IN+ and IN– pairs exist. However, software can emulate pseudo-differential measurements using two consecutive single-ended reads and subtraction, though without common-mode rejection or guaranteed matching.
STM32F031K6U6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-UFQFN Exposed Pad
- Series:
- STM32F0
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Verified
- Core Processor:
- ARM® Cortex®-M0
- Core Size:
- 32-Bit Single-Core
- Speed:
- 48MHz
- Connectivity:
- I2C, IrDA, LINbus, SPI, UART/USART
- Peripherals:
- DMA, I2S, POR, PWM, WDT
- Number of I/O:
- 27
- Program Memory Size:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 4K x 8
- Voltage - Supply (Vcc/Vdd):
- 2V ~ 3.6V
- Data Converters:
- A/D 13x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32F031K6U6 FAQ
1.How can I place an order for STM32F031K6U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32F031K6U6 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 STM32F031K6U6 reliable?
The price and inventory of STM32F031K6U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32F031K6U6 is usually 5 days.
3.What payment methods are accepted for STM32F031K6U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32F031K6U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32F031K6U6?
STM32F031K6U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32F031K6U6 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 STM32F031K6U6?
For technical support, including STM32F031K6U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32F031K6U6 requirements.
6.How does Aetrix verify that STM32F031K6U6 is sourced from the original manufacturer or authorized distributors?
All STM32F031K6U6 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 STM32F031K6U6 meets industry standards.
7.What is the process for return or replacement of STM32F031K6U6?
All STM32F031K6U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32F031K6U6, 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 STM32F031K6U6 part is unused and in its original packaging.
Return procedure for STM32F031K6U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32F031K6U6 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…

