![]() |
|
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. april 2014 docid025146 rev 1 1/130 stm32f301x6/x8 arm ? -cortex ? -m4 32-bit mcu+fpu, up to 64 kb flash, 16 kb sram, adc, dac, comp, op-amp, 2.0 ? 3.6 v datasheet - production data features ? core: arm ? 32-bit cortex ? -m4 cpu with fpu (72 mhz max.), single-cycle multiplication and hw division, dsp instruction ? memories ? 32 to 64 kbyte of flash memory ?1 6 kbyte of sram on data bus ? crc calculation unit ? reset and power management ? vdd, vdda voltage range: 2.0 to 3.6 v ? power-on/power down reset (por/pdr) ? programmable voltage detector (pvd) ? low-power: sleep, stop, and standby ?v ba t supply for r tc and backup registers ? clock management ? 4 to 32 mhz crystal oscillator ? 32 khz oscillator for r tc with calibration ? internal 8 mhz rc with x 16 pll option ? internal 40 khz oscillator ? up to 51 fast i/o ports, all mappable on external interrupt vectors, several 5 v-tolerant ? 7-channel dma controller supporting timers, adcs, spis, i 2 cs, usarts and dac ? 1 adc 0.20 s (up to 15 channels) with selectable resolution of 12/10/8/6 bits, 0 to 3.6 v conversion range, single ended/differential mode, separate analog supply from 2.0 to 3.6 v ? temperature sensor ? 1 x 12-bit dac channel with analog supply from 2.4 to 3.6 v ? three fast rail-to-rail analog comparators with analog supply from 2.0 to 3.6 v ? 1 x operational amplifier that can be used in pga mode, all terminal accessible with analog supply from 2.4 to 3.6 v ? up to 18 capacitive sensing channels supporting touchkey, linear and rotary sensors ? up to 9 timers ? one 32-bit timer with up to 4 ic/oc/pwm or pulse counter and quadrature (incremental) encoder input ? one 16-bit 6-channel advanced-control timer , with up to 6 pwm channels, deadtime generation and emergency stop ? three 16-bit timers with ic/oc/ocn or pwm, deadtime gen. and emergency stop ? one 16-bit basic timer to drive the dac ? 2 watchdog timers (independent, window) ? syst ick timer: 24-bit downcounter ? calendar rtc with alarm, periodic wakeup from stop/standby ? communication interfaces ? three i2cs with 20 ma current sink to support fast mode plus ? up to 3 usar t s, 1 with iso 7816 i/f , autobaudrate detect and dual clock domain ? up to two spis with multiplexed full duplex i2s ? infrared transmitter ? serial wire debug (swd), jtag ? 96-bit unique id t able 1. device summary reference part number stm32f301x6 stm32f301r6, stm32f301c6, stm32f301k6 stm32f301x8 stm32f301r8, stm32f301c8, stm32f301k8 lqfp48 (7 x 7 mm) lqfp64 (10 x 10 mm) ufqfpn32 (5 x 5 mm) wlcsp49 (3.4 x 3.4 mm) www .st.com http://
contents stm32f301x6/x8 2/130 docid025146 rev 1 contents 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.1 arm ? cortex ? -m4 core with fpu, embedded flash and sram . . . . . . . 12 3.2 memories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.2.1 embedded flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.2.2 embedded sram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.3 boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.4 cyclic redundancy check calculation unit (crc) . . . . . . . . . . . . . . . . . . . 13 3.5 power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.5.1 power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.5.2 power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.5.3 v oltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.5.4 low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.6 interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.7 clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.8 general-purpose inputs/outputs (gpios) . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.9 direct memory access (dma) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.10 interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.10.1 nested vectored interrupt controller (nvic) . . . . . . . . . . . . . . . . . . . . . . 17 3.1 1 fast analog-to-digital converter (adc) . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.1 1.1 t emperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.1 1.2 internal voltage reference (v refint ) . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.1 1.3 v ba t battery voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.12 digital-to-analog converter (dac) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.13 operational amplifier (op amp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.14 ultra-fast comparators (comp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 3.15 t imers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.15.1 advanced timer (tim1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3.15.2 general-purpose timers (tim2, tim15, tim16, tim17) . . . . . . . . . . . . . 21 3.15.3 basic timer (tim6) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 docid025146 rev 1 3/130 stm32f301x6/x8 contents 4 3.15.4 independent watchdog (iwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.15.5 window watchdog (wwdg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.15.6 syst ick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.16 real-time clock (r tc) and backup registers . . . . . . . . . . . . . . . . . . . . . . 22 3.17 inter-integrated circuit interfaces (i 2 c) . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.18 universal synchronous/asynchronous receiver transmitter (usar t) . . . 24 3.19 serial peripheral interfaces (spi)/inter-integrated sound interfaces (i2s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.20 t ouch sensing controller (tsc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.21 infrared transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.22 development support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.22.1 serial wire jt ag debug port (swj-dp) . . . . . . . . . . . . . . . . . . . . . . . . . 28 4 pinouts and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5 m emory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 6 electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1 parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1.1 minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1.2 t ypical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1.3 t ypical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1.4 loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1.5 pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.1.6 power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 6.1.7 current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.2 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 6.3 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 6.3.1 general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 6.3.2 operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . 55 6.3.3 embedded reset and power control block characteristics . . . . . . . . . . . 55 6.3.4 embedded reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 6.3.5 supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 6.3.6 w akeup time from low-power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 6.3.7 external clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 6.3.8 internal clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 contents stm32f301x6/x8 4/130 docid025146 rev 1 6.3.9 pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 6.3.10 memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 6.3.1 1 emc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 6.3.12 electrical sensitivity characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 6.3.13 i/o current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 6.3.14 i/o port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 6.3.15 nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 6.3.16 t imer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 6.3.17 communications interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 6.3.18 adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 6.3.19 dac electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 6.3.20 comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 6.3.21 operational amplifier characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 107 6.3.22 t emperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 10 6.3.23 v ba t monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 10 7 package characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 1 7.1 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 1 7.2 thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 7.2.1 reference document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 7.2.2 selecting the product temperature range . . . . . . . . . . . . . . . . . . . . . . 126 8 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 9 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 docid025146 rev 1 5/130 stm32f301x6/x8 list of tables 6 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. stm32f301x6/x8 device features and peripheral counts. . . . . . . . . . . . . . . . . . . . . . . . . . 10 table 3. stm32f301x6/x8 peripheral interconnect matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 table 4. timer feature comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 table 5. comparison of i2c analog and digital filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 6. stm32f301x6/x8 i 2 c implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 7. usart features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 8. stm32f301x6/x8 spi/i2s implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 9. capacitive sensing gpios available on stm32f301x6/x8 devices . . . . . . . . . . . . . . . . . . 26 table 10. no. of capacitive sensing channels available on stm32f301x6/x8 devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 11. legend/abbreviations used in the pinout table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 12. stm32f301x6/x8 pin definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3 3 table 13. alternate functions for port a . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 table 14. alternate functions for port b . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 15. alternate functions for port c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 table 16. alternate functions for port d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 17. alternate functions for port f . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 18. stm32f301x6/x8 peripheral register boundary addresses . . . . . . . . . . . . . . . . . . . . . . . . 47 table 19. voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 20. current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 21. thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 22. general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 23. operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 24. embedded reset and power control block characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 25. programmable voltage detector characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 26. embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 27. internal reference voltage calibration values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 28. typical and maximum current consumption from vdd supply at vdd = 3.6v . . . . . . . . . . 58 table 29. typical and maximum current consumption from the v dda supply . . . . . . . . . . . . . . . . . . 60 table 30. typical and maximum v dd consumption in stop and standby modes . . . . . . . . . . . . . . . . 60 table 31. typical and maximum v dda consumption in stop and standby modes . . . . . . . . . . . . . . . 61 table 32. typical and maximum current consumption from v bat supply . . . . . . . . . . . . . . . . . . . . . . 61 table 33. typical current consumption in run mode, code with data processing running from flash 63 table 34. typical current consumption in sleep mode, code running from flash or ram . . . . . . . . . 64 table 35. switching output i/o current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 36. peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6 8 table 37. low-power mode wakeup timings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 38. high-speed external user clock characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 39. low-speed external user clock characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 40. hse oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 41. lse oscillator characteristics (f lse = 32.768 khz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 42. hsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 43. lsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 44. pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 45. flash memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 46. flash memory endurance and data retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 47. ems characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 list of tables stm32f301x6/x8 6/130 docid025146 rev 1 table 48. emi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 49. esd absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 50. electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 51. i/o current injection susceptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 52. i/o static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 53. output voltage characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 54. i/o ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 55. nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 56. timx characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 table 57. iwdg min/max timeout period at 40 khz (lsi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 58. wwdg min-max timeout value @72 mhz (pclk) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 59. i2c analog filter characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 60. spi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 61. i2s characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 table 62. adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 table 63. maximum adc rain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 table 64. adc accuracy - limited test conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 9 table 65. adc accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 table 66. adc accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 table 67. dac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 table 68. comparator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 table 69. operational amplifier characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 table 70. ts characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 table 71. temperature sensor calibration values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 table 72. v bat monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 table 73. wlcsp49 wafer level chip size package mechanical data . . . . . . . . . . . . . . . . . . . . . . . 113 table 74. lqfp64 ? 10 x 10 mm 64 pin low-profile quad flat package mechanical data . . . . . . . . . 116 table 75. lqfp48 ? 7 x 7mm, 48-pin low-profile quad flat package mechanical data . . . . . . . . . . . 119 table 76. 32-lead, ultra thin, fine pitch quad flat no-lead package mechanical data . . . . . . . . . . . . 122 table 77. package thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 table 78. ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 table 79. document revision history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 docid025146 rev 1 7/130 stm32f301x6/x8 list of figures 7 list of figures figure 1. stm32f301x6/x8 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 2. clock tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 figure 3. infrared transmitter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 4. stm32f301x6/x8 ufqfn32 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 5. stm32f301x6/x8 lqfp48 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 6. stm32f301x6/x8 lqfp64 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 figure 7. stm32f301x6/x8 wlcsp49 ballout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 figure 8. stm32f301x6/x8 memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 figure 9. pin loading conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 figure 10. pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 figure 11. power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 figure 12. current consumption measurement scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 figure 13. typical v bat current consumption (lse and rtc on/lsedrv[1:0] = ?00?) . . . . . . . . . . . 62 figure 14. high-speed external clock source ac timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 figure 15. low-speed external clock source ac timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 figure 16. typical application with an 8 mhz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3 figure 17. typical application with a 32.768 khz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 figure 18. hsi oscillator accuracy characterization results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 figure 19. tc and tta i/o input characteristics - cmos port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 figure 20. tc and tta i/o input characteristics - ttl port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 figure 21. five volt tolerant (ft and ftf) i/o input characteristics - cmos port . . . . . . . . . . . . . . . . . 84 figure 22. five volt tolerant (ft and ftf) i/o input characteristics - ttl port . . . . . . . . . . . . . . . . . . . 84 figure 23. i/o ac characteristics definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 figure 24. recommended nrst pin protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 figure 25. spi timing diagram - slave mode and cpha = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 figure 26. spi timing diagram - slave mode and cpha = 1 (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 figure 27. spi timing diagram - master mode (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 figure 28. i 2 s slave timing diagram (philips protocol) (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 figure 29. i 2 s master timing diagram (philips protocol) (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 figure 30. adc accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 figure 31. typical connection diagram using the adc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 figure 32. 12-bit buffered /non-buffered dac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 figure 33. opamp voltage noise versus frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 figure 34. wlcsp49 wafer level chip size package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 figure 35. wlcsp49 package top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 14 figure 36. lqfp64 ? 10 x 10 mm 64 pin low-profile quad flat package outline. . . . . . . . . . . . . . . . . 115 figure 37. lqfp64 recommended footprint. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 6 figure 38. lqfp64 package top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 figure 39. lqfp48 ? 7 x 7mm, 48-pin low-profile quad flat package outline . . . . . . . . . . . . . . . . . . 118 figure 40. lqfp48 recommended footprint. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 0 figure 41. lqfp48 package top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 figure 42. 32-lead, ultra thin, fine pitch quad flat no-lead package (5 x 5) . . . . . . . . . . . . . . . . . . . . 122 figure 43. ufqfpn32 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 figure 44. ufqfpn32 package top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4 introduction stm32f301x6/x8 8/130 docid025146 rev 1 1 introduction this datasheet provides the ordering information and mechanical device characteristics of the stm32f301x6/x8 microcontrollers. this datasheet should be read in conjunction with the stm32f302xx advanced arm-based 32-bit mcus reference manual (rm0366). 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 arm website www.arm.com. docid025146 rev 1 9/130 stm32f301x6/x8 description 48 2 description the stm32f301x6/x8 family is based on the high-performance arm ? cortex ? -m4 32-bit risc core operating at a frequency of up to 72 mhz and embedding a floating point unit (fpu). the family incorporates high-speed embedded memories (up to 64 kbyte of flash memory, 16 kbytes of sram), and an extensive range of enhanced i/os and peripherals connected to two apb buses. the devices offer a fast 12-bit adc (5 msps), three comparators, an operational amplifier , up to 18 capacitive sensing channels, one dac channel, a low-power r tc, one general- purpose 32-bit timer , one timer dedicated to motor control, and up to three general-purpose 16-bit timers, and one timer to drive the dac. they also feature standard and advanced communication interfaces: three i 2 cs, up to three usarts, up to two spis with multiplexed full-duplex i2ss, and an infrared transmitter. the stm32f301x6/x8 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 stm32f301x6/x8 family offers devices in 32-, 48-, 49- and 64-pin packages. the set of included peripherals changes with the device chosen. description stm32f301x6/x8 10/130 docid025146 rev 1 t able 2. stm32f301x6/x8 device features and peripheral counts peripheral stm32f301kx stm32f301cx STM32F301RX flash (kbytes) 32 64 32 64 32 64 sram (kbytes) 16 t imers advanced control 1 (16-bit) general purpose 3 (16-bit) 1 (32 bit) basic 1 syst ick timer 1 w atchdog timers (independent, window) 2 comm. interfaces spi/i2s 2 i 2 c3 usar t 2 3 dma channels 7 capacitive sensing channels 18 12-bit adc number of channels 1 8 1 11 1 15 12-bit dac channels 1 analog comparator 3 operational amplifier 1 cpu frequency 72 mhz operating voltage 2.0 to 3.6 v operating temperature ambient operating temperature: - 40 to 85c / - 40 to 105c junction temperature: - 40 to 125c packages ufqfpn32 lqfp48, wlcsp49 lqfp64 docid025146 rev 1 11/130 stm32f301x6/x8 description 48 figure 1. stm32f301x6/x8 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 & |