STMicroelectronics

STM32L031F6P6 - Ultra-Low-Power ARM Cortex-M0+ MCU | STMicroelectronics

MPN: STM32L031F6P6 βœ“ Active
In Stock Ships in 1-3 business days
1.8 V to 3.6 V Vdss 87 uA/MHz Id TSSOP-20 (P6) Package 32 MHz Speed 32 KB Memory
From $1.38 USD / Unit
MOQ: 1 |
Price updated: 2026-08-13
Volume Pricing
Qty Unit Price Extended
1 $2.15 $2.15
10 $1.93 $19.30
100 $1.72 $172.00
500 $1.55 $775.00
1,000 $1.38 $1,380.00
ℹ️ All prices are in USD

Drop-in alternatives for STM32L031F6P6 β€” same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

STM32L031F4P6

βœ… Drop-In
πŸ“¦ TSSOP-20
Same package and pinout, 16 KB Flash instead of 32 KB

πŸ“‹ Reference alternative (not in catalog)

STM32L031F6P7

βœ… Drop-In
πŸ“¦ TSSOP-20
Same package and pinout, extended temperature range (-40 to +125C)

πŸ“‹ Reference alternative (not in catalog)

STM32L031F6P6TR

βœ… Drop-In
πŸ“¦ TSSOP-20
Same die, tape and reel packaging variant

πŸ“‹ Reference alternative (not in catalog)

STM32L031F6P6

βœ… Drop-In
STMicroelectronics
πŸ“¦ TSSOP-20
ARM Cortex-M0+ Β· 32 MHz Β· 32 KB Β· 8 KB Β· 1.8 V to 3.6 V Β· 87 uA/MHz Β· 0.29 uA Β· 12-bit

βœ“ In Stock

$1.38 / Unit

View Datasheet β†’

STM32L031F6P6 Maximum Ratings & Electrical Characteristics

Core ARM Cortex-M0+
Maximum Clock Frequency 32 MHz
Flash Memory 32 KB
SRAM 8 KB
Supply Voltage Range 1.8 V to 3.6 V
Run Mode Current 87 uA/MHz
Standby Mode Current (with RTC) 0.29 uA
ADC Resolution 12-bit
ADC Oversampling Hardware oversampling
Communication Interfaces I2C, SPI, LPUART
Real-Time Clock Yes (with calendar)
Random Number Generator Yes (true RNG)
CRC Calculation Unit Yes
Unique Device ID Yes
Operating Temperature Range -40C to +85C
Package TSSOP-20 (P6)
Package Dimensions 6.4 mm x 4.4 mm
Mounting Type Surface Mount
RoHS Status Compliant

STM32L031F6P6 Pin Configuration

SOP-20 (3.9mm) Package Pinout Diagram SOP-20 3.9x10.4mm, P1.27mm, JEDEC MS-012. 20-pin narrow body. 1 20 2 19 3 18 4 17 5 16 6 15 7 14 8 13 9 12 10 11 SOP-20 (3.9mm)
Pin 1 VBAT β€” Backup power supply for RTC and backup registers
Pin 2 PC14 β€” OSC32_IN / GPIO
Pin 3 PC15 β€” OSC32_OUT / GPIO
Pin 4 NRST β€” Reset (active low)
Pin 5 VSS β€” Ground
Pin 6 VDD β€” Power supply
Pin 7 PA0 β€” GPIO / ADC_IN0 / WKUP1
Pin 8 PA1 β€” GPIO / ADC_IN1
Pin 9 PA2 β€” GPIO / ADC_IN2 / USART2_TX
Pin 10 PA3 β€” GPIO / ADC_IN3 / USART2_RX
Pin 11 PA4 β€” GPIO / ADC_IN4 / SPI1_NSS
Pin 12 PA5 β€” GPIO / ADC_IN5 / SPI1_SCK
Pin 13 PA6 β€” GPIO / ADC_IN6 / SPI1_MISO
Pin 14 PA7 β€” GPIO / ADC_IN7 / SPI1_MOSI
Pin 15 PB0 β€” GPIO / ADC_IN8
Pin 16 PB1 β€” GPIO / ADC_IN9
Pin 17 PB2 β€” GPIO / BOOT1
Pin 18 PB3 β€” GPIO / SPI1_SCK / SWO
Pin 19 PB4 β€” GPIO / SPI1_MISO
Pin 20 PB5 β€” GPIO / SPI1_MOSI

