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

- Shipping:

Inventory:2,087
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32L031K4U6TR from STMicroelectronics is an ultra-low-power 32-bit Arm® Cortex®-M0+ microcontroller in UFQFPN28 (4×4 mm) package, featuring 16 KB Flash, 8 KB SRAM, 1 KB EEPROM with ECC, 12-bit ADC (1.14 Msps), and dual ultra-low-power comparators. It operates from 1.65–3.6 V across –40 to +125 °C and delivers 76 µA/MHz in Run mode - ideal for battery-powered sensor nodes and smart metering endpoints.
For engineers reviewing the STM32L031K4U6TR datasheet, STM32L031K4U6TR pinout, STM32L031K4U6TR application, or STM32L031K4U6TR equivalent, key selection criteria include standby current (0.23 µA), RTC + 8 KB RAM retention in Stop mode (0.6 µA), 5 µs wakeup from Flash, and 31 I/Os with 5V tolerance - critical for energy-constrained industrial and IoT edge devices.
Technical Context
The STM32L031K4U6TR integrates a Cortex-M0+ core running up to 32 MHz with dynamic voltage scaling, supported by multiple clock sources: HSI16 (±1%), LSE (32 kHz RTC), MSI (65 kHz–4.2 MHz), and PLL. Its low-power architecture includes five operational modes (Run, Sleep, Low-power Run/Sleep, Stop, Standby), each with distinct peripheral availability and current profiles.
Memory subsystem includes ECC-protected 16 KB Flash and 1 KB data EEPROM, while analog peripherals comprise a 10-channel 12-bit ADC (down to 1.65 V), two comparators with window mode and wake-up capability, and internal temperature sensor with factory calibration. DMA supports seven channels across ADC, USART, SPI, I2C, and timers.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | Arm Cortex-M0+, 32 MHz max - enables deterministic real-time control with <1 cycle per instruction efficiency. |
| Flash / SRAM / EEPROM | 16 KB Flash (ECC), 8 KB SRAM, 1 KB EEPROM (ECC) - ensures code/data integrity and nonvolatile parameter storage without external components. |
| Supply Voltage Range | 1.65 V to 3.6 V - supports direct Li-ion/Li-SOCl₂ battery operation and wide-input industrial power rails. |
| Operating Temperature | –40 °C to +125 °C - qualified for under-hood automotive, industrial motor control, and outdoor metering environments. |
| Standby Current | 0.23 µA with 2 wakeup pins - enables multi-year battery life in always-on sensor wake-on-event applications. |
| ADC Performance | 12-bit, 1.14 Msps, 10-channel, down to 1.65 V supply - allows high-resolution signal acquisition even during brownout conditions. |
| Wakeup Time | 5 µs from Flash - minimizes latency in responsive event-driven firmware, reducing average power in duty-cycled systems. |
Pinout & Package
STM32L031K4U6TR uses the UFQFPN28 (4 × 4 mm, 0.5 mm pitch) package - RoHS-compliant, ECOPACK®2 certified, and optimized for space-constrained PCB layouts in portable and embedded modules.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Main power supply (1.65–3.6 V) | Primary core and I/O domain input; requires local 100 nF decoupling per VDD pin. |
| VSS | Ground reference | Dedicated analog/digital ground return; must be connected to low-impedance PCB plane. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts 1.65–3.6 V logic levels and supports external pushbutton or supervisor IC. |
| PA0–PA15 | General-purpose I/Os | 31 total I/Os (including PB0–PB11); 31 are 5V-tolerant - simplifies level-shifting in mixed-voltage systems. |
| PA1 | ADC_IN1 / COMP2_INP | Shared analog input for ADC channel 1 and comparator 2 non-inverting input - enables simultaneous sensing and threshold detection. |
| PA4 | SPI1_NSS / USART2_CK | Configurable as SPI slave select or USART synchronous clock - supports hardware-controlled peripheral arbitration or synchronous serial comms. |
| PA13/PA14 | SWDIO/SWCLK | Dedicated Serial Wire Debug interface - enables full-speed programming and real-time debugging without dedicated JTAG pins. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Stop mode with RTC + 8 KB RAM retention | 0.6 µA - preserves full context and timekeeping while enabling sub-second wakeups for periodic telemetry. |
| Programmable voltage detector (PVD) | Configurable trip thresholds - provides early warning of supply droop before brownout reset triggers, allowing graceful state save. |
| Embedded 96-bit unique ID | Factory-programmed, read-only - enables secure device authentication and cryptographic key binding in firmware updates. |
| Pre-programmed USART/SPI bootloader | No external programmer required - supports field firmware upgrades via UART or SPI using standard ST tools (STM32CubeProgrammer). |
| Hardware CRC calculation unit | 32-bit polynomial (0x4C11DB7) - accelerates checksum validation for OTA payloads and EEPROM data integrity checks. |
Applications
| Smart Utility Metering | Wireless Sensor Node |
|---|---|
Use Scenario: Battery-powered gas/water meter with hourly pulse counting, temperature compensation, and LoRaWAN transmission. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition, RTC-based scheduling, low-power radio interface, and EEPROM-stored calibration data. Use Value: 0.23 µA Standby current extends 10-year battery life; 1 KB EEPROM stores metrology coefficients without external NV memory. | Use Scenario: Industrial vibration monitor mounted on rotating equipment, sampling accelerometer data every 5 seconds and transmitting alerts on anomaly detection. IC Role / Device Role / Timing Role: Edge intelligence node performing real-time FFT preprocessing, wake-on-interrupt sensing, and burst-mode RF transmission. Use Value: 5 µs wakeup + 76 µA/MHz Run mode minimizes active time; dual comparators enable analog-triggered wake without CPU polling. |
| Portable Medical Device | Industrial Control Panel |
Use Scenario: Handheld blood glucose meter with LCD display, button interface, and USB charging circuitry. IC Role / Device Role / Timing Role: System-on-chip managing electrochemical sensor signal chain, touch-key scanning, display refresh, and USB enumeration. Use Value: 31 5V-tolerant I/Os simplify direct connection to display drivers and USB PHY; 125 °C rating supports sterilization cycles. | Use Scenario: DIN-rail mounted HVAC controller with relay outputs, ambient sensor inputs, and Modbus RTU over RS-485. IC Role / Device Role / Timing Role: Real-time PLC-like executor handling PID loop timing, watchdog supervision, and isolated communication interface. Use Value: Independent + window watchdogs ensure fail-safe shutdown; 8 KB SRAM buffers Modbus transaction queues during transient bus faults. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32L011K4T6 | 8 KB Flash, no EEPROM, same UFQFPN28 package and peripheral set | Lacks 1 KB EEPROM - requires external memory or SRAM backup for persistent settings | Select when application firmware size ≤8 KB and nonvolatile parameter storage is handled externally or via Flash wear-leveling. |
| STM32L051K8U6 | 64 KB Flash, 8 KB SRAM, 2 KB EEPROM, identical low-power specs and pinout | Higher Flash/SRAM capacity - supports larger protocol stacks (e.g., BLE, MQTT) and complex state machines | Select when future firmware expansion, OTA update partitioning, or dual-bank bootloading is required. |
Compared with STM32L011K4T6, the STM32L031K4U6TR adds 1 KB EEPROM for robust parameter storage; compared with STM32L051K8U6, it reduces Flash cost and footprint while retaining identical low-power performance and peripheral compatibility - making it optimal for cost-sensitive, fixed-function edge nodes.
Availability
STM32L031K4U6TR is available at Aetrix Electronics and suitable for smart metering, wireless sensor networks, portable medical devices, and industrial control panels requiring stable component supply and long-term lifecycle support.
Supply support for STM32L031K4U6TR 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 ICs, sensors, and analog products for industrial, automotive, and consumer markets.
The STM32L0-series targets ultra-low-power embedded applications, emphasizing sub-µA standby operation, integrated EEPROM, and robust analog peripherals - engineered specifically for battery-operated and energy-harvesting systems where longevity and reliability are paramount.
FAQ
What is the maximum operating frequency of the STM32L031K4U6TR?
The STM32L031K4U6TR's Arm Cortex-M0+ core runs at up to 32 MHz, achievable with the internal 16 MHz HSI oscillator plus PLL multiplication or external crystal input. Frequency scaling is dynamically managed via the voltage regulator to maintain stability across 1.65–3.6 V supply range.
Does the STM32L031K4U6TR support hardware encryption or secure boot?
No - the STM32L031K4U6TR does not integrate hardware AES, SHA, or secure boot engines. It features a 96-bit unique ID for software-based key derivation and supports external secure elements via I2C or SPI, but lacks on-chip cryptographic accelerators found in STM32L4/L5 series.
Can the 1 KB EEPROM be used for firmware storage or only for data?
The 1 KB EEPROM is designed exclusively for data storage - not executable code. It supports byte/word erase and write operations with 100 kcycle endurance and 20-year data retention at 85 °C. Firmware must reside in Flash memory; EEPROM holds calibration values, device IDs, or user configuration parameters.
Is the STM32L031K4U6TR pin-compatible with other STM32L031 variants in UFQFPN28?
Yes - all STM32L031x4/x6 devices in UFQFPN28 (e.g., STM32L031G4U6, STM32L031K4U6, STM32L031F4U6) share identical pinouts and electrical characteristics. Differences are limited to Flash size (16 KB vs 32 KB), EEPROM presence, and peripheral enablement - enabling drop-in replacement within the same density grade.
STM32L031K4U6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-UFQFN Exposed Pad
- Series:
- STM32L0
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- ARM® Cortex®-M0+
- Core Size:
- 32-Bit Single-Core
- Speed:
- 32MHz
- Connectivity:
- I2C, IrDA, LINbus, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, DMA, POR, PWM, WDT
- Number of I/O:
- 27
- Program Memory Size:
- 16KB (16K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 1K x 8
- RAM Size:
- 8K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 3.6V
- Data Converters:
- A/D 10x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32L031K4U6TR FAQ
1.How can I place an order for STM32L031K4U6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32L031K4U6TR 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 STM32L031K4U6TR reliable?
The price and inventory of STM32L031K4U6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32L031K4U6TR is usually 5 days.
3.What payment methods are accepted for STM32L031K4U6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32L031K4U6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32L031K4U6TR?
STM32L031K4U6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32L031K4U6TR 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 STM32L031K4U6TR?
For technical support, including STM32L031K4U6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32L031K4U6TR requirements.
6.How does Aetrix verify that STM32L031K4U6TR is sourced from the original manufacturer or authorized distributors?
All STM32L031K4U6TR 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 STM32L031K4U6TR meets industry standards.
7.What is the process for return or replacement of STM32L031K4U6TR?
All STM32L031K4U6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM32L031K4U6TR, 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 STM32L031K4U6TR part is unused and in its original packaging.
Return procedure for STM32L031K4U6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32L031K4U6TR 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…

