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

- Shipping:

Inventory:1,460
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L101F2P6 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 4 Kbytes Flash, 1.5 Kbytes RAM, and integrated peripherals including two 16-bit timers, USART, SPI, I²C, two comparators, and infrared remote control interface. It operates from 1.65 V to 3.6 V across –40 °C to +85 °C, with dynamic run current of 150 µA/MHz - optimized for battery-powered sensor nodes and portable medical devices.
For engineers reviewing the STM8L101F2P6 datasheet, STM8L101F2P6 pinout, STM8L101F2P6 application, or STM8L101F2P6 equivalent, key selection criteria include its 20-pin TSSOP package, 16 MHz internal RC oscillator with 4 µs wakeup, Halt-mode power consumption of 0.3 µA, SWIM debug interface, and LED-driver-capable PA0 pin for infrared transmission.
Technical Context
The STM8L101F2P6 implements the STM8 CISC core delivering up to 16 MIPS at 16 MHz, with nested interrupt controller supporting 29 external sources and software priority management. Its clock system integrates dual RC oscillators: a 16 MHz high-speed internal (HSI) for active operation and a 38 kHz low-speed internal (LSI) dedicated to independent watchdog (IWDG) and auto-wakeup unit (AWU).
Power architecture includes ultra-low-power POR/PDR and three distinct low-power modes - Wait, Active-halt, and Halt - enabling sub-µA retention states. Memory subsystem comprises 4 Kbytes Flash with ECC, 2 Kbytes data EEPROM (shared address space), and 1.5 Kbytes SRAM, all accessible during Halt mode for fast resume.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | STM8 8-bit CISC CPU, 16 MIPS @ 16 MHz - enables deterministic real-time control in resource-constrained edge nodes. |
| Flash / EEPROM | 4 Kbytes Flash + 2 Kbytes data EEPROM with ECC - supports firmware updates and nonvolatile parameter storage with error resilience. |
| Supply Voltage | 1.65 V to 3.6 V - compatible with single-cell Li-ion, LiFePO₄, and dual-cell alkaline battery systems without regulation. |
| Low-Power Modes | Halt: 0.3 µA, Active-halt: 0.8 µA - allows multi-year operation on coin-cell batteries in periodic-sensing applications. |
| Timers & Peripherals | Two 16-bit general-purpose timers (TIM2/TIM3), one 8-bit beeper timer, IR interface, 2× comparators, USART/I²C/SPI - sufficient for sensor fusion, motor timing, and IR remote emulation. |
| Debug Interface | Single-Wire Interface Module (SWIM) - enables non-intrusive debugging and flash programming using only one pin (SWIM). |
| I/O Capability | 18 GPIOs (TSSOP20 package), all mappable to external interrupts; PA0 supports 20 mA LED driver output - simplifies IR transmitter design without external drivers. |
Pinout & Package
The STM8L101F2P6 is housed in a 20-pin TSSOP package (6.5 × 4.4 mm, 0.65 mm pitch), optimized for compact PCB layouts and automated assembly. Pin functions are validated per ST's DocID15275 Rev 16, Figure 4.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual supply pins enable stable core/peripheral operation; decoupling required within 1 cm for low-noise 1.65–3.6 V operation. |
| NRST | Active-low reset input | Internal pull-up; accepts external push-button or supervisor IC assertion; supports programmable reset threshold via option bytes. |
| SWIM | Single-wire debug interface | Enables full in-circuit programming and real-time debugging with no additional pins - critical for space-limited designs. |
| PA0 | GPIO / IR LED driver | High-sink capability (20 mA typ.) with dedicated IR modulation logic - drives infrared LEDs directly for remote control applications. |
| PA1–PA7, PB0–PB5 | General-purpose I/O | All support external interrupt mapping and programmable pull-ups; tolerant of 5 V inputs when configured as inputs - simplifies level-shifting in mixed-voltage systems. |
| CLK, OSC_IN/OSC_OUT | System clock input/output | Supports external crystal (1–16 MHz) or ceramic resonator; internal 16 MHz RC usable for cost-sensitive designs with ±1% accuracy over temp/voltage. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 0.3 µA typical - extends battery life in intermittently active IoT endpoints such as smoke detectors and asset trackers. |
| Integrated IR transmitter logic | Hardware-modulated carrier generation (30–56 kHz) on PA0 - eliminates need for external encoder ICs in remote control transmitters. |
| Data EEPROM with ECC | 2 Kbytes with built-in error correction - ensures reliable storage of calibration data, device IDs, or user settings across 100k write cycles. |
| Fast wake-up from Halt | 4 µs from 16 MHz HSI startup - enables rapid response to external events (e.g., motion detection) while preserving energy efficiency. |
| SWIM debug interface | Single-pin, non-intrusive on-chip debugging - reduces test point count and avoids footprint penalty of JTAG headers in miniaturized designs. |
Applications
| Smart Metering Endpoint | Wearable Health Monitor |
|---|---|
|
Use Scenario: Battery-powered gas/water meter with pulse counting, LCD display, and periodic RF reporting. IC Role / Device Role: Main system controller managing sensor interface, display driver, low-power sleep scheduling, and IR optical readout. Use Value: 0.3 µA Halt mode and 4 µs wake-up allow >10-year battery life; PA0 IR driver enables handheld utility reader compatibility without external components. |
Use Scenario: Disposable ECG patch transmitting heart rate and rhythm data via BLE gateway. IC Role / Device Role: Sensor hub aggregating analog front-end signals, performing baseline filtering, and managing ultra-low-duty-cycle BLE wakeups. Use Value: 1.65 V minimum supply supports aging coin cells; 2× comparators condition electrode signals; 1.5 Kbytes RAM buffers waveform segments before transmission. |
| Industrial Sensor Node | Home Appliance Remote Control |
|
Use Scenario: Wireless temperature/humidity node in HVAC ducts, logging data locally and transmitting hourly. IC Role / Device Role: Data acquisition engine interfacing with I²C sensors, managing EEPROM logging, and coordinating SPI flash or RF transceiver. Use Value: I²C multimaster support allows daisy-chained sensors; 4 Kbytes Flash accommodates sensor fusion algorithms and OTA update bootloader. |
Use Scenario: IR remote for air conditioner with custom protocol, button matrix scan, and LED feedback. IC Role / Device Role: Dedicated IR protocol encoder with carrier generation, key debouncing, and infrared LED drive. Use Value: Hardware IR modulation on PA0 eliminates timing-critical firmware loops; 18 GPIOs support full 12-key matrix + status LEDs in TSSOP20 footprint. |
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 | Same 20-pin TSSOP package, 8 Kbytes Flash, but lacks IR interface and beeper timer; higher active current (180 µA/MHz). | Better suited for general-purpose sensing where IR is unnecessary and larger code size is needed. | Select when firmware complexity exceeds 4 Kbytes and IR functionality is not required. |
| EFM8LB12F32ES1-QFP24 | Silicon Labs 8051 core, 32 Kbytes Flash, 2.25–3.6 V supply, 0.5 µA deep-sleep - no integrated IR modulator or SWIM. | Requires external IR encoder IC; offers higher Flash and more ADC channels, but larger QFP24 package and different toolchain. | Choose for designs needing >8 Kbytes code space and higher-resolution ADC, accepting added BOM cost and layout area. |
Compared with STM8L051F3P6 and EFM8LB12F32ES1-QFP24, the STM8L101F2P6 uniquely balances minimal footprint, sub-µA Halt power, and hardware IR modulation - making it optimal for cost-sensitive, battery-operated IR remotes and compact sensor transmitters where code size ≤4 Kbytes suffices.
Availability
STM8L101F2P6 is available at Aetrix Electronics and suitable for smart metering endpoints, wearable health monitors, industrial sensor nodes, and home appliance remote controls requiring stable component supply and long-term manufacturability.
Supply support for STM8L101F2P6 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, MEMS, and automotive semiconductors since 1987.
The STM8L series targets ultra-low-power embedded applications - specifically battery-operated consumer, industrial, and medical devices demanding sub-µA sleep currents, robust memory integrity, and integrated analog/mixed-signal peripherals in compact packages.
FAQ
What is the maximum operating frequency and how is it achieved?
The STM8L101F2P6 achieves a maximum CPU frequency of 16 MHz using its internal 16 MHz RC oscillator (HSI), which starts in under 4 µs. External crystals up to 16 MHz may also be used via OSC_IN/OSC_OUT pins. The HSI delivers ±1% accuracy across –40 °C to +85 °C and 1.65–3.6 V, eliminating need for external timing components in most cost-sensitive designs.
Does the device support in-application programming (IAP) of Flash memory?
Yes, the STM8L101F2P6 supports full in-application programming of Flash memory via its embedded bootloader, allowing firmware updates without halting execution. This is enabled through dedicated Flash programming registers and protected by configurable option bytes that define write-protection sectors and read-out protection levels.
How does the infrared (IR) interface function and what protocols does it support?
The IR interface uses PA0 as a dedicated high-sink output with built-in carrier modulation logic (30–56 kHz). It accepts raw pulse-width data via memory-mapped registers and handles carrier generation autonomously - supporting NEC, RC-5, and custom protocols without CPU intervention. No external encoder IC is required.
Is the 2 Kbytes of data EEPROM physically separate from program Flash?
No - the 2 Kbytes of data EEPROM resides within the same Flash memory array but is managed separately via dedicated EEPROM programming routines and ECC logic. It shares endurance (100k cycles) and retention (>20 years) specs with main Flash, but uses distinct address space and erase/write commands to prevent accidental corruption of program code.
STM8L101F2P6 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, SPI, UART/USART
- Peripherals:
- Infrared, POR, PWM, WDT
- Number of I/O:
- 18
- Program Memory Size:
- 4KB (4K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 1.5K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.65V ~ 3.6V
- Data Converters:
- -
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L101F2P6 FAQ
1.How can I place an order for STM8L101F2P6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L101F2P6 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 STM8L101F2P6 reliable?
The price and inventory of STM8L101F2P6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L101F2P6 is usually 5 days.
3.What payment methods are accepted for STM8L101F2P6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L101F2P6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L101F2P6?
STM8L101F2P6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L101F2P6 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 STM8L101F2P6?
For technical support, including STM8L101F2P6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L101F2P6 requirements.
6.How does Aetrix verify that STM8L101F2P6 is sourced from the original manufacturer or authorized distributors?
All STM8L101F2P6 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 STM8L101F2P6 meets industry standards.
7.What is the process for return or replacement of STM8L101F2P6?
All STM8L101F2P6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L101F2P6, 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 STM8L101F2P6 part is unused and in its original packaging.
Return procedure for STM8L101F2P6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L101F2P6 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…