Safe Operating Area (SOA) & Thermal Characteristics

Safe Operating Area Chart Default safe operating area chart for STM32L031F6P6 Drain-to-Source Voltage (Vds) Drain Current (Id)

No official SOA curve available for this digital IC. Always operate within absolute maximum ratings specified in the datasheet. Ensure adequate cooling and derate as needed.

Typical Applications

STM32L031F6P6 is suitable for 6 applications: Portable Medical Devices, IoT Sensor Nodes, Smart Home Controllers, Battery Management Systems, Industrial Monitoring Equipment, Wearable Fitness Trackers.

πŸ’Š

Portable Medical Devices

The STM32L031F6P6 is ideal for portable medical devices like glucose meters and pulse oximeters due to its ultra-low-power consumption (87 uA/MHz) and 12-bit ADC for sensor readings. Its 1.8V-3.6V supply range allows direct battery operation, and the standby mode (0.29 uA) extends battery life between measurements. The TSSOP-20 package fits compact handheld designs, while the RTC enables time-stamped data logging. In a typical glucose meter, the MCU wakes periodically, reads the sensor via ADC, processes the result, and displays it on an LCD, all while consuming minimal energy. The hardware oversampling improves ADC resolution, ensuring accurate readings. Designers must ensure proper decoupling and use the low-power modes to maximize battery life.

🧩

IoT Sensor Nodes

For IoT sensor nodes, the STM32L031F6P6 provides the perfect balance of low power and connectivity. Its LPUART, I2C, and SPI interfaces connect to various sensors (temperature, humidity, motion) and wireless modules (LoRa, BLE). The 0.29 uA standby current with RTC allows the node to sleep for extended periods, waking only to take measurements and transmit data. The 32 KB Flash supports lightweight protocol stacks, and the true RNG enhances security for encrypted communications. In a typical environmental monitoring node, the MCU wakes every 10 minutes, reads sensors, processes data, and sends it via LoRa, consuming only microamps on average. The wide temperature range (-40 to +85C) suits outdoor deployments. Designers should optimize the clock configuration to minimize active time and use the low-power run mode for periodic tasks.

🏠

Smart Home Controllers

The STM32L031F6P6 is well-suited for smart home controllers, such as smart thermostats and lighting control units. Its multiple low-power modes allow the device to remain in standby (0.29 uA) while waiting for user input or network commands, then wake quickly to execute tasks. The 12-bit ADC can read analog sensors like light or temperature, and the I2C/SPI interfaces connect to displays or communication modules. The RTC enables scheduling features, and the unique device ID supports secure pairing. In a smart thermostat, the MCU reads temperature, compares it to the setpoint, and controls the HVAC relay, all while consuming minimal power. The TSSOP-20 package fits into wall-mounted enclosures. Designers should use the STM32CubeMX tool to configure peripherals and power modes efficiently.

⚑

Battery Management Systems

In battery management systems (BMS), the STM32L031F6P6 monitors cell voltages and temperatures using its 12-bit ADC, ensuring safe charging and discharging. Its low-power operation is critical for minimizing drain on the battery being managed. The device can run from the battery's own voltage (1.8V-3.6V) and use the standby mode during idle periods. The CRC unit helps verify data integrity in communication with the host, and the RNG can be used for secure authentication. In a typical BMS for a lithium-ion pack, the MCU periodically measures each cell voltage, checks for over/under-voltage conditions, and communicates status via I2C to a main controller. The wide temperature range (-40 to +85C) supports automotive and industrial environments. Designers must ensure accurate ADC reference and proper isolation between cells.

