STM8L152K4T6
Product Specifications
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 Frequency | MHz |
| Flash | KB |
| SRAM | KB |
| GPIO | — |
| ADC | bits |
| Interfaces | — |
| Supply Voltage | V |
| Operating Temp | °C |
| Package | — |
Applications
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 code | STM8L152K4T6 |
| Program Flash | 16 Kbytes |
| Data EEPROM | 1 Kbyte with ECC and read while write |
| RAM | 2 Kbytes |
| Package | LQFP32, 7 by 7 mm |
| Pin count | 32 |
| Maximum general purpose I/O | 29 |
| ADC channels | 21 of the 12 bit converter |
| DAC channels | 1 of 12 bits with output buffer |
| LCD controller | 4x17 segments with step up converter |
| Temperature grade | suffix 6, minus 40 to plus 85 C |
Electrical and peripheral parameters
| Supply voltage | 1.8 to 3.6 V, down to 1.65 V at power down |
| Maximum CPU clock | 16 MHz, 16 MIPS peak |
| Run current | 195 uA per MHz plus 440 uA static |
| Halt current | 350 nA typical |
| Active halt | 1.3 uA typical with the real time clock running |
| Low power modes | 5.1 uA typical in low power run, 3 uA in low power wait |
| Wake up time | 4.7 microseconds from halt |
| Analog to digital converter | 12 bit, up to 1 Msps, 21 channels, internal reference voltage and temperature sensor on chip |
| Digital to analog converter | 1 channel of 12 bits with output buffer, 7 microseconds typical settling into 5 k and 50 pF |
| Comparators | 2, one fixed threshold and one rail to rail, both can wake the core |
| Timers | two 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 interfaces | one SPI, one I2C at 400 kHz with SMBus and PMBus, one USART with ISO 7816 and IrDA |
| DMA | 4 channels covering the ADC, the DAC, SPI, I2C, USART and the timers |
| Data EEPROM endurance | 300 kcycle with ECC and read while write |
| Program memory endurance | 10 kcycle, 30 years retention at 85 C |
| Identification | 96 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.