![]() |
|
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. march 2014 docid024330 rev 2 1/127 stm32l15xx6/8/b-a ultra-low-power 32-bit mcu arm ? -based cortex ? -m3, 128kb flash, 32kb sram, 4kb eeprom, lcd, usb, adc, dac datasheet - production data features ? ultra-low-power platform ? 1.65 v to 3.6 v power supply ? -40c to 85c/105c temperature range ? 0.28 a standby mode (3 wakeup pins) ? 1.11 a standby mode + rtc ? 0.44 a stop mode (16 wakeup lines) ? 1.38 a stop mode + rtc ? 10.9 a low-power run mode ? 185 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 ? reset and supply management ? ultra-safe, low-po wer bor (brownout reset) with 5 selectable thresholds ? ultra-low-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 ? usart supported ? development support ? serial wire debug supported ? jtag and trace supported ? up to 83 fast i/os (7 3 i/os 5v tolerant), all mappable on 16 external interrupt vectors ? memories ? up to 128 kb flash with ecc ? up to 32 kb ram ? up to 4 kb of true eeprom with ecc ? 80 byte backup register ? lcd driver for up to 8x40 segments ? support contrast adjustment ? support blinking mode ? step-up converter on board ? rich analog peripherals (down to 1.8 v) ? 12-bit adc 1 msps up to 24 channels ? 12-bit dac 2 channels with output buffers ? 2x ultra-low-power-comparators (window mode and wa ke up capability) ? dma controller 7x channels ? 8x peripherals communication interface ? 1x usb 2.0 (internal 48 mhz pll) ? 3x usart (iso 7816, irda) ? 2x spi 16 mbits/s ? 2x i2c (smbus/pmbus) ? 10x timers: 6x 16-bit with up to 4 ic/oc/pwm channels, 2x 16-bit basic timer, 2x watchdog timers (independent and window) ? up to 20 capacitive sensing channels supporting touchkey, li near and rotary touch sensors ? crc calculation unit, 96-bit unique id table 1. device summary reference part number stm32l151cb-a, stm32l151c8-a, stm32l151c6-a, stm32l151rb-a, stm32l151r8-a, stm32l151r6-a, stm32l151vb-a, stm32l151v8-a stm32l151cbxxa stm32l151c8xxa, stm32l151c6xxa, stm32l151rbxxa, stm32l151r8xxa, stm32l151r6xxa, stm32l151vbxxa, stm32l151v8xxa stm32l152cb-a, stm32l152c8-a, stm32l152c6-a, stm32l152rb-a, stm32l152r8-a, stm32l152r6-a, stm32l152vb-a, stm32l152v8-a stm32l152cbxxa, stm32l152c8xxa, stm32l152c6xxa, stm32l152rbxxa, stm32l152r8xxa, stm32l152r6xxa, stm32l152vbxxa, stm32l152v8xxa lqfp100 14 14 mm lqfp64 10 10 mm lqfp48 7 7 mm ufbga100 7 7 mm tfbga64 5 5 mm ufqfpn48 7 7 mm www.st.com
contents stm32l15xx6/8/b-a 2/127 docid024330 rev 2 contents 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.1 device overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 2.2 ultra-low-power device continuum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.2.1 performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.2.2 shared peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.2.3 common system strategy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.2.4 features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3 functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.1 low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.2 arm cortex-m3 core with mpu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.3 reset and supply management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.3.1 power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.3.2 power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.3.3 voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.3.4 boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.4 clock management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.5 low-power real-time clock and backup registers . . . . . . . . . . . . . . . . . . . 23 3.6 gpios (general-purpose inputs/outputs) . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.7 memories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.8 dma (direct memory access) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.9 lcd (liquid crystal display) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.10 adc (analog-to-digital converter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.10.1 temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.10.2 internal voltage reference (v refint ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.11 dac (digital-to-analog converter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.12 ultra-low-power comparators and reference voltage . . . . . . . . . . . . . . . . 27 3.13 routing interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.14 touch sensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.15 timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 docid024330 rev 2 3/127 stm32l15xx6/8/b-a contents 4 3.15.1 general-purpose timers (tim2, tim3, tim4, tim9, tim10 and tim11) . 29 3.15.2 basic timers (tim6 and tim7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.15.3 systick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.15.4 independent watchdog (iwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.15.5 window watchdog (wwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.16 communication interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.16.1 i2c bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.16.2 universal synchronous/asynchronous receiver transmitter (usart) . . 30 3.16.3 serial peripheral interface (spi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.16.4 universal serial bus (usb) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.17 crc (cyclic redundancy check) calculation unit . . . . . . . . . . . . . . . . . . . 31 3.18 development support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4 pin descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5 memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 6 electrical characteristi cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1 parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1.1 minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1.2 typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1.3 typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1.4 loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1.5 pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1.6 power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.1.7 optional lcd power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.1.8 current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 6.2 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 6.3 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 6.3.1 general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 6.3.2 embedded reset and power control bloc k characteristics . . . . . . . . . . . 56 6.3.3 embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . 58 6.3.4 supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 6.3.5 wakeup time from low power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 6.3.6 external clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 6.3.7 internal clock source charac teristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 6.3.8 pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 contents stm32l15xx6/8/b-a 4/127 docid024330 rev 2 6.3.9 memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 6.3.10 emc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 6.3.11 electrical sensitivity characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 6.3.12 i/o current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 6.3.13 i/o port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 6.3.14 nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 6.3.15 tim timer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 6.3.16 communication interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 6.3.17 12-bit adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 6.3.18 dac electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 6.3.19 temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 6.3.20 comparator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 6.3.21 lcd controller (stm32l152xxxxa only) . . . . . . . . . . . . . . . . . . . . . . . 105 7 package characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 7.1 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 7.2 thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 7.2.1 reference document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 8 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 9 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 docid024330 rev 2 5/127 stm32l15xx6/8/b-a list of tables 6 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. ultra-low-power stm32l15xx6/8/b-a device features and peripheral counts . . . . . . . . . . 11 table 3. functionalities depending on the operating power supply range . . . . . . . . . . . . . . . . . . . . 15 table 4. cpu frequency range depending on dynamic voltag e scaling . . . . . . . . . . . . . . . . . . . . . . 16 table 5. working mode-dependent functionalities (from run/active down to standby) . . . . . . . . . . 17 table 6. vlcd rail decoupling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 7. timer feature comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 8. legend/abbreviations used in the pinout table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 9. stm32l15xx6/8/b-a pin definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 8 table 10. alternate function input/output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 11. voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 12. current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 13. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 14. general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 15. embedded reset and power control block characterist ics. . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 16. embedded internal reference voltage calibration valu es . . . . . . . . . . . . . . . . . . . . . . . . . . 58 table 17. embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 8 table 18. current consumption in run mode, code with data processing running from flash. . . . . . 60 table 19. current consumption in run mode, code wit h data processing running from ram . . . . . . 61 table 20. current consumption in sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 21. current consumption in low power run mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 22. current consumption in low power sleep mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 23. typical and maximum current consumptions in st op mode . . . . . . . . . . . . . . . . . . . . . . . . 65 table 24. typical and maximum current consumptions in standby mode . . . . . . . . . . . . . . . . . . . . . 67 table 25. peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 26. low-power mode wakeup timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 27. high-speed external user clock characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 28. low-speed external user clock characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 29. hse oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 30. lse oscillator characteristics (f lse = 32.768 khz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 31. hsi oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 32. lsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 33. msi oscillator ch aracteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 34. pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 35. ram and hardware registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 36. flash memory and dat a eeprom characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 37. flash memory, data eeprom endurance and data retention . . . . . . . . . . . . . . . . . . . . . . 80 table 38. ems characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 39. emi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 40. esd absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 41. electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 42. i/o current injection susceptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 table 43. i/o static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 table 44. output voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 45. i/o ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 46. nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 47. timx characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 table 48. i 2 c characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 list of tables stm32l15xx6/8/b-a 6/127 docid024330 rev 2 table 49. scl frequency (f pclk1 = 32 mhz, v dd = vdd_i2c = 3.3 v). . . . . . . . . . . . . . . . . . . . . . . . 90 table 50. spi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 51. usb startup time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 table 52. usb dc electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 table 53. usb: full speed electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 table 54. adc clock frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 55. adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 56. adc accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 table 57. r ain max for f adc = 16 mhz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 table 58. dac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 table 59. temperature sensor calibration values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 table 60. temperature sensor characteristic s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2 table 61. comparator 1 characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 table 62. comparator 2 characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 table 63. lcd controller characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 table 64. lqpf100 14 x 14 mm, 100-pin low-profile quad flat package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 table 65. lqfp64 10 x 10 mm 64-pin low-profile quad flat package mechanical data . . . . . . . . . . 111 table 66. lqfp48 7 x 7 mm, 48-pin low-profile quad fl at package mechanical data. . . . . . . . . . . . 114 table 67. ufqfpn48 7 x 7 mm, 0.5 mm pitch, ultra thin fine-pitch quad flat no-lead package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 table 68. ufbga100 7 x 7 x 0.6 mm, 0.5 mm pitch, ultra thin fine-pitch ball grid array package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 table 69. tfbga64 5.0x5.0x1.2 mm, 0.5 mm pitch thin fine-pitch ball grid array package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 table 70. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 table 71. ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 table 72. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 docid024330 rev 2 7/127 stm32l15xx6/8/b-a list of figures 8 list of figures figure 1. ultra-low-power stm32l15xx6/8/b-a block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 figure 2. clock tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 3. stm32l15xvxxxa ufbga100 ballout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 figure 4. stm32l15xvxxxa lqfp100 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 figure 5. stm32l15xrxxxa tfbga64 ballout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 figure 6. stm32l15xrxxxa lqfp64 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 figure 7. stm32l15xcxxxa lqfp48 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 figure 8. stm32l15xcxxxa ufqfpn48 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 figure 9. memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 figure 10. pin loading conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 figure 11. pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 figure 12. power supply scheme. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 figure 13. optional lcd power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 figure 14. current consumption measurement scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 15. high-speed external clock source ac timing diagra m . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 figure 16. low-speed external clock source ac timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 figure 17. hse oscillator circuit diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 figure 18. typical application with a 32.768 khz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 figure 19. i/o ac characteristics definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 figure 20. recommended nrst pin protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 figure 21. i 2 c bus ac waveforms and measurement ci rcuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 figure 22. spi timing diagram - slave mode and cpha = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 figure 23. spi timing diagram - slave mode and cpha = 1 (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 figure 24. spi timing diagram - master mode (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 figure 25. usb timings: definition of data signal rise and fa ll time . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 figure 26. adc accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 figure 27. typical connection diagram using the adc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 figure 28. maximum dynamic current consumption on v ref+ supply pin during adc conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 figure 29. 12-bit buffered /non-buffered dac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 figure 30. lqfp100 14 x 14 mm, 100-pin low-profile quad flat package outline . . . . . . . . . . . . . . . 107 figure 31. recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 figure 32. lqfp100 package top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 figure 33. lqfp64 10 x 10 mm, 64-pin low-profile quad fl at package outline . . . . . . . . . . . . . . . . . 110 figure 34. recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 figure 35. lqfp64 package top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 figure 36. lqfp48 7 x 7 mm, 48-pin low-profile quad flat package outline . . . . . . . . . . . . . . . . . . . 113 figure 37. recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 figure 38. lqfp48/ufqfpn48 package top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 figure 39. ufqfpn48 7 x 7 mm, 0.5 mm pitch, ultra thin fine-pitch quad flat no-lead package outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 figure 40. recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 figure 41. ufbga100 7 x 7 x 0.6 mm, 0.5 mm pitch, ultra thin fine-pitch ball grid array package outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 figure 42. ufbga100 package top view. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 figure 43. tfbga64 - 5.0x5. 0x1.2 mm, 0.5 mm pitch, thin fine-pitch ball grid array package outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 figure 44. tfbga64 package top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 list of figures stm32l15xx6/8/b-a 8/127 docid024330 rev 2 figure 45. recommended pcb design rules for pads (0.5 mm pitch bga) . . . . . . . . . . . . . . . . . . . 122 figure 46. thermal resistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 docid024330 rev 2 9/127 stm32l15xx6/8/b-a introduction 1 introduction this datasheet provides the ordering informat ion and mechanical devic e characteristics of the stm32l151x6/8/b-a and stm32l 152x6/8/b-a ultra-low-power arm ? cortex ? -m3 based microcontrollers product line. the ultra-low-power stm32l15xx6/8/b-a family includes devices in 3 different package types: from 48 to 100 pins. depending on the device chosen, different sets of peripherals are included, the description below gives an ov erview of the complete range of peripherals proposed in this family. these features make the ultra-low-power stm32l15xx6/8/b-a 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 stm32l151x6/8/b-a and stm32l152x 6/8/b-a datasheet should be read in conjunction with the stm32l1xxxx reference manual (rm0038). the document "getting started with stm32l1xxx hardware dev elopment? an3216 gi ves 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 cortex ? -m3 technical reference manual, available from the arm website. figure 1 shows the general block diagram of the device family. caution: this datasheet does not apply to: ? stm32l15xx6/8/b covered by a sepa rate datasheet. description stm32l15xx6/8/b-a 10/127 docid024330 rev 2 2 description the ultra-low-power stm32l15xx6/8/b-a inco rporates the connectivity power of the universal serial bus (usb) with the high-performance arm ? cortex ? -m3 32-bit risc core operating at a 32 mhz frequency, a memory pr otection unit (mpu), high-speed embedded memories (flash memory up to 128 kbytes and ram up to 32 kbytes) and an extensive range of enhanced i/os and peripheral s connected to two apb buses. all devices offer a 12-bit adc, 2 dacs and 2 ultra-low-power comparators, six general- purpose 16-bit timers and two basic time rs, which can be used as time bases. moreover, the stm32l15xx6/8/b-a devices contain standard and advanced communication interfaces: up to two i 2 cs and spis, three usarts and a usb. the stm32l15xx6/8/b-a devices offer up to 20 capacitive sensing chan nels to simply add touch sensing functionality to any application. they also include a real-time clock with sub-second counting and a set of backup registers that remain powered in standby mode. finally, the integrated lcd controller 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 stm32l15xx6/8/b-a operat es 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. it is available in the -40 to +85 c temperature range, extended to 105c in low- power dissipation state. a comprehensive set of power-saving modes allows the design of low-power applications. docid024330 rev 2 11/127 stm32l15xx6/8/b-a description 2.1 device overview table 2. ultra-low-power stm32l15xx6/8/b-a device features and peripheral counts peripheral stm32l15xcxxxa stm32l15xrxxxa stm32l15xvxxxa flash (kbytes) 32 64 128 32 64 128 64 128 data eeprom (kbytes) 4 ram (kbytes) 16 32 32 16 32 32 32 32 timers general- purpose 6 basic 2 communication interfaces spi 2 i 2 c 2 usart 3 usb 1 gpios 37 51/50 (1) 83 12-bit synchronized adc number of channels 1 14 channels 1 20/19 channels (1) 1 24 channels 12-bit dac number of channels 2 2 lcd (stm32l152xxxxa only) com x seg 4x18 4x32/4x31 (1) 8x28/8x27 (1) 4x44 8x40 comparator 2 capacitive sensing channels 13 20 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 temperatures: ?40 to +85 c junction temperature: ?40 to + 105 c packages lqfp48, ufqfpn48 lqfp64, tfbga64 lqfp100, ufbga100 1. for tfbga64 package (instead of pc3 pin there is v ref+ pin). description stm32l15xx6/8/b-a 12/127 docid024330 rev 2 2.2 ultra-low-power device continuum the ultra-low-power family offers a large choice of cores and features. from a proprietary 8- bit core up to the cortex-m3, including the cortex-m0+, the stm8lx and stm32lx series offer the best range of choices to meet your requirements in terms of ultra-low-power features. the stm32 ultra-low-power series is an ideal fit for applications like gas/water meters, keyboard/mouse, or wearable devices for fitness and healthca re. numerous built-in features like lcd drivers, dual-bank memory, low-power run mode, op-amp, aes 128-bit, dac, crystal-less usb and many others, a llow you to build highly cost-optimized applications by reducing the bom. stmicroelectronics as a reliable and long-term manufacturer ensures pin-to-pin compatibility much as possib le between any stm8lx and stm32lx device s and between any of the stm32lx and stm32fx series. th anks to this unprecedented scalability, you can upgrade your existing applications to resp ond to demands for the latest market features and efficiency improvements. 2.2.1 performance all families incorpor ate highly energy-efficient cores with both harvard architecture and pipelined execution: advanced stm8 core fo r stm8l families and ar m 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 and stm32l1xxxx 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 optim ize performance, the stm8l 15xx and stm32l1xxxx families use a common architecture: ? common power supply range from 1.65 v to 3.6 v, (1.65 v at power down only for stm8l15xx devices) ? 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 ? ultra-safe reset: same reset strategy including power-on reset, power-down reset, brownout reset and programmable voltage detector. 2.2.4 features st ultra-low-power continuum al so lies in feature compatibility: ? more than 10 packages with pin count from 20 to 144 pins and size down to 3 x 3 mm ? memory density ranging from 4 to 512 kbytes docid024330 rev 2 13/127 stm32l15xx6/8/b-a functional overview 3 functional overview figure 1 shows the block diagrams. figure 1. ultra-low-power stm3 2l15xx6/8/b-a block diagram 1. af = alternate function on i/o port pin. 0 6 y 9 y dx / d t t ' ?r]? : d ' ? ^ t ?e & e z ^ d ?? & , ? t < |