![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
this is information on a product in full production. october 2014 docid022027 rev 8 1/152 stm32l15xxd ultra-low-power 32b mcu arm ? -based 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 ? -40c to 105c temperature range ? 305 na standby mode (3 wakeup pins) ? 1.15 a standby mode + rtc ? 0.475 a stop mode (16 wakeup lines) ? 1.35 a stop mode + rtc ?11 a low-power run mode ? 230 a/mhz run mode ? 10 na ultra-low i/o leakage ?8 s wakeup time ? core: arm ? cortex ? -m3 32-bit cpu ? from 32 khz up to 32 mhz max ? 33.3 dmips peak (dhrystone 2.1) ? memory protection unit ? up to 34 capacitive sensing channels ? crc calculation unit, 96-bit unique id ? reset and supply management ? low power, ultrasafe bor (brownout reset) with 5 selectable thresholds ? ultralow power por/pdr ? programmable voltage detector (pvd) ? clock sources ? 1 to 24 mhz crystal oscillator ? 32 khz oscillator for rtc with calibration ? high speed internal 16 mhz factory- trimmed rc (+/- 1%) ? internal low power 37 khz rc ? internal multispeed low power 65 khz to 4.2 mhz ? pll for cpu clock and usb (48 mhz) ? pre-programmed bootloader ? usb and usart supported ? serial wire debug, jtag and trace ? up to 116 fast i/os (102 i/os 5v tolerant), all mappable on 16 external interrupt vectors ? memories ? 384 kb flash with ecc (with 2 bank of 192 kb enabling rww capability) ? 48 kb ram ? 12 kb of true eeprom with ecc ? 128 byte backup register ? memory interface controller supporting sram, psram and nor flash ? lcd driver (except stm32l151 line) up to 8x40 segments, contrast adjustment, blinking mode, step-up converter ? rich analog peripherals (down to 1.8v) ? 3x operational amplifier ? 12-bit adc 1 msps up to 40 channels ? 12-bit dac 2 ch with output buffers ? 2x ultra-low-power-comparators (window mode and wake up capability) ? dma controller 12x channels ? 12x peripherals communication interface ? 1x usb 2.0 (internal 48 mhz pll) ? 5x usart ? 3x spi 16 mbits/s (2x spi with i2s) ? 2x i2c (smbus/pmbus) ? 1x sdio interface ? 11x timers: 1x 32-bit, 6x 16-bit with up to 4 ic/oc/pwm channels, 2x 16-bit basic timer, 2x watchdog timers (independent and window) table 1. device summary reference part number stm32l151xd stm32l151qd, stm32l151rd, stm32l151vd, stm32l151zd stm32l152xd stm32l152qd, stm32l152rd, stm32l152vd, stm32l152zd lqfp144 (20 20 mm) lqfp100 (14 14 mm) lqfp64 (10 10 mm) ufbga132 (7 7 mm) wlcsp64 (0.400 mm pitch) www.st.com
contents stm32l15xxd 2/152 docid022027 rev 8 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. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 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 refint ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 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 docid022027 rev 8 3/152 stm32l15xxd contents 5 3.16 touch sensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.17 timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.17.1 general-purpose timers (tim2, tim3, tim4, tim5, tim9, tim10 and tim11) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.17.2 basic timers (tim6 and tim7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.17.3 systick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.17.4 independent watchdog (iwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.17.5 window watchdog (wwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.18 communication interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.18.1 i2c bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.18.2 universal synchronous/asynchronous receiver transmitter (usart) . . 31 3.18.3 serial peripheral interface (spi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.18.4 inter-integrated sound (i2s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.18.5 sdio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.18.6 universal serial bus (usb) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.19 crc (cyclic redundancy check) calculation unit . . . . . . . . . . . . . . . . . . . 32 3.20 development support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.20.1 serial wire jtag debug port (swj-dp) . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.20.2 embedded trace macrocell? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 4 pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 5 memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 6 electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 6.1 parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 6.1.1 minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 6.1.2 typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 6.1.3 typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 6.1.4 loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 6.1.5 pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 6.1.6 power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 6.1.7 optional lcd power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 6.1.8 current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 6.2 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 6.3 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 6.3.1 general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 contents stm32l15xxd 4/152 docid022027 rev 8 6.3.2 embedded reset and power control block characteristics . . . . . . . . . . . 63 6.3.3 embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . 65 6.3.4 supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 6.3.5 wakeup time from low-power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 6.3.6 external clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 6.3.7 internal clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 6.3.8 pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 6.3.9 memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 6.3.10 fsmc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 6.3.11 emc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 6.3.12 electrical sensitivity characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 6.3.13 i/o current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 6.3.14 i/o port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 6.3.15 nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 6.3.16 tim timer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 6.3.17 communications interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 6.3.18 sdio characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 6.3.19 12-bit adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 6.3.20 dac electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 6.3.21 operational amplifier characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 125 6.3.22 temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 6.3.23 comparator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 6.3.24 lcd controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 7 package characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 7.1 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 7.1.1 lqfp144, 20 x 20 mm, 144-pin low-profile quad flat package . . . . . . 130 7.1.2 lqfp100, 14 x 14 mm, 100-pin low-profile quad flat package . . . . . . 133 7.1.3 lqfp64, 10 x 10 mm, 64-pin low-profile quad flat package . . . . . . . . 136 7.1.4 ufbga132, 7 x 7 mm, 132-ball ultra thin, fine-pitch ball grid array package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 7.1.5 wlcsp64, 0.400 mm pitch wafer level chip size package . . . . . . . . . 142 7.2 thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 7.2.1 reference document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 8 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 docid022027 rev 8 5/152 stm32l15xxd contents 5 9 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 list of tables stm32l15xxd 6/152 docid022027 rev 8 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. ultra-low-power stm32l15xxd device features and peripheral counts . . . . . . . . . . . . . . . 12 table 3. functionalities depending on the operating power supply range . . . . . . . . . . . . . . . . . . . . 17 table 4. cpu frequency range depending on dynamic voltage scaling . . . . . . . . . . . . . . . . . . . . . . 18 table 5. functionalities depending on the working mode (from run/active down to standby) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 table 6. timer feature comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 7. legend/abbreviations used in the pinout table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 table 8. stm32l15xxd pin definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 table 9. alternate function input/output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 10. voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 11. current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 12. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 13. general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 14. embedded reset and power control block characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 15. embedded internal reference voltage calibration values . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 16. embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 17. current consumption in run mode, code with data processing running from flash. . . . . . 67 table 18. current consumption in run mode, code with data processing running from ram . . . . . . 68 table 19. current consumption in sleep mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 20. current consumption in low-power run mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 21. current consumption in low-power sleep mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 22. typical and maximum current consumptions in stop mode . . . . . . . . . . . . . . . . . . . . . . . . 72 table 23. typical and maximum current consumptions in standby mode . . . . . . . . . . . . . . . . . . . . . 74 table 24. peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75 table 25. low-power mode wakeup timings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 26. high-speed external user clock characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 27. low-speed external user clock characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 28. hse oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 29. lse oscillator characteristics (f lse = 32.768 khz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 30. hsi oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 table 31. lsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 table 32. msi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 33. pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 34. ram and hardware registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87 table 35. flash memory and data eeprom characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 table 36. flash memory and data eeprom endurance and retention . . . . . . . . . . . . . . . . . . . . . . . 88 table 37. asynchronous non-multiplexed sram/psram/nor read timings . . . . . . . . . . . . . . . . . . 90 table 38. asynchronous non-multiplexed sram/psram/nor write timings . . . . . . . . . . . . . . . . . . 91 table 39. asynchronous multiplexed psram/nor read timings. . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 table 40. asynchronous multiplexed psram/nor write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 table 41. synchronous multiplexed nor/psram read timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 42. synchronous multiplexed psram write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 table 43. synchronous non-multiplexed nor/psram read timings . . . . . . . . . . . . . . . . . . . . . . . . . 98 table 44. synchronous non-multiplexed psram write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 table 45. ems characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 table 46. emi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 table 47. esd absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2 docid022027 rev 8 7/152 stm32l15xxd list of tables 7 table 48. electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 table 49. i/o current injection susceptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 table 50. i/o static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 table 51. output voltage characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 table 52. i/o ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 table 53. nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 table 54. timx characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 table 55. i 2 c characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 09 table 56. scl frequency (f pclk1 = 32 mhz, v dd = vdd_i2c = 3.3 v). . . . . . . . . . . . . . . . . . . . . . . 110 table 57. spi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 table 58. usb startup time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 table 59. usb dc electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 table 60. usb: full speed electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4 table 61. i2s characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 table 62. sdio characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 table 63. adc clock frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 table 64. adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 table 65. adc accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 table 66. maximum source impedance r ain max . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 table 67. dac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 table 68. operational amplifier characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 table 69. temperature sensor calibration values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 table 70. temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 7 table 71. comparator 1 characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 table 72. comparator 2 characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 table 73. lcd controller characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 table 74. lqfp144, 20 x 20 mm, 144-pin low-profile quad flat package mechanical data . . . . . . . 131 table 75. lqpf100, 14 x 14 mm, 100-pin low-profile quad flat package mechanical data . . . . . . . 134 table 76. lqfp64, 10 x 10 mm 64-pin low-profile quad flat package mechanical data. . . . . . . . . . 137 table 77. ufbga132, 7 x 7 mm, 132-ball ultra thin, fine-pitch ball grid array mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 table 78. wlcsp64, 0.400 mm pitch wafer level chip size package mechanical data . . . . . . . . . . 143 table 79. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 table 80. ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 table 81. document revision history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 list of figures stm32l15xxd 8/152 docid022027 rev 8 list of figures figure 1. ultra-low-power stm32l15xxd block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 figure 2. clock tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 3. stm32l15xzd lqfp144 pinout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 figure 4. stm32l15xqd ufbga132 ballout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 figure 5. stm32l15xvd lqfp100 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 figure 6. stm32l15xrd lqfp64 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 figure 7. stm32l15xrd wlcsp64 ballout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 figure 8. memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 figure 9. pin loading conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 figure 10. pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 figure 11. power supply scheme. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 figure 12. optional lcd power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 figure 13. current consumption measurement scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 figure 14. high-speed external clock source ac timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 figure 15. low-speed external clock source ac timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 figure 16. hse oscillator circuit diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 figure 17. typical application with a 32.768 khz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 figure 18. asynchronous non-multiplexed sram/psram/nor read waveforms . . . . . . . . . . . . . . . 89 figure 19. asynchronous non-multiplexed sram/psram/nor write waveforms . . . . . . . . . . . . . . . 90 figure 20. asynchronous multiplexed psram/nor read waveforms. . . . . . . . . . . . . . . . . . . . . . . . . 91 figure 21. asynchronous multiplexed psram/nor write waveforms . . . . . . . . . . . . . . . . . . . . . . . . 92 figure 22. synchronous multiplexed nor/psram read timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 figure 23. synchronous multiplexed psram write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 figure 24. synchronous non-multiplexed nor/psram read timings . . . . . . . . . . . . . . . . . . . . . . . . . 98 figure 25. synchronous non-multiplexed psram write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 figure 26. i/o ac characteristics definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 figure 27. recommended nrst pin protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 figure 28. i 2 c bus ac waveforms and measurement circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 figure 29. spi timing diagram - slave mode and cpha = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 figure 30. spi timing diagram - slave mode and cpha = 1 (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 figure 31. spi timing diagram - master mode (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 figure 32. usb timings: definition of data signal rise and fall time . . . . . . . . . . . . . . . . . . . . . . . . . . 114 figure 33. i 2 s slave timing diagram (philips protocol) (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 figure 34. i 2 s master timing diagram (philips protocol) (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 figure 35. sdio timings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 figure 36. adc accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 figure 37. typical connection diagram using the adc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 figure 38. maximum dynamic current consumption on v ref+ supply pin during adc conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 figure 39. 12-bit buffered /non-buffered dac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 figure 40. lqfp144, 20 x 20 mm, 144-pin low-profile quad flat package outline . . . . . . . . . . . . . . . 130 figure 41. lqfp144 recommended footprint. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 figure 42. lqfp144 package top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 figure 43. lqfp100, 14 x 14 mm, 100-pin low-profile quad flat package outline . . . . . . . . . . . . . . . 133 figure 44. lqfp100 recommended footprint. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 figure 45. lqfp100 package top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 figure 46. lqfp64, 10 x 10 mm, 64-pin low-profile quad flat package outline . . . . . . . . . . . . . . . . . 136 figure 47. lqfp64 recommended footprint. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 7 docid022027 rev 8 9/152 stm32l15xxd list of figures 9 figure 48. lqfp64 package top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 figure 49. ufbga132, 7 x 7 mm, 132-ball ultra thin, fine-pitch ball grid array package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 figure 50. ufbga132 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 figure 51. ufbga132 package top view. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 40 figure 52. wlcsp64, 0.400 mm pitch wafer level chip size package outline . . . . . . . . . . . . . . . . . . 142 figure 53. wlcsp64 package top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 43 figure 54. thermal resistance suffix 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 figure 55. thermal resistance suffix 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 introduction stm32l15xxd 10/152 docid022027 rev 8 1 introduction this datasheet provides the ordering information and mechanical device characteristics of the stm32l15xxd ultra-low-power arm ? cortex ? -m3 based microcontroller product line. stm32l15xxd microcontrollers feature 384 kbytes of flash memory. the ultra-low-power stm32l15xxd devices are available in 5 different package types: from 64 pins to 144 pins. depending on the device chosen, different sets of peripherals are included; the description below gives an overview of the complete range of peripherals proposed in this family. these features make the ultra-low-power stm32l15xxd microcontroller family suitable for a wide range of applications: ? medical and handheld equipment ? application control and user interface ? pc peripherals, gaming, gps and sport equipment ? alarm systems, wired and wireless sensors, video intercom ? utility metering this stm32l15xxd datasheet should be read in conjunction with the stm32l1xxxx reference manual (rm0038). the application note ?getting started with stm32l1xxx hardware development? (an3216) gives a hardware implementation overview. both documents are available from the stmicroelectronics website www.st.com. for information on the arm ? cortex ? -m3 core please refer to the arm ? cortex ? -m3 technical reference manual, available from the www.arm.com website. figure 1 shows the general block diagram of the device family. docid022027 rev 8 11/152 stm32l15xxd description 57 2 description the ultra-low-power stm32l15xxd devices incorporate the connectivity power of the universal serial bus (usb) with the high-performance arm ? cortex ? -m3 32-bit risc core operating at a frequency of 32 mhz (33.3 dmips), a memory protection unit (mpu), high- speed embedded memories (flash memory up to 384 kbytes and ram up to 48 kbytes), a flexible static memory controller (fsmc) interface (for devices with packages of 100 pins and more) and an extensive range of enhanced i/os and peripherals connected to two apb buses. the stm32l15xxd devices offer three operational amplifiers, one 12-bit adc, two dacs, two ultra-low-power comparators, one general-purpose 32-bit timer , six general-purpose 16- bit timers and two basic timers, which can be used as time bases. moreover, the stm32l15xxd devices contain standard and advanced communication interfaces: up to two i2cs, three spis, two i2s, one sdio, three usar ts, two uarts, and an usb. the stm32l15xxd devices offer up to 34 capacitive sensing channels to simply add touch sensing functionality to any application. they also include a real-time clock and a set of backup registers that remain powered in standby mode. finally, the integrated lcd controller (except stm32l151 line) has a built-in lcd voltage generator that allows you to drive up to 8 multiplexed lcds with contrast independent of the supply voltage. the ultra-low-power stm32l15xxd devices operate from a 1.8 to 3.6 v power supply (down to 1.65 v at power down) with bor and from a 1.65 to 3.6 v power supply without bor option. they are available in the -40 to +85 c and -40 to +105 c temperature ranges. a comprehensive set of power-saving modes allows the design of low-power applications. description stm32l15xxd 12/152 docid022027 rev 8 2.1 device overview table 2. ultra-low-power stm32l15xxd device features and peripheral counts peripheral stm32l15xrd stm32l15xvd stm32l15xqd stm32l15xzd flash (kbytes) 384 data eeprom (kbytes) 12 ram (kbytes) 48 fsmc no multiplexed only yes timers 32 bit 1 general- purpose 6 basic 2 communi- cation interfaces spi/(i2s) 3 / (2) i 2 c 2 usart 5 usb 1 sdio 1 gpios 51 83 109 115 operation amplifiers 3 12-bit synchronized adc number of channels 1 21 1 25 1 40 1 40 12-bit dac number of channels 2 2 lcd (stm32l152xx devices only) com x seg 1 4x32 or 8x28 1 4x44 or 8x40 comparators 2 capacitive sensing channels 23 33 34 max. cpu frequency 32 mhz operating voltage 1.8 v to 3.6 v (down to 1.65 v at power-down) with bor option 1.65 v to 3.6 v without bor option operating temperatures ambient operating temperature: -40 c to 85 c / -40 c to 105 c junction temperature: ?40 to + 110 c packages lqfp64, wlcsp64 lqfp100 ufbga132 lqfp144 docid022027 rev 8 13/152 stm32l15xxd description 57 2.2 ultra-low-power device continuum the ultra-low-power family offers a large choice of cores and features. from proprietary 8- bit to up to cortex-m3, including the cortex-m0+, the stm32lx series are the best choice to answer your needs, in terms of ultra-low-power features. the stm32 ultra-low-power series are the best fit, for instance, for gas/water meter, keyboard/mouse or fitness and healthcare, wearable applications. several built-in features like lcd drivers, dual-bank memory, low-power run mode, op-amp, aes 128-bit, dac, usb crystal-less and many others will clearly allow you to build very cost-optimized applications by reducing bom. note: stmicroelectronics as a reliable and long-term manufacturer ensures as much as possible the pin-to-pin compatibility between any stm8lx and stm32lx devices and between any of the stm32lx and stm32fx series. thanks to this unprecedented scalability, your old applications can be upgraded to respond to the latest market features and efficiency demand. 2.2.1 performance all families incorporate highly energy-efficient cores with both harvard architecture and pipelined execution: advanced stm8 core for stm8l families and arm cortex-m3 core for stm32l family. in addition specific care for the design architecture has been taken to optimize the ma/dmips and ma/mhz ratios. this allows the ultra-low-power performance to range from 5 up to 33.3 dmips. 2.2.2 shared peripherals stm8l15xxx, stm32l15xxx and stm32l162xx share identical peripherals which ensure a very easy migration from one family to another: ? analog peripherals: adc, dac and comparators ? digital peripherals: rtc and some communication interfaces 2.2.3 common system strategy. to offer flexibility and optimize performance, the stm8l15xxx, stm32l15xxx and stm32l162xx family uses a common architecture: ? same power supply range from 1.65 v to 3.6 v ? architecture optimized to reach ultra-low consumption both in low-power modes and run mode ? fast startup strategy from low-power modes ? flexible system clock ? ultrasafe reset: same reset strategy including power-on reset, power-down reset, brownout reset and programmable voltage detector description stm32l15xxd 14/152 docid022027 rev 8 2.2.4 features st ultra-low-power continuum also lies in feature compatibility: ? more than 15 packages with pin count from 20 to 144 pins and size down to 3 x 3 mm ? memory density ranging from 2 to 512 kbytes docid022027 rev 8 15/152 stm32l15xxd functional overview 57 3 functional overview figure 1. ultra-low-power stm32l15xxd block diagram 0 6 y 9 3 2 : ( 5 9 2 / 7 5 ( * e l w $ ' & ( ; 7 , 7 : . 8 3 : l q : $ 7 & |