STM32L151xD STM32L152xD Ultra-low-power 32-bit MCU ARM Cortex -M3, 384KB Flash, 48KB SRAM, 12KB EEPROM, LCD, USB, ADC, DAC, memory I/F Datasheet - production data Features Ultra-low-power platform 1.65 V to 3.6 V power supply LQFP144 (20 20 mm) UFBGA132 WLCSP64 LQFP100 (14 14 mm) (7 7 mm) (0.4 mm pitch) -40C to 105C temperature range LQFP64 (10 10 mm) 305 nA Standby mode (3 wakeup pins) Up to 116 fast I/Os (102 I/Os 5V tolerant), all 1.15 A Standby mode + RTC mappable on 16 external interrupt vectors 0.475 A Stop mode (16 wakeup lines) Memories 1.35 A Stop mode + RTC 384 KB Flash with ECC (with 2 banks of 192 KB enabling Rww capability) 11 A Low-power run mode 48 KB RAM 230 A/MHz Run mode 12 KB of true EEPROM with ECC 10 nA ultra-low I/O leakage 128 byte backup register 8 s wakeup time Memory interface controller supporting Core: ARM Cortex -M3 32-bit CPU SRAM, PSRAM and NOR Flash From 32 kHz up to 32 MHz max LCD driver (except STM32L151xD devices) up to 8x40 segments, contrast adjustment, 33.3 DMIPS peak (Dhrystone 2.1) blinking mode, step-up converter Memory protection unit Rich analog peripherals (down to 1.8V) Up to 34 capacitive sensing channels 3x operational amplifiers 12-bit ADC 1 Msps up to 40 channels CRC calculation unit, 96-bit unique ID 12-bit DAC 2 ch with output buffers Reset and supply management 2x ultra-low-power-comparators Low-power, ultrasafe BOR (brownout reset) (window mode and wakeup capability) with 5 selectable thresholds DMA controller 12x channels Ultra-low-power POR/PDR 12x peripheral communication interfaces Programmable voltage detector (PVD) 1x USB 2.0 (internal 48 MHz PLL) 5x USARTs Clock sources Up to 8x SPIs (2x I2S, 3x 16 Mbit/s) 1 to 24 MHz crystal oscillator 2x I2Cs (SMBus/PMBus) 32 kHz oscillator for RTC with calibration 1x SDIO interface High Speed Internal 16 MHz factory- 11x timers: 1x 32-bit, 6x 16-bit with up to 4 trimmed RC (+/- 1%) IC/OC/PWM channels, 2x 16-bit basic timers, Internal low-power 37 kHz RC 2x watchdog timers (independent and window) Internal multispeed low-power 65 kHz to Table 1. Device summary 4.2 MHz PLL for CPU clock and USB (48 MHz) Reference Part number Pre-programmed bootloader STM32L151QD, STM32L151RD, STM32L151xD USB and USART supported STM32L151VD, STM32L151ZD Serial wire debug, JTAG and trace STM32L152QD, STM32L152RD, STM32L152xD STM32L152VD, STM32L152ZD February 2016 DocID022027 Rev 11 1/154 This is information on a product in full production. www.st.comContents STM32L151xD STM32L152xD Contents 1 Introduction . 10 2 Description 11 2.1 Device overview 12 2.2 Ultra-low-power device continuum 13 2.2.1 Performance . 13 2.2.2 Shared peripherals 13 2.2.3 Common system strategy 14 2.2.4 Features . 14 3 Functional overview 15 3.1 Low-power modes 16 3.2 ARM Cortex -M3 core with MPU 20 3.3 Reset and supply management 21 3.3.1 Power supply schemes . 21 3.3.2 Power supply supervisor 21 3.3.3 Voltage regulator 22 3.3.4 Boot modes 22 3.4 Clock management . 23 3.5 Low-power real-time clock and backup registers . 25 3.6 GPIOs (general-purpose inputs/outputs) . 25 3.7 Memories . 26 3.8 FSMC (flexible static memory controller) . 26 3.9 DMA (direct memory access) 26 3.10 LCD (liquid crystal display) 27 3.11 ADC (analog-to-digital converter) . 27 3.11.1 Temperature sensor 27 3.11.2 Internal voltage reference (V ) . 28 REFINT 3.12 DAC (digital-to-analog converter) . 28 3.13 Operational amplifier 28 3.14 Ultra-low-power comparators and reference voltage 29 3.15 System configuration controller and routing interface . 29 2/154 DocID022027 Rev 11