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

- Shipping:

Inventory:1,374
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L152K4T6 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, LCD controller (4×28 segments), 12-bit ADC (1 Msps, 25 channels), 12-bit DAC, two ultra-low-power comparators, and multiple low-power modes including Halt (350 nA). It targets battery-powered portable instrumentation and smart sensors requiring long runtime and integrated display.
For engineers reviewing the STM8L152K4T6 datasheet, STM8L152K4T6 pinout, STM8L152K4T6 application, or STM8L152K4T6 equivalent, key selection criteria include sub-µA Halt mode current, on-chip LCD driver capability, 1.65–3.6 V operating range, and SWIM-based non-intrusive debugging support.
Technical Context
The STM8L152K4T6 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. Its clock system integrates dual oscillators (1–16 MHz HSE, 32 kHz LSE), factory-trimmed 16 MHz RC, and 38 kHz low-consumption RC, all managed by a clock security system.
Power management includes five configurable low-power modes: Wait, Low Power Run (5.1 µA), Low Power Wait (3 µA), Active-Halt with full RTC (1.3 µA), and Halt (350 nA), with 4.7 µs wakeup latency from Halt. The RTC supports BCD calendar, alarm, and auto-wakeup with periodic interrupt.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline, 16 CISC MIPS peak performance at 16 MHz |
| Memory | 16 KB Flash (RWW, ECC), 1 KB Data EEPROM (ECC), 2 KB RAM - enables firmware updates without data loss |
| Low-Power Modes | Halt mode draws 350 nA (VDD = 1.65–3.6 V); Active-Halt with RTC consumes 1.3 µA - extends coin-cell battery life to >10 years |
| Analog Peripherals | 12-bit ADC (1 Msps, 25 channels, internal temp sensor & ref), 12-bit DAC (buffered output), 2 comparators (one rail-to-rail, one fixed-threshold) |
| LCD Controller | Supports up to 4×28 segments with integrated step-up converter - eliminates external bias supply for segment LCDs |
| Communication | SPI, I²C (400 kHz SMBus/PMBus), USART (ISO 7816, IrDA) - suitable for sensor fusion and secure peripheral interfacing |
| Package & Pins | LQFP32 (7×7 mm), 29 I/Os with interrupt mapping, 16 capacitive sensing channels - compact footprint for space-constrained designs |
Pinout & Package
LQFP32 package (7 × 7 mm, 0.8 mm pitch), RoHS-compliant, ECOPACK® certified. Pin count: 32 leads, with 29 user-configurable I/Os (including 16 touch-sensing channels), NRST, SWIM, and dedicated LCD segment/common pins.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual power domain: VDD powers digital/analog/LCD; VSS reference for all circuits |
| NRST | Active-low reset input | Accepts external reset pulse; internally tied to ultra-low-power POR/PDR and BOR with 5 threshold options |
| SWIM | Single-wire interface for debug/programming | Enables non-intrusive in-circuit debugging and fast flash programming without halting CPU operation |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7 | General-purpose I/Os | All mappable to interrupt vectors; up to 16 support capacitive sensing; PA0 has high-sink LED driver capability |
| LCDCOM1–LCDCOM4, LCDSEG1–LCDSEG28 | LCD segment and common outputs | Drive 4×28 static/dynamic LCD directly; integrated step-up converter supplies LCD bias voltage from VDD |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 350 nA consumption with SRAM retention and RTC running - enables decade-scale battery operation |
| On-chip LCD controller | 4×28 segment drive with integrated step-up converter - removes need for external LCD bias IC |
| Flexible clock system | Multiple sources (HSE/LSE/HSI/LSI) + clock security system - ensures robust timing under voltage transients |
| Robust memory protection | Flash/RAM/E2PROM read/write protection + ECC on EEPROM - prevents data corruption in harsh environments |
| Capacitive touch interface | 16-channel hardware-accelerated touch sensing - supports touchkey, proximity, linear/rotary sliders without CPU load |
Applications
| Smart Utility Meter Display | Portable Gas Detector |
|---|---|
|
Use Scenario: Battery-powered gas detector with alphanumeric LCD display and analog sensor signal conditioning. IC Role / Device Role / Timing Role: Main MCU handling sensor ADC acquisition, CO/H₂S concentration calculation, LCD refresh, and low-power alarm triggering. Use Value: 1.3 µA Active-Halt mode with RTC enables monthly self-test scheduling; integrated LCD driver reduces BOM count by 2 components. |
Use Scenario: Handheld industrial gas monitor requiring 10-year coin-cell operation and real-time concentration readout. IC Role / Device Role / Timing Role: System controller managing electrochemical sensor biasing, 12-bit ADC sampling, temperature compensation, and segmented LCD update. Use Value: 350 nA Halt mode preserves battery during standby; internal 1.22 V reference ensures stable ADC accuracy across temperature. |
| Wireless Sensor Node Endpoint | Medical Wearable Monitor |
|
Use Scenario: BLE-connected environmental sensor node measuring temperature/humidity with local LCD feedback. IC Role / Device Role / Timing Role: Local intelligence hub performing sensor fusion, LCD UI rendering, and wake-on-event control of radio subsystem. Use Value: Fast 4.7 µs wakeup from Halt allows immediate response to motion or button press; SWIM debug port simplifies field firmware updates. |
Use Scenario: Disposable ECG patch with segment LCD showing heart rate and battery status. IC Role / Device Role / Timing Role: Signal acquisition MCU acquiring analog ECG channel via ADC, computing HR, driving LCD, and managing ultra-low-power sleep cycles. Use Value: Integrated 12-bit DAC generates precise electrode bias voltage; LCD COM/SEG drivers eliminate external glass driver IC. |
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 |
|---|---|---|---|
| STM8L152C4T6 | LQFP48 package (48-pin), 4×32 LCD segments, 32 KB Flash, 2 KB RAM - larger memory and I/O count | Used where higher I/O density or extended LCD capability (e.g., 4×32) is required | Select when design needs >29 I/Os or >4×28 LCD segments; same core/peripherals but different pinout and memory map |
| STM32L011K4T6 | 32-bit ARM Cortex-M0+, 16 KB Flash, 2 KB RAM, no LCD controller, lower active current (210 µA/MHz) | Preferred for applications needing 32-bit processing or USB, but lacks native LCD support | Choose for higher computational throughput or ecosystem compatibility; requires external LCD driver if display needed |
Compared with STM8L152C4T6, the K4T6 offers identical peripherals in a smaller LQFP32 package with reduced I/O count - ideal for cost- and size-sensitive designs. Versus STM32L011K4T6, it trades 32-bit capability for integrated LCD and lower Halt-mode current (350 nA vs 370 nA), making it superior for display-centric battery devices.
Availability
STM8L152K4T6 is available at Aetrix Electronics and suitable for smart utility meters, portable gas detectors, wireless sensor nodes, and medical wearable monitors requiring stable component supply across multi-year production cycles.
Supply support for STM8L152K4T6 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 STM8L ultra-low-power MCU product line targets energy-constrained applications such as battery-operated sensors, smart meters, and portable medical devices - emphasizing sub-µA sleep modes, integrated peripherals, and long-term supply stability.
FAQ
What is the minimum operating voltage for STM8L152K4T6 in Halt mode?
The STM8L152K4T6 operates down to 1.65 V in all low-power modes, including Halt. At 1.65 V, Halt mode current remains 350 nA (typical), and RTC continues functioning with LSE crystal. Below 1.65 V, BOR thresholds ensure safe reset before functional failure.
Does STM8L152K4T6 support capacitive touch sensing without external components?
Yes - the device integrates a hardware-accelerated capacitive sensing controller supporting up to 16 channels. It uses built-in charge-transfer measurement and noise filtering, requiring only PCB electrodes and no external RC networks or dedicated touch ICs.
Can the internal 12-bit DAC drive analog actuators directly?
The buffered 12-bit DAC provides rail-to-rail output with ±1 LSB INL/DNL and 1 µA max output leakage. It can directly drive low-current analog inputs (e.g., op-amp references, sensor biasing), but not high-current loads like motors or LEDs - external amplification is required for those.
Is SWIM debugging supported in all low-power modes?
SWIM is fully operational in Run, Wait, and Low Power Run modes. In Low Power Wait, Active-Halt, and Halt modes, SWIM enters standby and requires a dedicated wakeup pulse on the SWIM pin to resume communication - documented in Section 3.19 of DS6372 Rev 17.
STM8L152K4T6 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, LCD, POR, PWM, WDT
- Number of I/O:
- 29
- 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 21x12b; D/A 1x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L152K4T6 FAQ
1.How can I place an order for STM8L152K4T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L152K4T6 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 STM8L152K4T6 reliable?
The price and inventory of STM8L152K4T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L152K4T6 is usually 5 days.
3.What payment methods are accepted for STM8L152K4T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L152K4T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L152K4T6?
STM8L152K4T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L152K4T6 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 STM8L152K4T6?
For technical support, including STM8L152K4T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L152K4T6 requirements.
6.How does Aetrix verify that STM8L152K4T6 is sourced from the original manufacturer or authorized distributors?
All STM8L152K4T6 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 STM8L152K4T6 meets industry standards.
7.What is the process for return or replacement of STM8L152K4T6?
All STM8L152K4T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L152K4T6, 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 STM8L152K4T6 part is unused and in its original packaging.
Return procedure for STM8L152K4T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L152K4T6 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…

