![]() |
|
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. december 2015 docid026415 rev 4 1/184 stm32f303xd stm32f303xe arm ? cortex ? -m4 32b mcu+fpu, up to 512kb flash, 80kb sram, fsmc, 4 adcs, 2 dac ch., 7 comp, 4 op-amp, 2.0-3.6 v datasheet - production data features ? core: arm ? cortex ? -m4 32-bit cpu with 72 mhz fpu, single-cycle multiplication and hw division, 90 dm ips (from ccm), dsp instruction and mpu (memory protection unit) ? operating conditions: ?v dd , v dda voltage range: 2.0 v to 3.6 v ? memories ? up to 512 kbytes of flash memory ? 64 kbytes of sram, with hw parity check implemented on the first 32 kbytes. ? routine booster: 16 kbytes of sram on instruction and data bus, with hw parity check (ccm) ? flexible memory controller (fsmc) for static memories, with four chip select ? crc calculation unit ? reset and supply management ? power-on/power-down reset (por/pdr) ? programmable voltage detector (pvd) ? low power modes: sleep, stop and standby ?v bat supply for rtc and backup registers ? clock management ?4 to 32 mhz crystal oscillator ? 32 khz oscillator for rtc with calibration ? internal 8 mhz rc with x 16 pll option ? intern al 40 khz oscillator ? up to 115 fast i/os ? all mappable on external interrupt vectors ? several 5 v-tolerant ? interconnect matrix ? 12-channel dma controller ? four adcs 0.20 s (up to 40 channels) with selectable resolution of 12/10/8/6 bits, 0 to 3.6 v conversion range, separate analog supply from 2.0 to 3.6 v ? two 12-bit dac channels with analog supply from 2.4 to 3.6 v ? seven ultra-fast rail-to-rail analog comparators with analog supply from 2.0 to 3.6 v ? four operational amplifiers that can be used in pga mode, all terminals accessible with analog supply from 2.4 to 3.6 v ? up to 24 capacitive sensing channels supporting touchkey, linear and rotary touch sensor s ? up to 14 timers ? one 32-bit timer and two 16-bit timers with up to four ic/oc/pwm or pulse counter and quadrature (incremental) encoder input ? three 16-bit 6-channel advanced-control timers, with up to six pwm channels, deadtime generation and emergency stop ? one 16-bit timer with two ic/ocs, one ocn/pwm, deadtime generation and emergency stop ? two 16-bit timers with ic/oc/ocn/pwm, deadtime generation and emergency stop ? two watchdog timers (independent, window) ? one systick timer: 24-bit downcounter ? two 16-bit basic timers to drive the dac ? calendar rtc with alarm, periodic wakeup from stop/standby ? communication interfaces ? can interface (2.0b active) ? three i 2 c fast mode plus (1 mbit/s) with 20 ma current sink, smbus/pmbus, wakeup from stop ? up to five usart/uarts (iso 7816 interface, lin, irda, modem control) ? up to four spis, 4 to 16 programmable bit frames, two with multiplexed half/full duplex i2s interface ? usb 2.0 full speed interface with lpm support ? infrared transmitte r ? swd, cortex ? -m4 with fpu etm, jtag ? 96-bit unique id table 1. device summary reference part number stm32f303xd STM32F303RD, stm32f303vd, stm32f303zd. stm32f303xe stm32f303re, stm32f303ve, stm32f303ze. lqfp64 lqfp100 lqfp144 ufbga100 (10 10 mm) (14 14 mm) (20 x 20 mm) ) % * $ (7 x 7 mm) wlcsp100 ( 4.775 x 5.041 mm ) www.st.com
contents stm32f303xd stm32f303xe 2/184 docid026415 rev 4 contents 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3 functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.1 arm ? cortex ? -m4 core with fpu with embedded flash and sram . . . 15 3.2 memory protection unit (mpu) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.3 embedded flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.4 embedded sram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.5 boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.6 cyclic redundancy check (crc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.7 power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.7.1 power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.7.2 power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.7.3 voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.7.4 low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.8 interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.9 clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.10 general-purpose input/outputs (gpios) . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.11 direct memory access (dma) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.12 flexible static memory controller (fsmc) . . . . . . . . . . . . . . . . . . . . . . . . 21 3.13 interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.13.1 nested vectored interrupt controller (nvic) . . . . . . . . . . . . . . . . . . . . . . 22 3.14 fast analog-to-digital converter (adc) . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.14.1 temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.14.2 internal voltage reference (v refint ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.14.3 v bat battery voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.14.4 opamp reference voltage (vrefopamp) . . . . . . . . . . . . . . . . . . . . . . 23 3.15 digital-to-analog converter (dac) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.16 operational amplifier (opamp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.17 ultra-fast comparators (comp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.18 timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 docid026415 rev 4 3/184 stm32f303xd stm32f303xe contents 4 3.18.1 advanced timers (tim1, tim8, tim20) . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.18.2 general-purpose timers (tim2, tim3, tim4, tim15, tim16, tim17) . . 26 3.18.3 basic timers (tim6, tim7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.18.4 independent watchdog (iwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.18.5 window watchdog (wwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.18.6 systick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.19 real-time clock (rtc) and backup registers . . . . . . . . . . . . . . . . . . . . . . 27 3.20 inter-integrated circuit interface (i2c) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.21 universal synchronous/asynchronous re ceiver transmitter (usart) . . . 29 3.22 universal asynchronous receiver transmitter (uart) . . . . . . . . . . . . . . . 30 3.23 serial peripheral interface (spi)/inter-integrated sound interfaces (i2s) . 31 3.24 controller area network (can) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.25 universal serial bus (usb) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.26 infrared transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.27 touch sensing controller (tsc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.28 development support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.28.1 serial wire jtag debug port (swj-dp) . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.28.2 embedded trace macrocell ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 4 pinouts and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 5 memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 6 electrical characteristi cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 6.1 parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 6.1.1 minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 6.1.2 typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 6.1.3 typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 6.1.4 loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 6.1.5 pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 6.1.6 power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 6.1.7 current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 6.2 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 6.3 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 6.3.1 general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 6.3.2 operating conditions at power-up / powe r-down . . . . . . . . . . . . . . . . . . 74 contents stm32f303xd stm32f303xe 4/184 docid026415 rev 4 6.3.3 embedded reset and power control bloc k characteristics . . . . . . . . . . . 74 6.3.4 embedded reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 6.3.5 supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 6.3.6 wakeup time from low-power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 6.3.7 external clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 6.3.8 internal clock source charac teristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 6.3.9 pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 6.3.10 memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 6.3.11 fsmc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 6.3.12 emc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 6.3.13 electrical sensitivity characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 6.3.14 i/o current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 6.3.15 i/o port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 6.3.16 nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 6.3.17 timer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 6.3.18 communications interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 6.3.19 adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 6.3.20 dac electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 6.3.21 comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 6.3.22 operational amplifier characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 158 6.3.23 temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 6.3.24 v bat monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 7 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 7.1 lqfp144 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 7.2 ufbga100 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 7.3 lqfp100 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 7.4 wlcsp100 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 7.5 lqfp64 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 7.6 thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 7.6.1 reference document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 7.6.2 selecting the product temperature range . . . . . . . . . . . . . . . . . . . . . . 179 8 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 9 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 docid026415 rev 4 5/184 stm32f303xd stm32f303xe list of tables 7 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. stm32f303xd/e family device features and periph eral counts . . . . . . . . . . . . . . . . . . . . . 12 table 3. external analog supply values for analog peripheral s . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 4. stm32f303xd/e peripheral interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 5. timer feature comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 6. comparison of i2c analog and digital filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 7. stm32f303xd/e i2c implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 8. usart features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 9. stm32f303xd/e spi/i2s implementati on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 10. capacitive sensing gpios available on stm32f 303xd/e devices . . . . . . . . . . . . . . . . . . 33 table 11. number of capacitive sensing channels available on stm32f303xd/e devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 12. legend/abbreviations used in the pinout table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 table 13. stm32f303xd/e pin definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 table 14. stm32f303xd/e alternate function mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 15. memory map, peripheral register boundary addresse s . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 16. voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 17. current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 18. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 19. general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 20. operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 21. embedded reset and power control block characterist ics. . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 22. programmable voltage detector characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 23. embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 6 table 24. internal reference voltage calibration values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 25. typical and maximum current consumption from v dd supply at v dd = 3.6v . . . . . . . . . . . 78 table 26. typical and maximum current consumption from the v dda supply . . . . . . . . . . . . . . . . . . 79 table 27. typical and maximum v dd consumption in stop and standby modes. . . . . . . . . . . . . . . . 80 table 28. typical and maximum v dda consumption in stop and standby modes. . . . . . . . . . . . . . . 80 table 29. typical and maximum current consumption from v bat supply. . . . . . . . . . . . . . . . . . . . . . 81 table 30. typical current consumption in run mode, code with data processing running from flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 31. typical current consumption in sleep mode, code running from flash or ram . . . . . . . . . 83 table 32. switching output i/o current cons umption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 33. peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 34. low-power mode wakeup timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 35. high-speed external user clock characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 36. low-speed external user clock characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 37. hse oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 table 38. lse oscillator characteristics (f lse = 32.768 khz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 table 39. hsi oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 table 40. lsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 table 41. pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 table 42. flash memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 table 43. flash memory endurance and data retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 table 44. asynchronous non-multiplexed sram/psram/nor read timings . . . . . . . . . . . . . . . . . 100 table 45. asynchronous non-multiplexed sram/psram /nor read-nwait timings . . . . . . . . . . . 100 table 46. asynchronous non-multiplexed sram/psram/nor write timings . . . . . . . . . . . . . . . . . 101 list of tables stm32f303xd stm32f303xe 6/184 docid026415 rev 4 table 47. asynchronous non-multiplexed sram/psram /nor write-nwait timings. . . . . . . . . . . 102 table 48. asynchronous multiplexed psram/nor read-nwai t timings . . . . . . . . . . . . . . . . . . . . 102 table 49. asynchronous multiplexed psram/nor read timings. . . . . . . . . . . . . . . . . . . . . . . . . . . 104 table 50. asynchronous multiplexed psram/nor write timings . . . . . . . . . . . . . . . . . . . . . . . . . . 106 table 51. asynchronous multiplexed psram/nor write-nwai t timings . . . . . . . . . . . . . . . . . . . . 106 table 52. synchronous multiplexed nor/ psram read timings . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 table 53. synchronous multiplexed psram write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 table 54. synchronous non-multiplexed nor/psram read ti mings . . . . . . . . . . . . . . . . . . . . . . . . 112 table 55. synchronous non-multiplexed psram write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 table 56. switching characteristics for pc card/cf read and write cycles in attribute/common space. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 table 57. switching characteristics for pc card/cf read and write cycles in i/o space . . . . . . . . . 118 table 58. switching characteristics for nand flash read cycles . . . . . . . . . . . . . . . . . . . . . . . . . . 121 table 59. switching characteristics for na nd flash write cycles. . . . . . . . . . . . . . . . . . . . . . . . . . . 121 table 60. ems characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 table 61. emi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 table 62. esd absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3 table 63. electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 table 64. i/o current injection susceptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 table 65. i/o static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 table 66. output voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 table 67. i/o ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 table 68. nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 table 69. timx characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 table 70. iwdg min/max timeout period at 40 khz (lsi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 table 71. wwdg min-max timeout value @72 mhz (pclk). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 table 72. i2c analog filter characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 table 73. spi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 table 74. i 2 s characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 table 75. usb startup time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 table 76. usb dc electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140 table 77. usb: full-speed electrical characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 0 table 78. adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 table 79. maximum adc rain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 table 80. adc accuracy - limited test conditions, 100-/144-pi n packages . . . . . . . . . . . . . . . . . . . 146 table 81. adc accuracy, 100-pin/144-pin packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 table 82. adc accuracy - limited test conditions, 64-pin pack ages . . . . . . . . . . . . . . . . . . . . . . . . . 150 table 83. adc accuracy, 64-pin packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2 table 84. adc accuracy at 1msps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 table 85. dac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 table 86. comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 table 87. operational amplifier characteristic s. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 table 88. ts characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 table 89. temperature sensor calibration values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 table 90. v bat monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 table 91. lqfp144 - 144-pin, 20 x 20 mm low-profile quad flat package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 table 92. ufbga100 - 100-pin, 7 x 7 mm, 0.50 mm pitch, ultra fine pitch ball grid array package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 table 93. ufbga100 recommended pcb design rules (0.5 mm pitch bga) . . . . . . . . . . . . . . . . . 167 table 94. lqpf100 - 100-pin, 14 x 14 mm low-profile quad flat package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 docid026415 rev 4 7/184 stm32f303xd stm32f303xe list of tables 7 table 95. wlcsp100 ? 100l, 4.775 x 5.041 mm 0.4 mm pitch wafer level chip scale package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 table 96. wlcsp100 recommended pcb design rules (0.4 mm pitch) . . . . . . . . . . . . . . . . . . . . . 174 table 97. lqfp64 - 64-pin, 10 x 10 mm low-profile quad flat package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 table 98. package thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 table 99. ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 table 100. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 list of figures stm32f303xd stm32f303xe 8/184 docid026415 rev 4 list of figures figure 1. stm32f303xd/e block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 4 figure 2. stm32f303xd/e clock tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 figure 3. infrared transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 figure 4. stm32f303xd/e lqfp64 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 figure 5. stm32f303xd/e lqfp100 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 figure 6. stm32f303xd/e lqfp144 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 figure 7. stm32f303xd/e wlcsp100 ballout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 figure 8. stm32f303xd/e ufbga100 ballout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 figure 9. stm32f303xd/e memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 figure 10. pin loading conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 figure 11. pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 figure 12. power supply scheme. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 figure 13. current consumption measurement scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 figure 14. typical v bat current consumption (lse and rtc on/lsedrv [1:0] 00?) . . . . . . . . . . . . . 81 figure 15. high-speed external clock source ac timing diagra m . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 figure 16. low-speed external clock source ac timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 figure 17. typical application with an 8 mhz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 figure 18. typical application with a 32.768 khz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 figure 19. hsi oscillator accuracy char acterization results for soldered parts . . . . . . . . . . . . . . . . . . 96 figure 20. asynchronous non-multiple xed sram/psram/nor read timings . . . . . . . . . . . . . . . . . . 99 figure 21. asynchronous non-multiple xed sram/psram/nor write timings . . . . . . . . . . . . . . . . . 101 figure 22. asynchronous multiplexed psram/nor read timings. . . . . . . . . . . . . . . . . . . . . . . . . . . 103 figure 23. asynchronous multiplexed psram/nor write timings . . . . . . . . . . . . . . . . . . . . . . . . . . 105 figure 24. synchronous multiplexed nor/ psram read timings . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 figure 25. synchronous multiplexed psram write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 figure 26. synchronous non-multiplexed nor/psram read ti mings . . . . . . . . . . . . . . . . . . . . . . . . 111 figure 27. synchronous non-multiplexed psram write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 figure 28. pc card/compactflash controller waveforms for common memory read access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 figure 29. pc card/compactflash controller waveforms for common memory write access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 figure 30. pc card/compactflash cont roller waveforms for attribute memory read access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 figure 31. pc card/compactflash cont roller waveforms for attribute memory write access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 figure 32. pc card/compactflash cont roller waveforms for i/o space read access . . . . . . . . . . . . 119 figure 33. pc card/compactflash cont roller waveforms for i/o space write access . . . . . . . . . . . . 119 figure 34. nand controller read timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 figure 35. nand controller write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 figure 36. tc and tta i/o input characteristics - cmos port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 figure 37. tc and tta i/o input characteri stics - ttl port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 figure 38. five volt tolerant (ft and ftf) i/o input char acteristics - cmos port. . . . . . . . . . . . . . . . 127 figure 39. five volt tolerant (ft and ftf) i/o input char acteristics - ttl port . . . . . . . . . . . . . . . . . . 128 figure 40. i/o ac characteristics definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 figure 41. recommended nrst pin protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 figure 42. spi timing diagram - slave mode and cpha = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 figure 43. spi timing diagram - slave mode and cpha = 1 (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 figure 44. spi timing diagram - master mode (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 docid026415 rev 4 9/184 stm32f303xd stm32f303xe list of figures 9 figure 45. i 2 s slave timing diagram (philips protocol) (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 figure 46. i 2 s master timing diag ram (philips protocol) (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 figure 47. usb timings: definition of data signal rise and fall time . . . . . . . . . . . . . . . . . . . . . . . . . . 140 figure 48. adc typical current consumption on vdda pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 figure 49. adc typical current consumption on vref+ pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 figure 50. adc accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 figure 51. typical connection diagram using the adc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 figure 52. 12-bit buffered /non-buffered dac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 figure 53. opamp voltage noise versus frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 figure 54. lqfp144 - 144-pin, 20 x 20 mm low-profile quad flat package outline . . . . . . . . . . . . . . 162 figure 55. lqfp144 - 144-pin,20 x 20 mm low-profile quad flat package recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 figure 56. lqfp144 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 figure 57. ufbga100 - 100-pin, 7 x 7 mm, 0.50 mm pitch, ultra fine pitch ball grid array package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 6 figure 58. ufbga100 - 100-pin, 7 x 7 mm, 0.50 mm pitch, ultra fine pitch ball grid array recommended footprint. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 figure 59. ufbga100 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168 figure 60. lqfp100 - 100-pin, 14 x 14 mm low-profile quad flat package outline . . . . . . . . . . . . . . 169 figure 61. lqfp100 - 100-pin, 14 x 14 mm low-profile quad flat recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 figure 62. lqfp100 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 figure 63. wlcsp100 ? 100l, 4.775 x 5.041 mm 0.4 mm pitch wafer level chip scale package outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 figure 64. wlcsp100 ? 100l, 4.775 x 5.041 mm 0.4 mm pitch wafer level chip scale package recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 figure 65. wlcsp100 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 figure 66. lqfp64 - 64-pin, 10 x 10 mm low-profile quad flat package outline . . . . . . . . . . . . . . . . 176 figure 67. lqfp64 - 64-pin, 10 x 10 mm low-profile quad flat recommended footprint . . . . . . . . . . 177 figure 68. lqfp64 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 figure 69. lqfp100 p d max vs. t a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181 introduction stm32f303xd stm32f303xe 10/184 docid026415 rev 4 1 introduction this datasheet provides the ordering informat ion and mechanical devic e characteristics of the stm32f303xd/e microcontrollers. this stm32f303xd/e datasheet should be read in conjunction with the reference manual of stm32f303xb/c/d/e, stm32f358xc and stm32f 328x4/6/8 devices (rm0316) available on stmicroelectronics website at www.st.com . for information on the cortex ? -m4 core with fpu, please refer to the following documents: ? cortex ? -m4 with fpu technical reference manual , available from arm website at www.arm.com ? stm32f3 and stm32f4 series cortex ? -m4 programming manual (pm0214) available on stmicroelectronics website at www.st.com . docid026415 rev 4 11/184 stm32f303xd stm32f303xe description 67 2 description the stm32f303xd/e family is ba sed on the high-performance arm ? cortex ? -m4 32-bit risc core with fpu operating at a frequency of 72 mhz, and embedding a floating point unit (fpu), a memory protection unit (mpu ) and an embedded trace macrocell (etm). the family incorporates high-speed embedded memories (512 kbyte flash memory, 80 kbyte sram), a flexible memory controller (fsmc) for static memories (sram, psram, nor and nand), and an extensive range of enhanced i/os and peripherals connected to an ahb and two apb buses. the devices offer four fast 12-bit adcs (5 msps), seven comparators, four operational amplifiers, two dac channels, a low-power rtc, up to five general-purpose 16-bit timers, one general-purpose 32-bit timer, and three timers dedicated to motor control. they also feature standard and advanced communication interfaces: up to three i 2 cs, up to four spis (two spis are with mult iplexed full-duplex i 2 ss), three usarts, up to two uarts, can and usb. to achieve audio class accuracy, the i 2 s peripherals can be clocked via an external pll. the stm32f303xd/e family operates in the -40 to +85c and -40 to +105c temperature ranges from a 2.0 to 3.6 v power supply. a comprehensive set of power-saving mode allows the design of low-power applications. the stm32f303xd/e family offers devices in different packages ranging from 64 pins to 144 pins. the set of included peripherals changes with the device chosen. description stm32f303xd stm32f303xe 12/184 docid026415 rev 4 table 2. stm32f303xd/e family device features and peripheral counts peripheral stm32f303rx stm32f303vx stm32f303zx flash (kbytes) 384 512 384 512 384 512 sram (kbytes) on data bus 64 ccm (core coupled memory) ram (kbytes) 16 fmc ( flexible memory controller) no yes timers advanced control 2 (16-bit) 3 (16-bit) general purpose 5 (16-bit) 1 (32-bit) pwm channels (all) (1) 31 40 40 basic 2 (16-bit) pwm channels (except complementary) 22 28 28 communication interfaces spi (i2s) (2) 4(2) i 2 c3 usart 3 uart 2 can 1 usb 1 gpios normal i/os (tc, tta) 26 37 in wlcsp100,44 in lqfp100 and ufbga100 45 5-volt tolerant i/os (ft, ftf) 25 42 in lqfp100 40 in wlcsp100 and ufbga100 70 dma channels 12 capacitive sensing channels 18 24 12-bit adcs 4 22 channels 4 39 channels in lqfp100-pin and ufbga100 33 channels in wlcsp100 4 40 channels 12-bit dac channels analog comparator operational amplifiers cpu frequency 72 mhz operating voltage 2.0 to 3.6 v docid026415 rev 4 13/184 stm32f303xd stm32f303xe description 67 operating temperature ambient operating temperature: - 40 to 85 c / - 40 to 105 c junction temperature: - 40 to 125 c packages lqfp64 lqfp100 ,wlcsp100 ufbga100 lqfp144 1. this total number considers also the pwms generated on the complementary output channels. 2. the spi interfaces can work in an exclusive way in either the spi mode or the i 2 s audio mode. table 2. stm32f303xd/e family device features and peripheral counts (continued) peripheral stm32f303rx stm32f303vx stm32f303zx description stm32f303xd stm32f303xe 14/184 docid026415 rev 4 figure 1. stm32f303xd/e block diagram 1. af: alternate function on i/o pins. 0 6 y 9 7 r x f k 6 h q v l q j & |