![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
june 2011 doc id 15818 rev 7 1/163 1 stm32f205xx stm32f207xx arm-based 32-bit mcu, 150dmips, up to 1 mb flash/128+4kb ram, usb otg hs/fs, ethernet, 17 tims, 3 adcs, 15 comm. interfaces & camera features core: arm 32-bit co rtex?-m3 cpu with adaptive real-time accelerator (art accelerator?) allowing 0-wait state execution performance from flash memory, frequency up to 120 mhz, memory protection unit, 150 dmips/1.25 dmips/mhz (dhrystone 2.1) memories ? up to 1 mbyte of flash memory ? 512 bytes of otp memory ? up to 128 + 4 kbytes of sram ? flexible static memory controller that supports compact flash, sram, psram, nor and nand memories ? lcd parallel interface, 8080/6800 modes clock, reset and supply management ? from 1.65 to 3.6 v application supply and i/os ? por, pdr, pvd and bor ? 4 to 26 mhz crystal oscillator ? internal 16 mhz factory-trimmed rc (1% accuracy at 25 c) ? 32 khz oscillator for rtc with calibration ? internal 32 khz rc with calibration low power ? sleep, stop and standby modes ?v bat supply for rtc, 20 32 bit backup registers, and optional 4 kb backup sram 3 12-bit, 0.5 s a/d converters ? up to 24 channels ? up to 6 msps in triple interleaved mode 2 12-bit d/a converters general-purpose dma ? 16-stream dma controller with centralized fifos and burst support up to 17 timers ? up to twelve 16-bit and two 32-bit timers, up to 120 mhz, each with up to 4 ic/oc/pwm or pulse counter and quadrature (incremental) encoder input debug mode ? serial wire debug (swd) & jtag interfaces ? cortex-m3 embedded trace macrocell? up to 140 i/o ports with interrupt capability: ? up to 136 fast i/os up to 60 mhz ? up to 138 5 v-tolerant i/os up to 15 communication interfaces ? up to 3 i 2 c interfaces (smbus/pmbus) ? up to 4 usarts and 2 uarts (7.5 mbit/s, iso 7816 interface, lin, irda, modem control) ? up to 3 spis (30 mbit/s), 2 with muxed i 2 s to achieve audio class accuracy via audio pll or external pll ? 2 can interfaces (2.0b active) ? sdio interface advanced connectivity ? usb 2.0 full-speed device/host/otg controller with on-chip phy ? usb 2.0 high-speed/full-speed device/host/otg controller with dedicated dma, on-chip full-speed phy and ulpi ? 10/100 ethernet mac with dedicated dma: supports ieee 1588v2 hardware, mii/rmii 8- to 14-bit parallel ca mera interface: up to 48 mbyte/s crc calculation unit, 96-bit unique id analog true random number generator table 1. device summary reference part number stm32f205xx stm32f205rb, stm32f205rc, stm32f205re, stm32f205rf, stm32f205rg, stm32f205vb, stm32f205vc, stm32f205ve, stm32f205vf stm32f205vg, stm32f205zc, stm32f205ze, stm32f205zf, stm32f205zg stm32f207xx stm32f207ic, stm32f207ie, stm32f207if, stm32f207ig, stm32f 207zc, stm32f207ze, stm32f207zf, stm32f207zg, stm32f207vc, stm32f207ve, stm32f207vf, stm32f207vg lqfp64 (10 10 mm) lqfp100 (14 14 mm) lqfp144 (20 20 mm) lqfp176 (24 24 mm) fbga ufbga176 (10 10 mm) wlcsp64+2 (0.400 mm pitch) fbga www.st.com
contents stm32f205xx, stm32f207xx 2/163 doc id 15818 rev 7 contents 1 introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.1 full compatibility throughout the family . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2 device overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.2.1 arm ? cortex?-m3 core with embedded flash and sram . . . . . . . . . 16 2.2.2 memory protection unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.2.3 adaptive real-time memory accelerator (art accelerator?) . . . . . . . . 16 2.2.4 embedded flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.2.5 crc (cyclic redundancy check) calculation unit . . . . . . . . . . . . . . . . . . 17 2.2.6 true random number generator (rng) . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.2.7 embedded sram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.2.8 multi-ahb bus matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.2.9 dma . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.2.10 fsmc (flexible static memory controller) . . . . . . . . . . . . . . . . . . . . . . . . 18 2.2.11 nested vectored interrupt controller (nvic) . . . . . . . . . . . . . . . . . . . . . . 19 2.2.12 external interrupt/event controller (exti) . . . . . . . . . . . . . . . . . . . . . . . 19 2.2.13 clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.2.14 boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.2.15 power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.2.16 power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.2.17 voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.2.18 real-time clock (rtc), backup sram and backup registers . . . . . . . . 23 2.2.19 low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2.2.20 v bat operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2.2.21 timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.2.22 basic timers tim6 and tim7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.2.23 independent watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.2.24 window watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.2.25 systick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.2.26 i2c bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.2.27 universal synchronous/asynchronous receiver transmitters (uarts/usarts) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.2.28 serial peripheral interface (spi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 stm32f205xx, stm32f207xx contents doc id 15818 rev 7 3/163 2.2.29 inter-integrated sound (i 2 s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 2.2.30 sdio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 2.2.31 ethernet mac interface with dedicated dma and ieee 1588 support . 29 2.2.32 controller area network (can) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 2.2.33 universal serial bus on-the-go full-speed (otg_fs) . . . . . . . . . . . . . . . 30 2.2.34 universal serial bus on-the-go high-speed (otg_hs) . . . . . . . . . . . . . 30 2.2.35 audio pll (plli2s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 2.2.36 digital camera interface (dcmi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 2.2.37 gpios (general-purpose inputs/outputs) . . . . . . . . . . . . . . . . . . . . . . . . 31 2.2.38 adcs (analog-to-digital converters) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 2.2.39 dac (digital-to-analog converter) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 2.2.40 temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 2.2.41 serial wire jtag debug port (swj-dp) . . . . . . . . . . . . . . . . . . . . . . . . . 33 2.2.42 embedded trace macrocell? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3 pinouts and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 4 memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 5 electrical characteristi cs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 5.1 parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 5.1.1 minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 5.1.2 typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 5.1.3 typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 5.1.4 loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 5.1.5 pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 5.1.6 power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 5.1.7 current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 5.2 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 5.3 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 5.3.1 general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 5.3.2 vcap1/vcap2 external capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 5.3.3 operating conditions at power-up / power-down (regulator on) . . . . . . 61 5.3.4 operating conditions at power-up / power-down (regulator off) . . . . . 61 5.3.5 embedded reset and power control block characteristics . . . . . . . . . . . 62 5.3.6 supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 5.3.7 wakeup time from low-power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 contents stm32f205xx, stm32f207xx 4/163 doc id 15818 rev 7 5.3.8 external clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 5.3.9 internal clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 5.3.10 pll characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 5.3.11 pll spread spectrum clock generation (sscg) characteristics . . . . . . 83 5.3.12 memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 5.3.13 emc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 5.3.14 absolute maximum ratings (electrical sensitivity) . . . . . . . . . . . . . . . . . 88 5.3.15 i/o current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 5.3.16 i/o port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 5.3.17 nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 5.3.18 tim timer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 5.3.19 communications interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 5.3.20 12-bit adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 5.3.21 dac electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 5.3.22 temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 5.3.23 v bat monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 5.3.24 embedded reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 5.3.25 fsmc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 5.3.26 camera interface (dcmi) timing specifications . . . . . . . . . . . . . . . . . . 136 5.3.27 sd/sdio mmc card host interface (sdio) characteristics . . . . . . . . . 136 5.3.28 rtc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 6 package characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 6.1 package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 6.2 thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 7 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 appendix a application block diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 a.1 main applications versus package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 a.2 application example with regulator off . . . . . . . . . . . . . . . . . . . . . . . . . 148 a.3 usb otg full speed (fs) interface solutions . . . . . . . . . . . . . . . . . . . . . 149 a.4 usb otg high speed (hs) interface solutions . . . . . . . . . . . . . . . . . . . . 150 a.5 complete audio player solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 stm32f205xx, stm32f207xx list of tables doc id 15818 rev 7 5/163 list of tables table 1. device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 table 2. stm32f205xx and stm32f207xx features and peripheral counts . . . . . . . . . . . . . . . . . . 12 table 3. timer feature comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 4. usart feature comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 5. stm32f20x pin and ball definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 6. alternate function mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 7. voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 8. current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 9. thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 10. general operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 11. limitations depending on the operating power supply range . . . . . . . . . . . . . . . . . . . . . . . 59 table 12. operating conditions at power-up / power-down (regulator on) . . . . . . . . . . . . . . . . . . . . 61 table 13. operating conditions at power-up / power-down (regulator off). . . . . . . . . . . . . . . . . . . . 61 table 14. embedded reset and power control block characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 15. typical and maximum current consumption in run mode, code with data processing running from flash memory (art accelerator disabled) . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 16. typical and maximum current consumption in run mode, code with data processing running from flash memory (art accelerator enabled) or ram . . . . . . . . . . . . . . . . . . . 65 table 17. typical and maximum current consumption in sleep mode . . . . . . . . . . . . . . . . . . . . . . . . 68 table 18. typical and maximum current consumptions in stop mode . . . . . . . . . . . . . . . . . . . . . . . . 70 table 19. typical and maximum current consumptions in standby mode . . . . . . . . . . . . . . . . . . . . . 71 table 20. typical and maximum current consumptions in v bat mode. . . . . . . . . . . . . . . . . . . . . . . . 71 table 21. peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 22. low-power mode wakeup timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 23. high-speed external user clock characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 24. low-speed external user clock characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 25. hse 4-26 mhz oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 7 table 26. lse oscillator characteristics (f lse = 32.768 khz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 27. hsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 28. lsi oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 29. main pll characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 30. plli2s (audio pll) characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 31. sscg parameters constraint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 table 32. flash memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 table 33. flash memory programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 table 34. flash memory programming with v pp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 35. flash memory endurance and data retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 table 36. ems characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 table 37. emi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 table 38. esd absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 table 39. electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 40. i/o current injection susceptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 41. i/o static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 table 42. output voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 table 43. i/o ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 table 44. nrst pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 table 45. characteristics of timx connected to the apb1 domain . . . . . . . . . . . . . . . . . . . . . . . . . . 95 table 46. characteristics of timx connected to the apb2 domain . . . . . . . . . . . . . . . . . . . . . . . . . . 96 list of tables stm32f205xx, stm32f207xx 6/163 doc id 15818 rev 7 table 47. i 2 c characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 table 48. scl frequency (f pclk1 = 30 mhz.,v dd = 3.3 v) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 table 49. spi characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 table 50. i 2 s characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 table 51. usb otg fs startup time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 table 52. usb otg fs dc electrical characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 table 53. usb otg fs electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 table 54. usb hs dc electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 5 table 55. clock timing parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 table 56. ulpi timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 table 57. ethernet dc electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 table 58. dynamics characteristics: ethernet mac signals for smi. . . . . . . . . . . . . . . . . . . . . . . . . 107 table 59. dynamics characteristics: ethernet mac signals for rmii . . . . . . . . . . . . . . . . . . . . . . . . 107 table 60. dynamics characteristics: ethernet mac signals for mii . . . . . . . . . . . . . . . . . . . . . . . . . 108 table 61. adc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 table 62. adc accuracy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 table 63. dac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 table 64. ts characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 table 65. v bat monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 table 66. embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 table 67. asynchronous non-multiplexed sram/psram/nor read timings . . . . . . . . . . . . . . . . . 118 table 68. asynchronous non-multiplexed sram/psram/nor write timings . . . . . . . . . . . . . . . . . 119 table 69. asynchronous multiplexed psram/nor read timings. . . . . . . . . . . . . . . . . . . . . . . . . . . 120 table 70. asynchronous multiplexed psram/nor write timings . . . . . . . . . . . . . . . . . . . . . . . . . . 121 table 71. synchronous multiplexed nor/psram read timings . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 table 72. synchronous multiplexed psram write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 table 73. synchronous non-multiplexed nor/psram read timings . . . . . . . . . . . . . . . . . . . . . . . . 126 table 74. synchronous non-multiplexed psram write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 table 75. switching characteristics for pc card/cf read and write cycles . . . . . . . . . . . . . . . . . . . 132 table 76. switching characteristics for nand flash read and write cycles . . . . . . . . . . . . . . . . . . . 135 table 77. dcmi characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 table 78. sd / mmc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 table 79. rtc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 table 80. lqfp64 ? 10 x 10 mm 64 pin low-profile quad flat package mechanical data . . . . . . . . . 139 table 81. wlcsp64+2 - 0.400 mm pitch wafer level chip size package mechanical data . . . . . . . 140 table 82. lqpf100 ? 14 x 14 mm 100-pin low-profile quad flat package mechanical data. . . . . . . 141 table 83. lqfp144, 20 x 20 mm, 144-pin low-profile quad flat package mechanical data . . . . . . . 142 table 84. lqfp176 - low profile quad flat package 24 24 1.4 mm package mechanical data . 143 table 85. ufbga176+25 - ultra thin fine pitch ball grid array 10 10 0.6 mm mechanical data . 144 table 86. package thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 table 87. ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 table 88. main applications versus package for stm32f2xxx microcontrollers . . . . . . . . . . . . . . . 147 table 89. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 stm32f205xx, stm32f207xx list of figures doc id 15818 rev 7 7/163 list of figures figure 1. compatible board design: lqfp144 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 figure 2. compatible board design: lqfp100 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 3. compatible board design: lqfp64 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 4. stm32f20x block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 figure 5. multi-ahb matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 figure 6. startup in regulator off: slow v dd slope - power-down reset risen after v cap_1 /v cap_2 stabilization . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 7. startup in regulator off: fast v dd slope - power-down reset risen before v cap_1 /v cap_2 stabilization . . . . . . . . . . . . . . . . . . . . . . 23 figure 8. stm32f20x lqfp64 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 figure 9. stm32f20x wlcsp64+2 ballout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 figure 10. stm32f20x lqfp100 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 figure 11. stm32f20x lqfp144 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 figure 12. stm32f20x lqfp176 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 figure 13. stm32f20x ufbga176 ballout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 8 figure 14. memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 figure 15. pin loading conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 figure 16. pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 figure 17. power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 figure 18. current consumption measurement scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 figure 19. number of wait states versus f cpu and v dd range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 figure 20. external capacitor c ext . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 figure 21. typical current consumption vs temperature, run mode, code with data processing running from ram, and peripherals on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 figure 22. typical current consumption vs temperature, run mode, code with data processing running from ram, and peripherals off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 figure 23. typical current consumption vs temperature, run mode, code with data processing running from flash, art accelerator off, peripherals on . . . . . . . . . . . . . . . 67 figure 24. typical current consumption vs temperature, run mode, code with data processing running from flash, art accelerator off, peripherals off . . . . . . . . . . . . . . 67 figure 25. typical current consumption vs temperature in sleep mode, peripherals on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 figure 26. typical current consumption vs temperature in sleep mode, peripherals off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 figure 27. typical current consumption vs temperature in stop mode . . . . . . . . . . . . . . . . . . . . . . . . 70 figure 28. high-speed external clock source ac timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 figure 29. low-speed external clock source ac timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 figure 30. typical application with an 8 mhz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 figure 31. typical application with a 32.768 khz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 figure 32. acc hsi versus temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 figure 33. acc lsi versus temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 figure 34. pll output clock waveforms in center spread mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 figure 35. pll output clock waveforms in down spread mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 figure 36. i/o ac characteristics definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 figure 37. recommended nrst pin protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 figure 38. i 2 c bus ac waveforms and measurement circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 figure 39. spi timing diagram - slave mode and cpha = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 figure 40. spi timing diagram - slave mode and cpha = 1 (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 list of figures stm32f205xx, stm32f207xx 8/163 doc id 15818 rev 7 figure 41. spi timing diagram - master mode (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 figure 42. i 2 s slave timing diagram (philips protocol) (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 figure 43. i 2 s master timing diag ram (philips protocol) (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 figure 44. usb otg fs timings: definition of data signal rise and fall time . . . . . . . . . . . . . . . . . . . 105 figure 45. ulpi timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 figure 46. ethernet smi timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 figure 47. ethernet rmii timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 figure 48. ethernet mii timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 figure 49. adc accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 figure 50. typical connection diagram using the adc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 figure 51. power supply and reference decoupling (v ref+ not connected to v dda ). . . . . . . . . . . . . 113 figure 52. power supply and reference decoupling (v ref+ connected to v dda ). . . . . . . . . . . . . . . . 113 figure 53. 12-bit buffered /non-buffered dac . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 figure 54. asynchronous non-multiplexed sram/psram/nor read waveforms . . . . . . . . . . . . . . 118 figure 55. asynchronous non-multiplexed sram/psram/nor write waveforms . . . . . . . . . . . . . . 119 figure 56. asynchronous multiplexed psram/nor read waveforms. . . . . . . . . . . . . . . . . . . . . . . . 120 figure 57. asynchronous multiplexed psram/nor write waveforms . . . . . . . . . . . . . . . . . . . . . . . 121 figure 58. synchronous multiplexed nor/psram read timings . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 figure 59. synchronous multiplexed psram write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 figure 60. synchronous non-multiplexed nor/psram read timings . . . . . . . . . . . . . . . . . . . . . . . . 126 figure 61. synchronous non-multiplexed psram write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 figure 62. pc card/compactflash controller waveforms for common memory read access . . . . . . 128 figure 63. pc card/compactflash controller waveforms for common memory write access . . . . . . 129 figure 64. pc card/compactflash controlle r waveforms for attribute memory read access. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 figure 65. pc card/compactflash controlle r waveforms for attribute memory write access. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 figure 66. pc card/compactflash controller waveforms for i/o space read access . . . . . . . . . . . . 131 figure 67. pc card/compactflash controller waveforms for i/o space write access . . . . . . . . . . . . 132 figure 68. nand controller waveforms for read access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 figure 69. nand controller waveforms for write access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 figure 70. nand controller waveforms for common memory read access . . . . . . . . . . . . . . . . . . . . 135 figure 71. nand controller waveforms for common memory write access. . . . . . . . . . . . . . . . . . . . 135 figure 72. sdio high-speed mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 figure 73. sd default mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 figure 74. lqfp64 ? 10 x 10 mm 64 pin low-profile quad flat package outline . . . . . . . . . . . . . . . . 139 figure 75. recommended footprint (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 figure 76. wlcsp64+2 - 0.400 mm pitch wafer level chip size package outline . . . . . . . . . . . . . . . 140 figure 77. lqfp100, 14 x 14 mm 100-pin low-profile quad flat package outline . . . . . . . . . . . . . . . 141 figure 78. recommended footprint (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 figure 79. lqfp144, 20 x 20 mm, 144-pin low-profile quad flat package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 figure 80. recommended footprint (1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 figure 81. lqfp176 - low profile quad flat package 24 24 1.4 mm, package outline . . . . . . . . 143 figure 82. ufbga176+25 - ultra thin fine pitch ball grid array 10 10 0.6 mm, package outline . 144 figure 83. regulator off/internal reset on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 figure 84. regulator off/ internal reset off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 figure 85. usb otg fs peripheral-only connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 figure 86. usb otg fs host-only connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 figure 87. otg fs connection dual-role with internal phy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 figure 88. usb otg hs peripheral-only connection in fs mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 figure 89. usb otg hs host-only connection in fs mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151 stm32f205xx, stm32f207xx list of figures doc id 15818 rev 7 9/163 figure 90. otg hs connection dual-role with external phy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151 figure 91. complete audio player solution 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 figure 92. complete audio player solution 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 figure 93. audio player solution using pll, plli2s, usb and 1 crystal . . . . . . . . . . . . . . . . . . . . . . 153 figure 94. audio pll (plli2s) providing accurate i2s clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 figure 95. master clock (mck) used to drive the external audio dac. . . . . . . . . . . . . . . . . . . . . . . . 154 figure 96. master clock (mck) not used to drive the external audio dac. . . . . . . . . . . . . . . . . . . . . 154 introduction stm32f205xx, stm32f207xx 10/163 doc id 15818 rev 7 1 introduction this datasheet provides the description of the stm32f205xx and stm32f207xx lines of microcontrollers. for more details on the whole stmicroelectronics stm32? family, please refer to section 2.1: full compatib ility throughout the family . the stm32f205xx and stm32f207xx datasheet should be read in conjunction with the stm32f20x/stm32f21x reference manual. for information on programming, erasing and protection of the internal flash memory, please refer to the stm32f20x/stm32f21x flash programming manual. the reference and flash programming manuals are both available from the stmicroelectronics website www.st.com . for information on the cortex?-m3 core please refer to the cortex?-m3 technical reference manual, available from the www.arm.com website at the following address: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0337e/. stm32f205xx, stm32f207xx description doc id 15818 rev 7 11/163 2 description the stm32f205xx and stm32f207xx family is based on the high-performance arm ? cortex?-m3 32-bit risc core operating at a frequency of up to 120 mhz. the family incorporates high-speed embedded memories (flash memory up to 1 mbyte, up to 128 kbytes of system sram), up to 4 kbytes of backup sram, and an extensive range of enhanced i/os and peripherals connected to two apb buses, two ahb buses and a 32-bit multi-ahb bus matrix. the devices also feature an adaptive real-time memory accelerator (art accelerator?) which allows to achieve a performance equivalent to 0 wait state program execution from flash memory at a cpu frequency up to 120 mhz. this performance has been validated using the coremark benchmark. all devices offer three 12-bit adcs, two dacs, a low-power rtc, twelve general-purpose 16-bit timers including two pwm timers for motor control, two general-purpose 32-bit timers. a true number random generator (rng). they also feature standard and advanced communication interfaces. new advanced peripherals include an sdio, an enhanced flexible static memory control (fsmc) interface (for devices offered in packages of 100 pins and more), and a camera interface for cmos sensors. the devices also feature standard peripherals. up to three i 2 cs three spis, two i 2 ss. to achieve audio class accuracy, the i 2 s peripherals can be clocked via a dedicated internal audio pll or via an external pll to allow synchronization. 4 usarts and 2 uarts an usb otg full-speed and a usb otg full-s peed with high-s peed capability (with the ulpi), tw o c a n s an sdio interface ethernet and the camera interface available on stm32f207xx devices only. note: the stm32f205xx and stm32f207xx family operates in the ?40 to +105 c temperature range from a 1.8 v to 3.6 v power supply. the supply voltage can drop to 1.65 v when the device operates in a reduced temperature range. a comprehensive set of power-saving mode allows the design of low-power applications. the stm32f205xx and stm32f207xx family offers devices in four packages ranging from 64 pins to 176 pins. the set of included peripherals changes with the device chosen. these features make the stm32f205xx and stm32f207xx microcontroller family suitable for a wide range of applications: motor drive and application control medical equipment industrial applications: plc, inverters, circuit breakers printers, and scanners alarm systems, video intercom, and hvac home audio appliances figure 4 shows the general block diagram of the device family. stm32f205xx, stm32f207xx description doc id 15818 rev 7 12/163 table 2. stm32f205xx and stm32f207xx features and peripheral counts peripherals stm32f205rx stm32f205vx stm32f205zx stm32f207vx stm32f207zx stm32f207ix flash memory in kbytes 128 256 512 768 1024 128 256 512 768 1024 256 512 768 1024 256 512 768 1024 256 512 768 1024 256 512 768 1024 sram in kbytes system (sram1+sram2) 64 (48+16) 96 (80+16) 128(112+16) 64 (48+16) 96 (80+16) 128 (112+16) 96 (80+16) 128 (112+16) 128 (112+16) backup 4 4 4 4 fsmc memory controller no ye s ethernet no ye s timers general-purpose 10 advanced-control 2 basic 2 random number generator ye s comm. interfaces spi / (i 2 s) 3 (2) i 2 c 3 usart uart 4 2 usb otg fs no 1 usb otg hs 1 can 2 camera interface no ye s gpios 51 82 114 82 114 140 sdio ye s 12-bit adc number of channels 3 16 16 24 16 24 24 12-bit dac number of channels ye s 2 maximum cpu frequency 120 mhz operating voltage 1.8 v to 3.6 v (1) operating temperatures ambient temperatures: ?40 to +85 c /?40 to +105 c junction temperature: ?40 to + 125 c package lqfp64 lqfp64 wlcsp 64+2 lqfp 64 lqfp64 wlcsp 64+2 lqfp100 lqfp144 lqfp100 lqfp144 lqfp/ ufbga 176 ufbga 176 lqfp 176 1. v dd minimum value of 1.65 v is obtained when t he device operates in a r educed temperature range. stm32f205xx, stm32f207xx description doc id 15818 rev 7 13/163 2.1 full compatibility throughout the family the stm32f205xx and stm32f207xx constitute the stm32f20x family whose members are fully pin-to-pin, software and feature compatible, allowing the user to try different memory densities and peripherals for a greater degree of freedom during the development cycle. the stm32f205xx and stm32f 207xx devices maintain a close compatibility with the whole stm32f10xxx family. all functional pins are pin-to-pin compatible. the stm32f205xx and stm32f207xx, however, are not drop-in replacements for the stm32f10xxx devices: the two families do not have the same power scheme, and so their power pins are different. nonetheless, transition from the stm32f10xxx to the stm32f20x family remains simple as only a few pins are impacted. figure 1 compatible board design between the stm32f20x and the stm32f10xxx family. figure 1. compatible board design: lqfp144 1. rfu = reserved for future use. a i b 6 3 3 r e s i s t o r o r s o l d e r i n g b r i d g e p r e s e n t f o r t h e 3 4 - & |