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

- Shipping:

Inventory:3,945
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L051F3P6TR 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 operating from 1.8 V to 3.6 V.
For engineers reviewing the STM8L051F3P6TR datasheet, STM8L051F3P6TR pinout, STM8L051F3P6TR application, or STM8L051F3P6TR equivalent, key selection criteria include active-halt current (1.3 µA with RTC), Halt-mode wakeup time (5 µs), TSSOP20 package compatibility, and SWIM-based debugging support for rapid firmware iteration.
Technical Context
The STM8L051F3P6TR 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 mode switching between Run, Low-power Run (5.1 µA), Active-halt (1.3 µA), and Halt (350 nA).
Its peripheral set includes a 12-bit ADC with internal reference, two 16-bit general-purpose timers supporting PWM/IC/OC and quadrature decoding, and a dedicated beeper timer (1/2/4 kHz). The RTC features BCD calendar, alarm interrupt, and digital calibration (±0.5 ppm) with LSE security system.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | STM8 8-bit Harvard, 3-stage pipeline, 16 MIPS peak at 16 MHz - enables deterministic real-time control with low code footprint. |
| Memory | 8 Kbytes Flash + 256 bytes ECC-protected data EEPROM + 1 Kbyte RAM - supports field firmware updates and persistent sensor calibration storage. |
| Low-Power Modes | Active-halt (1.3 µA w/ RTC), Halt (350 nA), Low-power run (5.1 µA) - extends coin-cell battery life to multi-year operation in wake-on-event designs. |
| ADC | 12-bit SAR, 10-channel, 1 Msps, internal VREF - eliminates external reference need for precision analog sensing in compact layouts. |
| RTC Accuracy | ±0.5 ppm digital calibration with 32 kHz LSE - sustains accurate timekeeping over temperature without external trim components. |
| I/O Leakage | 50 nA per I/O in Halt mode - prevents battery drain in always-connected sensor terminals with floating inputs. |
| Wakeup Time | 5 µs from Halt to full execution - meets sub-10 µs response requirements for industrial fault-detection systems. |
Pinout & Package
TSSOP20 package (6.5 × 4.4 mm, 0.65 mm pitch), RoHS-compliant, ECOPACK® certified.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main 1.8–3.6 V supply rail; decoupled with 100 nF capacitor near pin for stable low-power operation. |
| VSS | Ground | Digital ground reference; separate analog ground not required - simplifies PCB routing in cost-sensitive designs. |
| NRST | Reset input | Active-low reset with programmable voltage detector (PVD); internal pull-up enables single-pin reset without external RC network. |
| PA0–PA7 | General-purpose I/O | 8-bit port with high-sink capability (20 mA on PA0 for LED drive); all mappable to interrupt vectors for edge-triggered wake events. |
| PB0–PB5 | General-purpose I/O | 6-bit port supporting alternate functions: USART TX/RX, SPI SCK/MOSI/MISO, I²C SCL/SDA - enables shared pin reuse across communication protocols. |
| PC0–PC3 | General-purpose I/O | 4-bit port with ADC channel mapping (PC0–PC3 = ADC IN0–IN3); supports analog input sampling without signal routing detours. |
| OSC_IN / OSC_OUT | External crystal interface | Supports 32 kHz LSE (RTC) and 1–16 MHz HSE (system clock); internal load capacitors eliminate external caps for basic timing configurations. |
| SWIM | Debug interface | Single-wire interface for non-intrusive programming and real-time debugging - reduces debug footprint to one pin versus JTAG/SWD. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low leakage I/O | 50 nA per pin in Halt mode - preserves battery charge in long-idle IoT endpoints with unconnected sensors. |
| Fast Halt wakeup | 5 µs latency to execute first instruction - enables responsive wake-on-interrupt behavior in energy-constrained event-driven systems. |
| Embedded RTC with calibration | ±0.5 ppm accuracy via digital tuning - removes need for external temperature compensation in metering and logging applications. |
| Flexible memory protection | Read/write protection per Flash sector and EEPROM block - enforces secure bootloader partitioning and firmware integrity verification. |
| DMA with peripheral support | 4-channel DMA servicing ADC, SPI, I²C, USART, and timers - offloads CPU during burst data transfers, reducing active time and power consumption. |
Applications
| Smart Utility Metering | Portable Medical Monitor |
|---|---|
Use Scenario: Battery-powered gas/water meter with hourly pulse counting, temperature logging, and RF transmission. IC Role / Device Role / Timing Role: Main controller managing sensor acquisition, RTC-timed data aggregation, and low-duty-cycle radio wake scheduling. Use Value: Active-halt mode (1.3 µA) enables >10-year battery life using CR2032; integrated ADC and EEPROM store calibration coefficients without external components. |
Use Scenario: Wearable ECG patch recording heart rate and rhythm over 72-hour clinical sessions. IC Role / Device Role / Timing Role: Signal acquisition controller synchronizing analog front-end sampling, digital filtering, and flash-based waveform storage. Use Value: 12-bit ADC with internal reference ensures consistent measurement accuracy across varying battery voltage; SWIM debug enables in-field firmware updates. |
| Wireless Sensor Node | Industrial Control Panel |
Use Scenario: Zigbee/LoRa node monitoring temperature, humidity, and door status in HVAC ducts or warehouse zones. IC Role / Device Role / Timing Role: Edge intelligence unit executing local threshold logic, RTC-based reporting intervals, and sleep-state management. Use Value: 350 nA Halt current minimizes self-discharge; 18 GPIOs support direct connection of multiple digital and analog sensors without level-shifting. |
Use Scenario: DIN-rail mounted HMI panel with pushbuttons, LED indicators, and RS-485 Modbus communication. IC Role / Device Role / Timing Role: Interface coordinator handling button debouncing, LED PWM dimming, and UART-to-RS485 protocol translation. Use Value: Two 16-bit timers provide independent PWM generation for LED brightness control and precise UART baud rate derivation from internal 16 MHz RC oscillator. |
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, 32 Kbytes Flash, 1 Kbyte RAM, additional USART and I²C - no TSSOP20 option. | Higher peripheral count and memory for complex sensor fusion; requires larger PCB area and more routing layers. | Select when >8 Kbytes Flash or dual serial interfaces are required; not drop-in compatible due to package and pinout mismatch. |
| EFM8LB12F32ES1-B-QFN24 | Silicon Labs 8051 core, 32 Kbytes Flash, 2.25 KB RAM, 12-bit ADC (1 Msps), QFN24 package - higher active current (120 µA @ 24 MHz). | Better computational throughput but higher power in Run mode; lacks integrated RTC calibration and ultra-low Halt current. | Prefer for mixed-signal applications needing faster processing; avoid where sub-µA sleep current or ±0.5 ppm RTC stability is mandatory. |
Compared with STM8L051F3P6TR, STM8L052C6T6 offers scalability for feature-rich designs but sacrifices TSSOP20 compactness, while EFM8LB12F32ES1-B-QFN24 trades ultra-low sleep power for raw speed - making STM8L051F3P6TR optimal for space- and battery-constrained edge nodes requiring precise timekeeping.
Availability
STM8L051F3P6TR is available at Aetrix Electronics and suitable for smart utility metering, portable medical monitors, wireless sensor nodes, and industrial control panels requiring stable component supply across multi-year production cycles.
Supply support for STM8L051F3P6TR 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 ICs, sensors, and automotive semiconductors since 1987.
The STM8L series targets ultra-low-power embedded applications including battery-operated meters, wearables, and industrial sensors - emphasizing sub-µA sleep modes, integrated RTC, and robust analog peripherals in compact packages.
FAQ
What is the minimum supply voltage for reliable operation of STM8L051F3P6TR?
The STM8L051F3P6TR operates reliably from 1.8 V to 3.6 V. At 1.8 V, it supports full functionality including 16 MHz CPU operation (with HSI), 12-bit ADC conversion, and RTC with LSE - verified per DS9178 Rev 4 Section 8.3.1. Brown-out reset thresholds are configurable down to 1.62 V for fail-safe shutdown.
Does STM8L051F3P6TR support in-circuit debugging without additional hardware?
Yes. The device integrates SWIM (Single-Wire Interface Module), enabling full-speed programming and non-intrusive debugging through a single pin (SWIM) using ST-LINK/V2 or compatible debuggers. No JTAG header or external debug circuitry is required - confirmed in Section 3.15 and Figure 1 of DS9178.
Can the internal 38 kHz RC oscillator be used for RTC operation?
No. The RTC must be clocked by the 32 kHz LSE (low-speed external) crystal oscillator for guaranteed accuracy. The internal 38 kHz LSI oscillator is intended for watchdog and low-power run modes only - its drift exceeds ±30% over temperature and voltage, making it unsuitable for calendar timekeeping per Section 3.5 and Table 29 of the datasheet.
How many ADC channels are accessible in the TSSOP20 package?
The STM8L051F3P6TR exposes 10 ADC input channels (IN0–IN9), but only IN0–IN3 are routed to TSSOP20 pins (PC0–PC3). Channels IN4–IN9 are available on larger packages (e.g., LQFP32) - confirmed in Table 4 (Pin Description) and Section 3.8 of DS9178 Rev 4.
STM8L051F3P6TR 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:
STM8L051F3P6TR FAQ
1.How can I place an order for STM8L051F3P6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L051F3P6TR 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 STM8L051F3P6TR reliable?
The price and inventory of STM8L051F3P6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L051F3P6TR is usually 5 days.
3.What payment methods are accepted for STM8L051F3P6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L051F3P6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L051F3P6TR?
STM8L051F3P6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L051F3P6TR 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 STM8L051F3P6TR?
For technical support, including STM8L051F3P6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L051F3P6TR requirements.
6.How does Aetrix verify that STM8L051F3P6TR is sourced from the original manufacturer or authorized distributors?
All STM8L051F3P6TR 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 STM8L051F3P6TR meets industry standards.
7.What is the process for return or replacement of STM8L051F3P6TR?
All STM8L051F3P6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8L051F3P6TR, 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 STM8L051F3P6TR part is unused and in its original packaging.
Return procedure for STM8L051F3P6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L051F3P6TR 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…

