STM8L152K6T6
Product Specifications
STM8L152K6T6
ST — MCU & Embedded Processors
Product Overview
The STM8L152K6T6 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
STM8L152K6T6: 32 Kbyte ultra-low-power STM8L MCU in LQFP32
STM8L152K6T6 is a 32 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 | STM8L152K6T6 |
| Program Flash | 32 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
The K6 pairs the 32 Kbyte program array with the same 32 pin body as the K4, so it is the natural step when a display product outgrows 16 Kbytes of code. Everything else stays: 29 port pins, 21 converter channels, 2 Kbytes of RAM, 1 Kbyte of EEPROM and the 4 by 17 segment controller with its step up converter. Because the pinout is identical, a firmware image that outgrew the K4 can move to the K6 without touching the board, which is the cheapest kind of upgrade in a product that is already qualified.
The reason a display product outgrows its array is usually language strings and menu tables, not algorithms. On an 8 bit core those tables are byte arrays and they grow with each market added, while the display driver, the key scan and the measurement loop stay the same size. That is why the 32 Kbyte part tends to appear at the second market launch rather than at the first, and why the same board is often built in both memory sizes for different regions.
The measurement side is unchanged from the rest of the family: 12 bit converter with its own VREF pins, 1 Msps on the fast channel, a 12 bit DAC with an output buffer, two comparators that can wake the core, and 350 nA in halt. The 4 channel DMA keeps the ADC moving into RAM while the core handles the display refresh, which is how a 16 MHz part keeps a segment glass and a conversion stream running at the same time without dropping samples.
Where this order code fits
Multi language timers and thermostats, dosing controllers and utility sub meters where the same board is built in two memory sizes for different markets. 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 One Stop BOM Sourcing page. Both list the figures that have to match before a substitute goes on a BOM.
Questions buyers ask
Is the K6 a drop in for the K4? Yes. Same 32 pin package, same pinout, same 2 Kbytes of RAM and the same display controller; only the program array doubles from 16 to 32 Kbytes.
How many comparators does it have? Two. One has a fixed threshold, the other is rail to rail, and both can wake the core from halt, which allows a threshold alarm without running the converter or the clock.
What is the maximum clock? 16 MHz from the internal RC oscillator, the external crystal or an external clock input, with 16 MIPS peak throughput from the Harvard pipeline.
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 BOM Consolidation page sets out the checks that keep a substitute from failing on the bench.