Contact Us

STM8L152K4T6

Brand: ST
ST STM8L152K4T6 is a mcu & embedded component designed for general electronics and related applications. In stock at Superb Automation — request a quote for competitive pricing and fast delivery.
quote now

Product Specifications

STM8L152K4T6 — MCU & Embedded Processors | Superb Automation

STM8L152K4T6

ST — MCU & Embedded Processors

Product Overview

The STM8L152K4T6 from ST is a microcontroller / embedded processor engineered for real-time control, signal processing, and connectivity. STMicroelectronics is a European semiconductor leader with a strong portfolio in MCUs, power management, sensors, and analog ICs.

Superb Automation partners with leading brands including Qorvo, TI, ADI, XILINX, NVIDIA, Intel, ST, MACOM, Renesas, and Coilcraft to provide complete BOM and supply-chain solutions.

Key Features

  • ARM Cortex / RISC-V / proprietary core with high-performance real-time processing
  • Integrated flash memory and SRAM for efficient code execution
  • Rich peripheral set: UART, SPI, I2C, ADC, timers, PWM
  • Low-power modes for battery-operated and energy-sensitive applications
  • Hardware security features: secure boot, crypto accelerator, TRNG
  • Extensive development ecosystem with IDE, HAL, and RTOS support

Key Specifications

Core—
Max FrequencyMHz
FlashKB
SRAMKB
GPIO—
ADCbits
Interfaces—
Supply VoltageV
Operating Temp°C
Package—

Applications

Industrial Motor Control IoT Edge Nodes Consumer Electronics Automotive Body Control Smart Home & Appliances Medical Portable Devices

Request Quote — In Stock, 100% New & Original, Full Warranty

STM8L152K4T6: 16 Kbyte ultra-low-power STM8L MCU in LQFP32

STM8L152K4T6 is a 16 Kbyte Flash member of the STM8L ultra-low-power line in a LQFP32 body (7 by 7 mm), with 2 Kbytes of RAM, 1 Kbyte of data EEPROM, 29 general purpose I/O, 21 channels on the 12 bit converter and 1 channel of 12 bit DAC. The supply range is 1.8 to 3.6 V, down to 1.65 V at power down and the core runs at up to 16 MHz. It also carries a segment LCD controller driving 4x17 segments with step up converter.

Order code and memory

Order codeSTM8L152K4T6
Program Flash16 Kbytes
Data EEPROM1 Kbyte with ECC and read while write
RAM2 Kbytes
PackageLQFP32, 7 by 7 mm
Pin count32
Maximum general purpose I/O29
ADC channels21 of the 12 bit converter
DAC channels1 of 12 bits with output buffer
LCD controller4x17 segments with step up converter
Temperature gradesuffix 6, minus 40 to plus 85 C

Electrical and peripheral parameters

Supply voltage1.8 to 3.6 V, down to 1.65 V at power down
Maximum CPU clock16 MHz, 16 MIPS peak
Run current195 uA per MHz plus 440 uA static
Halt current350 nA typical
Active halt1.3 uA typical with the real time clock running
Low power modes5.1 uA typical in low power run, 3 uA in low power wait
Wake up time4.7 microseconds from halt
Analog to digital converter12 bit, up to 1 Msps, 21 channels, internal reference voltage and temperature sensor on chip
Digital to analog converter1 channel of 12 bits with output buffer, 7 microseconds typical settling into 5 k and 50 pF
Comparators2, one fixed threshold and one rail to rail, both can wake the core
Timerstwo 16 bit general purpose timers with two channels each, one 16 bit advanced control timer with three channels, one 8 bit timer, beeper timer, window and independent watchdog
Serial interfacesone SPI, one I2C at 400 kHz with SMBus and PMBus, one USART with ISO 7816 and IrDA
DMA4 channels covering the ADC, the DAC, SPI, I2C, USART and the timers
Data EEPROM endurance300 kcycle with ECC and read while write
Program memory endurance10 kcycle, 30 years retention at 85 C
Identification96 bit unique ID, single wire interface module, USART bootloader

Points to check before this part goes on a BOM

This is the smallest body in the line that still drives a segment display: 32 pins, 16 Kbytes of Flash, and an LCD controller limited to 4 by 17 segments. The pin arithmetic is tight. The display takes its share, leaving 29 port pins and 21 converter channels, one fewer of each than the L151K4 because the common and segment outputs have to come from somewhere. A product that needs a 4 by 28 glass has to move to the 48 pin body; there is no configuration that fits it here.

Seventeen segments is three and a half digits, which covers a thermostat setpoint, a timer, or a small pressure readout, and the step up converter keeps the glass readable while the cell falls to 1.8 V. The controller draws its bias from the internal converter rather than from an external charge pump, which removes two capacitors and one inductor from the board, and that is usually the reason a 32 pin part is chosen for a sealed sensor housing where board space is the constraint.

The rest of the part is the standard medium density set: 2 Kbytes of RAM, 1 Kbyte of EEPROM with read while write, two comparators, one USART, one SPI, one I2C, and a 4 channel DMA. With 21 analog channels the analog front end can be a bridge plus a thermistor plus a battery divider and still leave spares. What it cannot be is a three phase current measurement with a separate DC link and two temperature sensors, which needs more channels than this package bonds out.

Where this order code fits

Thermostats, timers, small pressure and flow indicators, and sealed sensor housings where a 32 pin board with a segment glass replaces a larger assembly. Teams comparing it against a neighbouring memory size or pin count start from our MCU Cross Reference page, and teams replacing a line that has gone end of life start from the Vendor Consolidation page. Both list the figures that have to match before a substitute goes on a BOM.

Questions buyers ask

How many segments does the 32 pin L152 support? 4 by 17 segments. The 48 pin L152 body supports 4 by 28, so a larger glass forces the package change.

What do I lose against the L151K4? One port pin and one ADC channel: 29 I/O and 21 channels instead of 30 and 22. In return the part drives a segment display with an internal step up converter.

Is a 16 Kbyte array enough? For a thermostat or a timer with a segment display, yes. The limiting resource is usually the 2 Kbyte RAM once a display buffer and a serial protocol are both present.

SUPERB holds and sources ST microcontroller lines including this order code for production and repair demand, quoted against the exact ordering string with date codes and packing stated. When a line is changing, the Component Lead Time Solutions page sets out the checks that keep a substitute from failing on the bench.