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

- Shipping:

Inventory:7,943
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L051F3P6 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 8 Kbytes Flash, 256 bytes data EEPROM, RTC, 12-bit ADC (1 Msps, 10 channels), USART, I²C, SPI, and two 16-bit timers - deployed in battery-powered sensor nodes and portable medical devices requiring sub-µA sleep current and fast 5 µs wake-up.
For engineers reviewing the STM8L051F3P6 datasheet, STM8L051F3P6 pinout, STM8L051F3P6 application, or STM8L051F3P6 equivalent, key selection criteria include active-halt current (1.3 µA), RTC accuracy (±0.5 ppm), TSSOP20 package compatibility, and SWIM-based debugging support for rapid firmware iteration in constrained-energy systems.
Technical Context
The STM8L051F3P6 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. It integrates dual clock domains: high-speed (HSE/HSI up to 16 MHz) and low-power (LSE/LSI), enabling dynamic switching between performance and energy efficiency.
Its power architecture supports five distinct low-power modes - including Active-halt with RTC (1.3 µA) and Halt (350 nA) - backed by per-I/O leakage control (50 nA) and programmable voltage detector (PVD). The RTC operates independently with BCD calendar, alarm, and digital calibration.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline; enables deterministic instruction timing and efficient interrupt handling in resource-constrained firmware. |
| Max Clock Frequency | 16 MHz; delivers 16 CISC MIPS peak performance while maintaining ultra-low-power operation down to 1.8 V supply. |
| Halt Mode Current | 350 nA at 3.0 V; allows multi-year battery life in always-on sensing applications with periodic wake-up via RTC or external interrupt. |
| ADC Resolution & Speed | 12-bit SAR ADC, 1 Msps max sampling rate across 10 channels; supports precise analog monitoring without external signal conditioning. |
| RTC Accuracy | ±0.5 ppm with digital calibration; eliminates need for external temperature compensation in time-critical metering or logging functions. |
| I/O Leakage Current | 50 nA per I/O in Halt mode; prevents cumulative leakage-induced battery drain in systems with >10 unused pins. |
| Wake-up Time from Halt | 5 µs; enables responsive event-driven operation in wake-on-interrupt sensor gateways and wearable alert systems. |
Pinout & Package
TSSOP20 (6.4 × 4.4 mm, 0.65 mm pitch) surface-mount package with 18 user-configurable I/Os, all mappable to interrupt vectors - optimized for compact PCB layouts in space-constrained IoT endpoints.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply input | Primary 1.8–3.6 V supply rail; decoupled with 100 nF capacitor near pin to stabilize internal LDO and RTC oscillator. |
| VSS | Ground reference | Dedicated analog/digital ground return; must be connected to low-impedance PCB plane to minimize ADC noise and RTC jitter. |
| NRST | Active-low reset input | Asynchronous reset pin with internal pull-up; accepts external push-button or supervisor IC for reliable power-on initialization. |
| PA0–PA7 | General-purpose I/O bank A | 8-bit port with high-sink capability (up to 20 mA on PA0); supports LED drive, button sensing, and ADC channel 0–7 mapping. |
| PB0–PB5 | General-purpose I/O bank B | 6-bit port supporting alternate functions: USART TX/RX, SPI SCK/MOSI/MISO, I²C SCL/SDA, and timer capture/compare outputs. |
| PC0–PC1 | General-purpose I/O bank C | 2-bit port with RTC backup domain access; PC0 serves as LSE_IN, PC1 as LSE_OUT for 32.768 kHz crystal connection. |
| SWIM | Single-wire interface module | Debug and programming interface using one dedicated pin; enables non-intrusive firmware update and real-time variable inspection. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 350 nA consumption enables >10-year coin-cell operation in tamper-detection or environmental loggers. |
| Integrated RTC with calibration | Digital trimming achieves ±0.5 ppm accuracy over −40 °C to +85 °C, eliminating external TCXO in precision timing applications. |
| Flexible clock sources | Supports 32 kHz LSE crystal, 1–16 MHz HSE crystal, and factory-trimmed 16 MHz/38 kHz RC oscillators - no external clock required for most use cases. |
| SWIM debug interface | Single-pin, non-intrusive on-chip debugging reduces BOM cost and PCB footprint versus JTAG/SWD solutions. |
| Memory protection | Configurable read/write protection for Flash and EEPROM prevents unauthorized firmware extraction or accidental overwrite in field-deployed units. |
Applications
| Smart Utility Metering | Wearable Health Monitor |
|---|---|
Use Scenario: Battery-powered gas/water meter with hourly pressure/temperature logging and LoRaWAN transmission. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition, RTC-timed data aggregation, and low-power radio wake-up scheduling. Use Value: 1.3 µA Active-halt current extends 2000 mAh Li-SOCl₂ battery life to >15 years; 5 µs wake-up ensures timely response to flow-triggered interrupts. |
Use Scenario: Disposable ECG patch transmitting heart-rate variability data every 30 seconds via BLE. IC Role / Device Role / Timing Role: Signal acquisition hub performing 12-bit ADC sampling, digital filtering, and RTC-synchronized BLE advertising intervals. Use Value: Integrated 12-bit ADC with internal reference eliminates external op-amp and reference IC; 350 nA Halt mode enables 9-month operation on CR2032. |
| Industrial Sensor Node | Asset Tracking Beacon |
Use Scenario: Wireless vibration/temperature node mounted on rotating machinery with predictive maintenance firmware. IC Role / Device Role / Timing Role: Edge processor executing FFT-based anomaly detection and triggering wake-up of companion MCU only upon threshold breach. Use Value: Dual 16-bit timers enable precise PWM-controlled sensor excitation and quadrature encoder input for RPM measurement without external logic. |
Use Scenario: GPS-denied indoor asset tracker using RSSI-based proximity alerts and motion-triggered location pings. IC Role / Device Role / Timing Role: Low-power coordinator managing accelerometer wake-up, RTC-based beacon interval control, and I²C communication with GNSS module. Use Value: 50 nA per-I/O leakage prevents parasitic discharge of supercapacitor backup during 72-hour offline periods; SWIM enables field firmware updates via NFC reader. |
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 |
|---|---|---|---|
| STM8L052C6T6 | 48-pin LQFP package, 32 KB Flash, 1 KB RAM, additional UART and comparator; higher pin count and memory but 2× active current in Run mode. | Suitable for complex sensor fusion hubs requiring multiple serial interfaces and larger code footprint. | Select when board layout allows LQFP and firmware exceeds 8 KB; avoid if TSSOP20 footprint or <5 µA Halt current is mandatory. |
| EFM8LB12F32ES1-QFP32 | Silicon Labs 8051 core, 32 KB Flash, 2.25 KB RAM, 12-bit ADC (1 Msps), but Halt current = 200 nA - lower than STM8L051F3P6's 350 nA. | Better suited for RF-coexistence designs due to integrated capacitive touch and enhanced EMC immunity. | Prefer for mixed-signal applications needing capacitive sensing or tighter EMI margins; verify SWIM vs. C2 debug toolchain compatibility. |
Compared with STM8L051F3P6, STM8L052C6T6 trades ultra-compact packaging and lowest Halt current for scalability, while EFM8LB12F32ES1-QFP32 offers marginally lower sleep current but requires different development tools and lacks integrated RTC calibration.
Availability
STM8L051F3P6 is available at Aetrix Electronics and suitable for smart utility metering, wearable health monitors, industrial sensor nodes, and asset tracking beacons requiring stable component supply across multi-year production cycles.
Supply support for STM8L051F3P6 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, and sensing technologies for industrial, automotive, and consumer markets.
The STM8L ultra-low-power MCU product line targets battery-operated and energy-harvesting applications where sub-microamp sleep current, integrated peripherals, and long-term supply stability are critical design requirements.
FAQ
Does STM8L051F3P6 support hardware AES encryption?
No. The STM8L051F3P6 does not include hardware cryptographic accelerators. It relies on software-based implementations for basic encryption tasks. For secure boot or OTA updates requiring hardware crypto, consider STM32L0 series MCUs with integrated AES engines.
Can the internal 38 kHz RC oscillator be used as the RTC clock source?
No. The 38 kHz RC oscillator is designated for low-power run mode only and cannot drive the RTC. The RTC requires either the 32.768 kHz LSE crystal or the 32 kHz LSI RC oscillator - both explicitly supported in the clock tree diagram (Figure 2, DS9178 Rev 4).
What is the maximum allowed load capacitance for the LSE crystal on PC0/PC1?
The LSE oscillator supports external crystals with load capacitance of 12.5 pF, as specified in Table 27 (LSE external clock characteristics) and validated in the recommended circuit diagram (Figure 13, DS9178 Rev 4). Using crystals outside this range may cause startup failure or timing drift.
Is PA0 capable of driving standard LEDs directly without a current-limiting resistor?
No. Although PA0 has high-sink capability (20 mA), it still requires an external current-limiting resistor to prevent forward-voltage mismatch and thermal overstress. Table 38 specifies PA0's VOL ≤ 0.4 V at 20 mA - confirming sink driver strength, not open-collector operation.
STM8L051F3P6 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:
STM8L051F3P6 FAQ
1.How can I place an order for STM8L051F3P6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L051F3P6 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 STM8L051F3P6 reliable?
The price and inventory of STM8L051F3P6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L051F3P6 is usually 5 days.
3.What payment methods are accepted for STM8L051F3P6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L051F3P6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L051F3P6?
STM8L051F3P6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L051F3P6 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 STM8L051F3P6?
For technical support, including STM8L051F3P6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L051F3P6 requirements.
6.How does Aetrix verify that STM8L051F3P6 is sourced from the original manufacturer or authorized distributors?
All STM8L051F3P6 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 STM8L051F3P6 meets industry standards.
7.What is the process for return or replacement of STM8L051F3P6?
All STM8L051F3P6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L051F3P6, 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 STM8L051F3P6 part is unused and in its original packaging.
Return procedure for STM8L051F3P6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L051F3P6 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…

