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

- Shipping:

Inventory:4,531
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151F3P6TR from STMicroelectronics is an 8-bit ultra-low-power microcontroller in UFQFPN20 (3×3 mm) package, featuring 8 KB Flash, 256-byte data EEPROM with ECC, 1 KB RAM, 12-bit ADC (1 Msps, 28 channels), two ultra-low-power comparators, RTC with ±0.5 ppm digital calibration, and five low-power modes including Halt with 5 µs wakeup. It targets battery-powered sensor nodes and portable medical devices requiring sub-µA standby current and robust timing integrity.
For engineers reviewing the STM8L151F3P6TR datasheet, STM8L151F3P6TR pinout, STM8L151F3P6TR application, or STM8L151F3P6TR equivalent, key selection criteria include verified 1.65–3.6 V operation without BOR, 41 I/Os mappable to interrupt vectors, capacitive touch support (up to 20 channels), SWIM-based non-intrusive debugging, and factory-trimmed 16 MHz RC oscillator with ±1% accuracy at 25 °C.
Technical Context
The STM8L151F3P6TR 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 crystal oscillators (32 kHz LSE and 1–16 MHz HSE), internal 16 MHz HSI (factory-trimmed), and 38 kHz LSI, all managed by a clock security system detecting oscillator failure.
Power management includes programmable voltage detector (PVD), five selectable BOR thresholds (1.8–2.8 V), and ultra-low leakage I/Os (50 nA). The RTC operates autonomously in Active-halt mode with calendar, alarm, and auto-wakeup-enabled even when main regulator is off and powered solely by VBAT.
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 for resource-constrained embedded firmware. |
| Max Operating Frequency | 16 MHz; delivers 16 CISC MIPS peak performance while maintaining ultra-low power consumption in active modes. |
| Flash / EEPROM / RAM | 8 KB Flash (with read-while-write), 256 B data EEPROM (ECC-protected), 1 KB RAM; supports field firmware updates and reliable parameter storage across 100k write cycles. |
| ADC Resolution & Speed | 12-bit SAR ADC, 1 Msps sampling rate, 28 input channels including temp sensor and internal reference; enables high-fidelity analog monitoring in sensor fusion applications. |
| Low-Power Modes | 5 modes: Wait, Low-power Run, Low-power Wait, Active-halt with RTC, Halt; Halt draws ≤0.35 µA (typ.) at 3 V, enabling multi-year battery life in wake-on-event designs. |
| RTC Accuracy | ±0.5 ppm digital calibration vs. external 32.768 kHz crystal; eliminates need for external trimming components and ensures long-term timekeeping stability over temperature. |
| I/O Leakage Current | 50 nA per I/O in Halt mode; minimizes quiescent drain in always-on sensing nodes where GPIOs remain configured but inactive. |
Pinout & Package
STM8L151F3P6TR uses the UFQFPN20 (3×3 mm, 0.5 mm pitch) package with 20 terminals. All pins support interrupt mapping, and 19 are general-purpose I/Os (including 1 high-sink LED driver on PA0). NRST is dedicated reset; VDD/VSS pairs ensure stable core and I/O supply separation.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Core power supply | 1.65–3.6 V input; powers CPU, memories, and digital peripherals; requires local 100 nF decoupling. |
| VSS | Digital ground | Reference return path for digital logic; must be connected to PCB ground plane with low-inductance trace. |
| NRST | Active-low reset input | Asynchronous reset trigger; internal pull-up enabled; accepts external push-button or supervisor IC assertion. |
| PA0 | GPIO / LED driver / ADC1_IN0 | High-sink capability (20 mA) for direct LED drive; also serves as first ADC channel and touch sensing input. |
| PC1 | USART TX / SPI MOSI / I2C SCL | Multi-function pin supporting serial communication protocols; default USART transmit in bootloader mode. |
| PC2 | USART RX / SPI MISO / I2C SDA | Shared serial interface pin; enables single-wire UART debug or full-duplex communication depending on configuration. |
| PC3 | SWIM debug interface | Single-wire programming and non-intrusive debugging port; requires external 1.8–5.5 V pull-up for reliable connection. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC | Autonomous BCD calendar with alarm and periodic wakeup from Halt mode using only VBAT; consumes <0.8 µA (typ.) with LSE running. |
| Capacitive Touch Sensing | Hardware-accelerated support for up to 20 channels-enables touchkey, proximity, linear, and rotary sensors without external ICs or firmware overhead. |
| Flexible Memory Protection | Programmable read/write protection for Flash and EEPROM blocks; prevents accidental overwrite or unauthorized firmware extraction in deployed units. |
| DMA Controller | 4-channel peripheral DMA (ADC, SPI, I2C, USART, timers) plus 1 memory-to-memory channel; reduces CPU load during burst data transfers. |
| Fast Wakeup from Halt | 5 µs typical wakeup time to execute first instruction after interrupt event; critical for responsive event-driven systems like smoke detectors or wearables. |
Applications
| Smart Metering Node | Portable Medical Sensor |
|---|---|
Use Scenario: Battery-powered gas/water meter collecting pulse counts, temperature, and pressure at 15-minute intervals with daily RF upload. IC Role / Device Role / Timing Role: Primary MCU managing sensor acquisition, RTC-triggered sleep/wake cycles, secure data logging to EEPROM, and low-power RF interface control. Use Value: 0.35 µA Halt current extends CR2032 battery life beyond 10 years; calibrated RTC ensures accurate billing interval timestamps without external compensation. |
Use Scenario: Disposable ECG patch recording heart activity continuously for 72 hours before wireless data offload. IC Role / Device Role / Timing Role: Signal acquisition controller interfacing analog front-end, performing baseline correction, and buffering waveform data in RAM prior to transmission. Use Value: 12-bit ADC with internal reference enables 45 dB SNR at 1 kSPS; capacitive touch on housing allows user-initiated recording start/stop without mechanical switches. |
| Industrial Wireless Sensor | Home Automation Controller |
Use Scenario: LoRaWAN node monitoring vibration, humidity, and ambient light in HVAC ducts with self-calibrating thresholds. IC Role / Device Role / Timing Role: Edge intelligence unit executing FFT-based anomaly detection, adaptive sampling, and duty-cycled radio activation. Use Value: Two rail-to-rail comparators enable zero-power analog threshold detection; wakeup interrupts trigger full processing only on significant events. |
Use Scenario: Zigbee-enabled smart switch controlling lighting loads with touch-sensitive overlay and energy monitoring. IC Role / Device Role / Timing Role: System manager handling capacitive touch decoding, relay driver timing, current sensing via ADC, and Zigbee co-processor interface. Use Value: PA0's 20 mA LED sink drives status indicators directly; 96-bit unique ID enables secure device onboarding into cloud platforms. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power 8-bit MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8L051F3P6 | 4 KB Flash, no RTC, no EEPROM, 128 B RAM, same UFQFPN20 package | Lacks calendar/timekeeping; suitable only for simple polling-based sensor readouts without timestamping | Select when cost sensitivity outweighs need for RTC or data retention; not drop-in due to missing peripherals. |
| EFM8LB12F32ES1-QFP24 | Silicon Labs 8051 core, 32 KB Flash, 2.25 KB RAM, 12-bit ADC (1 Msps), but no integrated RTC or capacitive touch hardware | Requires external RTC and touch controller ICs; higher active current (150 µA/MHz vs. STM8L's 190 µA @ 16 MHz) | Choose for larger code footprint needs or legacy 8051 toolchain compatibility; adds BOM complexity for time/touch functions. |
Compared with STM8L051F3P6, the STM8L151F3P6TR adds essential RTC and EEPROM for time-stamped logging; versus EFM8LB12F32ES1-QFP24, it delivers integrated timekeeping and touch sensing at lower system-level power and component count-critical for space-constrained, battery-operated endpoints.
Availability
STM8L151F3P6TR is available at Aetrix Electronics and suitable for smart metering nodes, portable medical sensors, industrial wireless sensors, and home automation controllers requiring stable component supply and long-term lifecycle assurance.
Supply support for STM8L151F3P6TR 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, specializing in microcontrollers, power management, sensors, and automotive ICs with strong focus on energy efficiency and industrial reliability.
The STM8L151 series belongs to ST's ultra-low-power 8-bit MCU product line, designed specifically for battery-operated and energy-harvesting applications demanding sub-microamp standby current, integrated analog peripherals, and robust real-time operation under wide voltage and temperature ranges.
FAQ
What is the minimum supply voltage for STM8L151F3P6TR with BOR enabled?
The minimum operating voltage with Brown-out Reset (BOR) enabled is 1.8 V, with five selectable BOR thresholds ranging from 1.8 V to 2.8 V. Below the selected threshold, the BOR circuit asserts reset to prevent erratic operation-critical for maintaining data integrity during battery discharge.
Does STM8L151F3P6TR support in-system programming via SWIM?
Yes, STM8L151F3P6TR supports fast on-chip programming and non-intrusive debugging through the single-wire SWIM interface (PC3 pin). No external debugger is required for firmware updates; host PC connects via ST-LINK/V2 or compatible adapter with standard SWIM protocol timing.
Can the internal 16 MHz RC oscillator be used for precise timing-critical applications?
The internal 16 MHz RC oscillator is factory-trimmed to ±1% accuracy at 25 °C and 3.0 V, with drift of ±2% over –40 to 85 °C. It is suitable for UART communication (with automatic baud rate error compensation) and general-purpose timing-but not for USB or high-accuracy clock generation, which require external crystals.
How many capacitive touch channels does STM8L151F3P6TR support in UFQFPN20 package?
The STM8L151F3P6TR supports up to 20 capacitive sensing channels, all accessible on its 19 GPIO pins (excluding NRST). The hardware-accelerated touch controller handles charge-transfer measurement, baseline tracking, and noise filtering-enabling robust touchkey, proximity, linear, and rotary implementations without CPU intervention.
STM8L151F3P6TR 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:
- 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:
STM8L151F3P6TR FAQ
1.How can I place an order for STM8L151F3P6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151F3P6TR 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 STM8L151F3P6TR reliable?
The price and inventory of STM8L151F3P6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151F3P6TR is usually 5 days.
3.What payment methods are accepted for STM8L151F3P6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151F3P6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151F3P6TR?
STM8L151F3P6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151F3P6TR 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 STM8L151F3P6TR?
For technical support, including STM8L151F3P6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151F3P6TR requirements.
6.How does Aetrix verify that STM8L151F3P6TR is sourced from the original manufacturer or authorized distributors?
All STM8L151F3P6TR 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 STM8L151F3P6TR meets industry standards.
7.What is the process for return or replacement of STM8L151F3P6TR?
All STM8L151F3P6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151F3P6TR, 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 STM8L151F3P6TR part is unused and in its original packaging.
Return procedure for STM8L151F3P6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151F3P6TR 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…

