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

- Shipping:

Inventory:1,000
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L152K6T6 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 32 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 timers including an advanced control timer for motor control. It operates from 1.65 V to 3.6 V and supports industrial temperature range (–40 °C to +85 °C) in LQFP32 package - used in battery-powered smart meters and portable medical sensors.
For engineers reviewing the STM8L152K6T6 datasheet, STM8L152K6T6 pinout, STM8L152K6T6 application, or STM8L152K6T6 equivalent, key selection criteria include active-halt current (1.3 µA with RTC), LCD segment drive capability, SWIM debug interface compatibility, and capacitive touch channel count (up to 16).
Technical Context
The STM8L152K6T6 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), factory-trimmed 16 MHz RC, and 38 kHz low-consumption RC - all managed by a clock security system with fail-safe detection.
Power management includes five configurable low-power modes: Wait (5.1 µA), Low Power Wait (3 µA), Active-Halt with full RTC (1.3 µA), and Halt (350 nA), enabled by ultra-low-leakage I/Os (50 nA per pin) and fast 4.7 µs wakeup from Halt mode.
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 for sensor fusion and control loop execution. |
| Flash / EEPROM | 32 KB Flash with RWW and 1 KB data EEPROM with ECC; supports firmware updates without halting operation and ensures data integrity. |
| ADC Resolution & Speed | 12-bit SAR ADC, up to 1 Msps across 25 channels; includes internal temperature sensor and reference voltage for self-calibration. |
| Low-Power Halt Current | 350 nA at 3.0 V; enables multi-year battery life in always-on sensing nodes with periodic wake-up via RTC alarm. |
| LCD Driver | Supports up to 4×28 segments with integrated step-up converter; eliminates external bias supply in portable display applications. |
| DAC Output | 12-bit DAC with output buffer on PB4–PB6; provides precise analog stimulus for calibration or actuator control without external op-amps. |
Pinout & Package
LQFP32 (7 × 7 mm, 0.8 mm pitch) package with 32-pin quad flat lead frame; RoHS-compliant, ECOPACK2 certified, suitable for reflow soldering and automated assembly.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply input | Main digital supply rail (1.65–3.6 V); powers core, memories, and most peripherals. |
| VSS | Ground reference | Digital ground return path; requires low-impedance connection to minimize noise coupling. |
| NRST | Active-low reset input | Asynchronous reset pin with programmable voltage detector threshold; initiates cold start or recovery from fault. |
| SWIM | Single-wire interface for debugging | Enables non-intrusive programming and real-time debugging using one dedicated pin (PA1). |
| PA0–PA7 | General-purpose I/O bank A | Configurable as GPIO, analog input, comparator input, or LCD segment/COM; PA0 supports high-sink LED driver (20 mA). |
| PB0–PB7 | General-purpose I/O bank B | Includes DAC outputs (PB4–PB6), USART TX/RX (PB1/PB2), and I²C SCL/SDA (PB3/PB4); supports interrupt-on-change. |
| PC0–PC7 | General-purpose I/O bank C | Supports SPI (PC3–PC5), ADC inputs (PC0–PC7), and LCD segment/COM functions; mappable to all interrupt vectors. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC with BCD calendar | Retains timekeeping and alarm functionality in Active-Halt mode (1.3 µA), enabling scheduled wake-up without external components. |
| Capacitive touch sensing engine | Hardware-accelerated support for up to 16 channels; enables robust touchkey, proximity, and rotary touch interfaces with minimal CPU overhead. |
| Dual ultra-low-power comparators | One comparator with fixed threshold and one rail-to-rail; both support wake-up from Halt mode, ideal for battery voltage monitoring or sensor threshold detection. |
| Flexible memory protection | Programmable read/write protection for Flash and EEPROM blocks; prevents unauthorized firmware access or accidental overwrite during field updates. |
| SWIM debug interface | Single-pin, non-intrusive on-chip debugging and programming; eliminates need for JTAG header space and simplifies production test setup. |
Applications
| Smart Utility Metering | Portable Medical Sensor |
|---|---|
|
Use Scenario: Battery-powered gas/water meter with LCD display, tamper detection, and hourly pulse logging. IC Role / Device Role / Timing Role: Main system controller managing sensor acquisition, LCD refresh, RTC-based timestamping, and secure data storage in EEPROM. Use Value: 1.3 µA Active-Halt current extends 10-year battery life; integrated LCD driver reduces BOM cost by eliminating external bias IC. |
Use Scenario: Handheld blood glucose monitor with touch interface, analog sensor signal conditioning, and disposable strip detection. IC Role / Device Role / Timing Role: Signal acquisition hub performing ADC sampling, DAC-based reference generation, comparator-based strip insertion detection, and capacitive touch navigation. Use Value: 12-bit ADC with internal reference enables ±0.5% glucose measurement accuracy; 16-channel touch engine supports intuitive UI without overlay sensors. |
| Industrial Wireless Sensor Node | Home Appliance Control Panel |
|
Use Scenario: LoRaWAN-enabled temperature/humidity node deployed in unattended HVAC ducts with 5-year battery requirement. IC Role / Device Role / Timing Role: Low-duty-cycle controller waking every 15 minutes to sample sensors, process data, and transmit via UART-connected transceiver. Use Value: 350 nA Halt mode + 4.7 µs wakeup minimizes energy loss during sleep; SWIM interface enables field firmware patching over serial. |
Use Scenario: Microwave oven control panel with segmented LCD, keypad scanning, buzzer feedback, and safety interlock monitoring. IC Role / Device Role / Timing Role: Human interface processor handling LCD segment driving, beeper tone generation (1/2/4 kHz), watchdog supervision, and real-time cooking timer. Use Value: Integrated beeper timer eliminates external oscillator; LCD step-up converter supports wide VDD range (1.65–3.6 V) across varying battery states. |
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 |
|---|---|---|---|
| STM8L052K6T6 | 16 KB Flash, no LCD controller, same 32-pin LQFP package and peripheral set except LCD and reduced RAM (1 KB vs 2 KB). | Suitable for cost-sensitive designs omitting display; lacks LCD segment drivers and step-up converter. | Select when display functionality is unnecessary and BOM cost reduction is prioritized over future LCD upgrade path. |
| STM32L053R8T6 | 32-bit ARM Cortex-M0+, 64 KB Flash, 8 KB RAM, no LCD, but adds AES crypto, USB, and higher ADC resolution (12-bit @ 1.14 Msps). | Better suited for connected devices requiring encryption or USB-CDC communication; higher active power (195 µA/MHz vs 195 µA/MHz baseline). | Choose for enhanced processing capability and security features where 32-bit architecture justifies increased complexity and power budget. |
Compared with STM8L052K6T6, STM8L152K6T6 adds LCD support and doubles Flash; compared with STM32L053R8T6, it trades 32-bit performance and crypto for lower gate count, simpler toolchain, and proven ultra-low static current in Halt mode.
Availability
STM8L152K6T6 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 long product lifecycles.
Supply support for STM8L152K6T6 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 automotive semiconductors.
The STM8L ultra-low-power MCU family targets battery-operated and energy-harvesting applications where extended runtime, robust peripheral integration, and simplified development are critical - emphasizing sub-µA sleep modes and hardware-accelerated analog functions.
FAQ
What is the minimum operating voltage for STM8L152K6T6 in Halt mode?
The STM8L152K6T6 maintains full functionality down to 1.65 V in all operating modes, including Halt. At 1.65 V, Halt current remains ≤350 nA, and RTC continues accurate timekeeping when clocked by the 32 kHz LSE crystal. This enables reliable operation across the full specified battery discharge curve.
Does STM8L152K6T6 support capacitive touch sensing without external components?
Yes - the device integrates a dedicated capacitive sensing controller supporting up to 16 channels. It uses built-in charge-transfer measurement and hardware filtering, requiring only PCB traces configured as sense electrodes. No external RC networks or dedicated touch ICs are needed for basic touchkey or linear slider implementations.
Can the 12-bit DAC output drive a load directly?
The DAC outputs on PB4–PB6 include an integrated output buffer capable of sourcing/sinking ±2 mA at full scale. It can directly drive low-impedance loads such as op-amp inputs, small piezo buzzers, or calibration references - but not high-current actuators. Output impedance is <1 kΩ, and linearity error is ±1 LSB over temperature.
Is SWIM debugging supported in all low-power modes?
SWIM interface remains active in Run, Wait, and Low Power Run modes. It is disabled in Low Power Wait, Active-Halt, and Halt modes to preserve power - however, a dedicated SWIM wakeup event (via NRST or specific pin toggle) can restore debug connectivity without full reset, enabling selective low-power validation.
STM8L152K6T6 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:
- 32KB (32K 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:
STM8L152K6T6 FAQ
1.How can I place an order for STM8L152K6T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L152K6T6 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 STM8L152K6T6 reliable?
The price and inventory of STM8L152K6T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L152K6T6 is usually 5 days.
3.What payment methods are accepted for STM8L152K6T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L152K6T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L152K6T6?
STM8L152K6T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L152K6T6 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 STM8L152K6T6?
For technical support, including STM8L152K6T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L152K6T6 requirements.
6.How does Aetrix verify that STM8L152K6T6 is sourced from the original manufacturer or authorized distributors?
All STM8L152K6T6 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 STM8L152K6T6 meets industry standards.
7.What is the process for return or replacement of STM8L152K6T6?
All STM8L152K6T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L152K6T6, 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 STM8L152K6T6 part is unused and in its original packaging.
Return procedure for STM8L152K6T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L152K6T6 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…