🏭

Industrial Monitoring Equipment

The STM32L031F6P6 is suitable for industrial monitoring equipment, such as vibration sensors and process controllers. Its robust operating temperature range (-40 to +85C) and low-power consumption make it ideal for remote or hard-to-access installations. The 12-bit ADC with oversampling provides accurate measurements of analog signals, while the LPUART enables long-distance communication over RS-485. The device's low-power modes allow it to run on energy harvesting sources, such as solar or vibration. In a vibration monitoring system, the MCU samples an accelerometer, performs FFT (using the Cortex-M0+), and transmits alerts via a wireless module. The CRC unit ensures data integrity in noisy industrial environments. Designers should implement proper EMC protection and use the internal watchdog for reliability.

πŸ“±

Wearable Fitness Trackers

The STM32L031F6P6 is an excellent choice for wearable fitness trackers due to its ultra-low power consumption and small TSSOP-20 package. The device can run continuously from a small coin cell battery, with run current of 87 uA/MHz and standby of 0.29 uA. Its 12-bit ADC reads heart rate sensors, and the I2C interface connects to accelerometers and gyroscopes. The RTC tracks time and date, and the low-power modes allow the device to sleep between measurements. In a typical fitness tracker, the MCU wakes every second to read the accelerometer, counts steps, and updates the display, consuming only a few microamps on average. The true RNG can be used for secure BLE pairing. Designers should optimize the firmware to minimize active time and use the low-power run mode for continuous sensor sampling.

Recommended Products Summary

