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

- Shipping:

Inventory:1,139
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151F3P6 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 8 KB Flash, 256 bytes data EEPROM, RTC, 12-bit ADC (1 Msps), two ultra-low-power comparators, and multiple timers-including two 16-bit general-purpose timers and one beeper timer. It operates from 1.65–3.6 V across –40 to +85 °C and supports up to 20 capacitive sensing channels for touchkey and proximity applications in battery-powered IoT sensors and smart meters.
For engineers reviewing the STM8L151F3P6 datasheet, STM8L151F3P6 pinout, STM8L151F3P6 application, or STM8L151F3P6 equivalent, key selection criteria include ultra-low leakage per I/O (50 nA), fast Halt-mode wakeup (5 µs), BCD calendar RTC with ±0.5 ppm digital calibration, and SWIM-based non-intrusive debugging support.
Technical Context
The STM8L151F3P6 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. Its clock system integrates three oscillators: 32 kHz LSE, 1–16 MHz HSE, and factory-trimmed 16 MHz HSI-plus a 38 kHz low-consumption LSI for autonomous RTC operation during Halt mode.
Power management includes five configurable low-power modes (Wait, Low-power Run, Low-power Wait, Active-halt with RTC, Halt), programmable voltage detector (PVD), and BOR with five selectable thresholds. The RTC remains active in Active-halt mode using LSE, enabling periodic wakeups without CPU intervention.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline; enables deterministic real-time execution and efficient code density. |
| Max Clock Frequency | 16 MHz; delivers 16 CISC MIPS peak performance for sensor fusion and protocol stack processing. |
| Flash / EEPROM | 8 KB Flash program memory + 256 bytes data EEPROM with ECC; supports field firmware updates and parameter retention. |
| ADC Resolution & Speed | 12-bit SAR ADC up to 1 Msps across 28 channels; includes internal reference and temperature sensor for self-calibration. |
| Low-Power Modes | 5 modes including Halt (0.3 µA typical) and Active-halt with RTC (0.9 µA); enables multi-year battery life in metering devices. |
| I/O Leakage Current | 50 nA per I/O in Halt mode; minimizes standby current in systems with high pin-count wake-on-pin configurations. |
| RTC Accuracy | ±0.5 ppm digital calibration; eliminates external crystal trimming components and reduces BOM cost in time-critical applications. |
Pinout & Package
STM8L151F3P6 is housed in a 20-pin UFQFPN (3 × 3 mm, 0.5 mm pitch) package with exposed thermal pad. This compact footprint supports space-constrained designs such as wearable health monitors and compact utility meters.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply input | Primary 1.65–3.6 V supply rail; powers core, peripherals, and I/O banks. |
| VSS | Ground reference | Digital ground return path; must be connected to PCB ground plane for noise immunity. |
| NRST | Reset input | Active-low reset pin with internal pull-up; accepts external reset pulses or watchdog timeout signals. |
| SWIM | Single-wire interface module | Enables on-chip programming and non-intrusive debugging via single pin-no JTAG header required. |
| PA0–PA7 | General-purpose I/O bank A | 8-bit bidirectional port with interrupt capability; PA0 supports high-sink LED driver (20 mA). |
| PB0–PB7 | General-purpose I/O bank B | 8-bit bidirectional port; supports alternate functions including USART TX/RX and SPI SCK/MOSI/MISO. |
| PC0–PC3 | General-purpose I/O bank C | 4-bit port supporting capacitive sensing inputs (CTS) and comparator inputs (COMP1/COMP2). |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC | BCD calendar with alarm interrupt and auto-wakeup from Halt; enables precise timekeeping with <1 µA system current draw. |
| Capacitive Sensing | Up to 20 channels supporting touchkey, proximity, linear, and rotary touch; eliminates mechanical buttons and reduces assembly cost. |
| Fast Wakeup | 5 µs from Halt mode; allows rapid response to external events while maintaining sub-µA sleep current. |
| DMA Controller | 4-channel peripheral DMA (ADC, SPI, I2C, USART) plus 1 memory-to-memory channel; offloads CPU during burst data transfers. |
| Embedded Debug | SWIM interface with flash erase/write and breakpoint support; enables field firmware updates without removing MCU from PCB. |
Applications
| Smart Utility Metering | Wireless Sensor Node |
|---|---|
Use Scenario: Battery-powered gas/water meter with hourly pulse counting, temperature logging, and RF transmission. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition, RTC-timed data aggregation, and low-power RF wake scheduling. Use Value: 0.3 µA Halt current and 5 µs wakeup enable >10-year battery life; integrated ADC and comparators reduce external component count. |
Use Scenario: Environmental monitoring node measuring temperature, humidity, and ambient light in remote industrial sites. IC Role / Device Role / Timing Role: Sensor hub aggregating analog readings, performing basic threshold logic, and triggering BLE/Wi-SUN transmission on event. Use Value: 20 capacitive sensing channels allow direct integration of proximity-triggered wake; RTC alarm ensures synchronized reporting intervals. |
| Wearable Health Monitor | Industrial Control Panel |
Use Scenario: Compact wrist-worn device tracking heart rate, motion, and skin temperature with capacitive touch UI. IC Role / Device Role / Timing Role: Real-time signal processor handling PPG ADC sampling, motion sensor fusion, and capacitive touch decoding. Use Value: Ultra-low I/O leakage (50 nA) prevents battery drain during sleep; built-in temperature sensor enables on-chip thermal compensation. |
Use Scenario: DIN-rail mounted HMI panel with tactile buttons, LED indicators, and RS-485 communication to PLC. IC Role / Device Role / Timing Role: Local intelligence unit managing button debouncing, LED PWM dimming, and USART-to-RS485 protocol translation. Use Value: Two 16-bit timers provide independent PWM outputs for LED control; fast SWIM debug enables in-field firmware patching without hardware redesign. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8L051F3P6 | 4 KB Flash, no RTC, no EEPROM, 16 MHz max, same UFQFPN20 package | Lacks calendar RTC and data retention memory; suitable only for simpler timing or event-driven tasks | Select when cost sensitivity outweighs need for time-stamped logging or firmware parameter storage. |
| STM32L011F4P6 | 32-bit ARM Cortex-M0+, 16 KB Flash, 2 KB RAM, 12-bit ADC, same 20-pin UFQFPN | Higher code density and interrupt latency performance; requires different toolchain and HAL migration | Choose for future-proofing, complex connectivity stacks, or when migrating from 8-bit to 32-bit architecture is planned. |
Compared with STM8L051F3P6, STM8L151F3P6 adds RTC, EEPROM, and enhanced analog peripherals-justifying its use in time-aware metering. Versus STM32L011F4P6, it offers lower power in deep sleep and simpler firmware development, but less computational headroom for cryptographic or protocol processing.
Availability
STM8L151F3P6 is available at Aetrix Electronics and suitable for smart utility metering, wireless sensor nodes, wearable health monitors, and industrial control panels requiring stable component supply and long-term lifecycle assurance.
Supply support for STM8L151F3P6 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 products for industrial, automotive, and consumer markets.
The STM8L ultra-low-power MCU product line targets battery-operated and energy-harvesting applications where sub-µA sleep current, fast wake-up, and integrated analog peripherals are critical-enabling multi-year operation without battery replacement.
FAQ
What is the maximum operating frequency and corresponding power supply range for STM8L151F3P6?
The STM8L151F3P6 achieves a maximum 16 MHz CPU frequency when supplied between 1.8 V and 3.6 V with Brown-out Reset (BOR) enabled. Without BOR, operation is guaranteed down to 1.65 V. At 1.65 V, the maximum safe frequency is reduced to 12 MHz per electrical characteristics tables in DS7204 Rev 11 Section 9.3.4.
Does STM8L151F3P6 support capacitive touch sensing, and how many channels are available?
Yes, STM8L151F3P6 supports up to 20 capacitive sensing channels using its integrated CTS (Capacitive Touch Sensing) controller. These channels can be configured for touchkey, proximity, linear slider, or rotary wheel interfaces without external components, leveraging dedicated charge-transfer measurement circuitry and hardware-accelerated filtering.
What debug interface does STM8L151F3P6 use, and what are its physical requirements?
STM8L151F3P6 uses the Single-Wire Interface Module (SWIM) for on-chip programming and non-intrusive debugging. It requires only one dedicated pin (SWIM), a ground connection, and a 5 V tolerant debug probe. No external crystal or additional pins are needed-making it ideal for space-constrained PCB layouts and field firmware updates.
How does the RTC maintain accuracy in low-power modes, and what calibration mechanism is used?
The RTC in STM8L151F3P6 maintains ±0.5 ppm accuracy in Active-halt mode using digital calibration against the 32.768 kHz LSE crystal. Calibration values are stored in option bytes and applied automatically during startup or wake-up, eliminating manual trimming and ensuring consistent timekeeping across temperature and voltage variations.
STM8L151F3P6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-TSSOP (0.173", 4.40mm Width)
- Series:
- STM8L EnergyLite
- Packaging:
- Tube
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- STM8
- Core Size:
- 8-Bit
- Speed:
- 16MHz
- Connectivity:
- I2C, IrDA, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, DMA, IR, POR, PWM, WDT
- Number of I/O:
- 18
- Program Memory Size:
- 8KB (8K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 256 x 8
- RAM Size:
- 1K 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:
STM8L151F3P6 FAQ
1.How can I place an order for STM8L151F3P6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151F3P6 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 STM8L151F3P6 reliable?
The price and inventory of STM8L151F3P6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151F3P6 is usually 5 days.
3.What payment methods are accepted for STM8L151F3P6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151F3P6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151F3P6?
STM8L151F3P6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151F3P6 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 STM8L151F3P6?
For technical support, including STM8L151F3P6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151F3P6 requirements.
6.How does Aetrix verify that STM8L151F3P6 is sourced from the original manufacturer or authorized distributors?
All STM8L151F3P6 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 STM8L151F3P6 meets industry standards.
7.What is the process for return or replacement of STM8L151F3P6?
All STM8L151F3P6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151F3P6, 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 STM8L151F3P6 part is unused and in its original packaging.
Return procedure for STM8L151F3P6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151F3P6 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…

