STMicroelectronics STM8L151K4U6TR
- Part No.:
- STM8L151K4U6TR
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 32-UFQFN Exposed Pad
- Datasheet:
-
STM8L151K4U6TR.pdf
- Description:
- IC MCU 8BIT 16KB FLASH 32UFQFPN
- Quantity:
- Payment:

- Shipping:

Inventory:3,355
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151K4U6TR from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 16 MHz STM8 core, 16 KB Flash, 1 KB Data EEPROM with ECC, 2 KB RAM, 12-bit ADC (1 Msps, 25 channels), 12-bit DAC, RTC with BCD calendar, and 32-pin UFQFPN package. It supports five low-power modes down to 350 nA in Halt and delivers 195 µA/MHz active current for battery-powered sensor nodes and portable medical devices.
For engineers reviewing the STM8L151K4U6TR datasheet, STM8L151K4U6TR pinout, STM8L151K4U6TR application, or STM8L151K4U6TR equivalent, key selection criteria include ultra-low static current (350 nA Halt), integrated RTC with auto-wakeup, capacitive touch sensing (16 channels), SWIM debug interface, and 1.65–3.6 V operating range for energy-constrained embedded systems.
Technical Context
The STM8L151K4U6TR implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. It integrates dual clock domains: high-speed (1–16 MHz HSE or 16 MHz factory-trimmed RC) and low-speed (32 kHz LSE or 38 kHz RC), managed by a clock security system with failover detection.
Its power architecture includes programmable voltage detector (PVD), ultra-safe BOR with 5 thresholds, and independent regulators for digital/analog domains. The RTC operates autonomously in Active-halt mode (1.3 µA) using external 32 kHz crystal, enabling precise timekeeping during deep sleep.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | 8-bit STM8 Harvard architecture, 16 MIPS peak @ 16 MHz - enables deterministic real-time control with minimal code footprint |
| Memory | 16 KB Flash + 1 KB Data EEPROM with ECC & RWW - supports field firmware updates and reliable nonvolatile data logging |
| ADC | 12-bit, 1 Msps, 25 channels with internal temp sensor & Vref - provides high-resolution analog acquisition for sensor fusion |
| DAC | 12-bit, buffered output on PB4/PB5/PB6 - enables precision analog waveform generation without external components |
| Low-Power Modes | Halt: 350 nA; Active-halt w/ RTC: 1.3 µA; Low power run: 5.1 µA - extends coin-cell battery life to >10 years in metering applications |
| Capacitive Sensing | 16-channel CSG peripheral - supports touchkey, proximity, and rotary touch without external ICs or firmware overhead |
| Debug Interface | SWIM single-wire interface - allows non-intrusive in-circuit programming and real-time debugging with minimal pin count |
Pinout & Package
STM8L151K4U6TR uses a 32-pin UFQFPN (5 × 5 mm, 0.5 mm pitch) package with wettable flank leads for automated optical inspection. Pin functions are fully mappable to interrupt vectors, supporting flexible PCB layout and signal routing.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Core & I/O supply | 1.65–3.6 V input; powers digital logic, analog peripherals, and I/O buffers |
| VSS | Digital ground | Reference return path for core, memory, and digital peripherals |
| VDDA/VSSA | Analog supply/ground | Independent 1.8–3.6 V domain for ADC, DAC, comparators - isolates noise-sensitive analog circuits |
| NRST | Active-low reset | Asynchronous reset input with internal pull-up; accepts 1.65–3.6 V logic levels |
| SWIM | Single-wire debug | Bi-directional programming/debug channel - eliminates need for JTAG header space |
| PA0–PA7 | General-purpose I/O | Up to 8 pins support high-sink LED drive (20 mA), capacitive sensing, and EXTI interrupts |
| PB0–PB7 | General-purpose I/O | Includes DAC outputs (PB4–PB6), USART TX/RX (PB1/PB2), and I²C (PB4/PB5) |
| PC0–PC7 | General-purpose I/O | Supports SPI (PC3–PC5), timers (PC6/PC7), and 16-channel capacitive sensing inputs |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC | BCD calendar with alarm and periodic wakeup from Halt mode - maintains time accuracy while consuming only 1.3 µA |
| Flexible clock system | Dual oscillators (16 MHz RC + 32 kHz crystal) with automatic failover - ensures timing continuity during crystal faults |
| Memory protection | Read/write protection zones for Flash and EEPROM - prevents accidental firmware corruption or data overwrite |
| Capacitive sensing controller | Hardware-accelerated CSG supporting 16 channels - reduces CPU load and enables <10 µs touch response time |
| Low-power comparators | Two rail-to-rail comparators: one with fixed threshold, one with programmable hysteresis - enables wake-on-event sensing |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
|
Use Scenario: Battery-powered water/gas meters with hourly pulse logging and tamper detection. IC Role / Device Role / Timing Role: Main system controller managing metrology ADC sampling, RTC-based timestamping, and secure EEPROM storage. Use Value: 350 nA Halt current extends 10-year battery life; integrated RTC eliminates external timekeeping ICs and associated BOM cost. |
Use Scenario: Wearable ECG patch requiring continuous analog front-end sampling and motion-triggered data upload. IC Role / Device Role / Timing Role: Signal acquisition hub performing 12-bit ADC sampling, digital filtering, and BLE-ready UART framing. Use Value: 1 Msps ADC captures cardiac waveforms at clinical-grade resolution; 16-channel capacitive sensing enables electrode contact detection. |
| Industrial Wireless Sensor Node | Home Automation Touch Panel |
|
Use Scenario: LoRaWAN node monitoring temperature, humidity, and door status in unattended factory environments. IC Role / Device Role / Timing Role: System orchestrator handling sensor polling, low-power radio handshaking, and scheduled wake/sleep cycles. Use Value: Five configurable low-power modes allow dynamic current scaling - drops to 3 µA in Low power wait during RF idle periods. |
Use Scenario: Wall-mounted thermostat with glass-touch interface and ambient light adaptive display backlight. IC Role / Device Role / Timing Role: Capacitive touch controller and display driver managing 12-key overlay and PWM-controlled LED backlight. Use Value: Integrated CSG supports mutual-capacitance touch with <5% false-trigger rate; 12-bit DAC generates smooth backlight dimming curves. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8L051F3P6TR | 8 KB Flash, no RTC, no DAC, 20-pin TSSOP - lacks calendar, analog output, and capacitive sensing | Suitable for simpler timer/control tasks without timekeeping or analog generation | Select when BOM cost is critical and RTC/DAC/touch are unnecessary |
| STM32L011K4U6TR | 32-bit ARM Cortex-M0+, 16 KB Flash, same 32-pin UFQFPN - higher code density but 2× active current (380 µA/MHz) | Better for complex protocol stacks (BLE, USB) where 32-bit performance justifies extra power | Choose when firmware complexity exceeds 8-bit toolchain limits, accepting ~2× active power penalty |
Compared with STM8L051F3P6TR, STM8L151K4U6TR adds RTC, DAC, and touch sensing at modest cost premium; versus STM32L011K4U6TR, it delivers identical packaging and lower active/Halt current but trades 32-bit flexibility for deterministic 8-bit execution.
Availability
STM8L151K4U6TR is available at Aetrix Electronics and suitable for smart utility metering, portable medical sensors, industrial wireless sensor nodes, and home automation touch panels requiring stable component supply across multi-year production cycles.
Supply support for STM8L151K4U6TR 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 analog products for industrial, automotive, and consumer markets.
The STM8L ultra-low-power MCU family targets energy-critical applications such as battery-operated meters, wearables, and IoT edge nodes - prioritizing sub-µA sleep current, integrated peripherals, and long-term supply stability.
FAQ
What is the maximum operating frequency and corresponding power consumption of STM8L151K4U6TR?
The STM8L151K4U6TR operates up to 16 MHz using its internal 16 MHz RC oscillator (factory-trimmed to ±1%) or external crystal. At 16 MHz and 3.0 V, typical active current is 195 µA/MHz + 440 µA = 3.56 mA. This includes core, Flash, and peripheral operation - verified per DS6372 Rev 17 Table 20.
Does STM8L151K4U6TR support hardware-accelerated capacitive touch sensing?
Yes. It integrates a dedicated Capacitive Sensing GPIO (CSG) peripheral supporting up to 16 channels. It performs autonomous charge-transfer measurement with built-in baseline tracking and noise filtering - eliminating CPU intervention for touch detection and enabling <10 µs response latency per channel.
What debug interface does STM8L151K4U6TR use, and what pins are required?
It uses the SWIM (Single-Wire Interface Module) debug interface, requiring only one bidirectional pin (SWIM, pin 12 on UFQFPN32) plus VDD and VSS. SWIM supports full-speed programming, real-time variable inspection, and breakpoint debugging without halting peripherals - confirmed in Section 3.19 of DS6372 Rev 17.
Can STM8L151K4U6TR retain RTC time and data during complete power loss?
No. The RTC requires VDD supply to maintain timekeeping; it has no separate VBAT pin. However, the 1.3 µA Active-halt mode (with external 32 kHz crystal) preserves RTC calendar, alarms, and registers during main power sleep - verified in Table 24 and Section 3.5 of DS6372 Rev 17.
STM8L151K4U6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-UFQFN Exposed Pad
- 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:
- 30
- Program Memory Size:
- 16KB (16K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 1K x 8
- RAM Size:
- 2K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 3.6V
- Data Converters:
- A/D 22x12b; D/A 1x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151K4U6TR FAQ
1.How can I place an order for STM8L151K4U6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151K4U6TR 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 STM8L151K4U6TR reliable?
The price and inventory of STM8L151K4U6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151K4U6TR is usually 5 days.
3.What payment methods are accepted for STM8L151K4U6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151K4U6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151K4U6TR?
STM8L151K4U6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151K4U6TR 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 STM8L151K4U6TR?
For technical support, including STM8L151K4U6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151K4U6TR requirements.
6.How does Aetrix verify that STM8L151K4U6TR is sourced from the original manufacturer or authorized distributors?
All STM8L151K4U6TR 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 STM8L151K4U6TR meets industry standards.
7.What is the process for return or replacement of STM8L151K4U6TR?
All STM8L151K4U6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151K4U6TR, 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 STM8L151K4U6TR part is unused and in its original packaging.
Return procedure for STM8L151K4U6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151K4U6TR 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…