HX711 24-bit ADC for load cell interface Used in: Portable Medical Devices SSD1306 OLED display driver Used in: Portable Medical Devices SHT30 Temperature and humidity sensor Used in: IoT Sensor Nodes SX1276 LoRa transceiver Used in: IoT Sensor Nodes ESP8266 Wi-Fi module for connectivity Used in: Smart Home Controllers MCP23017 I/O expander for multiple inputs Used in: Smart Home Controllers BQ76920 Battery monitor front-end Used in: Battery Management Systems ISO1541 I2C isolator Used in: Battery Management Systems ADXL345 3-axis accelerometer Used in: Industrial Monitoring Equipment MAX485 RS-485 transceiver Used in: Industrial Monitoring Equipment MAX30102 Heart rate sensor Used in: Wearable Fitness Trackers LIS3DH 3-axis accelerometer Used in: Wearable Fitness Trackers
What is the operating voltage range of STM32L031F6P6?
The STM32L031F6P6 operates from 1.8V to 3.6V. According to the STMicroelectronics datasheet (STM32L031F6), this supply range supports battery-powered applications, with typical current consumption of 87 uA/MHz in Run mode and 0.29 uA in Standby mode with RTC.
What is the maximum clock frequency of STM32L031F6P6?
The STM32L031F6P6 runs at up to 32 MHz. This is achieved using an internal 16 MHz RC oscillator with PLL, or an external crystal. The Cortex-M0+ core delivers 0.9 DMIPS/MHz, balancing performance and power efficiency.
How much Flash and SRAM does STM32L031F6P6 have?
The STM32L031F6P6 has 32 KB of Flash memory and 8 KB of SRAM. This memory configuration is suitable for moderate-complexity firmware, including IoT sensor nodes and portable medical devices, as per the ST datasheet.
What low-power modes are available on STM32L031F6P6?
The STM32L031F6P6 offers Sleep, Low-power run, Low-power sleep, Stop with RTC, and Standby with RTC modes. In Standby with RTC, current drops to 0.29 uA, enabling long battery life in energy-harvesting applications.
Does STM32L031F6P6 have an ADC?
Yes, the STM32L031F6P6 includes a 12-bit ADC with hardware oversampling. This allows higher effective resolution for sensor readings, making it ideal for precision measurement in portable devices.
What communication interfaces does STM32L031F6P6 support?
The STM32L031F6P6 supports I2C, SPI, and a low-power UART (LPUART). These interfaces enable connection to sensors, displays, and wireless modules, as documented in the STM32L0 reference manual.
Is STM32L031F6P6 suitable for battery-powered IoT devices?
Yes, the STM32L031F6P6 is ideal for battery-powered IoT devices due to its ultra-low-power modes (0.29 uA standby) and 87 uA/MHz run current. It can wake periodically, process data, and transmit via low-power radios, extending battery life.
What is the difference between STM32L031F6P6 and STM32L031F4P6?
The STM32L031F6P6 has 32 KB Flash and 8 KB SRAM, while the STM32L031F4P6 has 16 KB Flash and 8 KB SRAM. Both share the same TSSOP-20 package and pinout, making the F4 a drop-in alternative with less memory.
Can STM32L031F6P6 be replaced by STM32L031K6T6?
No, the STM32L031K6T6 is not a drop-in replacement because it uses a different LQFP-32 package. While it has the same core and memory, the pinout and footprint differ, requiring PCB redesign. For a drop-in, choose the TSSOP-20 variant.
What is the best drop-in replacement for STM32L031F6P6?
The best drop-in replacements are STM32L031F4P6 (same package, less Flash) and STM32L031F6P7 (same package, extended temperature range). Both are pin-compatible TSSOP-20 parts from STMicroelectronics, as per the STM32L0 family datasheet.
Where can I buy STM32L031F6P6 online?
STM32L031F6P6 is available from major distributors like DigiKey and Mouser. As of 2026-08-13, pricing starts at $2.15 for single units, with volume discounts at 1000+ quantities. Check current stock and lead times on distributor websites.
What is the price of STM32L031F6P6?
As of 2026-08-13, the STM32L031F6P6 is priced at $2.15 for 1 unit, $1.93 for 10, $1.72 for 100, $1.55 for 500, and $1.38 for 1000 units. Prices are indicative and may vary by distributor and region.
What is the lead time for STM32L031F6P6?
Lead time for STM32L031F6P6 typically ranges from 2 to 4 weeks from major distributors, depending on stock levels. For urgent orders, check DigiKey or Mouser for real-time availability. As of 2026-08-13, stock is generally available.
Is STM32L031F6P6 in stock?
As of 2026-08-13, STM32L031F6P6 is in stock at major distributors like DigiKey and Mouser. However, stock levels fluctuate; verify current availability on their websites before placing an order.
STM32L031F6P6 vs STM32L031F4P6 - which is better for a low-power sensor node?
For a low-power sensor node, the STM32L031F6P6 is better if you need 32 KB Flash for more complex firmware; the F4P6 has only 16 KB. Both have identical power consumption and peripherals, so choose based on memory requirements.
When should I choose STM32L031F6P6 over STM32L031F4P6?
Choose STM32L031F6P6 when your application requires more than 16 KB of Flash, such as for over-the-air updates or complex protocol stacks. If memory is sufficient, the F4P6 offers cost savings with the same pinout.
Can STM32L031F6P6 be used in automotive applications?
The STM32L031F6P6 is not AEC-Q100 qualified, so it is not recommended for automotive-grade applications. For automotive, consider the STM32L031F6P7 or other AEC-Q100 qualified variants from ST's automotive portfolio.
Where can I download the STM32L031F6P6 datasheet PDF?
The STM32L031F6P6 datasheet PDF is available from STMicroelectronics at https://www.st.com/resource/en/datasheet/stm32l031f6.pdf. It contains full specifications, pinout, and application notes.
Where can I find the STM32L031F6P6 pinout?
The STM32L031F6P6 pinout is detailed in the datasheet (STM32L031F6) on pages 20-25. It shows the TSSOP-20 pin assignments, including power, ground, and I/O pins. Download the PDF from ST's website.
Hey Google, what can replace STM32L031F6P6?
The STM32L031F6P6 can be replaced by STM32L031F4P6 (same package, less Flash) or STM32L031F6P7 (extended temperature). Both are pin-compatible TSSOP-20 parts from STMicroelectronics, ensuring drop-in compatibility.
Is STM32L031F6P6 the same as STM32L031F4P6?
No, the STM32L031F6P6 has 32 KB Flash, while the STM32L031F4P6 has 16 KB Flash. They share the same TSSOP-20 package and pinout, but differ in memory capacity, so they are not identical.
What are the key specifications of STM32L031F6P6 that engineers should know?
Engineers should know the STM32L031F6P6 has a 32 MHz Cortex-M0+ core, 32 KB Flash, 8 KB SRAM, 1.8V-3.6V supply, 87 uA/MHz run current, 0.29 uA standby current, 12-bit ADC, and TSSOP-20 package. These specs define its suitability for low-power embedded designs.
What is the best NXP equivalent for STM32L031F6P6?
A potential NXP equivalent is the LPC812M101JDH16, but it is not pin-compatible (different package). For a true drop-in, stick with ST's STM32L0 family. Cross-brand equivalents require PCB redesign, so they are not recommended.

