STMicroelectronics STM32L031F6P6TR
- Part No.:
- STM32L031F6P6TR
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 20-TSSOP (0.173", 4.40mm Width)
- Datasheet:
-
STM32L031F6P6TR.pdf
- Description:
- IC MCU 32BIT 32KB FLASH 20TSSOP
- Quantity:
- Payment:

- Shipping:

Inventory:10,872
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32L031F6P6TR from STMicroelectronics is an ultra-low-power 32-bit Arm® Cortex®-M0+ microcontroller in a 20-pin TSSOP 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 - optimized for battery-powered sensor nodes and smart metering endpoints.
For engineers reviewing the STM32L031F6P6TR datasheet, STM32L031F6P6TR pinout, STM32L031F6P6TR application, or STM32L031F6P6TR equivalent, key selection criteria include standby current (0.23 µA), RTC + 8 KB RAM retention in Stop mode (0.6 µA), 5 µs Flash wakeup time, and 31 I/Os with 5V tolerance - critical for energy-constrained industrial and IoT edge devices.
Technical Context
The STM32L031F6P6TR 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 generation. Its low-power architecture includes five operational modes - Run, Sleep, Low-power Run, Stop, and Standby - each with distinct peripheral availability and current profiles.
Peripheral interconnect is managed via an AHB/APB matrix supporting DMA-driven ADC conversions, UART/I2C/SPI communication, and eight timers including one ultra-low-power LPTIM, two watchdogs (IWDG/WWDG), and SysTick. All memories feature ECC protection, and the 1-KB data EEPROM enables robust parameter storage without external components.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | Arm Cortex-M0+, 32 MHz max - enables real-time control with <1-cycle instruction execution at 32 MHz. |
| Flash / SRAM / EEPROM | 32 KB Flash with ECC, 8 KB SRAM, 1 KB EEPROM with ECC - ensures firmware integrity and nonvolatile configuration storage across 100k write/erase cycles. |
| ADC | 12-bit, 1.14 Msps, 10-channel - supports high-resolution analog sensing (e.g., temperature, voltage) with single-shot or continuous conversion modes down to 1.65 V supply. |
| Low-power modes | 0.23 µA Standby (2 wake pins), 0.6 µA Stop + RTC + 8 KB RAM retention - extends coin-cell battery life to >10 years in periodic-sensing applications. |
| Supply range / Temp | 1.65–3.6 V, –40 to +125 °C - qualified for industrial and automotive under-hood environments without external regulators or heaters. |
| I/O capability | 31 fast I/Os, 31 5V-tolerant - simplifies interface to legacy 5V peripherals and reduces level-shifter count in mixed-voltage systems. |
| Wakeup time | 5 µs from Flash memory - enables rapid response to external interrupts while maintaining ultra-low average power in duty-cycled operation. |
Pinout & Package
STM32L031F6P6TR uses a 20-pin TSSOP package (6.5 × 4.4 mm, 0.65 mm pitch), compliant with ECOPACK®2 environmental standards. Pin functions are validated per ST's DS10668 Rev 6 datasheet Section 4 (Pin descriptions) and Table 15 (Pin definitions).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Main power supply | 1.65–3.6 V input; powers core, SRAM, and most peripherals - requires local 100 nF decoupling. |
| VSS | GND reference | Digital ground return path; must be connected to system GND plane with low-inductance routing. |
| NRST | Active-low reset | Asynchronous reset input; internal pull-up enabled; accepts 1.65–3.6 V logic levels. |
| PA0–PA9 | General-purpose I/O | Configurable as GPIO, ADC inputs (PA0–PA7), USART TX/RX, SPI/I2C alternate functions - all 5V tolerant except PA10–PA15. |
| PA10–PA15 | General-purpose I/O | GPIO only (no analog or AF); 5V tolerant - suitable for digital control signals in mixed-voltage designs. |
| SWDIO / SWCLK | Debug interface | Serial Wire Debug I/O and clock - enables programming and real-time debugging without JTAG overhead. |
| BOOT0 | Boot mode select | High at reset forces system memory bootloader activation via USART or SPI - used for field firmware updates. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power BOR | 5 selectable brownout thresholds (1.6–2.8 V) - prevents erratic operation during battery sag without external supervisor IC. |
| Programmable voltage detector (PVD) | Monitors VDD against 8 programmable thresholds (2.2–2.9 V) - triggers interrupt or reset before critical undervoltage occurs. |
| Embedded RTC with calibration | 32 kHz LSE-based real-time clock with ±1 ppm accuracy after calibration - eliminates need for external TCXO in time-stamped logging. |
| Pre-programmed bootloader | Factory-loaded USART/SPI bootloader - enables firmware updates over serial interface without debug probe. |
| Hardware CRC unit | 32-bit cyclic redundancy calculation engine - accelerates firmware image verification and data packet integrity checks in <1 µs. |
Applications
| Smart Utility Metering | Wireless Sensor Node |
|---|---|
Use Scenario: Battery-powered electricity/water meter collecting pulse counts and temperature every 15 minutes, transmitting via NB-IoT. IC Role / Device Role / Timing Role: Main controller managing ADC sampling, RTC timestamping, EEPROM parameter storage, and low-power UART transmission. Use Value: 0.6 µA Stop mode + RTC + full RAM retention enables 12+ year battery life on CR2032 while preserving session state and calibration data. | Use Scenario: Environmental monitoring node measuring temperature, humidity, and ambient light in remote agricultural fields. IC Role / Device Role / Timing Role: Sensor hub aggregating I²C sensor data, performing local threshold detection via comparators, and waking only on event. Use Value: Dual ultra-low-power comparators with window mode and wake-up capability reduce average current to <1 µA during idle, extending AA battery life beyond 5 years. |
| Industrial Control Panel | Portable Medical Device |
Use Scenario: Touch-enabled HMI for PLC-controlled HVAC system operating in factory environments with wide temperature swings. IC Role / Device Role / Timing Role: UI processor handling capacitive touch scanning, LED backlight control, and CAN/UART gateway functions. Use Value: 31 5V-tolerant I/Os simplify direct connection to legacy 5V sensors and displays; –40 to +125 °C rating ensures reliability without heatsinking. | Use Scenario: Handheld glucose monitor requiring precise analog measurement, secure data logging, and USB charging-aware power management. IC Role / Device Role / Timing Role: System-on-chip managing 12-bit ADC for biosensor signal chain, EEPROM for patient history, and USB enumeration via LPUART. Use Value: Integrated 1-KB EEPROM with ECC guarantees safe storage of medical calibration coefficients and usage logs - meeting IEC 62304 Class B requirements. |
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 |
|---|---|---|---|
| STM32L011F4P6TR | 16 KB Flash, 2 KB SRAM, no EEPROM, same TSSOP20 package - lacks data retention memory and reduced peripheral count. | Suitable for simpler sensor readout without persistent configuration storage or complex timing. | Select when cost sensitivity outweighs need for EEPROM and extended RAM retention. |
| STM32L051K8U6TR | 64 KB Flash, 8 KB SRAM, 2 KB EEPROM, QFN32 package - higher memory, more I/Os, but larger footprint and 3.3 V only supply. | Better suited for firmware-over-the-air (FOTA) capable devices requiring dual-bank Flash and enhanced crypto acceleration. | Choose when future firmware scalability, secure boot, or additional ADC channels are required. |
Compared with STM32L011F4P6TR, the STM32L031F6P6TR adds 1 KB EEPROM and doubles Flash/SRAM - enabling robust parameter storage and richer firmware features without changing PCB layout. Versus STM32L051K8U6TR, it trades package size and memory headroom for lower BOM cost and broader supply voltage support (1.65–3.6 V vs 1.8–3.6 V).
Availability
STM32L031F6P6TR is available at Aetrix Electronics and suitable for smart utility metering, wireless sensor nodes, industrial control panels, and portable medical devices requiring stable component supply across long product lifecycles.
Supply support for STM32L031F6P6TR 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, MEMS, and analog chips for industrial, automotive, and consumer markets.
The STM32L0 series targets ultra-low-power embedded applications, emphasizing sub-µA standby consumption, integrated EEPROM, and robust analog peripherals - specifically engineered for battery-operated edge devices where energy efficiency and data integrity are paramount.
FAQ
What is the maximum operating frequency and core type of the STM32L031F6P6TR?
The STM32L031F6P6TR features an Arm Cortex-M0+ core rated for up to 32 MHz operation. It achieves 0.95 DMIPS/MHz performance and supports dynamic voltage scaling to optimize power versus speed. The core includes a single-cycle multiplier, NVIC with 32 interrupts, and full Thumb-2 instruction set compatibility - verified in ST's DS10668 Rev 6 datasheet Section 3.3.
Does the STM32L031F6P6TR support hardware encryption or secure boot?
No, the STM32L031F6P6TR does not include dedicated hardware cryptographic accelerators (AES, SHA, PKA) or secure boot ROM. It relies on software-based security implementations and external secure elements for advanced authentication. This aligns with its positioning as a cost-optimized ultra-low-power MCU - confirmed in the device summary (Table 1) and functional overview (Section 3) of DS10668 Rev 6.
How many ADC channels and what resolution does the STM32L031F6P6TR provide?
The STM32L031F6P6TR integrates a single 12-bit ADC with up to 10 input channels (PA0–PA7, PB0, PB1), capable of 1.14 Msps sampling rate. It operates down to 1.65 V supply and supports single-ended or differential modes, injected/conversion sequences, and hardware oversampling - detailed in Section 3.11 and Table 57 of DS10668 Rev 6.
Is the STM32L031F6P6TR pin-compatible with other STM32L0x1 variants in TSSOP20?
Yes, the STM32L031F6P6TR shares identical pinout and footprint with STM32L011F4P6TR and STM32L021F4P6TR in the TSSOP20 package. All three support the same VDD/VSS/PAx/NRST/SWDIO/SWCLK/BOOT0 assignments - enabling drop-in replacement within the same voltage and memory constraints, as documented in Table 15 (Pin definitions) of DS10668 Rev 6.
STM32L031F6P6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-TSSOP (0.173", 4.40mm Width)
- 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:
- 15
- 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.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:
STM32L031F6P6TR FAQ
1.How can I place an order for STM32L031F6P6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32L031F6P6TR 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 STM32L031F6P6TR reliable?
The price and inventory of STM32L031F6P6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32L031F6P6TR is usually 5 days.
3.What payment methods are accepted for STM32L031F6P6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32L031F6P6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32L031F6P6TR?
STM32L031F6P6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32L031F6P6TR 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 STM32L031F6P6TR?
For technical support, including STM32L031F6P6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32L031F6P6TR requirements.
6.How does Aetrix verify that STM32L031F6P6TR is sourced from the original manufacturer or authorized distributors?
All STM32L031F6P6TR 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 STM32L031F6P6TR meets industry standards.
7.What is the process for return or replacement of STM32L031F6P6TR?
All STM32L031F6P6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM32L031F6P6TR, 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 STM32L031F6P6TR part is unused and in its original packaging.
Return procedure for STM32L031F6P6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32L031F6P6TR 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…

