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

- Shipping:

Inventory:1,244
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151F2P6TR from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 4 KB Flash, 128 bytes data EEPROM, RTC, 12-bit ADC (up to 1 Msps), two ultra-low-power comparators, and integrated capacitive touch sensing-designed for battery-powered sensor nodes in industrial monitoring and smart metering systems.
For engineers reviewing the STM8L151F2P6TR datasheet, STM8L151F2P6TR pinout, STM8L151F2P6TR application, or STM8L151F2P6TR equivalent, key selection criteria include active-halt mode current (300 nA @ 3 V), 5 µs wakeup from Halt, 1.65–3.6 V operating range, and TSSOP20 package compatibility with space-constrained PCB layouts.
Technical Context
The STM8L151F2P6TR implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz max frequency and supporting up to 40 external interrupt sources. Its clock system integrates dual RC oscillators (16 MHz factory-trimmed HSI, 38 kHz LSI) plus 32 kHz and 1–16 MHz crystal support with clock security system.
Power management includes five low-power modes (Wait, Low-power Run, Low-power Wait, Active-halt with RTC, Halt), BOR with five selectable thresholds, and programmable voltage detector (PVD). The RTC provides BCD calendar, digital calibration (±0.5 ppm), and auto-wakeup capability.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | STM8 8-bit Harvard, 3-stage pipeline, 16 MIPS peak at 16 MHz |
| Memory | 4 KB Flash + 128 B data EEPROM with ECC; 1 KB RAM |
| Operating Voltage | 1.65–3.6 V (no BOR), 1.8–3.6 V (with BOR)-enables direct coin-cell (CR2032) operation |
| Low-Power Halt Current | 300 nA @ 3 V with RTC running-supports multi-year battery life in wake-on-event designs |
| ADC | 12-bit, up to 1 Msps, 28-channel multiplexed input with internal temp sensor & reference |
| Comparators | 2 ultra-low-power comparators: one rail-to-rail, one with fixed threshold; both support wakeup |
| Capacitive Sensing | Up to 20 channels for touchkey/proximity/linear/rotary sensing-no external components required |
Pinout & Package
STM8L151F2P6TR uses the TSSOP20 (6.4 × 4.4 mm, 0.65 mm pitch) package with 18 general-purpose I/Os, all mappable to interrupt vectors, plus dedicated pins for reset, SWIM debug, and multiple clock sources.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual power domains: VDD powers core/peripherals; VSS is common analog/digital reference |
| NRST | Active-low reset input | Accepts external reset pulse; supports programmable BOR and PVD-triggered internal reset |
| SWIM | Single-wire interface for debug | Enables non-intrusive on-chip programming and real-time debugging without JTAG pins |
| PA0–PA7 | General-purpose I/O bank A | Includes high-sink LED driver capability on PA0; all support interrupt generation and capacitive sensing |
| PC0–PC3 | General-purpose I/O bank C | Supports USART TX/RX, SPI SCK/MOSI/MISO, I²C SCL/SDA, and timer input capture/output compare |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low leakage per I/O | 50 nA-minimizes standby current in always-on sensor interfaces |
| Fast wakeup from Halt | 5 µs-enables rapid response to external events while preserving energy |
| RTC with digital calibration | ±0.5 ppm accuracy over temperature-eliminates need for external temperature compensation |
| Flexible write protection | Per-sector Flash and EEPROM lock-prevents accidental firmware corruption in field-deployed devices |
| Integrated touch sensing | Hardware-accelerated capacitive sensing engine-reduces CPU load and enables low-power touch UI |
Applications
| Smart Utility Metering | Wireless Sensor Node |
|---|---|
Use Scenario: Battery-powered gas/water meter with hourly pulse counting and tamper detection. IC Role / Device Role / Timing Role: Primary MCU managing pulse input, RTC-based logging interval, and low-power sleep/wakeup cycle. Use Value: 300 nA Halt current extends CR2032 battery life beyond 10 years; built-in comparators detect mechanical tampering via vibration sensing. |
Use Scenario: Sub-GHz IoT node measuring temperature/humidity and transmitting via UART-to-LoRa bridge. IC Role / Device Role / Timing Role: Sensor aggregator and protocol translator with precise timing for duty-cycled radio activation. Use Value: 5 µs wakeup ensures timely sensor sampling before radio transmit window; 12-bit ADC achieves ±0.5°C thermal measurement accuracy. |
| Industrial Panel Controller | Portable Medical Device |
Use Scenario: Touch-enabled HMI for HVAC control panel powered by rechargeable Li-ion. IC Role / Device Role / Timing Role: Capacitive touch controller and display interface manager with real-time button debounce. Use Value: 20-channel hardware touch engine supports slider and rotary controls without host CPU overhead; operates down to 1.65 V during battery brownout. |
Use Scenario: Handheld blood glucose monitor with LCD, button inputs, and USB charging indicator. IC Role / Device Role / Timing Role: System supervisor handling battery voltage monitoring, button scan, and LCD segment drive timing. Use Value: Integrated PVD triggers low-battery alert at 2.2 V; beeper timer generates audible feedback at 2 kHz without external oscillator. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8L051F3P6 | 2 KB Flash, no RTC, no DMA, 10-bit ADC (500 ksps) | Lacks calendar RTC and capacitive sensing-suitable only for basic timer/event-driven tasks | Select when cost sensitivity outweighs RTC/touch requirements and firmware size ≤ 2 KB |
| STM32L011D4P6 | 32-bit ARM Cortex-M0+, 16 KB Flash, 2.4–3.6 V only, 380 nA Stop mode | Higher code density and peripheral integration but requires minimum 2.4 V-unsuitable for 1.8 V coin-cell use | Choose for complex algorithms or future-proofing where voltage range allows and ARM toolchain is preferred |
Compared with STM8L051F3P6, the STM8L151F2P6TR adds RTC, touch sensing, and higher ADC resolution-critical for time-stamped sensor logging. Versus STM32L011D4P6, it offers wider voltage range and lower Halt current, enabling true single-cell operation where 32-bit performance isn't required.
Availability
STM8L151F2P6TR is available at Aetrix Electronics and suitable for smart metering, wireless sensor networks, industrial HMIs, and portable medical devices requiring stable component supply across long-lifecycle deployments.
Supply support for STM8L151F2P6TR 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 management ICs, sensors, and automotive semiconductors.
The STM8L ultra-low-power MCU family targets battery-operated and energy-harvesting applications demanding sub-µA sleep currents, fast wakeup, and integrated analog peripherals-optimized for longevity and reliability in harsh environments.
FAQ
What is the maximum operating frequency and corresponding power supply range?
The STM8L151F2P6TR achieves a maximum CPU frequency of 16 MHz across its full operating voltage range of 1.65–3.6 V (without BOR) or 1.8–3.6 V (with BOR enabled). At 16 MHz and 3.0 V, typical active-mode current is 190 µA/MHz, verified per DS7204 Rev 11 Table 19.
Does this MCU support in-system programming and debugging?
Yes-STM8L151F2P6TR features SWIM (Single-Wire Interface Module), enabling non-intrusive on-chip programming and real-time debugging using only the SWIM pin and ground. No external debugger hardware is required beyond a standard SWIM programmer interface.
How many I/O pins support capacitive touch sensing, and what is the implementation method?
Up to 20 I/O pins support capacitive sensing, implemented via the integrated Touch Sensing Controller (TSC) hardware block. It uses charge-transfer measurement with built-in acquisition logic, eliminating need for external RC networks or dedicated ADC channels-verified in Section 3.11 of DS7204.
What RTC accuracy can be expected, and how is calibration performed?
The RTC achieves ±0.5 ppm accuracy over temperature and voltage when calibrated digitally using the internal 38 kHz LSI oscillator and LSE crystal reference. Calibration is performed once during manufacturing and stored in option bytes-detailed in Section 3.5 and Table 31 of the datasheet.
STM8L151F2P6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-TSSOP (0.173", 4.40mm Width)
- Series:
- STM8L EnergyLite
- Packaging:
- Tape & Reel (TR)
- 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:
- 4KB (4K 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:
STM8L151F2P6TR FAQ
1.How can I place an order for STM8L151F2P6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151F2P6TR 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 STM8L151F2P6TR reliable?
The price and inventory of STM8L151F2P6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151F2P6TR is usually 5 days.
3.What payment methods are accepted for STM8L151F2P6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151F2P6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151F2P6TR?
STM8L151F2P6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151F2P6TR 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 STM8L151F2P6TR?
For technical support, including STM8L151F2P6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151F2P6TR requirements.
6.How does Aetrix verify that STM8L151F2P6TR is sourced from the original manufacturer or authorized distributors?
All STM8L151F2P6TR 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 STM8L151F2P6TR meets industry standards.
7.What is the process for return or replacement of STM8L151F2P6TR?
All STM8L151F2P6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151F2P6TR, 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 STM8L151F2P6TR part is unused and in its original packaging.
Return procedure for STM8L151F2P6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151F2P6TR 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…