Engineering reference data for STM32L031F6P6 β€” comparison, design guidance, and compliance information.

Selection Guide

Choose the STM32L031F6P6 when you need 32 KB Flash and 8 KB SRAM in a compact TSSOP-20 package for ultra-low-power applications. It is ideal for battery-powered IoT devices, portable medical equipment, and smart home controllers. If your application requires less than 16 KB of Flash, the STM32L031F4P6 offers cost savings with the same pinout. For extended temperature ranges (-40 to +125C), select the STM32L031F6P7. All three are drop-in compatible, allowing PCB reuse. For automotive-grade requirements, consider ST's AEC-Q100 qualified variants. Cross-brand alternatives are not recommended due to pinout differences.

Comparison with Alternatives

Parameter This Product STM32L031F4P6 STM32L031F6P7 STM32L031F6P6TR
Package TSSOP-20 TSSOP-20 TSSOP-20 TSSOP-20
Brand STMicroelectronics STMicroelectronics STMicroelectronics STMicroelectronics
Flash Memory 32 KB 16 KB 32 KB 32 KB
SRAM 8 KB 8 KB 8 KB 8 KB
Max Clock Frequency 32 MHz 32 MHz 32 MHz 32 MHz
Operating Temperature Range -40C to +85C -40C to +85C -40C to +125C -40C to +85C
Standby Current (with RTC) 0.29 uA 0.29 uA 0.29 uA 0.29 uA
ADC Resolution 12-bit 12-bit 12-bit 12-bit

Key Differentiators

  • Ultra-low standby current of 0.29 uA with RTC (vs STM32L031F4P6)
  • Extended temperature range option (vs STM32L031F6P7)
  • True random number generator (RNG) (vs STM32L031F4P6)

Design Notes

For the STM32L031F6P6, place a 100 nF ceramic capacitor close to each VDD pin and a 1 uF capacitor on the main supply. Use a low-ESR capacitor for the VDDA pin to ensure ADC accuracy. In battery-powered designs, consider a decoupling capacitor on VBAT to maintain RTC operation during main power loss.

The TSSOP-20 package has a 0.65 mm pitch, so ensure proper solder paste stencil design to avoid bridging. Use a 4-layer PCB with a solid ground plane for better EMC performance. Keep high-speed signals (SPI, I2C) short and away from the crystal oscillator to minimize noise.

Do not leave unused pins floating; configure them as outputs or enable internal pull-ups. Ensure the NRST pin has a 100 nF capacitor to ground for reliable reset. When using the RTC, connect a 32.768 kHz crystal with the specified load capacitance (typically 6 pF) to ensure accurate timekeeping.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Compliant

RoHS compliant per STMicroelectronics product page. Not AEC-Q100 qualified; use STM32L031F6P7 for extended temperature but still not automotive grade.

Data verified on: 2026-08-13
Quick Quote RFQ
Fill in complete details β€” our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
βœ“
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details