STM32L152RBT6
Product Specifications
STM32L152RBT6
ST — MCU & Embedded Processors
Product Overview
The STM32L152RBT6 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
STM32L152RBT6: 128 Kbyte, LQFP64 body
STM32L152RBT6 is a member of the STM32L151x6/8/B and STM32L152x6/8/B low power line described by DocID17659 Rev 12. The order code fixes 128 Kbytes of Flash, 16 Kbytes of SRAM, the LQFP64 body at 10 x 10 mm with 64 pins, 51 general purpose I/O and 20 analog channels, and the core runs at up to 32 MHz from a 1.65 to 3.6 V with the brownout reset enabled, 1.8 to 3.6 V without it and down to 1.65 V in power down supply.
Order code and memory
| Order code | STM32L152RBT6 |
| Program Flash | 128 Kbytes |
| SRAM | 16 Kbytes |
| Data EEPROM | 4 Kbytes with ECC |
| Package | LQFP64, 10 x 10 mm, 64 pins |
| Maximum general purpose I/O | 51 |
| Analog input channels | 20 channels on the 12 bit converter |
| Digital to analog converter | 2 channels of 12 bits |
| Segment LCD driver | 4x32 or 8x28 segments |
| Supply voltage | 1.65 to 3.6 V with the brownout reset enabled, 1.8 to 3.6 V without it and down to 1.65 V in power down |
| Maximum CPU clock | 32 MHz |
| Temperature grade | suffix 6, minus 40 to plus 85 C ambient |
| Datasheet | DocID17659 Rev 12 |
Peripheral and electrical parameters
| Core | ARM Cortex-M3 at up to 32 MHz, 1.25 DMIPS per MHz, memory protection unit |
| Clock sources | 1 to 24 MHz crystal oscillator, 32 kHz oscillator for the RTC with calibration, 16 MHz factory trimmed internal RC trimmed to plus or minus 1 percent, internal 37 kHz low power RC, internal multispeed 65 kHz to 4.2 MHz RC, and a PLL that also produces the 48 MHz USB clock |
| Low power modes | 214 microamps per MHz in Run mode, 9 microamps in Low power run, 1.2 microamps in Stop with the RTC, 0.9 microamps in Standby with the RTC and 10 nanoamps of I/O leakage, with wakeup from Stop under 8 microseconds |
| Timers | ten timers: six 16 bit timers with up to four compare channels each, two 16 bit basic timers and the independent and window watchdogs, plus the SysTick counter and the RTC |
| Serial interfaces | two SPI blocks at 16 Mbit/s, two I2C blocks with SMBus and PMBus, three USARTs with ISO 7816 and IrDA support and one USB 2.0 device port clocked from the internal PLL |
| Analog | one 12 bit ADC at 1 Msps, two 12 bit DAC channels with output buffers and two ultra low power comparators that double as a wakeup source, with capacitance sensing on up to 20 channels |
| Memory interface | not present on this body |
| Flash and EEPROM endurance | program memory rated 10 kcycles minimum over minus 40 to plus 105 C with 300 kcycles typical, EEPROM 30 kcycles minimum with 300 typical, and 30 years of retention at 85 C against 10 years at 105 C |
| Thermal resistance junction to ambient | 45 C/W on LQFP64 |
| Input tolerance | 5 V tolerant on 73 of the 83 I/O of the 100 pin body, all mappable on 16 external interrupt vectors |
| Debug port | serial wire debug on two pins and JTAG on five, with the trace port sharing low order port bits |
| Backup domain | the VBAT domain keeps the RTC and the backup registers alive with the main rail off |
| Status | full production per the datasheet cover |
Points to check before this part goes on a BOM
The order code is R for 64 pins, B for 128 Kbytes of Flash, T for the LQFP body and 6 for the industrial range. The 152 prefix is the part that carries the LCD driver, so the same memory and pinout in a 151 part has no segment output at all and cannot be substituted for a display board.
The driver offers 4x32 or 8x28 segments. Both use 36 pins, but the 8x28 arrangement reaches 224 segments against 128 in the 4x32 arrangement, at the cost of eight backplane levels, a narrower viewing angle and a bias network that has to be right for the glass rather than for the pin count.
16 Kbytes of SRAM against 10 Kbytes on the 64 Kbyte codes is the difference between a firmware image that keeps its segment map, its calibration table and a serial buffer in RAM and one that has to page them from flash. The extra 6 Kbytes cost nothing in board area because the package is the same.
The LQFP64 is rated 45 C/W junction to ambient, so an 85 C ambient against a 105 C junction leaves 444 mW. A segment LCD draws microamps from the part, so the thermal question on this board is almost always the backlight or the relay driver next to it, not the microcontroller.
1.2 microamps in Stop with the RTC keeps the clock and the backup registers alive while the display is blank, and 0.9 microamps in Standby covers the case where the meter only wakes on a pulse input. Both figures assume the display is off, which is why the glass drive and the low power budget have to be decided together.
The contrast adjustment is done in firmware and the VLCD pin can be fed from the rail or from an external divider. The step-up converter that holds contrast as the battery falls belongs to the STM32L151xC and xD documents, so a board that must keep the glass readable at 2.0 V has to check which document it is buying from.
Twenty analog channels share pins with the 36 the display takes on the 64 pin body, and the two sets overlap on port C. A meter that wants a full 4x32 glass plus sixteen sensor inputs does not fit this package, and the arithmetic has to be done before the board is frozen rather than after it.
The upward step in the same document is VBT6, 128 Kbytes in the 100 pin LQFP with 83 I/O and 4x44 or 8x40 segments. The downward step is CBT6, the same memory in 48 pins with 4x18 segments. Only the 100 pin body carries the larger glass without giving up sensor pins.
Where this order code fits
It is the 128 Kbyte member with the glass driver, so it lands on utility meters, thermostats and panel instruments that show a segment display and still need 20 analog inputs. Boards weighing it against a neighbouring density or pin count start from our MCU Cross Reference page, and boards replacing a line that has gone end of life start from the Pin to Pin Cross Reference page. Both list the figures that have to match before a substitute goes on a BOM.
Questions buyers ask
Can this part drive a 4x32 glass and 20 analog inputs at once? No. The display takes 36 pins and 20 analog channels sit on the same ports, so the 64 pin body cannot do both. VBT6 in the 100 pin body is where the larger glass and the full channel count coexist.
What is the difference between the 4x32 and 8x28 modes? Both use 36 pins. The 4x32 mode gives 128 segments with four backplanes, the 8x28 mode gives 224 segments with eight, so the choice is segment count against viewing angle and bias complexity.
Is 16 Kbytes of SRAM enough for a meter application? For a segment meter with a calibration table, a pulse counter and a serial stack, yes. A board that renders graphics or stores a long event log needs the xC or xD density, where the RAM goes to 32 and 48 Kbytes.
How is the part replaced if it is short? STM32L151RBT6 is the same memory and pinout without the glass driver, and STM32L152RCT6 is the 256 Kbyte version in the xC document. Both keep the 64 pin footprint, so the substitution question is the peripherals and not the geometry.
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 One Stop BOM Sourcing page sets out the checks that keep a substitute from failing on the bench.