Send an Inquiry

To receive a quote for your project, please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Part Number*
Quantity*
Message
Submit Inventory List

Please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Upload My List
Message

STMicroelectronics STM32L031F4P6

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

Inventory:14,217

Please send an inquiry. Send us your inquiry, and we will respond immediately.

Part Number
Quantity*
Price
Name*
Company
Email*
Comments

Product details

Overview

STM32L031F4P6 from STMicroelectronics is an ultra-low-power 32-bit Arm® Cortex®-M0+ microcontroller in TSSOP20 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 V to 3.6 V across –40 °C 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 STM32L031F4P6 datasheet, STM32L031F4P6 pinout, STM32L031F4P6 application, or STM32L031F4P6 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 STM32L031F4P6 integrates a single-core Arm Cortex-M0+ 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, and PLL for CPU clock multiplication. Its low-power architecture includes five operational modes (Run, Sleep, Low-power Run, Low-power Sleep, Stop, Standby) with hierarchical wakeup capability via 16 lines or 2 pins.

Analog subsystem includes a 12-bit ADC with 10-channel multiplexing (down to 1.65 V supply), two independent comparators with window mode and wake-up capability, and internal temperature sensor with calibration data stored in system memory. Memory protection covers sector-level Flash/ECC and EEPROM write/erase lock.

Key Specifications

ParameterValue and Actual Design Meaning
CoreArm Cortex-M0+, 32 MHz max - enables deterministic real-time control with 0.95 DMIPS/MHz efficiency
Flash / SRAM / EEPROM16 KB Flash with ECC, 8 KB SRAM, 1 KB EEPROM with ECC - supports robust firmware storage and parameter retention
ADC12-bit, 1.14 Msps, 10 channels - sufficient for multi-sensor acquisition at ≤10 ksps with <±1 LSB INL
Low-power modes0.23 µA Standby (2 wakeup pins), 0.6 µA Stop + RTC + 8 KB RAM retention - extends coin-cell battery life to >10 years
Supply range1.65 V to 3.6 V - compatible with single-cell Li-ion, Li-SOCl₂, and alkaline battery systems
I/O count & tolerance17 GPIOs (15 general-purpose + NRST + BOOT0), 31 I/Os 5V tolerant - simplifies level-shifting in mixed-voltage designs
Timers8 timers including 1x 16-bit advanced, 2x 16-bit general-purpose, 1x ultra-low-power LPTIM, RTC, SysTick - supports precise timing, PWM, and calendar functions

Pinout & Package

TSSOP20 (20-lead, 6.5 × 4.4 mm, 0.65 mm pitch) - RoHS-compliant, ECOPACK®2 certified, optimized for compact PCB layouts in space-constrained modules.

Pin/TerminalCircuit RoleDesign Meaning
VDDMain power supply (1.65–3.6 V)Supplies core, analog, and I/O domains; requires local 100 nF decoupling
VSSGround referenceDigital and analog ground return; must be low-impedance and star-connected
NRSTActive-low reset inputAsynchronous reset with internal pull-up; accepts 5V-tolerant external signal
BOOT0Boot mode selectionHigh at power-on selects system memory bootloader (USART/SPI); tied low for Flash execution
PA0–PA9General-purpose I/Os10 configurable pins with alternate functions (ADC_IN0–IN9, USART, SPI, etc.)
PA13/PA14SWD debug interfaceSerial Wire Debug (SW-DP) pins - enable programming and real-time debugging without JTAG overhead
OSC_IN / OSC_OUTExternal crystal oscillator terminalsSupport 1–25 MHz crystals; optional for high-accuracy timing or RTC calibration
VREF+ADC reference voltage inputAccepts external reference or connects to internal VREFINT (1.22 V ±3%) for ratiometric measurements

Key Features

FeatureDesign Value
Ultra-low-power BOR5 selectable brownout thresholds (1.65–2.9 V) - ensures reliable reset during battery sag without external supervisor
Programmable voltage detector (PVD)Monitors VDD against 8 programmable thresholds - enables early warning of supply degradation before BOR triggers
ECC-enabled memoriesFlash and EEPROM protected by hardware ECC - prevents silent corruption in field-deployed firmware and calibration data
Pre-programmed bootloaderFactory-loaded USART/SPI bootloader - eliminates need for external programmer during field firmware updates
Temperature sensorCalibrated sensor with 1.5 °C accuracy (–40 to 125 °C) - enables self-monitoring in sealed enclosures without external sensors

