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

- Shipping:

Inventory:1,374
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32L031C6U6 from STMicroelectronics is an ultra-low-power 32-bit Arm® Cortex®-M0+ microcontroller in UFQFPN28 (4×4 mm) package, featuring 32 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 STM32L031C6U6 datasheet, STM32L031C6U6 pinout, STM32L031C6U6 application, or STM32L031C6U6 equivalent, key selection criteria include standby current (0.23 µA), RTC-enabled Stop mode (0.6 µA with 8 KB RAM retention), 5 µs Flash wakeup time, and 31 I/Os with 5V tolerance - critical for energy-constrained industrial and IoT edge devices.
Technical Context
The STM32L031C6U6 integrates a Cortex-M0+ core running up to 32 MHz with dynamic voltage scaling, supported by multiple clock sources: 16 MHz factory-trimmed HSI (±1%), 32 kHz LSE for RTC calibration, and PLL for CPU clock multiplication. Its low-power architecture includes five operational modes - Run, Sleep, Low-power Run, Stop, and Standby - each with distinct peripheral enablement and retention policies.
Memory subsystem includes ECC-protected Flash and EEPROM, 20-byte backup registers, and sector write protection. Analog peripherals are fully functional down to 1.65 V: 12-bit ADC supports up to 10 channels at 10 ksps (41 µA), while two comparators offer window mode detection and wake-up capability with internal reference.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | Arm Cortex-M0+, 32 MHz max - enables deterministic real-time control with 0.95 DMIPS/MHz efficiency |
| Flash / RAM / EEPROM | 32 KB Flash (ECC), 8 KB SRAM, 1 KB EEPROM (ECC) - ensures data integrity in harsh environments |
| Supply Range | 1.65 V to 3.6 V - supports single-cell Li-ion, coin cell, and energy-harvesting power sources |
| Low-Power Modes | 0.23 µA Standby (2 wakeup pins), 0.6 µA Stop + RTC + 8 KB RAM retention - extends battery life to years |
| ADC | 12-bit, 1.14 Msps, 10-channel, 41 µA @ 10 ksps - enables high-resolution sensor acquisition without external signal chain |
| Timers | 8 timers including 1x 16-bit advanced, 2x 16-bit general-purpose, 1x ultra-low-power LPTIM - supports precise timing, PWM, and event capture |
| I/O Count | 25 GPIOs (31 total I/Os on full-pin-count variants; C6U6 uses UFQFPN28 with 25 usable pins) - fits compact PCB layouts with mixed-signal routing |
| Package | UFQFPN28, 4 × 4 mm, 0.5 mm pitch - enables high-density placement in space-constrained wearables and modules |
Pinout & Package
STM32L031C6U6 is housed in a 28-pin Ultra Thin Fine Pitch Quad Flat No-lead (UFQFPN28) package measuring 4 × 4 mm with 0.5 mm pitch. The package is ECOPACK®2-compliant and supports reflow soldering per JEDEC J-STD-020.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Main power supply (1.65–3.6 V) | Supplies core and I/O domains; requires local 100 nF decoupling |
| VSS | Ground reference | Dual ground pins (pins 1 & 28) reduce impedance for noise-sensitive analog operation |
| NRST | Active-low reset input | Accepts 1.65–3.6 V logic; internal pull-up enables standalone reset without external circuitry |
| PA0–PA15 | General-purpose I/Os | Up to 31 I/Os total; 25 available on UFQFPN28 - 31 support 5V tolerance for mixed-voltage interfacing |
| PA1 | ADC_IN1 / COMP2_OUT | Shared analog input and comparator output - enables threshold-triggered wake-up from Stop mode |
| PA4 | ADC_IN4 / DAC_OUT | Supports simultaneous ADC sampling and DAC output for closed-loop control |
| PA13/PA14 | SWDIO / SWCLK | Serial Wire Debug interface - allows in-circuit programming and real-time debugging with minimal pin count |
| PC13 | LSE oscillator / RTC calendar | Drives 32.768 kHz crystal for accurate timekeeping and calendar functions |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power BOR | 5 selectable brownout thresholds (1.65–2.9 V) - prevents erratic operation during battery sag without external supervisor |
| ECC memory protection | Hardware-implemented ECC on Flash and EEPROM - eliminates need for software checksum layers in safety-critical firmware |
| Pre-programmed bootloader | Factory-loaded USART/SPI bootloader - enables field firmware updates without debug probe |
| Multi-speed internal RC | 65 kHz–4.2 MHz MSI oscillator with auto-calibration - replaces external crystals for cost-sensitive timing applications |
| 7-channel DMA | Offloads ADC, SPI, I2C, USART, and timer transfers - reduces CPU load and power consumption during burst data acquisition |
Applications
| Smart Utility Metering | Wireless Sensor Node |
|---|---|
Use Scenario: Battery-powered gas/water meter with pulse counting, temperature sensing, and LoRaWAN telemetry. IC Role / Device Role / Timing Role: Main system controller managing sensor readout, RTC-based timestamping, secure firmware updates, and low-duty-cycle radio scheduling. Use Value: 0.23 µA Standby current and 5 µs wakeup enable >10-year battery life; 1 KB EEPROM stores calibration and billing logs with ECC resilience. | Use Scenario: Industrial vibration monitor using MEMS accelerometer, onboard FFT processing, and BLE beacon transmission. IC Role / Device Role / Timing Role: Real-time signal processor executing sensor fusion algorithms, triggering wake-up via comparator on amplitude threshold breach. Use Value: Dual ultra-low-power comparators (down to 1.65 V) detect mechanical anomalies without waking CPU; 12-bit ADC captures raw waveform at 10 ksps within 41 µA budget. |
| Portable Medical Device | Asset Tracking Tag |
Use Scenario: Disposable glucose monitor with electrochemical sensor interface, LCD driver, and NFC data transfer. IC Role / Device Role / Timing Role: Mixed-signal controller handling analog front-end biasing, ADC conversion, display refresh, and contactless data dump. Use Value: 31 5V-tolerant I/Os simplify connection to legacy sensors and displays; integrated VREFINT enables ratiometric ADC measurements without external reference. | Use Scenario: GPS-denied indoor asset tracker using UWB time-of-flight ranging and Bluetooth LE reporting. IC Role / Device Role / Timing Role: Low-latency timing coordinator synchronizing UWB transceiver pulses, BLE advertising intervals, and motion-triggered logging. Use Value: LPTIM provides sub-microsecond resolution timing independent of main clock domain; RTC with calibration maintains ±1 ppm accuracy over temperature for time-stamped location events. |
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 | 16 KB Flash, 2 KB SRAM, no EEPROM, same UFQFPN32 package but fewer I/Os | Suitable for simpler sensor hubs without data logging; lacks 1 KB EEPROM for nonvolatile event storage | Select when firmware size <16 KB and EEPROM is unnecessary - lower BOM cost |
| STM32L051C8T6 | 64 KB Flash, 8 KB SRAM, 2 KB EEPROM, higher current in Run mode (92 µA/MHz) | Better for complex protocol stacks (BLE, Zigbee) requiring larger code footprint and dual EEPROM banks | Choose when extended Flash and dual-bank EEPROM are required - accepts higher active power |
Compared with STM32L011K4T6, the STM32L031C6U6 adds EEPROM and higher Flash density without increasing package size; versus STM32L051C8T6, it trades 32 KB Flash and lower active current for reduced code capacity - optimizing for minimal energy-per-operation in simple edge nodes.
Availability
STM32L031C6U6 is available at Aetrix Electronics and suitable for smart metering, wireless sensor networks, portable medical diagnostics, and asset tracking applications requiring stable component supply, long-term lifecycle assurance, and RoHS-compliant manufacturing.
Supply support for STM32L031C6U6 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 components for industrial, automotive, and consumer markets.
The STM32L0 series targets ultra-low-power embedded applications, emphasizing energy efficiency, integrated analog peripherals, and robust security features - specifically engineered for battery-operated and energy-harvesting systems.
FAQ
What is the maximum operating frequency and core type of the STM32L031C6U6?
The STM32L031C6U6 features an Arm Cortex-M0+ core with a maximum CPU frequency of 32 MHz. It achieves 0.95 DMIPS/MHz performance and supports dynamic voltage scaling to optimize power versus speed. The core is factory-trimmed for 16 MHz HSI accuracy (±1%) and can be boosted via PLL for higher throughput tasks.
Does the STM32L031C6U6 support hardware error correction for memory?
Yes, the STM32L031C6U6 implements hardware ECC on both its 32 KB Flash and 1 KB EEPROM. This detects and corrects single-bit errors and detects double-bit errors without software overhead, ensuring data integrity in mission-critical applications such as utility metering and medical logging where uncorrected memory faults could compromise safety or compliance.
How many analog inputs does the 12-bit ADC support, and what is its minimum supply voltage for operation?
The integrated 12-bit ADC supports up to 10 input channels and operates down to 1.65 V supply voltage. At 10 ksps, it consumes only 41 µA and delivers 1.14 Msps maximum sampling rate. Input channels include dedicated pins (e.g., PA0–PA7) and internal signals like temperature sensor and VREFINT, enabling self-calibration and environmental monitoring.
Can the STM32L031C6U6 wake up from Stop mode using analog comparators?
Yes, both ultra-low-power comparators (COMP1 and COMP2) can generate wake-up events from Stop mode. Each comparator supports window mode and independent output assertion, with internal voltage reference and programmable hysteresis. Wake-up occurs in under 5 µs, and comparator inputs remain active at 1.65 V - enabling rapid response to analog threshold breaches without CPU intervention.
STM32L031C6U6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 48-UFQFN Exposed Pad
- Series:
- STM32L0
- Packaging:
- Tray
- 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:
- 38
- Program Memory Size:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 1K x 8
- RAM Size:
- 8K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.65V ~ 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:
STM32L031C6U6 FAQ
1.How can I place an order for STM32L031C6U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32L031C6U6 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 STM32L031C6U6 reliable?
The price and inventory of STM32L031C6U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32L031C6U6 is usually 5 days.
3.What payment methods are accepted for STM32L031C6U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32L031C6U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32L031C6U6?
STM32L031C6U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32L031C6U6 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 STM32L031C6U6?
For technical support, including STM32L031C6U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32L031C6U6 requirements.
6.How does Aetrix verify that STM32L031C6U6 is sourced from the original manufacturer or authorized distributors?
All STM32L031C6U6 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 STM32L031C6U6 meets industry standards.
7.What is the process for return or replacement of STM32L031C6U6?
All STM32L031C6U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32L031C6U6, 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 STM32L031C6U6 part is unused and in its original packaging.
Return procedure for STM32L031C6U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32L031C6U6 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…
