STM8L152R8T6
Product Specifications
STM8L152R8T6
ST — MCU & Embedded Processors
Product Overview
The STM8L152R8T6 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
STM8L152R8T6: 64 Kbyte ultra-low-power STM8L MCU in LQFP64
STM8L152R8T6 is a 64 Kbyte Flash member of the STM8L ultra-low-power line in a LQFP64 body (10 by 10 mm), with 4 Kbytes of RAM, 2 Kbyte of data EEPROM, 54 general purpose I/O, 28 channels on the 12 bit converter and 2 channel of 12 bit DAC. The supply range is 1.65 to 3.6 V without brown out reset, 1.8 to 3.6 V with it and the core runs at up to 16 MHz. It also carries a segment LCD controller driving 8x36 or 4x40 segments with step up converter.
Order code and memory
| Order code | STM8L152R8T6 |
| Program Flash | 64 Kbytes |
| Data EEPROM | 2 Kbyte with ECC and read while write |
| RAM | 4 Kbytes |
| Package | LQFP64, 10 by 10 mm |
| Pin count | 64 |
| Maximum general purpose I/O | 54 |
| ADC channels | 28 of the 12 bit converter |
| DAC channels | 2 of 12 bits with output buffer |
| LCD controller | 8x36 or 4x40 segments with step up converter |
| Temperature grade | suffix 6, minus 40 to plus 85 C |
Electrical and peripheral parameters
| Supply voltage | 1.65 to 3.6 V without brown out reset, 1.8 to 3.6 V with it |
| Maximum CPU clock | 16 MHz, 16 MIPS peak |
| Run current | 200 uA per MHz plus 330 uA static |
| Halt current | 400 nA typical |
| Active halt | 1.4 uA typical with the real time clock running |
| Low power modes | 5.9 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, 28 channels, internal reference voltage and temperature sensor on chip |
| Digital to analog converter | 2 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 | three 16 bit general purpose timers, one 16 bit advanced control timer with three channels, one 8 bit timer, beeper timer, window and independent watchdog |
| Serial interfaces | two SPI blocks, one I2C at 400 kHz, three USARTs with ISO 7816 and IrDA |
| DMA | 4 channels covering the ADC, both DAC channels, I2C, SPI1, SPI2, USART1 to USART3 and the five 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 R8 with the display controller is the largest combination the STM8L15x line offers in one package: 64 Kbytes of Flash, 4 Kbytes of RAM, 2 Kbytes of EEPROM, 54 port pins, 28 converter channels, two DAC channels and a segment driver that reaches 8 by 36 or 4 by 40 segments from the internal step up converter. It exists for one kind of product, a wall mounted instrument with a large glass, a real analog front end and a serial link to a building system, and it is usually the last part a product team looks at before deciding the 8 bit platform is no longer enough.
Glass size drives the pin budget here more than anything else. A 4 by 40 multiplexed display uses 44 segment and common outputs, which on a 48 pin body would leave nothing for the analog side, while the 64 pin body still gives 28 converter channels and three USARTs. The duty ratio also sets the bias levels, and the step up converter has to supply the difference between the battery and the glass voltage, so the current drawn by the display in active halt is part of the 1.4 uA figure only when the converter is configured for the lowest bias that keeps contrast.
Memory is comfortable by 8 bit standards but the programming model is not: 4 Kbytes of RAM is shared by the stack, the display buffer, the metrology history and any protocol queue, and the segment controller keeps its own display data in RAM as well. A 64 Kbyte image with a menu tree and a calibration table is realistic, but the linker script should reserve the display buffer explicitly instead of letting it float with the stack, which is the classic cause of a display that corrupts itself under an interrupt storm.
Where this order code fits
Building controllers with a large multiplexed glass, boiler and burner management panels, analyzer front panels and any wall instrument that needs 40 or more segment outputs plus a 12 bit measurement path. 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 this body drive? 8 by 36 or 4 by 40 depending on the duty ratio, with the internal step up converter supplying the bias. The 48 pin C8 body stops at 8 by 24 or 4 by 28.
Is the R8 pin compatible with the R6? Yes. Same 64 pin package and pinout, with 64 Kbytes of Flash, 4 Kbytes of RAM and 2 Kbytes of EEPROM against 32 Kbytes, 2 Kbytes and 1 Kbyte on the R6.
What are the two DAC channels for? A 12 bit converter with output buffers on both channels, sharing VREF+ with the ADC, which suits a 4 to 20 mA loop drive plus a separate reference or setpoint output.
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.