STM8L151K6T6
Product Specifications
STM8L151K6T6
ST — MCU & Embedded Processors
Product Overview
The STM8L151K6T6 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
STM8L151K6T6: 32 Kbyte ultra-low-power STM8L MCU in LQFP32
STM8L151K6T6 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, 30 general purpose I/O, 22 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. This order code has no LCD controller, so every port pin belongs to the application.
Order code and memory
| Order code | STM8L151K6T6 |
| 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 | 30 |
| ADC channels | 22 of the 12 bit converter |
| DAC channels | 1 of 12 bits with output buffer |
| LCD controller | not present on this order code |
| 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, 22 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 largest program array available on the 32 pin body of the medium density family: 32 Kbytes of Flash with 2 Kbytes of RAM. A 32 Kbyte image is a serious application on an 8 bit core, and the limit that arrives first is not the code space but the 2 Kbyte stack and buffer budget, especially once a bootloader is reserved and an interrupt driven serial protocol is added. Teams migrating from an STM8S part with 6 Kbytes of RAM feel that difference immediately and should size the buffers from the RAM figure, not from the Flash figure.
The part carries one USART, one SPI and one I2C block, and the 22 analog channels are multiplexed across the port pins. When the application needs the USART for a host link, the SPI for a radio and the I2C for a sensor at the same time, all three are available; what is not available is a second USART, which is why boards that need two independent serial links usually move to the 64 Kbyte members. Deciding that at the board planning stage is far cheaper than discovering it after the first prototype.
For a metering or sensing product the useful combination here is the 300 kcycle data EEPROM with read while write, the 12 bit converter with its own reference pins, and the two comparators that can wake the core from halt without a conversion. A comparator wake on a threshold crossing costs far less than waking on a timer and running the ADC, and it is the standard way to keep a battery powered threshold detector below a few microamps average.
Where this order code fits
Metering modules, wireless sensor endpoints, low power valve and relay controllers and portable instruments that need 32 Kbytes of code in a 32 pin package. 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 BOM Shortage Recovery page. Both list the figures that have to match before a substitute goes on a BOM.
Questions buyers ask
Is 2 Kbytes of RAM enough for a wireless stack? For a simple proprietary protocol with a 64 byte payload, yes, if the buffers are static and the stack depth is bounded. For a full mesh stack with retransmission queues the 4 Kbyte members of this family are the safer starting point.
What is the EEPROM endurance? 300 kcycles for the data array, against 10 kcycles for the program array. The EEPROM keeps its contents for 30 years at 85 C after cycling, and it is a separate array, not emulated Flash.
Does it have a bootloader? Yes, a USART bootloader in system memory plus a 96 bit unique ID and the single wire interface module for programming and debug.
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 Obsolete RF Part Replacement page sets out the checks that keep a substitute from failing on the bench.