STM32L151R8T6
Product Specifications
STM32L151R8T6
ST — MCU & Embedded Processors
Product Overview
The STM32L151R8T6 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
STM32L151R8T6: 64 Kbyte, LQFP64 body
STM32L151R8T6 is a member of the STM32L151x6/8/B and STM32L152x6/8/B low power line described by DocID17659 Rev 12. The order code fixes 64 Kbytes of Flash, 10 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 | STM32L151R8T6 |
| Program Flash | 64 Kbytes |
| SRAM | 10 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 | not present |
| Segment LCD driver | not present on this part |
| 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, 8 for 64 Kbytes of Flash, T for the LQFP body and 6 for the industrial range. The 10 Kbytes of SRAM and the 4 Kbytes of EEPROM are set by the density and do not appear anywhere in the string, which is the usual reason two near identical order codes get mixed on a requisition.
51 general purpose I/O out of 64 pins leaves 13 pins for the supply pins, the ground pins, the reset, the crystal and the boot select. That ratio is why this body is the common choice for instrument boards: the 100 pin body reaches 83 I/O but doubles the footprint, and the 48 pin body drops to 37.
Twenty analog channels against fourteen on the 48 pin body is the practical reason to take this package when the sensor count passes ten. The converter itself is the same 1 Msps 12 bit block, so the difference is bonded inputs and not resolution, and the extra channels keep arriving as the sensor list grows during a project.
The LQFP64 is rated 45 C/W junction to ambient, which is 444 mW at an 85 C ambient against a 105 C junction. That is 80 mW more than the same die in the 48 pin body and it is the only thermal argument for the larger package on a board with no heavy I/O load.
1.2 microamps in Stop with the RTC works out at 10.5 mAh over a year, and the 9 microamps Low power run mode matters more than it looks: an application that wakes every second and does its work at 2 MHz stays in that mode and averages far below the 214 microamps per MHz Run mode figure.
The USB port takes its 48 MHz clock from the PLL. The PLL can be driven by the internal 16 MHz RC, which is trimmed to plus or minus 1 percent at 25 C but drifts further over temperature, so a link that has to enumerate reliably is normally built with a 4 to 16 MHz crystal on the high speed oscillator.
Capacitance sensing reaches 20 channels on this body and needs no external controller, which is how a membrane keypad with a rotary wheel is often built on this part. The sensing is a firmware and pin assignment question rather than a hardware block, so the channels share pins with the analog inputs and have to be budgeted together.
The pin compatible step up in the same document is RBT6 with 128 Kbytes of Flash and 16 Kbytes of SRAM. It is the drop in for a firmware image that outgrew 64 Kbytes, while the 48 pin codes are not, because the port set differs and the pinout does not line up pin for pin.
Where this order code fits
It is the 64 Kbyte, 64 pin member and suits control boards that need twenty analog inputs and a wider set of serial ports than a 48 pin body can expose. 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 How to Verify a Drop in Replacement page. Both list the figures that have to match before a substitute goes on a BOM.
Questions buyers ask
What replaces R8T6 when the firmware outgrows 64 Kbytes? STM32L151RBT6 in the same document, same 64 pin LQFP, with 128 Kbytes of Flash and 16 Kbytes of SRAM. The pinout and the peripherals are unchanged, so the board does not move.
How many 5 V tolerant pins are there? On the 100 pin body 73 of the 83 I/O are 5 V tolerant. The 64 pin body carries the same port structure minus the pins it does not bond out, so the tolerant pins are the same pins and the count scales with the body.
Does the part need an external crystal? Not for the core. The 16 MHz internal RC runs the PLL and the part boots without any external component. A crystal is needed where the USB link must enumerate over temperature or where the RTC has to hold time to seconds per month.
Is the EEPROM erased by a firmware update? No. Data EEPROM and program flash are separate arrays, so a bootloader that erases the program area leaves the 4 Kbytes of EEPROM and the calibration constants stored there untouched.
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 Part Cross Reference Hub page sets out the checks that keep a substitute from failing on the bench.