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

- Shipping:

Inventory:2,400
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L152K4T6TR 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 metering, portable medical devices, and smart sensors requiring long runtime and integrated analog peripherals.
For engineers reviewing the STM8L152K4T6TR datasheet, STM8L152K4T6TR pinout, STM8L152K4T6TR application, or STM8L152K4T6TR equivalent, key selection criteria include verified 350 nA Halt-mode current, LCD segment drive capability, 1.65–3.6 V operating range, 96-bit unique ID, and SWIM-based non-intrusive debugging support.
Technical Context
The STM8L152K4T6TR 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-power (32 kHz LSE or 38 kHz RC), managed by a clock security system with fail-safe detection.
Its power architecture supports five distinct low-power modes-Wait, Low Power Run (5.1 µA), Low Power Wait (3 µA), Active-Halt with RTC (1.3 µA), and Halt (350 nA)-with fast 4.7 µs wakeup from Halt. The RTC operates independently in Active-Halt mode using the 32 kHz crystal oscillator, maintaining calendar time and alarm functionality while minimizing current draw.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | STM8 8-bit Harvard, 3-stage pipeline, 16 MIPS peak @ 16 MHz |
| Flash / EEPROM | 16 KB Flash with RWW and 1 KB Data EEPROM with ECC for robust firmware updates and parameter storage |
| Supply Voltage | 1.65 V to 3.6 V - enables direct operation from single Li-ion, coin cell, or energy-harvesting sources |
| Halt Mode Current | 350 nA @ 3.0 V - ensures multi-year battery life in always-on sensor nodes |
| ADC Performance | 12-bit, up to 1 Msps, 25 channels with internal temperature sensor and reference voltage |
| LCD Driver | Supports up to 4×28 segments with integrated step-up converter - eliminates external bias supply |
| RTC Functionality | BCD calendar with alarm interrupt and auto-wakeup from Halt - maintains real-time context without host intervention |
Pinout & Package
STM8L152K4T6TR is housed in a 32-pin LQFP package (7 × 7 mm, 0.8 mm pitch), optimized for compact industrial and portable designs. Pin count and layout align with STM8L151K4/K6 and STM8L152K4/K6 variants in the K-series 32-pin footprint.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual VDD/VSS pairs ensure stable core and I/O domain operation across full voltage range |
| NRST | Active-low reset input | Accepts standard push-pull or open-drain reset sources; supports programmable PVD monitoring |
| SWIM | Single-wire interface for debug and programming | Enables non-intrusive in-circuit debugging and flash programming without dedicated JTAG pins |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7 | General-purpose I/Os | 41 total I/Os (32 accessible in LQFP32); all support interrupt generation and capacitive sensing |
| OSC_IN / OSC_OUT | High-speed external crystal oscillator terminals | Supports 1–16 MHz crystals; internal load capacitors configurable via option bytes |
| LSE_IN / LSE_OUT | Low-speed external RTC crystal terminals | Drives 32.768 kHz crystal for autonomous RTC operation during Halt mode |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power Halt mode | 350 nA consumption with RTC active - extends battery life in intermittent-sensing applications |
| Integrated LCD controller | Drives 4×28 segments with on-chip step-up converter - reduces BOM count and PCB area |
| Dual ultra-low-power comparators | One rail-to-rail + one fixed-threshold comparator, both with wake-up capability - enables precise threshold detection without CPU wake |
| Capacitive touch sensing | Up to 16 channels supporting touchkey, proximity, linear, and rotary sensors - no external IC required |
| Memory protection | Flexible read/write protection for Flash and EEPROM, plus 96-bit unique ID - enhances firmware security and traceability |
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: Primary MCU managing sensor acquisition, RTC-timed data logging, LCD display, and low-power RF subsystem wake control. Use Value: 350 nA Halt mode and RTC calendar enable accurate timestamped logs over 10+ years on primary battery; LCD driver eliminates external bias IC. |
Use Scenario: Wearable ECG patch recording heart activity continuously for 72 hours per charge. IC Role / Device Role / Timing Role: Signal acquisition MCU interfacing with analog front-end, performing ADC sampling, real-time filtering, and buffered storage. Use Value: 12-bit ADC with internal reference and temperature sensor enables calibrated biopotential measurement; 1.65 V minimum supply allows operation down to depleted battery voltage. |
| Industrial Wireless Sensor Node | Smart Home Thermostat Display |
Use Scenario: Self-powered environmental node measuring temperature/humidity/pressure and reporting via Zigbee every 5 minutes. IC Role / Device Role / Timing Role: System controller coordinating sensor polling, data fusion, RTC-triggered transmission, and sleep scheduling. Use Value: Active-Halt mode (1.3 µA) with RTC alarm allows precise wake intervals; capacitive touch channels support intuitive UI without mechanical buttons. |
Use Scenario: Line-powered thermostat with segmented LCD display showing setpoint, ambient temp, and HVAC status. IC Role / Device Role / Timing Role: Display controller and UI processor handling button inputs, temperature reading, and LCD refresh timing. Use Value: Integrated 4×28 LCD driver with step-up converter supports multiplexed display from 3.3 V rail; low-power run mode (5.1 µA) minimizes standby dissipation. |
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 |
|---|---|---|---|
| STM8L152K6T6TR | 32 KB Flash, 2 KB RAM vs. 16 KB Flash, 2 KB RAM - same peripherals and power specs | Required when firmware size exceeds 16 KB or additional RAM buffers needed for communication stacks | Select K6 if future firmware expansion or larger protocol stack (e.g., BLE mesh) is anticipated |
| STM32L053R8T6 | 32-bit ARM Cortex-M0+, 64 KB Flash, 8 KB RAM, but higher active current (210 µA/MHz) and no integrated LCD driver | Suitable for applications needing higher compute throughput or USB, but requires external LCD bias and increases BOM cost | Choose only if 32-bit processing, USB, or larger memory is mandatory - not a drop-in replacement |
Compared with STM8L152K4T6TR, the K6 variant offers scalable Flash/RAM within identical low-power and LCD capabilities, while the STM32L053 trades ultra-low Halt current and integrated LCD for 32-bit performance and peripheral breadth - making it less suitable for cost- and power-constrained LCD-display applications.
Availability
STM8L152K4T6TR is available at Aetrix Electronics and suitable for smart metering, portable diagnostics, and industrial wireless sensor networks requiring stable component supply, long-term lifecycle assurance, and consistent parametric performance across temperature ranges.
Supply support for STM8L152K4T6TR 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 family targets energy-constrained applications such as battery-operated meters, wearables, and IoT edge nodes - emphasizing sub-µA sleep modes, integrated analog peripherals, and robust operation across extended temperature ranges.
FAQ
What is the minimum operating voltage for STM8L152K4T6TR?
The STM8L152K4T6TR operates down to 1.65 V in all active and low-power modes, with guaranteed functionality including Flash programming and RTC operation. This enables reliable use with aging primary batteries or energy-harvesting sources where voltage sags below 1.8 V.
Does STM8L152K4T6TR support capacitive touch sensing?
Yes - it integrates hardware-accelerated capacitive sensing supporting up to 16 channels, compatible with touchkey, proximity, linear slider, and rotary wheel configurations. No external components are required, and sensing operates concurrently with low-power modes.
Can the internal 12-bit DAC drive external loads directly?
The integrated 12-bit DAC features an output buffer capable of sourcing/sinking ±5 mA, allowing direct driving of small analog circuits like op-amp references or LED bias. Output is available on PB4–PB6 pins, with configurable gain and alignment per datasheet Table 52.
Is SWIM debugging supported in all power modes?
SWIM interface remains functional in Run, Wait, and Low Power Run modes. It is disabled in Low Power Wait, Active-Halt, and Halt modes - consistent with ultra-low-power design goals. Debug access must be re-established after waking to Run mode.
STM8L152K4T6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-LQFP
- 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, 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:
STM8L152K4T6TR FAQ
1.How can I place an order for STM8L152K4T6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L152K4T6TR 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 STM8L152K4T6TR reliable?
The price and inventory of STM8L152K4T6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L152K4T6TR is usually 5 days.
3.What payment methods are accepted for STM8L152K4T6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L152K4T6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L152K4T6TR?
STM8L152K4T6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L152K4T6TR 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 STM8L152K4T6TR?
For technical support, including STM8L152K4T6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L152K4T6TR requirements.
6.How does Aetrix verify that STM8L152K4T6TR is sourced from the original manufacturer or authorized distributors?
All STM8L152K4T6TR 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 STM8L152K4T6TR meets industry standards.
7.What is the process for return or replacement of STM8L152K4T6TR?
All STM8L152K4T6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM8L152K4T6TR, 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 STM8L152K4T6TR part is unused and in its original packaging.
Return procedure for STM8L152K4T6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L152K4T6TR 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…

