![]() |
|
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. may 2016 docid028798 rev 2 1/149 STM32L432KB stm3l432kc ultra-low-power arm ? cortex ? -m4 32-bit mcu+fpu, 100dmips, up to 256kb flash, 64kb sram, usb fs, analog, audio datasheet - production data features ? ultra-low-power with flexpowercontrol ? 1.71 v to 3.6 v power supply ? -40 c to 85/105/125 c temperature range ? 8 na shutdown mode (2 wakeup pins) ? 28 na standby mode (2 wakeup pins) ? 280 na standby mode with rtc ? 1.0 a stop 2 mode, 1.28 a stop 2 with rtc ? 84 a/mhz run mode ? batch acquisition mode (bam) ? 4 s wakeup from stop mode ? brown out reset (bor) in all modes except shutdown ? interconnect matrix ? core: arm ? 32-bit cortex ? -m4 cpu with fpu, adaptive real-time accelerator (art accelerator?) allowing 0- wait-state execution from flash memory, frequency up to 80 mhz, mpu, 100dmips/1.25dmips/mhz (dhrystone 2.1), and dsp instructions ? performance benchmark ? 1.25 dmips/mhz (drystone 2.1) ? 273.55 coremark ? (3.42 coremark/mhz @ 80 mhz) ? energy benchmark ? 176.7 ulpbench ? score ? clock sources ? 32 khz crystal oscillator for rtc (lse) ? internal 16 mhz factory-trimmed rc (1%) ? internal low-power 32 khz rc (5%) ? internal multispeed 100 khz to 48 mhz oscillator, auto-trimmed by lse (better than 0.25 % accuracy) ? internal 48 mhz wi th clock recovery ? 2 plls for system clock, usb, audio, adc ? rtc with hw calendar, alarms and calibration ? up to 3 capacitive sensing channels ? 11x timers: 1x 16-bit advanced motor-control, 1x 32-bit and 2x 16-bit general purpose, 2x 16- bit basic, 2x low-power 16-bit timers (available in stop mode), 2x watchdogs, systick timer ? up to 26 fast i/os, most 5 v-tolerant ? memories ? up to 256 kb single bank flash, proprietary code readout protection ? 64 kb of sram including 16 kb with hardware parity check ? quad spi memory interface ? rich analog peripherals (independent supply) ? 1 12-bit adc 5 msps, up to 16-bit with hardware oversampling, 200 a/msps ? 2x 12-bit dac, low-power sample and hold ? 1x operational amplifier with built-in pga ? 2x ultra-low-power comparators ? 13x communication interfaces ? usb 2.0 full-speed crystal less solution with lpm and bcd ? 1x sai (serial audio interface) ?2x i2c fm+(1 mbi t/s), smbus/pmbus ? 3x usarts (iso 7816, lin, irda, modem) ? 2x spis (3x spis with the quad spi) ? can (2.0b active) ? swpmi single wire pr otocol master i/f ? irtim (infrared interface) ? 14-channel dma controller ? true random number generator ? crc calculation unit, 96-bit unique id ? development support: serial wire debug (swd), jtag, embedded trace macrocell? ufqfpn32 (5x5) www.st.com
contents STM32L432KB stm3l432kc 2/149 docid028798 rev 2 contents 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3 functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.1 arm ? cortex ? -m4 core with fpu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.2 adaptive real-time memory accelerator (art accelerator?) . . . . . . . . . 13 3.3 memory protection unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.4 embedded flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.5 embedded sram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.6 firewall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.7 boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.8 cyclic redundancy check calculation unit (crc) . . . . . . . . . . . . . . . . . . . 16 3.9 power supply management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.9.1 power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.9.2 power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.9.3 voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.9.4 low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.9.5 reset mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.10 interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.11 clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.12 general-purpose inputs/outputs (gpios) . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.13 direct memory access controller (dma) . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.14 interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.14.1 nested vectored interrupt controller (nvic) . . . . . . . . . . . . . . . . . . . . . . 29 3.14.2 extended interrupt/event controller (exti) . . . . . . . . . . . . . . . . . . . . . . 29 3.15 analog to digital converter (adc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.15.1 temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 3.15.2 internal voltage reference (vrefint) . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.16 digital to analog converter (dac) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.17 comparators (comp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.18 operational amplifier (opamp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 docid028798 rev 2 3/149 STM32L432KB stm3l432kc contents 5 3.19 touch sensing controller (tsc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.20 random number generator (rng) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.21 timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3.21.1 advanced-control timer (tim1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.21.2 general-purpose timers (tim2, tim15, ti m16) . . . . . . . . . . . . . . . . . . . 35 3.21.3 basic timers (tim6 and tim7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 3.21.4 low-power timer (lptim1 and lptim2) . . . . . . . . . . . . . . . . . . . . . . . . 35 3.21.5 infrared interface (irtim) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 3.21.6 independent watchdog (iwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 3.21.7 system window watchdog (wwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 3.21.8 systick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 3.22 real-time clock (rtc) and backup registers . . . . . . . . . . . . . . . . . . . . . . 37 3.23 inter-integrated circuit interface (i 2 c) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 3.24 universal synchronous/asynchronous re ceiver transmitter (usart) . . . 39 3.25 low-power universal asynchronous rece iver transmitter (lpuart) . . . . 40 3.26 serial peripheral interface (spi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 3.27 serial audio interfaces (sai) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 3.28 single wire protocol master interface (swpmi) . . . . . . . . . . . . . . . . . . . . 42 3.29 controller area network (can) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 3.30 universal serial bus (usb) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 3.31 clock recovery system (crs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 3.32 quad spi memory interface (quadspi) . . . . . . . . . . . . . . . . . . . . . . . . . 44 3.33 development support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 3.33.1 serial wire jtag debug port (swj-dp) . . . . . . . . . . . . . . . . . . . . . . . . . 45 3.33.2 embedded trace macrocell? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 4 pinouts and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 5 memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 6 electrical characteristi cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 contents STM32L432KB stm3l432kc 4/149 docid028798 rev 2 6.1.5 pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 6.1.6 power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 6.1.7 current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 6.2 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 6.3 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 6.3.1 general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 6.3.2 operating conditions at power-up / powe r-down . . . . . . . . . . . . . . . . . . 63 6.3.3 embedded reset and power control bloc k characteristics . . . . . . . . . . . 63 6.3.4 embedded voltage reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 6.3.5 supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 6.3.6 wakeup time from low-power modes and voltage scaling transition times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 6.3.7 external clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 6.3.8 internal clock source charac teristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 6.3.9 pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 6.3.10 flash memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 6.3.11 emc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 6.3.12 electrical sensitivity characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 6.3.13 i/o current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 6.3.14 i/o port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 6.3.15 nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 6.3.16 analog switches booster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 6.3.17 analog-to-digital converter characteristi cs . . . . . . . . . . . . . . . . . . . . . 109 6.3.18 digital-to-analog converter characteristi cs . . . . . . . . . . . . . . . . . . . . . 122 6.3.19 comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 6.3.20 operational amplifiers characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 127 6.3.21 temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 6.3.22 timer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 6.3.23 communication interfaces characteristics . . . . . . . . . . . . . . . . . . . . . . 131 7 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 7.1 ufqfpn32 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 7.2 thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 7.2.1 reference document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 8 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 docid028798 rev 2 5/149 STM32L432KB stm3l432kc contents 5 9 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 list of tables STM32L432KB stm3l432kc 6/149 docid028798 rev 2 list of tables table 1. stm32l432kx family device features and peripher al counts. . . . . . . . . . . . . . . . . . . . . . . 10 table 2. access status versus readout protection level and execution modes. . . . . . . . . . . . . . . . . 14 table 3. functionalities depending on the working mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 table 4. stm32l432xx peripherals interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 5. dma implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 6. temperature sensor calibration values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 7. internal voltage reference calibrati on values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 8. timer feature comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 9. i2c implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 10. stm32l432xx usart/lpuart features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 table 11. sai implementation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 12. legend/abbreviations used in the pinout table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 13. stm32l432xx pin definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 14. alternate function af0 to af7 (for af8 to af15 see table 15 ) . . . . . . . . . . . . . . . . . . . . . 50 table 15. alternate function af8 to af15 (for af0 to af7 see table 14 ) . . . . . . . . . . . . . . . . . . . . . 52 table 16. stm32l432xx memory map and peripheral register boundary addresses . . . . . . . . . . . . 55 table 17. voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 18. current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 19. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 table 20. general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 21. operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 22. embedded reset and power control block characterist ics. . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 23. embedded internal voltage reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 5 table 24. current consumption in run and lo w-power run modes, code with data processing running from flash, art enable (cache on prefetch off) . . . . . . . . . . . . . . . . . . . . . . . 68 table 25. current consumption in run and low-power run modes, code with data processing running from flash, art disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 26. current consumption in run and lo w-power run modes, code with data processing running from sram1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 27. typical current consumption in run a nd low-power run modes, with different codes running from flash, art enable (cache on prefetch off) . . . . . . . . . . . . . . . . . . . . . . . 71 table 28. typical current consumption in run a nd low-power run modes, with different codes running from flash, art disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 29. typical current consumption in run a nd low-power run modes, with different codes running from sram1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 30. current consumption in sleep and low-power sleep modes, flash on . . . . . . . . . . . . . . 73 table 31. current consumption in low-power sleep modes, flash in power-down . . . . . . . . . . . . . . 74 table 32. current consumption in stop 2 mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 33. current consumption in stop 1 mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 34. current consumption in stop 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 35. current consumption in standby mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 36. current consumption in shutdown mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 37. peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 38. low-power mode wakeup timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 table 39. regulator modes transition times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 40. wakeup time using usart/lpuart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 41. high-speed external user clock characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 42. low-speed external user clock characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 docid028798 rev 2 7/149 STM32L432KB stm3l432kc list of tables 7 table 43. lse oscillator characteristics (f lse = 32.768 khz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 44. hsi16 oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 45. msi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92 table 46. hsi48 oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 47. lsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 table 48. pll, pllsai1 characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 table 49. flash memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 table 50. flash memory endurance and data retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 table 51. ems characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 table 52. emi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 table 53. esd absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 0 table 54. electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 table 55. i/o current injection susceptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 table 56. i/o static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 table 57. output voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 table 58. i/o ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 table 59. nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 table 60. analog switches booster characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 table 61. adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 table 62. maximum adc rain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 table 63. adc accuracy - limited test conditions 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 table 64. adc accuracy - limited test conditions 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 table 65. adc accuracy - limited test conditions 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 table 66. adc accuracy - limited test conditions 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 table 67. dac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 table 68. dac accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 table 69. comp characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 table 70. opamp characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 table 71. ts characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 table 72. timx characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 table 73. iwdg min/max timeout period at 32 khz (lsi). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 table 74. wwdg min/max timeout value at 80 mhz (pclk). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 table 75. i2c analog filter characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 table 76. spi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 table 77. quad spi characteristics in sdr mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 table 78. quadspi characteristics in ddr mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 table 79. sai characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 table 80. usb electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 table 81. swpmi electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 table 82. ufqfpn32 - 32-pin, 5x5 mm, 0.5 mm pitch ultra thin fine pitch quad flat package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 table 83. package thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 table 84. stm32l432xx ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 table 85. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 list of figures STM32L432KB stm3l432kc 8/149 docid028798 rev 2 list of figures figure 1. stm32l432xx block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 figure 2. power supply overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 figure 3. clock tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 4. stm32l432kx ufqfpn32 pinout (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 figure 5. stm32l432xx memory map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 figure 6. pin loading conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 figure 7. pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 figure 8. power supply scheme. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 figure 9. current consumption measurement scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 figure 10. vrefint versus temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 figure 11. high-speed external clock source ac timing diagra m . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 figure 12. low-speed external clock source ac timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 figure 13. typical application with a 32.768 khz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 figure 14. hsi16 frequency versus temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1 figure 15. typical current consumption versus msi frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 figure 16. hsi48 frequency versus temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 6 figure 17. i/o input characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 figure 18. i/o ac characteristics definition (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 figure 19. recommended nrst pin protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 figure 20. adc accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 figure 21. typical connection diagram using the adc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 figure 22. 12-bit buffered / non-buffered dac. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 figure 23. spi timing diagram - slave mode and cpha = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 figure 24. spi timing diagram - slave mode and cpha = 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 figure 25. spi timing diagram - master mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 35 figure 26. quad spi timing diagram - sdr mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 figure 27. quad spi timing diagram - ddr mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 figure 28. sai master timing waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 figure 29. sai slave timing waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 figure 30. ufqfpn32 - 32-pin, 5x5 mm, 0.5 mm pitch ultra thin fine pitch quad flat package outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 figure 31. ufqfpn32 - 32-pin, 5x5 mm, 0.5 mm pitch ultra thin fine pitch quad flat package recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 figure 32. ufqfpn32 marking (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 docid028798 rev 2 9/149 STM32L432KB stm3l432kc introduction 45 1 introduction this datasheet provides the ordering informat ion and mechanical devic e characteristics of the stm32l432xx microcontrollers. this document should be read in conjun ction with the stm32l4x2 reference manual (rm0393). the reference manual is available from the stmicroelectronics website www.st.com . for information on the arm ? cortex ? -m4 core, please refer to the cortex ? -m4 technical reference manual, available from the www.arm.com website. description STM32L432KB stm3l432kc 10/149 docid028798 rev 2 2 description the stm32l432xx devices are the ultra-low- power microcontrollers based on the high- performance arm ? cortex ? -m4 32-bit risc core operating at a frequency of up to 80 mhz. the cortex-m4 core features a floating point un it (fpu) single precision which supports all arm single-precision data-processing instructions and data types. it also implements a full set of dsp instructions and a memory protec tion unit (mpu) which enhances application security. the stm32l432xx devices embed high-speed memories (flash memory up to 256 kbyte, 64 kbyte of sram), a quad spi flash memories interface and an extensive range of enhanced i/os and peripherals connected to two apb buses, two ahb buses and a 32-bit multi-ahb bus matrix. the stm32l432xx devices embed several pr otection mechanisms for embedded flash memory and sram: readout protection, writ e protection, proprietary code readout protection and firewall. the devices offer a fast 12-bit adc (5 msps), two comparators, one operational amplifier, two dac channels, a low-power rtc, one gene ral-purpose 32-bit timer, one 16-bit pwm timer dedicated to motor control, four genera l-purpose 16-bit timers, and two 16-bit low- power timers. in addition, up to 3 capacitive sensing channels are available. they also feature standard and advanced communication interfaces. ? two i2cs ? two spis ? two usarts and one low-power uart. ? one sai (serial audio interfaces) ? one can ? one usb full-speed device crystal less ? one swpmi (single wire protocol master interface) the stm32l432xx operates in the -40 to +85 c (+105 c junction), -40 to +105 c (+125 c junction) and -40 to +125 c (+130 c junction) temperature ranges from a 1.71 to 3.6 v power supply. a comprehensive set of powe r-saving modes allows the design of low- power applications. some independent power supplies are supported: analog independent supply input for adc, dac, opamps and comparators . the stm32l432xx family offers a single 32-pin package. table 1. stm32l432kx family device features and peripheral counts peripheral stm32l432kx flash memory 256kb sram 64kb quad spi yes docid028798 rev 2 11/149 STM32L432KB stm3l432kc description 45 timers advanced control 1 (16-bit) general purpose 2 (16-bit) 1 (32-bit) basic 2 (16-bit) low -power 2 (16-bit) systick timer 1 watchdog timers (independent, window) 2 comm. interfaces spi 2 i 2 c2 usart lpuart 2 1 sai 1 can 1 usb fs yes (1) swpmi yes rtc yes tamper pins 1 random generator yes gpios wakeup pins 26 2 capacitive sensing number of channels 3 12-bit adcs number of channels 1 10 12-bit dac channels 2 analog comparator 2 operational amplifiers 1 max. cpu frequency 80 mhz operating voltage 1.71 to 3.6 v operating temperature ambient operating temperature: -40 to 85 c / - 40 to 105 c / -40 to 125 c junction temperature: -40 to 105 c / -40 to 125 c / -40 to 130 c packages ufqfpn32 1. there is no vddusb pin. v ddusb is connected internally at v dd . to be functional, v dd must be equal to 3.3 v (+/- 10%). table 1. stm32l432kx family device features and peripheral counts (continued) peripheral stm32l432kx description STM32L432KB stm3l432kc 12/149 docid028798 rev 2 figure 1. stm32l432xx block diagram note: af: alternate function on i/o pins. 0 6 y 9 ) o d v k x s w r . % 8 6 % ) 6 * 3 , 2 3 2 5 7 $ $ + % $ 3 % 3 $ > @ $ 3 % 0 + ] $ 3 % 0 + ] 2 8 7 , 7 ) : : ' * 2 6 & |