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

- Shipping:

Inventory:625
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32L031F6P7TR 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 0.6 µA Stop mode + RTC + 8 KB RAM retention for battery-powered sensor nodes and smart meters.
For engineers reviewing the STM32L031F6P7TR datasheet, STM32L031F6P7TR pinout, STM32L031F6P7TR application, or STM32L031F6P7TR equivalent, key selection criteria include verified low-power mode current (0.23 µA Standby), 5 µs Flash wakeup time, 31 I/Os with 5V tolerance, and integrated 32 kHz RTC oscillator with calibration - all confirmed per DS10668 Rev 6.
Technical Context
The device implements a single-core Arm Cortex-M0+ running at up to 32 MHz with 0.95 DMIPS/MHz performance, supported by dynamic voltage scaling and multiple clock sources: HSI16 (±1%), LSI (37 kHz), MSI (65 kHz–4.2 MHz), HSE (1–25 MHz), and LSE (32.768 kHz). Its interconnect matrix routes peripherals-including ADC, timers, and communication interfaces-without CPU intervention.
Power management integrates five selectable BOR thresholds, programmable voltage detector (PVD), and POR/PDR circuitry enabling robust operation down to 1.65 V. Low-power modes are hierarchically structured: Run → Sleep → Low-power Run → Low-power Sleep → Stop → Standby, with dedicated wakeup lines (2 pins in Standby, 16 in Stop) and hardware-accelerated retention control for 8 KB SRAM.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | Arm Cortex-M0+, 32-bit, up to 32 MHz - enables deterministic real-time control with minimal power overhead. |
| Flash / SRAM / EEPROM | 32 KB Flash with ECC, 8 KB SRAM, 1 KB EEPROM with ECC - ensures firmware integrity and nonvolatile data storage in harsh environments. |
| ADC | 12-bit, 1.14 Msps, 10-channel, operational down to 1.65 V - supports high-resolution analog sensing without external signal conditioning. |
| Low-power Modes | 0.23 µA Standby (2 wakeup pins), 0.6 µA Stop + RTC + 8 KB RAM retention - extends coin-cell battery life to multi-year deployments. |
| Timers | 8x timers including 1x 16-bit with 4 channels, 1x ultra-low-power LPTIM, RTC, SysTick, and dual watchdogs - provides precise timing, event capture, and system safety. |
| I/O Capability | 31 GPIOs 5V-tolerant, 38 fast I/Os total - simplifies interface to legacy 5V peripherals without level shifters. |
| Clock Sources | HSI16 (±1%), LSE (32.768 kHz w/ calibration), MSI (65 kHz–4.2 MHz), HSE (1–25 MHz), PLL - enables flexible clock tree design for accuracy vs. power tradeoffs. |
Pinout & Package
STM32L031F6P7TR uses the UFQFPN28 (4 × 4 mm, 0.5 mm pitch) package with 28 terminals. This compact, leadless package supports reflow soldering and offers thermal performance suitable for space-constrained industrial and portable applications.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main 1.65–3.6 V supply for core and I/Os; decoupling required per datasheet layout guidelines. |
| VSS | Ground | Digital ground reference; separate analog ground connection recommended for ADC stability. |
| NRST | Reset input | Active-low reset with internal pull-up; accepts 5V-tolerant logic for compatibility with external supervisors. |
| PA0–PA15 | General-purpose I/O | 31 total 5V-tolerant GPIOs; configurable as analog inputs, EXTI lines, or alternate functions (e.g., USART, SPI). |
| PC13–PC15 | RTC/LSE pins | PC13 = RTC_OUT, PC14/PC15 = LSE crystal connections - enable calibrated real-time clock with <±5 ppm accuracy. |
| BOOT0 | Boot mode select | High at reset enables system memory bootloader; pulled low via 10 kΩ resistor for normal Flash execution. |
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 IC. |
| Embedded EEPROM | 1 KB with ECC and 100k write/erase cycles - eliminates need for external serial EEPROM in metering and logging applications. |
| ADC with hardware oversampling | 12-bit resolution, 1.14 Msps, down to 1.65 V supply - enables direct battery voltage monitoring and sensor digitization without external amplifiers. |
| Dual ultra-low-power comparators | Window mode detection + wake-up capability down to 1.65 V - supports threshold-based event triggering with sub-µA active current. |
| Serial wire debug (SW-DP) | 2-pin debug interface with full SWD protocol support - enables in-circuit programming and real-time trace without占用额外GPIO. |
Applications
| Smart Utility Metering | Wireless Sensor Node |
|---|---|
Use Scenario: Battery-powered electricity/water/gas meter with hourly pulse counting, temperature compensation, and secure data logging. IC Role / Device Role / Timing Role: Main controller executing metrology algorithms, managing EEPROM-based lifetime logs, and driving RTC-corrected timestamping. Use Value: 0.6 µA Stop + RTC + 8 KB RAM retention enables >10-year coin-cell operation while preserving critical state and timekeeping. | Use Scenario: Sub-GHz or BLE-enabled environmental sensor (temp/humidity/pressure) deployed in remote industrial sites. IC Role / Device Role / Timing Role: System-on-chip host managing sensor acquisition, low-power radio interfacing (SPI/USART), and adaptive sleep scheduling. Use Value: 5 µs wakeup from Flash and 31 5V-tolerant I/Os reduce BOM cost and simplify PCB routing versus discrete MCU + level shifter solutions. |
| Portable Medical Device | Industrial Control Panel |
Use Scenario: Handheld glucose monitor or pulse oximeter requiring FDA-compliant firmware updates and battery runtime >2 years. IC Role / Device Role / Timing Role: Secure boot-capable controller handling sensor interface, display driver, USB/UART firmware update, and tamper-detect logic. Use Value: Pre-programmed USART/SPI bootloader and 96-bit unique ID support cryptographic firmware authentication and device identity binding. | Use Scenario: DIN-rail mounted HMI panel with pushbuttons, LED indicators, and RS-485 fieldbus connectivity. IC Role / Device Role / Timing Role: Local intelligence unit managing button debouncing, LED PWM dimming, and isolated UART-to-RS485 translation. Use Value: Integrated 16-bit timers with 4-channel capture/compare and 2x watchdogs ensure deterministic UI response and fail-safe recovery from hung states. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32L011F4P6TR | 16 KB Flash, 2 KB SRAM, no EEPROM, same UFQFPN28 package - lower memory density and missing data retention feature. | Suitable for simpler sensor endpoints where EEPROM-based calibration storage is unnecessary. | Select when cost sensitivity outweighs need for on-chip nonvolatile parameter storage. |
| STM32L051K8U6TR | 64 KB Flash, 8 KB SRAM, 2 KB EEPROM, QFN32 package - larger footprint, higher memory, identical low-power architecture. | Better suited for applications requiring larger OTA firmware images or extended feature sets (e.g., USB, more timers). | Choose when future firmware scalability or additional peripherals justify QFN32 board redesign. |
Compared with STM32L011F4P6TR, the STM32L031F6P7TR adds 1 KB EEPROM and doubles Flash capacity - critical for field-upgradable calibration tables. Versus STM32L051K8U6TR, it trades package size and memory headroom for tighter cost and space constraints in volume production.
Availability
STM32L031F6P7TR is available at Aetrix Electronics and suitable for smart utility metering, wireless sensor nodes, portable medical devices, and industrial control panels requiring stable component supply and long-term lifecycle assurance.
Supply support for STM32L031F6P7TR 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 demanding multi-year battery life, robust operation across wide temperature ranges, and integrated analog peripherals - optimized for metering, wearables, and IoT edge nodes.
FAQ
What is the maximum operating frequency and associated power consumption in Run mode?
The STM32L031F6P7TR runs at up to 32 MHz with 76 µA/MHz typical current draw when executing code from Flash. At full speed, this yields ~2.43 mA total active current, validated per DS10668 Rev 6 Table 24 under VDD = 3.3 V and TA = 25 °C conditions.
Does this MCU support hardware encryption or secure boot features?
No - the STM32L031F6P7TR lacks dedicated cryptographic accelerators or hardware secure boot. It supports software-based AES via its CRC unit and memory protection unit (MPU), but does not include TRNG, PKA, or secure ROM bootloader found in STM32L5 or STM32U5 series.
Can the 1 KB EEPROM be used for storing calibration coefficients across power cycles?
Yes - the 1 KB data EEPROM has ECC protection and guaranteed 100,000 write/erase cycles per sector. It retains data across power loss and supports byte-level writes, making it ideal for storing sensor calibration offsets, device IDs, or user configuration parameters.
Is the UFQFPN28 package RoHS-compliant and compatible with standard reflow profiles?
Yes - the UFQFPN28 package is ECOPACK®2 certified (RoHS-compliant and halogen-free) and qualified for standard Pb-free reflow soldering per JEDEC J-STD-020. Peak temperature must not exceed 260 °C, with ramp rates and soak times matching ST's AN4828 application note.
STM32L031F6P7TR 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.65V ~ 3.6V
- Data Converters:
- A/D 10x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 105°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32L031F6P7TR FAQ
1.How can I place an order for STM32L031F6P7TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32L031F6P7TR 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 STM32L031F6P7TR reliable?
The price and inventory of STM32L031F6P7TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32L031F6P7TR is usually 5 days.
3.What payment methods are accepted for STM32L031F6P7TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32L031F6P7TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32L031F6P7TR?
STM32L031F6P7TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32L031F6P7TR 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 STM32L031F6P7TR?
For technical support, including STM32L031F6P7TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32L031F6P7TR requirements.
6.How does Aetrix verify that STM32L031F6P7TR is sourced from the original manufacturer or authorized distributors?
All STM32L031F6P7TR 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 STM32L031F6P7TR meets industry standards.
7.What is the process for return or replacement of STM32L031F6P7TR?
All STM32L031F6P7TR units undergo pre-shipment inspection (PSI). If there is an issue with STM32L031F6P7TR, 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 STM32L031F6P7TR part is unused and in its original packaging.
Return procedure for STM32L031F6P7TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32L031F6P7TR 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…

