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

- Shipping:

Inventory:461
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L151K4T6 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 16 MHz STM8 core, 16 KB Flash, 1 KB Data EEPROM with ECC, RTC, 12-bit ADC (1 Msps, 25 channels), and dual ultra-low-power comparators. It operates from 1.8–3.6 V across –40 °C to +85 °C and targets battery-powered sensor nodes and portable medical devices requiring sub-µA halt mode (350 nA) and fast wakeup (4.7 µs).
For engineers reviewing the STM8L151K4T6 datasheet, STM8L151K4T6 pinout, STM8L151K4T6 application, or STM8L151K4T6 equivalent, key selection criteria include its 32-pin LQFP package, 16 KB Flash memory size, 1.3 µA active-halt mode with full RTC, 41 GPIOs (all interrupt-capable), and integrated capacitive touch sensing support for up to 16 channels.
Technical Context
The STM8L151K4T6 implements a Harvard-architecture 3-stage pipeline STM8 core delivering 16 CISC MIPS at 16 MHz, with up to 40 external interrupt sources and SWIM-based non-intrusive debugging. Its clock system integrates dual oscillators (1–16 MHz HSE, 32 kHz LSE), factory-trimmed 16 MHz RC, and 38 kHz low-consumption RC with clock security monitoring.
Power management includes five configurable low-power modes - Wait (5.1 µA), Low Power Wait (3 µA), Active-Halt with RTC (1.3 µA), and Halt (350 nA) - supported by programmable voltage detector (PVD), ultra-safe BOR with 5 thresholds, and per-I/O leakage as low as 50 nA.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline; enables deterministic real-time execution and efficient code density. |
| Max Clock Frequency | 16 MHz; delivers 16 CISC MIPS peak performance suitable for sensor fusion and control loops. |
| Flash Memory | 16 KB; supports read-while-write (RWW), ECC protection, and flexible write/read protection for firmware integrity. |
| Data EEPROM | 1 KB with ECC; retains calibration data and configuration parameters over 100k write/erase cycles. |
| Halt Mode Current | 350 nA at 1.8 V; enables multi-year battery life in always-on IoT endpoints with periodic wakeups. |
| ADC Resolution & Speed | 12-bit, up to 1 Msps with 25 input channels; supports simultaneous sampling of temperature sensor and internal reference for self-calibration. |
| RTC Functionality | BCD calendar with alarm and auto-wakeup from Halt; maintains timekeeping during ultra-low-power operation without external components. |
Pinout & Package
LQFP32 (7 × 7 mm, 0.8 mm pitch) package with 32 leads; RoHS-compliant, ECOPACK® certified, and rated for industrial temperature range (–40 °C to +85 °C).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main digital supply (1.8–3.6 V); decoupling required near pin for stable low-power operation. |
| VSS | Ground | Digital ground reference; separate analog ground not required but recommended for ADC/DAC accuracy. |
| NRST | Reset input | Active-low reset with internal pull-up; accepts external reset pulses or watchdog timeout signals. |
| SWIM | Debug interface | Single-wire interface for programming and non-intrusive debugging; shares pin with PB5. |
| PA0–PA7 | General-purpose I/O | 8-bit port with interrupt capability, high-sink LED driver on PA0, and capacitive touch support on select pins. |
| PB0–PB7 | General-purpose I/O | 8-bit port supporting USART, SPI, I²C, DAC outputs (PB4–PB6), and timer channels. |
| PC0–PC7 | General-purpose I/O | 8-bit port with alternate functions including ADC inputs, comparator inputs, and beeper timer output. |
| PD0–PD7 | General-purpose I/O | 8-bit port supporting additional ADC channels, timer IC/OC/PWM, and LCD segment drivers (not used in STM8L151K4T6). |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 350 nA consumption with RTC running - enables decade-scale battery life in metering applications. |
| Fully integrated RTC | BCD calendar with alarm and auto-wakeup - eliminates need for external real-time clock IC and associated PCB area. |
| Dual independent comparators | One rail-to-rail, one with fixed threshold - supports windowed voltage monitoring and wake-on-event without CPU intervention. |
| Capacitive touch sensing | 16-channel hardware-accelerated sensing - enables robust touchkey/proximity interfaces without external controller or firmware overhead. |
| SWIM debug interface | Single-wire, non-intrusive programming and runtime inspection - reduces debug footprint and preserves full GPIO count during development. |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
Use Scenario: Battery-powered gas/water meters logging consumption data hourly and transmitting via LPWAN. IC Role / Device Role / Timing Role: Main system controller managing sensor reads, RTC-timed data logging, secure flash writes, and low-power radio wake coordination. Use Value: 1.3 µA active-halt mode with RTC ensures accurate timekeeping between transmissions while minimizing battery drain over 10+ year deployments. | Use Scenario: Wearable ECG patch continuously acquiring biopotential signals and detecting arrhythmia events. IC Role / Device Role / Timing Role: Signal acquisition controller interfacing with analog front-end, performing baseline correction, and triggering alerts on comparator thresholds. Use Value: Dual ultra-low-power comparators enable real-time QRS detection with <5 µs latency and zero CPU load during standby. |
| Industrial Wireless Sensor Node | Home Automation Touch Interface |
Use Scenario: Temperature/humidity node in HVAC ducts reporting every 5 minutes via Zigbee or BLE. IC Role / Device Role / Timing Role: Sensor hub aggregating ADC readings, applying linearization, and managing wireless stack timing via RTC-triggered wakeups. Use Value: 12-bit ADC with internal reference and temperature sensor allows factory calibration and drift compensation without external components. | Use Scenario: Wall-mounted smart switch with glass surface touch controls and status LEDs. IC Role / Device Role / Timing Role: Capacitive touch processor driving 8-key overlay and dimming LED backlight via PWM-controlled DAC output. Use Value: Integrated 16-channel touch sensing engine and 12-bit DAC eliminate external touch controller and LED driver ICs, reducing BOM cost by >$0.35. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8L051F3P6 | 8 KB Flash, no RTC, no DAC, 20-pin TSSOP; lower integration and power budget. | Suitable only for simpler timer-based wake/sense tasks without calendar or analog output needs. | Select when cost and footprint are primary constraints and RTC/DAC are unnecessary. |
| STM32L011D4P6 | 32-bit ARM Cortex-M0+, 16 KB Flash, 2 KB RAM, 3.6 µA stop mode, no built-in touch sensing. | Requires external touch library or controller; better for complex firmware but higher code size overhead. | Choose for migration path to 32-bit ecosystem where software scalability outweighs analog integration loss. |
Compared with STM8L051F3P6, the STM8L151K4T6 adds RTC, DAC, and touch sensing at modest cost premium; versus STM32L011D4P6, it trades 32-bit flexibility for lower power in analog-intensive edge nodes and eliminates external touch components.
Availability
STM8L151K4T6 is available at Aetrix Electronics and suitable for smart utility metering, portable medical sensors, industrial wireless sensor nodes, and home automation touch interfaces requiring stable component supply and long-term lifecycle assurance.
Supply support for STM8L151K4T6 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, MEMS, and automotive semiconductors since 1987.
The STM8L ultra-low-power MCU product line targets energy-constrained applications such as battery-operated sensors, wearables, and smart meters, emphasizing sub-µA sleep modes, integrated analog peripherals, and robust industrial qualification.
FAQ
What is the maximum operating frequency and core type of the STM8L151K4T6?
The STM8L151K4T6 features an 8-bit STM8 core with a maximum operating frequency of 16 MHz, achieving 16 CISC MIPS peak performance. It uses a Harvard architecture with a 3-stage pipeline for deterministic instruction execution and efficient code density, optimized for ultra-low-power embedded control tasks.
Does the STM8L151K4T6 support hardware-accelerated capacitive touch sensing?
Yes, the STM8L151K4T6 integrates a dedicated hardware touch sensing controller supporting up to 16 channels for touchkey, proximity, linear, and rotary touch applications. This engine operates independently of the CPU, enabling low-power wake-on-touch functionality with minimal firmware overhead and no external components.
What low-power modes are available and what is the lowest current consumption?
The STM8L151K4T6 offers five low-power modes: Wait (5.1 µA), Low Power Wait (3 µA), Active-Halt with RTC (1.3 µA), Halt (350 nA), and Power-down (with VDD off). The lowest active mode is Halt at 350 nA (1.8 V, 25 °C), retaining RTC operation and RAM content while allowing sub-5 µs wakeup to full-speed execution.
Is the STM8L151K4T6 pin-compatible with other members of the STM8L151 family?
No - the STM8L151K4T6 uses a 32-pin LQFP package, while STM8L151C4/C6 use 48-pin LQFP and STM8L151G4/G6 use 28-pin UFQFPN. Pinouts differ across packages; migration requires PCB redesign. However, software is largely compatible within the STM8L151x4 series due to identical peripheral register maps and instruction set.
STM8L151K4T6 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 ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L151K4T6 FAQ
1.How can I place an order for STM8L151K4T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L151K4T6 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 STM8L151K4T6 reliable?
The price and inventory of STM8L151K4T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L151K4T6 is usually 5 days.
3.What payment methods are accepted for STM8L151K4T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L151K4T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L151K4T6?
STM8L151K4T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L151K4T6 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 STM8L151K4T6?
For technical support, including STM8L151K4T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L151K4T6 requirements.
6.How does Aetrix verify that STM8L151K4T6 is sourced from the original manufacturer or authorized distributors?
All STM8L151K4T6 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 STM8L151K4T6 meets industry standards.
7.What is the process for return or replacement of STM8L151K4T6?
All STM8L151K4T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L151K4T6, 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 STM8L151K4T6 part is unused and in its original packaging.
Return procedure for STM8L151K4T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L151K4T6 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…

