STMicroelectronics STM8L151K4T3
- Part No.:
- STM8L151K4T3
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 32-LQFP
- Datasheet:
-
STM8L151K4T3.pdf
- Description:
- IC MCU 8BIT 16KB FLASH 32LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:2,192
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151K4T3 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, RTC, 12-bit ADC (1 Msps, 25 channels), 12-bit DAC, two ultra-low-power comparators, and up to 34 I/Os in a 32-pin LQFP package. It operates from 1.65 V to 3.6 V and supports five low-power modes - including Halt mode at 350 nA - for battery-powered sensor nodes and portable medical devices.
For engineers reviewing the STM8L151K4T3 datasheet, STM8L151K4T3 pinout, STM8L151K4T3 application, or STM8L151K4T3 equivalent, key selection criteria include verified sub-µA Halt current, factory-trimmed 16 MHz RC oscillator accuracy (±1%), integrated RTC with auto-wakeup, 12-bit ADC linearity (±1 LSB INL), and SWIM debug interface compatibility with ST-LINK v2.
Technical Context
The STM8L151K4T3 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. Its clock system integrates dual crystal oscillators (1–16 MHz HSE and 32 kHz LSE), internal 16 MHz factory-trimmed RC (±1% @ 25 °C), and 38 kHz low-consumption RC, all managed by a clock security system with failover detection.
Power management includes programmable voltage detector (PVD), ultra-safe BOR with five thresholds, and dynamic voltage scaling support across five low-power modes - notably Active-halt (1.3 µA with full RTC) and Halt (350 nA) - enabled by independent power domains for analog, digital, and backup registers.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline; enables deterministic 16 MIPS execution without cache dependency. |
| Max Clock Frequency | 16 MHz; supported by internal 16 MHz RC (±1% over -40 °C to 85 °C) or external crystal - eliminates need for external clock source in cost-sensitive designs. |
| Flash / EEPROM / RAM | 16 KB Flash (RWW, ECC), 1 KB Data EEPROM (ECC), 2 KB RAM; allows safe firmware updates and persistent parameter storage with error correction. |
| Halt Mode Current | 350 nA @ 3.0 V, 25 °C; enables multi-year operation on coin-cell batteries in always-on sensing applications. |
| ADC Performance | 12-bit, 1 Msps, 25 channels with internal temperature sensor and 1.22 V reference; supports simultaneous sampling of multiple analog sensors with ±1 LSB INL. |
| DAC Output | 12-bit DAC with output buffer on PB4/PB5/PB6; provides rail-to-rail analog output without external op-amp for actuator control or calibration signals. |
| RTC Functionality | BCD calendar with alarm interrupt and auto-wakeup from Halt every 1 s to 128 s; enables precise time-triggered tasks without CPU wake-up overhead. |
Pinout & Package
LQFP32 (7 × 7 mm, 0.8 mm pitch) package with 34 I/O pins (32 usable + NRST + VDDA); RoHS-compliant, ECOPACK® certified, rated for industrial temperature range (-40 °C to +85 °C).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| PA0–PA7 | General-purpose I/O with high-sink LED driver capability (PA0) | Configurable as digital input/output, external interrupt, or analog input; PA0 drives LEDs directly up to 20 mA sink current. |
| PB0–PB7 | General-purpose I/O with DAC outputs (PB4–PB6) | Supports timer capture/compare, USART, SPI, I²C, and 12-bit DAC output buffering - enables mixed-signal control without external DAC. |
| PC0–PC7 | General-purpose I/O with capacitive sensing support | Up to 16-channel touchkey/proximity sensing via built-in CS peripheral; no external components required for user interface. |
| PD0–PD7 | General-purpose I/O with ADC inputs (PD0–PD7) | 25-channel ADC multiplexing includes all PD pins plus PA/PB/PC; supports single-ended and differential acquisition with hardware oversampling. |
| NRST | Active-low reset input | Accepts external reset pulse or internal BOR/POR; configurable as GPIO after boot - saves pin count in space-constrained layouts. |
| VDD/VSS | Power supply and ground | Dual power domains: VDD (digital/core) and VDDA (analog/ADC/DAC) - isolates noise-sensitive analog circuits from digital switching transients. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 350 nA consumption with RTC running - extends battery life in intermittent-sensing IoT endpoints beyond 10 years on CR2032. |
| Factory-trimmed 16 MHz RC oscillator | ±1% accuracy over -40 °C to +85 °C - eliminates external crystal for timing-critical but non-precision applications like metering or remote controls. |
| SWIM debug interface | Single-wire, non-intrusive on-chip debugging with flash programming - reduces PCB footprint and test fixture complexity vs. JTAG/SWD. |
| Capacitive sensing controller | Hardware-accelerated touchkey, linear/rotary slider, and proximity detection on up to 16 channels - replaces dedicated touch ICs in HMI designs. |
| Memory protection | Flexible read/write protection zones for Flash and EEPROM, plus 96-bit unique ID - meets secure bootloader and anti-cloning requirements. |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
Use Scenario: Battery-powered water/gas meters logging flow rate, temperature, and pressure at 15-minute intervals. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition, RTC-based scheduling, LCD display, and RF transmission duty cycling. Use Value: 350 nA Halt current and RTC auto-wakeup enable >15-year battery life; integrated 12-bit ADC ensures ±0.5% flow measurement accuracy. |
Use Scenario: Wearable ECG patch acquiring biopotential signals and transmitting alerts via BLE when arrhythmia detected. IC Role / Device Role / Timing Role: Analog front-end controller handling electrode biasing, ADC sampling, digital filtering, and low-power BLE subsystem coordination. Use Value: Ultra-low leakage I/O (50 nA) prevents signal drift; 12-bit ADC with internal reference supports 10-bit ENOB at 1 kSPS for clinical-grade waveform fidelity. |
| Industrial Wireless Sensor Nodes | Home Appliance Control Panels |
Use Scenario: Wireless vibration/temperature node in predictive maintenance systems deployed in factory environments. IC Role / Device Role / Timing Role: Edge data processor executing FFT-based anomaly detection, storing results in EEPROM, and waking radio only on event. Use Value: Active-halt mode (1.3 µA) sustains RTC and memory retention while CPU sleeps; 16 KB Flash accommodates firmware + ML inference models. |
Use Scenario: Touch-enabled oven control panel with backlight dimming, timer, and safety interlock monitoring. IC Role / Device Role / Timing Role: Capacitive touch controller + system manager driving segmented LCD, buzzer, and relay drivers. Use Value: Integrated CS peripheral supports 12-key touchpad with waterproof overlay; beeper timer generates 1/2/4 kHz tones without external oscillator. |
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 |
|---|---|---|---|
| STM8L051F3P6 | 8 KB Flash, no RTC, no DAC, 12-bit ADC (500 kSPS), 1.8–3.6 V operation | Suitable for simpler sensor nodes without time-stamping or analog output needs | Select when cost and code size are critical and RTC/DAC are unnecessary. |
| EFM32ZG108F16 | ARM Cortex-M0+, 16 KB Flash, 8 KB RAM, 12-bit ADC (1 Msps), 350 nA Deep Sleep, no integrated RTC calendar | Requires external RTC for calendar functions; higher code density but larger die size | Choose for ARM ecosystem compatibility and higher interrupt throughput, accepting added BOM cost for RTC. |
Compared with STM8L051F3P6, the STM8L151K4T3 adds RTC, DAC, and EEPROM with ECC - essential for time-aware data logging. Versus EFM32ZG108F16, it delivers identical ultra-low-power sleep performance with lower system-level BOM cost due to integrated calendar RTC and analog peripherals.
Availability
STM8L151K4T3 is available at Aetrix Electronics and suitable for smart utility metering, portable medical sensors, industrial wireless sensor nodes, and home appliance control panels requiring stable component supply across extended product lifecycles.
Supply support for STM8L151K4T3 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.
The STM8L ultra-low-power MCU family targets energy-constrained applications such as battery-operated sensors, wearables, and smart meters - prioritizing sub-µA sleep modes, integrated analog peripherals, and robust industrial qualification.
FAQ
What is the maximum operating frequency and how is it achieved?
The STM8L151K4T3 achieves 16 MHz maximum frequency using its internal 16 MHz factory-trimmed RC oscillator (±1% accuracy over -40 °C to +85 °C) or an external 1–16 MHz crystal. No PLL is used; the core runs directly from the selected clock source, minimizing jitter and power overhead. External crystal configuration requires matching load capacitors per Table 29 in DS6372 Rev 17.
Does the device support true hardware RTC with calendar and alarm in lowest power mode?
Yes. The STM8L151K4T3 integrates a BCD calendar RTC powered from the VBAT domain, operational in Active-halt mode (1.3 µA) and Halt mode (350 nA). It supports alarm interrupts, periodic wakeup (1 s to 128 s), and automatic calendar increment - all without CPU intervention or external components.
How many I/O pins support capacitive sensing, and what is the implementation method?
Up to 16 I/O pins support capacitive sensing via the integrated CS (Capacitive Sensing) peripheral. It uses charge-transfer measurement with hardware-accelerated scanning, supporting touchkey, proximity, linear slider, and rotary wheel configurations. No external RC network or dedicated sensing IC is required - all timing and demodulation are handled in hardware.
Is SWIM debug compatible with standard ST-LINK tools, and what are the physical interface requirements?
Yes. SWIM (Single Wire Interface Module) is fully supported by ST-LINK/V2 and ST-LINK/V2-1 debuggers using the standard 4-pin STDC14 connector. Only one signal (SWIM) plus GND is required for programming and debugging; no target power is supplied through the debugger - VDD must be provided externally during debug sessions.
STM8L151K4T3 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-LQFP
- Series:
- STM8L EnergyLite
- Packaging:
- Tray
- 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 ~ 125°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151K4T3 FAQ
1.How can I place an order for STM8L151K4T3 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151K4T3 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 STM8L151K4T3 reliable?
The price and inventory of STM8L151K4T3 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151K4T3 is usually 5 days.
3.What payment methods are accepted for STM8L151K4T3?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151K4T3 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151K4T3?
STM8L151K4T3 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151K4T3 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 STM8L151K4T3?
For technical support, including STM8L151K4T3 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151K4T3 requirements.
6.How does Aetrix verify that STM8L151K4T3 is sourced from the original manufacturer or authorized distributors?
All STM8L151K4T3 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 STM8L151K4T3 meets industry standards.
7.What is the process for return or replacement of STM8L151K4T3?
All STM8L151K4T3 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151K4T3, 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 STM8L151K4T3 part is unused and in its original packaging.
Return procedure for STM8L151K4T3:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151K4T3 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…