Applications

Smart Utility MeteringWireless Sensor Node

Use Scenario: Battery-powered gas/water meter with pulse counting, pressure sensing, and LoRaWAN backhaul.

IC Role / Device Role / Timing Role: Main controller executing metrology algorithms, managing RTC-corrected timestamping, and coordinating low-duty-cycle radio transmission.

Use Value: 0.6 µA Stop + RTC + 8 KB RAM retention enables 15-year battery life while preserving meter state and timekeeping between hourly reads.

Use Scenario: Industrial vibration monitor mounted on rotating equipment, sampling accelerometer data every 5 seconds.

IC Role / Device Role / Timing Role: Data acquisition engine triggering ADC conversions, filtering samples in SRAM, and waking RF transceiver only upon threshold breach.

Use Value: Dual comparators with wake-up capability detect amplitude excursions directly in analog domain - avoids continuous CPU polling and saves >90% active time.

Portable Medical DeviceAsset Tracking Tag

Use Scenario: Disposable ECG patch with electrode contact detection, lead-off monitoring, and Bluetooth LE telemetry.

IC Role / Device Role / Timing Role: Analog front-end supervisor using comparators for lead-off detection, ADC for biopotential sampling, and BLE interface controller.

Use Value: 12-bit ADC operating down to 1.65 V allows direct use of single CR2032 cell without boost converter - reducing BOM cost and board area.

Use Scenario: GPS-denied indoor asset tag logging temperature/humidity and reporting via NB-IoT when motion detected.

IC Role / Device Role / Timing Role: System manager handling motion-triggered wakeup (via comparator), sensor readout, secure data logging to EEPROM, and cellular modem control.

Use Value: 1 KB EEPROM with ECC stores tamper-proof event logs across 100k write cycles - meets industrial traceability requirements without external FRAM.

Equivalent & Alternatives

The following parts are listed as comparable options for similar ultra-low-power MCU applications.

Alternative PartTechnical DifferenceApplication DifferenceSelection Advice
STM32L011F4P6Same TSSOP20 package, but 16 KB Flash / 2 KB SRAM / no EEPROM - lacks data retention capabilitySuitable for simpler control-only tasks without persistent parameter storageSelect when EEPROM is unnecessary and cost sensitivity outweighs long-term data integrity needs
STM32L051K8U6QFN32 package, 64 KB Flash / 8 KB SRAM / 2 KB EEPROM - higher memory, different footprint and pinoutEnables richer firmware (e.g., OTA update stack, TLS crypto) but requires PCB redesignChoose when future scalability or enhanced security features justify layout change and higher BoM cost

Compared with STM32L011F4P6, the STM32L031F4P6 adds 1 KB EEPROM with ECC and dual comparators - essential for field-deployed devices requiring nonvolatile configuration and analog event detection. Versus STM32L051K8U6, it trades package size and memory headroom for drop-in compatibility in legacy TSSOP20 designs.

Availability

STM32L031F4P6 is available at Aetrix Electronics and suitable for smart metering, wireless sensor networks, portable medical devices, and asset tracking tags requiring stable component supply across extended product lifecycles.

Supply support for STM32L031F4P6 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 sub-µA standby operation, integrated analog peripherals, and robust memory integrity - specifically engineered for battery-operated edge devices with multi-year deployment requirements.

FAQ

What is the maximum operating frequency of the STM32L031F4P6?

The STM32L031F4P6 runs at up to 32 MHz using its internal 16 MHz HSI oscillator with PLL multiplication or an external crystal. This frequency is achievable across the full 1.65–3.6 V supply range and –40 to 125 °C temperature span, with dynamic voltage scaling maintaining performance while minimizing current draw in Run mode.

Does the STM32L031F4P6 support hardware encryption or secure boot?

