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 |
STM32L031F6P6 Overview
What is an ARM Cortex-M0+ microcontroller? It is a 32-bit processor core designed for low-cost and low-power embedded applications. The Cortex-M0+ is the smallest and most energy-efficient ARM processor, offering a balance of performance and power consumption. In the system hierarchy, a microcontroller (MCU) integrates a processor core, memory, and peripherals on a single chip, serving as the 'brain' of embedded systems. The STM32L0 series specifically targets battery-powered and energy-harvesting applications where every microamp of current matters.
Key features of the STM32L031F6P6 include multiple low-power modes (Sleep, Low-power run, Low-power sleep, Stop with RTC, Standby with RTC), a 12-bit ADC with hardware oversampling, a low-power UART, I2C, SPI interfaces, and a real-time clock (RTC) with calendar. The device operates from 1.8V to 3.6V supply, with a typical current consumption of 87 uA/MHz in Run mode and 0.29 uA in Standby mode with RTC. It also includes a unique device ID, CRC calculation unit, and a true random number generator (RNG) for security applications.
Technically, the STM32L031F6P6 is built on ST's ultra-low-power technology, featuring a flexible clock management with an internal 16 MHz RC oscillator, an external 32.768 kHz crystal for RTC, and a phase-locked loop (PLL) for higher frequencies. The device supports a wide temperature range from -40Β°C to +85Β°C, making it suitable for industrial and consumer applications. The TSSOP-20 package offers a compact footprint of 6.4mm x 4.4mm, ideal for space-constrained designs.
Typical applications include portable medical devices, sensor nodes for IoT, smart home controllers, battery management systems, and industrial monitoring equipment. The ultra-low-power modes enable long battery life, while the rich analog and digital peripherals allow for versatile system integration. For example, in a wireless sensor node, the STM32L031F6P6 can wake up periodically, read sensors, process data, and transmit via a low-power radio, all while consuming minimal energy.
When designing with this device, pay attention to the power supply decoupling: place a 100 nF capacitor close to each VDD pin and a 1 uF capacitor on the main supply. Also, configure the clock system properly to balance performance and power consumption. The STM32L0 series is supported by ST's comprehensive ecosystem, including the STM32CubeMX configuration tool and the HAL library, which accelerate development.
Drop-in alternatives for STM32L031F6P6 β same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with STM32L031F6P6 (same form factor and footprint) β differing in ADC Resolution, Communication Interfaces, Core, Flash Memory, Package.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
STM32L031F4P6
β Drop-In β οΈ εζ°εΎ ιͺθ―π Reference alternative (not in catalog)
STM32L031F6P7
β Drop-In β οΈ εζ°εΎ ιͺθ―π Reference alternative (not in catalog)
STM32L031F6P6TR
β Drop-In β οΈ εζ°εΎ ιͺθ―π Reference alternative (not in catalog)
STM32L031F6P6
β Drop-Inβ 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
| 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 |
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.
Recommended
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.
Recommended
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.
Recommended
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.
Recommended
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.
Recommended
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
Recommended Products Summary
Engineering reference data for STM32L031F6P6 β comparison, design guidance, and compliance information.
Selection Guide
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 per STMicroelectronics product page. Not AEC-Q100 qualified; use STM32L031F6P7 for extended temperature but still not automotive grade.