STMicroelectronics STM8L151F2U6TR
- Part No.:
- STM8L151F2U6TR
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 20-UFQFN
- Datasheet:
-
STM8L151F2U6TR.pdf
- Description:
- IC MCU 8BIT 4KB FLASH 20UFQFPN
- Quantity:
- Payment:

- Shipping:

Inventory:3,952
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151F2U6TR from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 4 KB Flash, 256 bytes data EEPROM, RTC, 12-bit ADC (1 Msps), two ultra-low-power comparators, and multiple timers-including two 16-bit general-purpose timers and one 8-bit basic timer-in a 20-pin UFQFPN (3×3 mm) package. It operates from 1.65–3.6 V across –40 to +85 °C and targets battery-powered sensor nodes and portable medical devices requiring sub-μA sleep current and fast 5 µs wakeup from Halt mode.
For engineers reviewing the STM8L151F2U6TR datasheet, STM8L151F2U6TR pinout, STM8L151F2U6TR application, or STM8L151F2U6TR equivalent, key selection criteria include verified ultra-low-power run/wait/Halt current consumption, integrated RTC with digital calibration (±0.5 ppm), 20 I/Os with interrupt mapping, capacitive touch support (up to 20 channels), and SWIM-based non-intrusive debugging.
Technical Context
The STM8L151F2U6TR implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz max CPU frequency. Its clock system integrates three oscillators: factory-trimmed 16 MHz RC, 38 kHz low-consumption RC, and external 32 kHz crystal-managed by a clock security system that triggers reset on oscillator failure.
Power management includes five low-power modes (Wait, Low-power Run, Low-power Wait, Active-halt with RTC, Halt), BOR with five selectable thresholds, and programmable voltage detector (PVD). The 12-bit ADC supports up to 28 channels with internal temperature sensor and reference voltage, while two rail-to-rail comparators provide wakeup capability and fixed-threshold detection.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | STM8 8-bit Harvard, 3-stage pipeline, 16 MIPS peak at 16 MHz |
| Flash / EEPROM | 4 KB Flash program memory + 256 bytes data EEPROM with ECC |
| Operating Voltage | 1.65–3.6 V (no BOR), 1.8–3.6 V (with BOR); enables single-cell Li-ion or coin-cell operation |
| RTC Accuracy | ±0.5 ppm digital calibration with LSE; maintains calendar time in Active-halt mode |
| Halt Mode Current | 300 nA typical (VDD = 3.0 V, T = 25 °C); enables multi-year battery life in deep-sleep applications |
| ADC Performance | 12-bit resolution, 1 Msps sampling rate, 28 input channels including temp sensor & Vref |
| Wakeup Time | 5 µs from Halt mode; meets real-time response requirements for event-triggered sensing |
Pinout & Package
STM8L151F2U6TR uses a 20-pin UFQFPN (3×3 mm, 0.5 mm pitch) package with exposed thermal pad. Pin functions are fully defined per ST's DS7204 Rev 11, Section 4.1 and Figure 6.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main 1.65–3.6 V supply for core and I/O; decoupling required per datasheet layout guidelines |
| VSS | Ground | Digital ground reference; separate analog ground not required (single-supply design) |
| NRST | Reset input | Active-low reset with internal pull-up; accepts external reset pulse or BOR/POR assertion |
| PA0–PA7 | General-purpose I/O | 8-bit port with interrupt capability, high-sink LED driver on PA0, configurable as analog inputs |
| PB0–PB7 | General-purpose I/O | 8-bit port supporting capacitive touch sensing, USART TX/RX, SPI, I²C, and timer channels |
| PC0–PC3 | General-purpose I/O | 4-bit port with ADC channel mapping, comparator inputs, and beeper timer output |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 300 nA typical current draw enables >10-year battery life in metering applications |
| Digital RTC calibration | ±0.5 ppm accuracy eliminates need for external temperature compensation circuitry |
| Capacitive touch support | 20-channel CSD peripheral enables touchkey, proximity, linear, and rotary sensors without external IC |
| SWIM debug interface | Single-wire non-intrusive programming/debugging reduces PCB footprint and BOM count |
| Flexible clock sources | Internal 16 MHz RC (±1% over temp/voltage) + 38 kHz RC + external 32 kHz crystal ensures robust timing across power states |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
Use Scenario: Battery-powered water/gas meters logging flow data hourly and transmitting via NB-IoT/LPWAN. IC Role / Device Role / Timing Role: Primary system controller managing ADC sampling, RTC timestamping, EEPROM data logging, and low-power radio wake control. Use Value: 300 nA Halt current extends 10-year battery life; calibrated RTC ensures accurate billing intervals without external crystal trimming. |
Use Scenario: Wearable ECG patch acquiring biopotential signals and detecting arrhythmia events. IC Role / Device Role / Timing Role: Signal acquisition hub running ADC at 1 ksps, processing raw data with on-chip comparators, and triggering alerts via UART/LED. Use Value: 12-bit ADC with internal reference and temp sensor enables clinical-grade signal fidelity; 5 µs wakeup ensures timely response to R-wave peaks. |
| Industrial Wireless Sensor Nodes | Home Automation Controllers |
Use Scenario: Temperature/humidity node in HVAC ducts reporting every 5 minutes via Zigbee or BLE. IC Role / Device Role / Timing Role: Sensor fusion processor aggregating ADC readings, compensating for drift using internal temp sensor, and scheduling radio bursts. Use Value: Integrated 20-channel capacitive touch and analog peripherals reduce external component count; LPR mode draws only 1.9 µA at 1 MHz. |
Use Scenario: Smart thermostat front panel with touch sliders, ambient light sensing, and local display control. IC Role / Device Role / Timing Role: Human interface manager handling capacitive touch decoding, PWM dimming, and real-time clock display updates. Use Value: Dedicated beeper timer (1/2/4 kHz) drives piezo alerts; 20 GPIOs support direct LED driving and button scanning without shift registers. |
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 | 2 KB Flash, no RTC, no DMA, 16 MHz max, same 20-pin UFQFPN | Lacks calendar RTC and EEPROM; suitable only for simple polling-based sensing | Select when RTC and data retention are unnecessary and cost is primary constraint |
| EFM8LB12F32ES1-QFP20 | Silicon Labs 8051 core, 32 KB Flash, 2.25 KB RAM, 12-bit ADC, but 1.5 µA Halt current (vs. 0.3 µA) | Higher active power, larger memory, no built-in capacitive touch peripheral | Choose if firmware complexity demands larger code space and 8051 toolchain familiarity outweighs ultra-low-power advantage |
Compared with STM8L051F3P6, STM8L151F2U6TR adds RTC, EEPROM, and enhanced low-power modes critical for time-stamped logging; versus EFM8LB12F32ES1-QFP20, it delivers 5× lower Halt current and integrated touch sensing-reducing BOM and simplifying layout for compact battery-powered designs.
Availability
STM8L151F2U6TR is available at Aetrix Electronics and suitable for smart utility metering, portable medical sensors, industrial wireless sensor nodes, and home automation controllers requiring stable component supply across extended product lifecycles.
Supply support for STM8L151F2U6TR 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 for industrial, automotive, and consumer markets.
The STM8L151 series belongs to ST's ultra-low-power 8-bit MCU product line, engineered specifically for energy-constrained applications where sub-microamp sleep current, integrated RTC, and capacitive touch capability are mandatory design requirements.
FAQ
What is the maximum operating frequency and corresponding power consumption in Run mode?
The STM8L151F2U6TR achieves 16 MHz CPU frequency using its internal 16 MHz RC oscillator. At VDD = 3.0 V and 16 MHz, typical Run mode current is 190 µA/MHz (5.7 mA total), as specified in Table 19 of DS7204 Rev 11. This value assumes all peripherals disabled except core and flash.
Does STM8L151F2U6TR support hardware-accelerated capacitive touch sensing?
Yes-it integrates a dedicated Capacitive Sensing Controller (TS) supporting up to 20 channels. It provides hardware charge-transfer measurement, automatic baseline tracking, and noise filtering, enabling robust touchkey, proximity, linear, and rotary touch interfaces without external components or CPU overhead.
What are the validated clock sources for RTC operation, and what accuracy can be achieved?
The RTC is clocked exclusively by the 32.768 kHz external LSE crystal. With digital calibration enabled, the RTC achieves ±0.5 ppm accuracy over temperature and voltage, as confirmed in Section 3.5 and Table 31 of DS7204 Rev 11. Internal LSI is not used for RTC in production-grade timing applications.
Is SWIM debugging supported in all low-power modes, and what pins are required?
SWIM debugging remains active in Run, Wait, and Low-power Run modes but is disabled in Low-power Wait, Active-halt, and Halt modes. Only one pin-SWIM (PB4 in default configuration)-is required for both programming and debugging, eliminating need for JTAG/SWD headers and reducing PCB routing complexity.
STM8L151F2U6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-UFQFN
- 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:
- 4KB (4K 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:
STM8L151F2U6TR FAQ
1.How can I place an order for STM8L151F2U6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151F2U6TR 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 STM8L151F2U6TR reliable?
The price and inventory of STM8L151F2U6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151F2U6TR is usually 5 days.
3.What payment methods are accepted for STM8L151F2U6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151F2U6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151F2U6TR?
STM8L151F2U6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151F2U6TR 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 STM8L151F2U6TR?
For technical support, including STM8L151F2U6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151F2U6TR requirements.
6.How does Aetrix verify that STM8L151F2U6TR is sourced from the original manufacturer or authorized distributors?
All STM8L151F2U6TR 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 STM8L151F2U6TR meets industry standards.
7.What is the process for return or replacement of STM8L151F2U6TR?
All STM8L151F2U6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151F2U6TR, 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 STM8L151F2U6TR part is unused and in its original packaging.
Return procedure for STM8L151F2U6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151F2U6TR 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…

