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

- Shipping:

Inventory:1,477
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151F3P3 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 multiple low-power modes including Halt with 5 µs wakeup. It targets battery-powered sensor nodes and portable medical devices requiring long runtime and precise timing.
For engineers reviewing the STM8L151F3P3 datasheet, STM8L151F3P3 pinout, STM8L151F3P3 application, or STM8L151F3P3 equivalent, key selection criteria include its 1.65–3.6 V operating range, 50 nA I/O leakage, 16 MHz max CPU frequency, and integrated capacitive touch sensing support for up to 20 channels.
Technical Context
The STM8L151F3P3 implements a Harvard-architecture STM8 core with 3-stage pipeline and 16 CISC MIPS peak performance at 16 MHz. Its clock system includes factory-trimmed 16 MHz RC, 38 kHz low-consumption RC, and dual crystal oscillator support (32 kHz LSE + 1–16 MHz HSE).
Power management integrates five low-power modes-Wait, Low-power Run, Low-power Wait, Active-halt with RTC, and Halt-with BOR reset thresholds selectable across five levels and programmable voltage detector (PVD). The RTC operates autonomously in Active-halt mode with periodic auto-wakeup capability.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | STM8 8-bit Harvard core with 3-stage pipeline, enabling deterministic 16 MIPS peak at 16 MHz |
| Flash / EEPROM | 8 KB Flash program memory with read-while-write; 256-byte data EEPROM with ECC for robust nonvolatile storage |
| Operating Voltage | 1.65–3.6 V (without BOR); 1.8–3.6 V (with BOR) - supports single-cell Li-ion or dual-cell alkaline operation |
| Low-Power Modes | 5 distinct modes including Halt (200 nA typical), Active-halt with RTC (900 nA), and fast 5 µs wakeup from Halt |
| ADC Performance | 12-bit SAR ADC with 1 Msps sampling rate, 28 input channels, internal reference, and temperature sensor |
| RTC Accuracy | Digital calibration achieves ±0.5 ppm accuracy over temperature; LSE security system prevents clock tampering |
| I/O Leakage | Ultra-low 50 nA per I/O in Halt mode - critical for multi-year battery life in always-on sensing applications |
Pinout & Package
STM8L151F3P3 uses the UFQFPN20 (3×3 mm, 0.5 mm pitch) package with 20 terminals. Pin functions are optimized for minimal external components in space-constrained designs.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main 1.65–3.6 V supply rail; decoupling required within 1 cm of pin |
| VSS | Ground | Digital ground reference; separate analog ground not required |
| NRST | Reset input | Active-low reset with internal pull-up; accepts 1.65–3.6 V logic levels |
| PA0–PA7 | General-purpose I/O | Up to 8-bit port A with high-sink LED driver capability on PA0 (20 mA) |
| PB0–PB7 | General-purpose I/O | Port B supports all 20 capacitive sensing channels and interrupt mapping |
| PC0–PC3 | General-purpose I/O | Port C provides USART TX/RX, SPI SCK/MOSI/MISO, and I²C SCL/SDA multiplexing |
| OSC_IN / OSC_OUT | HSE crystal interface | Supports 1–16 MHz external crystal; internal load caps eliminate need for external capacitors |
| LSE_IN / LSE_OUT | LSE crystal interface | 32.768 kHz RTC crystal connection with built-in oscillator circuitry |
Key Features
| Feature | Design Value |
|---|---|
| SWIM debug interface | Single-wire on-chip programming and non-intrusive debugging - eliminates JTAG footprint and reduces PCB routing complexity |
| Capacitive touch controller | Hardware-accelerated support for 20 channels - enables touchkey, proximity, linear, and rotary sensors without external IC |
| DMA controller | 4-channel peripheral DMA (ADC, SPI, I²C, USART, timers) plus 1 memory-to-memory channel - offloads CPU during data transfers |
| Embedded reference voltage | Internal 1.22 V reference for ADC and comparators - removes need for external precision reference in low-power designs |
| Unique 96-bit ID | Factory-programmed serial number - enables secure device authentication and firmware binding in IoT edge nodes |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
Use Scenario: Battery-powered water/gas meter with hourly pulse logging and RF wake-up. IC Role / Device Role / Timing Role: Primary MCU managing metrology ADC, RTC calendar, and low-duty-cycle sub-GHz transceiver control. Use Value: 200 nA Halt current and 5 µs wakeup enable >10-year battery life while maintaining accurate timekeeping and event-triggered transmission. | Use Scenario: Disposable ECG patch with 72-hour continuous monitoring and Bluetooth LE upload. IC Role / Device Role / Timing Role: System controller handling analog front-end signal conditioning, real-time QRS detection, and flash-based waveform buffering. Use Value: Integrated 12-bit ADC (1 Msps) and 28-channel input matrix allow direct electrode connection without external mux; ECC EEPROM ensures reliable firmware updates in field-deployed units. |
| Industrial Wireless Sensor Node | Home Automation Touch Panel |
Use Scenario: Zigbee/Z-Wave node measuring temperature, humidity, and vibration in HVAC ducts. IC Role / Device Role / Timing Role: Sensor fusion hub aggregating data from I²C HTS221 and SPI LIS3DH, then transmitting via UART-to-radio bridge. Use Value: Fast I²C (400 kHz) and SPI interfaces reduce sensor polling latency; ultra-low 50 nA I/O leakage prevents parasitic discharge of backup supercapacitor during mains outage. | Use Scenario: Wall-mounted dimmer switch with glass surface touch controls and RGB LED feedback. IC Role / Device Role / Timing Role: Capacitive touch processor driving 12-key overlay and PWM-controlled status LEDs. Use Value: On-die touch sensing engine supports 20 channels with noise immunity up to 50 Vrms; PA0's 20 mA sink capability directly drives indicator LEDs without external drivers. |
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 |
|---|---|---|---|
| STM8L051F3P3 | 4 KB Flash, no RTC, no DMA, 10-bit ADC (500 ksps), 128-byte EEPROM | Suitable for simpler timer/control tasks without calendar or high-speed data acquisition | Select when cost sensitivity outweighs RTC and ADC resolution requirements |
| STM8L152C6T6 | LQFP48 package, 32 KB Flash, 2 KB RAM, USB interface, enhanced capacitive sensing | Targets larger UI-driven systems needing USB connectivity and expanded memory | Choose for designs requiring USB device stack or >8 KB code space with full peripheral set |
Compared with STM8L051F3P3, the STM8L151F3P3 adds RTC, DMA, and higher-resolution ADC - essential for time-stamped sensor logging. Versus STM8L152C6T6, it trades package size and USB for lower BOM cost and smaller PCB footprint in compact nodes.
Availability
STM8L151F3P3 is available at Aetrix Electronics and suitable for smart utility metering, portable medical sensors, and industrial wireless sensor nodes requiring stable component supply and long-term manufacturability.
Supply support for STM8L151F3P3 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 analog products.
The STM8L ultra-low-power MCU product line targets energy-constrained applications such as battery-operated meters, wearables, and industrial sensors where sub-µA sleep currents and robust peripheral integration are mandatory.
FAQ
What is the maximum operating frequency and corresponding power consumption in Run mode?
The STM8L151F3P3 achieves a maximum CPU frequency of 16 MHz using the internal 16 MHz RC oscillator or external HSE. At VDD = 3.0 V and fCPU = 16 MHz, typical active-mode current is 190 µA/MHz, resulting in ~3.04 mA total consumption - verified per DS7204 Rev 11 Table 19.
Does the device support hardware-based capacitive touch sensing without external components?
Yes - the STM8L151F3P3 integrates a dedicated capacitive sensing controller supporting up to 20 channels. It requires only series resistors (typically 100 kΩ) on each sense line and no external oscillator or charge-transfer IC, enabling robust touchkey and proximity detection per AN4603 and RM0031.
How is RTC accuracy maintained across temperature and voltage variations?
The RTC uses a digitally calibrated 32.768 kHz LSE oscillator with ±0.5 ppm accuracy over -40 to +85 °C. Calibration coefficients are stored in option bytes and applied automatically; LSE security system detects crystal faults and triggers interrupts to prevent time drift.
Can the internal 12-bit ADC measure signals below the VDD reference?
Yes - the ADC supports external VREF+ down to 1.8 V and internal 1.22 V reference. When VREF+ = 1.8 V, full-scale range is 0–1.8 V with 439 µV LSB resolution; accuracy remains ±1.5 LSB INL/DNL per DS7204 Rev 11 Table 48 and Table 51.
STM8L151F3P3 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-TSSOP (0.173", 4.40mm Width)
- Series:
- STM8L EnergyLite
- Packaging:
- Tray
- 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 ~ 125°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151F3P3 FAQ
1.How can I place an order for STM8L151F3P3 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151F3P3 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 STM8L151F3P3 reliable?
The price and inventory of STM8L151F3P3 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151F3P3 is usually 5 days.
3.What payment methods are accepted for STM8L151F3P3?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151F3P3 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151F3P3?
STM8L151F3P3 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151F3P3 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 STM8L151F3P3?
For technical support, including STM8L151F3P3 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151F3P3 requirements.
6.How does Aetrix verify that STM8L151F3P3 is sourced from the original manufacturer or authorized distributors?
All STM8L151F3P3 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 STM8L151F3P3 meets industry standards.
7.What is the process for return or replacement of STM8L151F3P3?
All STM8L151F3P3 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151F3P3, 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 STM8L151F3P3 part is unused and in its original packaging.
Return procedure for STM8L151F3P3:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151F3P3 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…

