STM8L151K4T6 — 8-bit MCU with integrated analog and low-power operation
The STM8L151K4T6 is an 8-bit MCU from ST's STM8L EnergyLite series, built around the STM8 core and clocked at 16 MHz. It packs 16 KB of Flash program memory, 2 KB of SRAM, and 1 KB of EEPROM in a 32-pin LQFP package, with 30 general-purpose I/O lines.
16 MHz core — enough for most 8-bit control and sensor tasks
The STM8 core runs at 16 MHz, adequate for sensor reading, PWM output, and serial communication.
The 2 KB SRAM is tight for buffering large serial packets; plan to use the 1 KB EEPROM for configuration parameters that survive resets without wearing the Flash. The EEPROM is a separate array, so you don't need to manage Flash sector erase for calibration data.
Analog integration — 22-channel 12-bit ADC plus one 12-bit DAC
The 22-channel 12-bit ADC covers multiple sensor inputs — thermistors, potentiometers, current shunts — without an external mux. The single 12-bit DAC can generate an analog setpoint or bias voltage. For designs needing more than one analog output, an external DAC or PWM-plus-filter will be needed.
IrDA is also on board for wireless IR communication.
Package and footprint — 32-LQFP
Housed in a 32-lead LQFP (7x7 mm body, 0.8 mm pitch), surface-mount only. The fine pitch requires careful PCB layout — typical 0.3 mm trace width and 0.3 mm clearance between pads.
Lifecycle — active, no end-of-life risk
The part is RoHS3 compliant.
