STM32L031F6P6 - Ultra-Low-Power ARM Cortex-M0+ MCU | STMicroelectronics
MPN: STM32L031F6P6 β Active| 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 |
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:
STM32L031F6P7
β Drop-Inπ Reference alternative (not in catalog)
STM32L031F4P6
β Drop-Inπ Reference alternative (not in catalog)
STM32L031G6P6
β Drop-Inπ Reference alternative (not in catalog)
STM32L011F4P6
β Drop-Inβ 99,999 In Stock
$1.2 / Unit
View Datasheet βSTM32L021F4P6
β Drop-Inπ Reference alternative (not in catalog)
EFM32ZG222F32
β Drop-Inπ Reference alternative (not in catalog)
ATSAMD21E15B
β Drop-Inπ Reference alternative (not in catalog)
STM32L031F6P6 Maximum Ratings & Electrical Characteristics
| Core | ARM Cortex-M0+ |
| Max Clock Frequency | 32 MHz |
| Flash Memory | 32 KB |
| SRAM | 8 KB |
| Supply Voltage | 1.8 V to 3.6 V |
| Package | TSSOP-20 (P6) |
| Operating Temperature | -40C to +85C |
| ADC | 12-bit, 1.14 Msps, up to 13 channels |
| DAC | None |
| Timers | 1x 16-bit, 1x 32-bit, 1x low-power timer |
| Communication Interfaces | 1x I2C, 1x SPI, 1x USART (LPUART) |
| GPIO | Up to 16 I/Os |
| RTC | Yes, with calendar and alarm |
| Low-Power Modes | Sleep, Low-power run, Low-power sleep, Stop with RTC, Standby with RTC |
| Typical Run Current | 87 uA/MHz |
| Standby Current (with RTC) | 0.29 uA |
| RoHS Status | Compliant |
STM32L031F6P6 Pin Configuration
| Pin 1 | VBAT β Battery backup supply for RTC |
| Pin 2 | PC14 β GPIO / OSC32_IN |
| Pin 3 | PC15 β GPIO / OSC32_OUT |
| Pin 4 | NRST β Reset (active low) |
| Pin 5 | VSS β Ground |
| Pin 6 | VDD β Power supply |
| Pin 7 | PA0 β GPIO / ADC_IN0 / USART2_CTS |
| Pin 8 | PA1 β GPIO / ADC_IN1 / USART2_RTS |
| 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 / USART2_TX |
| Pin 19 | PB4 β GPIO / SPI1_MISO / USART2_RX |
| Pin 20 | PB5 β GPIO / I2C1_SMBA |
Safe Operating Area (SOA) & Thermal Characteristics
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, Industrial Monitoring, Wearable Devices, Battery Management Systems.
Portable Medical Devices
The STM32L031F6P6 is ideal for portable medical devices such as glucose meters, pulse oximeters, and wearable health monitors. Its ultra-low-power consumption (87 uA/MHz in Run mode, 0.29 uA in Standby) extends battery life, critical for devices that must operate for months on a single coin cell. The 12-bit ADC with hardware oversampling enables accurate sensor readings, while the I2C and SPI interfaces connect to various medical sensors. The device's small TSSOP-20 package fits compact designs, and its wide operating temperature range (-40Β°C to +85Β°C) ensures reliability in clinical and home environments. In a typical glucose meter, the MCU wakes up periodically to read the sensor, processes the data, and displays the result on an LCD, consuming minimal power between measurements.
Recommended
IoT Sensor Nodes
For IoT sensor nodes, the STM32L031F6P6 provides the perfect balance of low power and connectivity. It can interface with various sensors (temperature, humidity, motion) via I2C or SPI, process data locally, and communicate with a gateway using a low-power radio module (e.g., LoRa, BLE) through its USART. The multiple low-power modes allow the node to sleep for extended periods, waking only to take measurements and transmit data, achieving years of battery life. The device's 32 KB Flash is sufficient for sensor firmware, and its 8 KB SRAM handles data buffering. In a typical smart agriculture application, the node measures soil moisture and temperature, sends data every hour, and remains in Standby mode (0.29 uA) between transmissions, ensuring long-term deployment without maintenance.
Recommended
Smart Home Controllers
The STM32L031F6P6 is well-suited for smart home controllers, such as thermostat controllers, smart locks, and lighting control units. Its low-power operation allows battery-powered devices to last for years, while its rich peripheral set (GPIO, timers, ADC) enables direct control of relays, LEDs, and sensors. The RTC with calendar provides accurate timekeeping for scheduled events, and the USART can interface with Wi-Fi or Zigbee modules for home automation. In a smart thermostat, the MCU reads temperature sensors, controls the HVAC system via relays, and communicates with a central hub, all while maintaining low power consumption. The device's wide supply voltage range (1.8V to 3.6V) allows it to be powered from a variety of sources, including batteries and energy-harvesting circuits.
Recommended
Industrial Monitoring
In industrial monitoring applications, the STM32L031F6P6 offers reliable operation in harsh environments with its -40Β°C to +85Β°C temperature range. It can monitor vibration, temperature, and pressure sensors, log data to its Flash memory, and communicate via RS-485 or CAN (through an external transceiver) using its USART. The 12-bit ADC with oversampling provides accurate measurements, and the low-power modes enable battery-powered wireless sensors for predictive maintenance. The device's robust design and wide supply voltage range make it suitable for factory automation and process control. In a typical vibration monitoring node, the MCU samples an accelerometer at regular intervals, performs FFT analysis, and transmits alerts when anomalies are detected, ensuring minimal downtime in manufacturing lines.
Recommended
Wearable Devices
The STM32L031F6P6 is an excellent choice for wearable devices like fitness trackers, smartwatches, and health monitors. Its ultra-low-power consumption is essential for devices that are worn continuously and need to last days or weeks on a small battery. The device's small TSSOP-20 package allows for compact PCB designs, and its integrated RTC and timers support activity tracking and sleep monitoring. The ADC can interface with bio-sensors (e.g., heart rate, skin conductance), and the I2C/SPI interfaces connect to displays and memory. In a fitness tracker, the MCU collects accelerometer data, counts steps, monitors heart rate, and displays information on an OLED screen, all while consuming minimal power to maximize battery life.
Recommended
Battery Management Systems
The STM32L031F6P6 can be used in battery management systems (BMS) for monitoring and protecting lithium-ion batteries. Its low-power operation is crucial for minimizing self-discharge of the battery pack, and its ADC can measure cell voltages and temperatures accurately. The device's multiple timers and GPIOs can control balancing circuits and disconnect switches, while the USART can communicate with a host controller. The wide supply voltage range (1.8V to 3.6V) allows the MCU to be powered directly from the battery pack. In a typical BMS, the MCU continuously monitors each cell's voltage, balances cells, and triggers protection if overvoltage or undervoltage is detected, ensuring safe and efficient battery operation.
Recommended
Recommended Products Summary
Engineering reference data for STM32L031F6P6 β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | STM32L031F6P7 | STM32L031F4P6 | STM32L031G6P6 | STM32L011F4P6 | STM32L021F4P6 | EFM32ZG222F32 | ATSAMD21E15B |
|---|---|---|---|---|---|---|---|---|
| Package | TSSOP-20 (P6) | TSSOP-20 (P6) - same | TSSOP-20 (P6) - same | TSSOP-20 (P6) - same | TSSOP-20 (P6) - same | TSSOP-20 (P6) - same | TSSOP-20 - same | TSSOP-20 - same |
| Brand | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | Silicon Labs | Microchip Technology |
| Core | ARM Cortex-M0+ | ARM Cortex-M0+ | ARM Cortex-M0+ | ARM Cortex-M0+ | ARM Cortex-M0+ | ARM Cortex-M0+ | ARM Cortex-M0+ | ARM Cortex-M0+ |
| Max Clock Frequency | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 24 MHz | 48 MHz |
| Flash Memory | 32 KB | 32 KB | 16 KB | 32 KB | 16 KB | 16 KB | 32 KB | 16 KB |
| SRAM | 8 KB | 8 KB | 8 KB | 8 KB | 2 KB | 2 KB | 4 KB | 4 KB |
| Supply Voltage | 1.8V to 3.6V | 1.8V to 3.6V | 1.8V to 3.6V | 1.8V to 3.6V | 1.65V to 3.6V | 1.65V to 3.6V | 1.98V to 3.8V | 1.62V to 3.63V |
| Operating Temperature | -40C to +85C | -40C to +105C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C |
Key Differentiators
- Ultra-low standby current of 0.29 uA with RTC (vs EFM32ZG222F32)
- Higher clock frequency of 32 MHz (vs EFM32ZG222F32)
- Larger SRAM of 8 KB (vs ATSAMD21E15B)
Design Notes
For optimal low-power performance, use the internal 16 MHz RC oscillator for run mode and the 32.768 kHz crystal for RTC. In Standby mode, the current is 0.29 uA with RTC, but this requires the RTC to be powered from VBAT. Ensure VBAT is connected to a battery or a supercapacitor to maintain RTC operation when the main supply is off. Decouple VDD with a 100 nF capacitor close to each pin and a 1 uF capacitor on the main supply.
Place the 32.768 kHz crystal close to the OSC32_IN and OSC32_OUT pins (PC14 and PC15) with load capacitors as specified in the datasheet (typically 6.8 pF). Keep the trace lengths short and avoid routing high-speed signals near the crystal to prevent interference. For the ADC, use a separate analog ground plane if possible and connect the VREF+ pin to a clean reference voltage.
Do not leave unused GPIO pins floating; configure them as analog inputs or outputs to reduce leakage current. When using the LPUART, ensure the baud rate is set correctly for low-power operation. Also, be aware that the BOOT0 pin (PB2) must be pulled low for normal boot from Flash; a floating BOOT0 can cause unexpected boot behavior.
Compliance Information
RoHS compliant per STMicroelectronics product page. Not AEC-Q100 qualified; for automotive, consider STM32L0 series with AEC-Q100 qualification.