STM8L152C4T6
Product Specifications
STM8L152C4T6
ST — MCU & Embedded Processors
Product Overview
The STM8L152C4T6 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
STM8L152C4T6: 16 Kbyte ultra-low-power STM8L MCU in LQFP48
STM8L152C4T6 is a 16 Kbyte Flash member of the STM8L ultra-low-power line in a LQFP48 body (7 by 7 mm), with 2 Kbytes of RAM, 1 Kbyte of data EEPROM, 41 general purpose I/O, 25 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 4x28 segments with step up converter.
Order code and memory
| Order code | STM8L152C4T6 |
| Program Flash | 16 Kbytes |
| Data EEPROM | 1 Kbyte with ECC and read while write |
| RAM | 2 Kbytes |
| Package | LQFP48, 7 by 7 mm |
| Pin count | 48 |
| Maximum general purpose I/O | 41 |
| ADC channels | 25 of the 12 bit converter |
| DAC channels | 1 of 12 bits with output buffer |
| LCD controller | 4x28 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, 25 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 L152C4 is the glass driving member of the medium density line: same 48 pins and the same 16 Kbytes of Flash as the L151C4, with a segment LCD controller that drives 4 by 28 segments from an internal step up converter, so the display keeps contrast while the battery falls below 2 V. For a utility meter or a thermostat this is the whole reason to pick the L152 over the L151, and the controller runs in active halt, which lets the core sleep while the glass stays refreshed.
The cost of that controller is pin count, and it is not zero. On the 32 pin body the LCD version gives up one port pin and one converter channel against the L151, because the segment and common outputs take over pins that would otherwise reach the ADC. On the 48 pin body both versions keep 41 I/O and 25 channels, so the full segment count of 4 by 28 fits without borrowing from the analog front end. That asymmetry is worth knowing before choosing a package for a display product.
Sixteen Kbytes is enough for a meter application once the display driver, the metrology loop and the protocol are counted, but only if the code is written for an 8 bit core and the floating point work is kept out of the interrupt path. The 2 Kbytes of RAM is the tighter constraint: a segment buffer, a receive buffer and a stack for nested interrupts have to fit in it together, and the LCD controller keeps its own data registers in RAM as well.
Where this order code fits
Utility meters with segment glass, thermostats, heating controllers and any battery product whose display has to stay legible down to 1.8 V. 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 Medical Device Components page. Both list the figures that have to match before a substitute goes on a BOM.
Questions buyers ask
How many segments can the display driver handle? Up to 4 by 28 segments on the 48 pin body, with the step up converter providing the contrast voltage. The 32 pin L152 bodies are limited to 4 by 17 segments.
Does the display keep running in halt? Yes, active halt keeps the LCD controller and the real time clock alive at 1.3 uA typical, so the glass refreshes while the core is stopped.
Can the same board take the L151C4 instead? Yes on pinout and package, but the display outputs would then be plain I/O and the glass would need an external driver. The two order codes are interchangeable only for products without a segment display.
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.