No - the STM32L031F4P6 does not include hardware cryptographic accelerators (AES, SHA, PKA) or secure boot ROM. It relies on software-based security implementations. For secure firmware updates or data confidentiality, pairing with an external secure element (e.g., STSAFE-A) is recommended per ST's AN4821 guidelines.

Can the STM32L031F4P6 drive 5V logic interfaces directly?

Yes - up to 31 I/Os (including all PAx pins in TSSOP20) are 5V tolerant when configured as inputs, allowing direct connection to 5V UART, I²C, or digital sensors without level shifters. However, output voltage is limited to VDD (max 3.6 V), so external pull-ups to 5V are required for open-drain interfaces like I²C.

Is there a built-in temperature sensor, and how accurate is it?

Yes - the STM32L031F4P6 integrates a calibrated temperature sensor with ±1.5 °C accuracy over –40 to 125 °C. Calibration values are factory-programmed into system memory (addresses 0x1FF8 007A–0x1FF8 007F), enabling software compensation. It draws <1 µA during conversion and is typically used for die temperature monitoring rather than ambient measurement.

STM32L031F4P6 Specifications

Product attributes
Attribute value
Manufacturer:
STMicroelectronics
Package/Case:
20-TSSOP (0.173", 4.40mm Width)
Series:
STM32L0
Packaging:
Tube
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:
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:

STM32L031F4P6 FAQ

1.How can I place an order for STM32L031F4P6 through Aetrix?

Please submit a Request for Quotation (RFQ) for STM32L031F4P6 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 STM32L031F4P6 reliable?

The price and inventory of STM32L031F4P6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32L031F4P6 is usually 5 days.

3.What payment methods are accepted for STM32L031F4P6?

We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32L031F4P6 transactions.

Note: Certain payment methods may incur a processing fee.

4.How is shipping managed for STM32L031F4P6?

STM32L031F4P6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.

Once your STM32L031F4P6 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 STM32L031F4P6?

For technical support, including STM32L031F4P6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32L031F4P6 requirements.

6.How does Aetrix verify that STM32L031F4P6 is sourced from the original manufacturer or authorized distributors?

All STM32L031F4P6 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 STM32L031F4P6 meets industry standards.

7.What is the process for return or replacement of STM32L031F4P6?

All STM32L031F4P6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32L031F4P6, 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 STM32L031F4P6 part is unused and in its original packaging.

Return procedure for STM32L031F4P6:

1.Submit a request within 90 days.

2.Obtain a Return Material Authorization (RMA) from Aetrix.

STM32L031F4P6 Tags

  • STM32L031F4P6
  • STM32L031F4P6 PDF
  • STM32L031F4P6 Datasheet
  • STM32L031F4P6 Specifications
  • STM32L031F4P6 Images
  • STMicroelectronics
  • STMicroelectronics STM32L031F4P6
  • Buy STM32L031F4P6
  • STM32L031F4P6 Price
  • STM32L031F4P6 Distributor
  • STM32L031F4P6 Supplier
  • STM32L031F4P6 Wholesale
Related Products
ATTINY4-TSHR
ATTINY4-TSHR

Microchip Technology

ATTINY10-TSHR
ATTINY10-TSHR

Microchip Technology

ATTINY10-TS8R
ATTINY10-TS8R

Microchip Technology

ATTINY202-SSNR
ATTINY202-SSNR

Microchip Technology

ATTINY202-SSFR
ATTINY202-SSFR

Microchip Technology

ATTINY402-SSNR
ATTINY402-SSNR

Microchip Technology

PIC16F15213T-I/MF
PIC16F15213T-I/MF

Microchip Technology

PIC16F15213-E/MF
PIC16F15213-E/MF

Microchip Technology

PIC10F200T-I/OT
PIC10F200T-I/OT

Microchip Technology

ATTINY412-SSNR
ATTINY412-SSNR

Microchip Technology

PIC10F202T-I/OT
PIC10F202T-I/OT

Microchip Technology

ATTINY404-SSNR
ATTINY404-SSNR

Microchip Technology

Tech Hub

Search

Search

PRODUCT

PRODUCT

PHONE

PHONE

USER

USER