![]() |
|
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 2014 docid025083 rev 2 1/121 stm32f303x6/x8 arm ? cortex ? -m4 32b mcu+fpu,up to 64kb flas h, 16kb sram, 2 adcs, 3 dacs, 3 comp., op-amp 2.0 - 3.6 v datasheet ? production data features ? core: arm ? cortex ? -m4 32-bit cpu with fpu (72 mhz max), single-cyc le multiplication and hw division , 90 dmips (from ccm), dsp instruc tion ? memories ? up to 64 kb of flash memory ? 12 kb of sram with hw parity check ? routine booster: 4 kb of sram on instruction and data bus with hw pa rity c heck (ccm) ? crc calculation unit ? reset and supply management ? low-power modes: sleep, stop, standby ?v dd, v dda voltage range: 2.0 to 3.6 v ? power-on/power-down reset (por/pdr) ? programmable voltage detector (pvd) ?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 (up to 64 mhz with pll option) ? internal 40 khz oscillator ? up to 51 fast i/o por ts , all mappable on exter nal interrupt vectors, several 5 v-tolerant ? interconnect matrix ? 7-channel dma controller ? up to two adc 0.20 s (up to 21 channels) with selectable resolution of 12/10/8/6 bits, 0 to 3.6 v co nversion range, single- ended/differential mode, separate analog supply from 2.0 to 3.6 v ? temperature sensor ? up to three 12-bit dac channels with analog supply from 2.4 v to 3.6 v ? three ultra-fast rail-to-rail analog comparator s wit h analog supply from 2 v to 3.6 v ? one operational amplifiers that can be used in pga mode, all terminals access ible with an alog supply from 2.4 to 3.6 v ? up to 18 capacitive sensing chan nels supp orting touchkeys, linear and rotary to uch senso rs ? up to 11 timers ? one 32-bit timer and one 16-bit timer with up to 4 ic/oc/pwm or pulse counter an d qu adrature (incremental) encoder input ? one 16-bit 6-channel advanced-contr ol tim er, with up to 6 pwm chann els, de adtime generation and emergency stop ? one 16-bit timer with 2 ic/ocs, 1 ocn/pwm, deadtime gener ation, eme rgency stop ? two 16-bit timers with ic/oc/ocn/pwm, de adtime generation and emergency stop ? two watchdog timers (independent, window) ? systick timer: 24-bit downcounter ? up to two 16-bit basic timers to drive dac ? calendar rtc with alarm, periodic wakeup fr om stop ? communication interfaces ? can interface (2.0 b active) and one spi ?one i 2 c with 20 ma current sink to suppor t fast m ode plus, smbus/pmbus ? up to 3 usarts, one with iso/iec 7816 interface, lin, irda, modem control ? debug mode: serial wire debug (swd), jtag ? 96-bit unique id ? all packages ecopack ? 2 table 1. device summary reference part number stm32f303x6 stm32f303k6/c6/r6 stm32f303x8 stm32f303k8/c8/r8 lqfp32 (7 x 7 mm) lqfp48 (7 x 7 mm) lqfp64 (10 x 10 mm) www.st.com
contents stm32f303x6/x8 2/121 docid025083 rev 2 contents 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.1 arm ? cortex ? -m4 core with fpu with embedded flash and sram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.2 memories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.2.1 embedded flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.2.2 embedded sram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.2.3 boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.3 cyclic redundancy check calculation unit (crc) . . . . . . . . . . . . . . . . . . . 13 3.4 power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.4.1 power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.4.2 power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.4.3 voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.4.4 low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.5 interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.6 clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.7 general-purpose inputs/outputs (gpios) . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.8 direct memory access (dma) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.9 interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.9.1 nested vectored interrupt controller (nvic) . . . . . . . . . . . . . . . . . . . . . . 17 3.9.2 extended interrupt/event controller (exti) . . . . . . . . . . . . . . . . . . . . . . 17 3.10 fast analog-to-digital converter (adc) . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.10.1 temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.10.2 internal voltage reference (vrefint) . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.10.3 v bat battery voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.10.4 opamp2 reference voltage (vopamp2) . . . . . . . . . . . . . . . . . . . . . . . . 19 3.11 digital-to-analog converter (dac) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.12 operational amplifier (opamp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.13 ultra-fast comparators (comp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.14 timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 docid025083 rev 2 3/121 stm32f303x6/x8 contents 4 3.14.1 advanced timer (tim1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.14.2 general-purpose timers (tim2, tim3, tim15, tim16, tim17) . . . . . . . . 21 3.14.3 basic timers (tim6 and tim7) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.14.4 independent watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.14.5 window watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.14.6 systick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.15 real-time clock (rtc) and backup registers . . . . . . . . . . . . . . . . . . . . . . 22 3.16 communication interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.16.1 inter-integrated circuit interface (i 2 c) . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.16.2 universal synchronous/asynchronous receiver transmitters (usarts) . 24 3.16.3 serial peripheral interface (spi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.16.4 controller area network (can) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.17 infrared transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.18 touch sensing controller (tsc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.19 development support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.19.1 serial wire jtag debug port (swj-dp) . . . . . . . . . . . . . . . . . . . . . . . . . 28 4 pinouts and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5 memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 6 electrical characteristi cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 6.1 parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 6.1.1 minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 6.1.2 typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 6.1.3 typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 6.1.4 loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 6.1.5 pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 6.1.6 power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1.7 current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.2 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.3 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 6.3.1 general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 6.3.2 operating conditions at power-up / powe r-down . . . . . . . . . . . . . . . . . . 54 6.3.3 embedded reset and power control bloc k characteristics . . . . . . . . . . . 54 6.3.4 embedded reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 contents stm32f303x6/x8 4/121 docid025083 rev 2 6.3.5 supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 6.3.6 wakeup time from low-power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 6.3.7 external clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 6.3.8 internal clock source charac teristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 6.3.9 pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 6.3.10 memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 6.3.11 emc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 6.3.12 electrical sensitivity characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 6.3.13 i/o current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 6.3.14 i/o port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 6.3.15 nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 6.3.16 timer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 6.3.17 communications interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 6.3.18 adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 6.3.19 dac electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 6.3.20 comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 6.3.21 operational amplifier characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 103 6.3.22 temperature sensor (ts) characteristics . . . . . . . . . . . . . . . . . . . . . . . 106 6.3.23 v bat monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 7 package characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 7.1 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 7.2 thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117 7.2.1 reference document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 7.2.2 selecting the product temperature range . . . . . . . . . . . . . . . . . . . . . . 118 8 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 9 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 docid025083 rev 2 5/121 stm32f303x6/x8 list of tables 6 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. stm32f303x6/8 family device features and periphe rals count . . . . . . . . . . . . . . . . . . . . . 10 table 3. v dda ranges for analog peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 table 4. stm32f303x6/8 peripheral interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 table 5. timer feature comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 table 6. comparison of i2c analog and digital filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 7. stm32f303x6/8 i 2 c implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 8. usart features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 9. stm32f303x6/8 spi implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 10. capacitive sensing gpios available on stm32f30 3x6/8 devices . . . . . . . . . . . . . . . . . . . 26 table 11. capacitive sensing gpio available . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 12. no. of capacitive sensing channels available on stm32f303x6/8 devices . . . . . . . . . . . . 28 table 13. legend/abbreviations used in the pinout table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 14. stm32f303x6/8 pin definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 15. alternate functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 table 16. stm32f303x6/8 peripheral register boundary addre sses . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 17. voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 18. current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 19. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 20. general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 21. operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 22. embedded reset and power control block characterist ics. . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 23. programmable voltage detector characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 24. embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 6 table 25. internal reference voltage calibration values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 26. typical and maximum current consumption from v dd supply at v dd = 3.6v . . . . . . . . . . . 57 table 27. typical and maximum current consumption from the v dda supply . . . . . . . . . . . . . . . . . . 59 table 28. typical and maximum v dd consumption in stop and standby modes. . . . . . . . . . . . . . . . 59 table 29. typical and maximum v dda consumption in stop and standby modes. . . . . . . . . . . . . . . 60 table 30. typical and maximum current consumption from v bat supply. . . . . . . . . . . . . . . . . . . . . . 60 table 31. typical current consumption in run mode, code with data processing running from flash 62 table 32. typical current consumption in sleep mode, code running from flash or ram . . . . . . . . . 63 table 33. switching output i/o current cons umption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 34. peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 35. low-power mode wakeup timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 36. high-speed external user clock characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 37. low-speed external user clock characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 38. hse oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 39. lse oscillator characteristics (f lse = 32.768 khz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 40. hsi oscillator characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 41. lsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 42. pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 43. flash memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 44. flash memory endurance and data retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 45. ems characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 46. emi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 47. esd absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 48. electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 list of tables stm32f303x6/x8 6/121 docid025083 rev 2 table 49. i/o current injection susceptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 50. i/o static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 51. output voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 table 52. i/o ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 table 53. nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 54. timx characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 55. iwdg min./max. timeout period at 40 khz (lsi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 56. wwdg min./max. timeout value at 72 mhz (pclk). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 57. i2c analog filter characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 table 58. spi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 59. adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 60. maximum adc rain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 table 61. adc accuracy - limited test conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 62. adc accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 table 63. adc accuracy at 1msps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 table 64. dac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 table 65. comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 table 66. operational amplifier characteristic s. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 table 67. temperature sensor (ts) characte ristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 table 68. temperature sensor (ts) calibra tion values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 table 69. v bat monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 table 70. lqfp32 ? 7 x 7mm, 32-pin low-profile quad flat package mechanical data. . . . . . . . . . . 108 table 71. lqfp48 ? 7 x 7 mm, 48-pin low-profile quad flat package mechanical data . . . . . . . . . . 111 table 72. lqfp64 ? 10 x 10 mm, 64-pin low-profile quad flat package mechanical data . . . . . . . . 114 table 73. package thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 table 74. ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 table 75. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 docid025083 rev 2 7/121 stm32f303x6/x8 list of figures 7 list of figures figure 1. stm32f303x6/8 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 2. clock tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 figure 3. infrared transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 4. lqfp32 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 5. lqfp48 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 6. lqfp64 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 figure 7. stm32f303x6/8 memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 figure 8. pin loading conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 figure 9. pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 figure 10. power supply scheme. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 figure 11. current consumption measurement scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 figure 12. typical v bat current consumption (lse and rtc on/lsedrv[1:0] = ?00?) . . . . . . . . . . . 61 figure 13. high-speed external clock source ac timing diagra m . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 figure 14. low-speed external clock source ac timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 figure 15. typical application with an 8 mhz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 figure 16. typical application with a 32.768 khz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 figure 17. hsi oscillator accuracy char acterization results for soldered parts . . . . . . . . . . . . . . . . . . 74 figure 18. tc and tta i/o input characteristics - cmos port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 figure 19. tc and tta i/o input characteri stics - ttl port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 figure 20. five volt tolerant (ft and ftf) i/o input char acteristics - cmos port. . . . . . . . . . . . . . . . . 82 figure 21. five volt tolerant (ft and ftf) i/o input charac teristics - ttl port . . . . . . . . . . . . . . . . . . . 82 figure 22. i/o ac characteristics definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 figure 23. recommended nrst pin protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 figure 24. spi timing diagram - slave mode and cpha = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 figure 25. spi timing diagram - slave mode and cpha = 1 (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 figure 26. spi timing diagram - master mode (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 figure 27. adc typical current consumption in single-end ed and differential modes . . . . . . . . . . . . . 93 figure 28. adc accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 figure 29. typical connection diagram using the adc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 figure 30. 12-bit buffered /non-buffered dac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 figure 31. opamp voltage noise versus frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 figure 32. lqfp32 ? 7 x 7mm, 32-pin low-profile quad fl at package outline . . . . . . . . . . . . . . . . . . 108 figure 33. lqfp32 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 9 figure 34. lqfp32 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 figure 35. lqfp48 ? 7 x 7mm, 48-pin low-profile quad fl at package outline . . . . . . . . . . . . . . . . . . 111 figure 36. lqfp48 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2 figure 37. lqfp48 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 figure 38. lqfp64 ? 10 x 10 mm, 64-pin low-profile quad flat package outline . . . . . . . . . . . . . . . . 114 figure 39. lqfp64 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 5 figure 40. lqfp64 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 introduction stm32f303x6/x8 8/121 docid025083 rev 2 1 introduction this datasheet provides the ordering informat ion and mechanical devic e characteristics of the stm32f303x6/8 microcontrollers. this stm32f303x6/8 datasheet should be read in conjunction with the stm32f303xx, stm32f358xx and stm32f328xx advanced arm-based 32-bit mcus reference manual (rm00316) available from the stmicroelectronics website www.st.com . for information on the cortex -m4 core with fpu, please refer to: ? arm cortex -m4 processor technical reference manual available from the www.arm.com website. ? stm32f3xxx and stm32f4xxx cortex -m4 programming manual (pm0214) available from the www.st.com website. docid025083 rev 2 9/121 stm32f303x6/x8 description 47 2 description the stm32f303x6/8 family is based on the high-performance arm 32-bit cortex -m4 risc core operating at a frequency of up to 72 mhz, and embedding a floating point unit (fpu). the stm32f303x6/8 family inco rporates high-speed embedded memories (up to 64 kbytes of flash memory, 12 kbyt es of sram), and an extensive range of enhanced i/os and peripherals connected to two apb buses. the stm32f303x6/8 devices offer up to two fa st 12-bit adcs (5 msps), up to three ultra-fast comparators, an operational amplifie r, three dac channels, a low-power rtc, one general-purpose 32-bit timer, one timer dedicated to motor control, and four general-purpose 16-bit timers. they also feature standard and advanced communication interfaces: one i 2 c, one spi, up to three usarts and one can. the stm32f303x6/8 family operates in the ?40 to +85 c and ?40 to +105 c 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 stm32f303x6/8 family offers devices in 32, and 64-pin packages. the set of included peripherals changes with the device chosen. description stm32f303x6/x8 10/121 docid025083 rev 2 table 2. stm32f303x6/8 family device features and peripherals count peripheral stm32f303kx stm32f303cx stm32f303rx flash (kbytes) 32 64 32 64 32 64 sram on data bus (kbytes) 12 core coupled me mory sram on instruction bus (ccm sram) (kbytes) 4 timers advanced control 1 (16-bit) general purpose 4 (16-bit) 1 (32 bit) basic 2 (16-bit) systick timer 1 watchdog timers (independent, window) 2 pwm channels (all) (1) 20 22 22 pwm channels (except complementary) 14 16 16 comm. interfaces spi 1 i 2 c1 usart 2 3 3 can 1 gpios normal i/os (tc, tta) 10 20 26 5-volt tolerant i/os (ft,ftf) 15 17 25 capacitive sensing channels 14 17 18 dma channels 7 12-bit adcs number of channels 2 9 2 15 2 21 12-bit dac channels 3 ultra-fast analog comparator 2 3 operational amplifiers 1 cpu frequency 72 mhz operating voltage 2.0 to 3.6 v operating temperature ambient operating temperature: - 40 to 85 c / - 40 to 105 c junction temperature: - 40 to 125 c packages lqfp32 lqfp48 lqfp64 1. this total considers also the pwms ge nerated on the complementary output channels. docid025083 rev 2 11/121 stm32f303x6/x8 description 47 figure 1. stm32f303x6/8 block diagram 1. af: alternate function on i/o pins. # 9 ' ' 0 6 y 9 ( ; 7 , 7 : l q : $ 7 & |