Escolar Documentos
Profissional Documentos
Cultura Documentos
ARM Cortex-M4 32b MCU+FPU, 210DMIPS, up to 1MB Flash/192+4KB RAM, USB OTG HS/FS, Ethernet, 17 TIMs, 3 ADCs, 15 comm. interfaces & camera
Datasheet - production data
FBGA
LQFP64 (10 10 mm) LQFP100 (14 14 mm) LQFP144 (20 20 mm) LQFP176 (24 24 mm) WLCSP90 UFBGA176 (10 10 mm)
Features
Core: ARM 32-bit Cortex-M4 CPU with FPU, Adaptive real-time accelerator (ART Accelerator) allowing 0-wait state execution from Flash memory, frequency up to 168 MHz, memory protection unit, 210 DMIPS/ 1.25 DMIPS/MHz (Dhrystone 2.1), and DSP instructions Memories Up to 1 Mbyte of Flash memory Up to 192+4 Kbytes of SRAM including 64Kbyte of CCM (core coupled memory) data RAM Flexible static memory controller supporting Compact Flash, SRAM, PSRAM, NOR and NAND memories LCD parallel interface, 8080/6800 modes Clock, reset and supply management 1.8 V 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) 32 kHz oscillator for RTC with calibration Internal 32 kHz RC with calibration Low power Sleep, Stop and Standby modes VBAT supply for RTC, 2032 bit backup registers + optional 4 KB backup SRAM 312-bit, 2.4 MSPS A/D converters: up to 24 channels and 7.2 MSPS in triple interleaved mode 212-bit D/A converters General-purpose DMA: 16-stream DMA controller with FIFOs and burst support Up to 17 timers: up to twelve 16-bit and two 32bit timers up to 168 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-M4 Embedded Trace Macrocell Up to 140 I/O ports with interrupt capability Up to 136 fast I/Os up to 84 MHz Up to 138 5 V-tolerant I/Os Up to 15 communication interfaces Up to 3 I2C interfaces (SMBus/PMBus) Up to 4 USARTs/2 UARTs (10.5 Mbit/s, ISO 7816 interface, LIN, IrDA, modem control) Up to 3 SPIs (42 Mbits/s), 2 with muxed full-duplex I2S to achieve audio class accuracy via internal audio PLL or external clock 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 camera interface up to 54 Mbytes/s True random number generator CRC calculation unit 96-bit unique ID RTC: subsecond accuracy, hardware calendar
Table 1. Device summary
Reference Part number STM32F405RG, STM32F405VG, STM32F405ZG, STM32F405OG, STM32F405OE STM32F407VG, STM32F407IG, STM32F407ZG, STM32F407VE, STM32F407ZE, STM32F407IE
STM32F405xx STM32F407xx
June 2013
This is information on a product in full production.
DocID022152 Rev 4
1/185
www.st.com 1
Contents
STM32F405xx, STM32F407xx
Contents
1 2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.1 2.2 Full compatibility throughout the family . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Device overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.2.10 2.2.11 2.2.12 2.2.13 2.2.14 2.2.15 2.2.16 2.2.17 2.2.18 2.2.19 2.2.20 2.2.21 2.2.22 2.2.23 2.2.24 2.2.25 2.2.26 2.2.27 2.2.28 2.2.29 ARM Cortex-M4F core with embedded Flash and SRAM . . . . . . . . 19 Adaptive real-time memory accelerator (ART Accelerator) . . . . . . . . 19 Memory protection unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Embedded Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 CRC (cyclic redundancy check) calculation unit . . . . . . . . . . . . . . . . . . 20 Embedded SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Multi-AHB bus matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 DMA controller (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Flexible static memory controller (FSMC) . . . . . . . . . . . . . . . . . . . . . . . 22 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . 22 External interrupt/event controller (EXTI) . . . . . . . . . . . . . . . . . . . . . . . 22 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Regulator ON/OFF and internal reset ON/OFF availability . . . . . . . . . . 28 Real-time clock (RTC), backup SRAM and backup registers . . . . . . . . 28 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 VBAT operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Inter-integrated circuit interface (IC) . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Universal synchronous/asynchronous receiver transmitters (USART) . 33 Serial peripheral interface (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Inter-integrated sound (I2S) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Audio PLL (PLLI2S) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Secure digital input/output interface (SDIO) . . . . . . . . . . . . . . . . . . . . . 35 Ethernet MAC interface with dedicated DMA and IEEE 1588 support . 35 Controller area network (bxCAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx 2.2.30 2.2.31 2.2.32 2.2.33 2.2.34 2.2.35 2.2.36 2.2.37 2.2.38 2.2.39
Contents
Universal serial bus on-the-go full-speed (OTG_FS) . . . . . . . . . . . . . . . 36 Universal serial bus on-the-go high-speed (OTG_HS) . . . . . . . . . . . . . 36 Digital camera interface (DCMI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Random number generator (RNG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 General-purpose input/outputs (GPIOs) . . . . . . . . . . . . . . . . . . . . . . . . 37 Analog-to-digital converters (ADCs) . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Digital-to-analog converter (DAC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Serial wire JTAG debug port (SWJ-DP) . . . . . . . . . . . . . . . . . . . . . . . . . 38 Embedded Trace Macrocell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3 4 5
5.2 5.3
DocID022152 Rev 4
3/185
Contents 5.3.12 5.3.13 5.3.14 5.3.15 5.3.16 5.3.17 5.3.18 5.3.19 5.3.20 5.3.21 5.3.22 5.3.23 5.3.24 5.3.25 5.3.26 5.3.27 5.3.28
STM32F405xx, STM32F407xx Memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 EMC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Absolute maximum ratings (electrical sensitivity) . . . . . . . . . . . . . . . . 108 I/O current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 I/O port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 NRST pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 TIM timer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 Communications interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 12-bit ADC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 Temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 VBAT monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 Embedded reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 DAC electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 FSMC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 Camera interface (DCMI) timing specifications . . . . . . . . . . . . . . . . . . 155 SD/SDIO MMC card host interface (SDIO) characteristics . . . . . . . . . 156 RTC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
4/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
List of tables
List of tables
Table 1. Table 2. Table 3. Table 4. Table 5. Table 6. Table 7. Table 8. Table 9. Table 10. Table 11. Table 12. Table 13. Table 14. Table 15. Table 16. Table 17. Table 18. Table 19. Table 20. Table 21. Table 22. Table 23. Table 24. Table 25. Table 26. Table 27. Table 28. Table 29. Table 30. Table 31. Table 32. Table 33. Table 34. Table 35. Table 36. Table 37. Table 38. Table 39. Table 40. Table 41. Table 42. Table 43. Table 44. Table 45. Table 46. Device summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 STM32F405xx and STM32F407xx: features and peripheral counts. . . . . . . . . . . . . . . . . . 13 Regulator ON/OFF and internal reset ON/OFF availability. . . . . . . . . . . . . . . . . . . . . . . . . 28 Timer feature comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 USART feature comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Legend/abbreviations used in the pinout table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 STM32F40x pin and ball definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 FSMC pin definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Alternate function mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 STM32F40x register boundary addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Thermal characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 Limitations depending on the operating power supply range . . . . . . . . . . . . . . . . . . . . . . . 79 VCAP_1/VCAP_2 operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Operating conditions at power-up / power-down (regulator ON) . . . . . . . . . . . . . . . . . . . . 80 Operating conditions at power-up / power-down (regulator OFF). . . . . . . . . . . . . . . . . . . . 80 Embedded reset and power control block characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . 81 Typical and maximum current consumption in Run mode, code with data processing running from Flash memory (ART accelerator enabled) or RAM . . . . . . . . . . . . . . . . . . . 83 Typical and maximum current consumption in Run mode, code with data processing running from Flash memory (ART accelerator disabled) . . . . . . . . . . . . . . . . . . . . . . . . . . 84 Typical and maximum current consumption in Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . 87 Typical and maximum current consumptions in Stop mode . . . . . . . . . . . . . . . . . . . . . . . . 88 Typical and maximum current consumptions in Standby mode . . . . . . . . . . . . . . . . . . . . . 88 Typical and maximum current consumptions in VBAT mode. . . . . . . . . . . . . . . . . . . . . . . . 89 Switching output I/O current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 Peripheral current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Low-power mode wakeup timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 High-speed external user clock characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Low-speed external user clock characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 HSE 4-26 MHz oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 LSE oscillator characteristics (fLSE = 32.768 kHz) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 HSI oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 LSI oscillator characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Main PLL characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 PLLI2S (audio PLL) characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 SSCG parameters constraint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Flash memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 Flash memory programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 Flash memory programming with VPP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Flash memory endurance and data retention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 EMS characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 EMI characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 ESD absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 Electrical sensitivities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 I/O current injection susceptibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
DocID022152 Rev 4
5/185
List of tables Table 47. Table 48. Table 49. Table 50. Table 51. Table 52. Table 53. Table 54. Table 55. Table 56. Table 57. Table 58. Table 59. Table 60. Table 61. Table 62. Table 63. Table 64. Table 65. Table 66. Table 67. Table 68. Table 69. Table 70. Table 71. Table 72. Table 73. Table 74. Table 75. Table 76. Table 77. Table 78. Table 79. Table 80. Table 81. Table 82. Table 83. Table 84. Table 85. Table 86. Table 87. Table 88. Table 89. Table 90. Table 91. Table 92. Table 93. Table 94. Table 95.
STM32F405xx, STM32F407xx
I/O static characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 Output voltage characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 I/O AC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 NRST pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 Characteristics of TIMx connected to the APB1 domain . . . . . . . . . . . . . . . . . . . . . . . . . 115 Characteristics of TIMx connected to the APB2 domain . . . . . . . . . . . . . . . . . . . . . . . . . 116 I2C characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 SCL frequency (fPCLK1= 42 MHz.,VDD = 3.3 V) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 SPI dynamic characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 I2S dynamic characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 USB OTG FS startup time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 USB OTG FS DC electrical characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 USB OTG FS electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 USB HS DC electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 USB HS clock timing parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 ULPI timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Ethernet DC electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Dynamic characteristics: Ehternet MAC signals for SMI. . . . . . . . . . . . . . . . . . . . . . . . . . 127 Dynamic characteristics: Ethernet MAC signals for RMII . . . . . . . . . . . . . . . . . . . . . . . . . 128 Dynamic characteristics: Ethernet MAC signals for MII . . . . . . . . . . . . . . . . . . . . . . . . . . 128 ADC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 ADC accuracy at fADC = 30 MHz . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 Temperature sensor calibration values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 VBAT monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 Embedded internal reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 Internal reference voltage calibration values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 DAC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 Asynchronous non-multiplexed SRAM/PSRAM/NOR read timings . . . . . . . . . . . . . . . . . 138 Asynchronous non-multiplexed SRAM/PSRAM/NOR write timings . . . . . . . . . . . . . . . . . 139 Asynchronous multiplexed PSRAM/NOR read timings. . . . . . . . . . . . . . . . . . . . . . . . . . . 140 Asynchronous multiplexed PSRAM/NOR write timings . . . . . . . . . . . . . . . . . . . . . . . . . . 141 Synchronous multiplexed NOR/PSRAM read timings . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 Synchronous multiplexed PSRAM write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 Synchronous non-multiplexed NOR/PSRAM read timings . . . . . . . . . . . . . . . . . . . . . . . . 145 Synchronous non-multiplexed PSRAM write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 Switching characteristics for PC Card/CF read and write cycles in attribute/common space. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151 Switching characteristics for PC Card/CF read and write cycles in I/O space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 Switching characteristics for NAND Flash read cycles . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 Switching characteristics for NAND Flash write cycles. . . . . . . . . . . . . . . . . . . . . . . . . . . 155 DCMI characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 Dynamic characteristics: SD / MMC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 RTC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 WLCSP90 - 0.400 mm pitch wafer level chip size package mechanical data . . . . . . . . . 159 LQFP64 10 x 10 mm 64 pin low-profile quad flat package mechanical data . . . . . . . . . 160 LQPF100 14 x 14 mm 100-pin low-profile quad flat package mechanical data. . . . . . . 162 LQFP144, 20 x 20 mm, 144-pin low-profile quad flat package mechanical data . . . . . . . 164 UFBGA176+25 - ultra thin fine pitch ball grid array 10 10 0.6 mm mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 LQFP176, 24 x 24 mm, 176-pin low-profile quad flat package mechanical data . . . . . . . 167
6/185
DocID022152 Rev 4
List of tables
Package thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 Ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
DocID022152 Rev 4
7/185
List of figures
STM32F405xx, STM32F407xx
List of figures
Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9. Figure 10. Figure 11. Figure 12. Figure 13. Figure 14. Figure 15. Figure 16. Figure 17. Figure 18. Figure 19. Figure 20. Figure 21. Figure 22. Figure 23. Figure 24. Figure 25. Figure 26. Figure 27. Figure 28. Figure 29. Figure 30. Figure 31. Figure 32. Figure 33. Figure 34. Figure 35. Figure 36. Figure 37. Figure 38. Figure 39. Compatible board design between STM32F10xx/STM32F4xx for LQFP64 . . . . . . . . . . . . 15 Compatible board design STM32F10xx/STM32F2xx/STM32F4xx for LQFP100 package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Compatible board design between STM32F10xx/STM32F2xx/STM32F4xx for LQFP144 package. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Compatible board design between STM32F2xx and STM32F4xx for LQFP176 and BGA176 packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 STM32F40x block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Multi-AHB matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Power supply supervisor interconnection with internal reset OFF . . . . . . . . . . . . . . . . . . . 24 PDR_ON and NRST control with internal reset OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Regulator OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Startup in regulator OFF mode: slow VDD slope - power-down reset risen after VCAP_1/VCAP_2 stabilization . . . . . . . . . . . . . . . . . . . . . . . . 27 Startup in regulator OFF mode: fast VDD slope - power-down reset risen before VCAP_1/VCAP_2 stabilization . . . . . . . . . . . . . . . . . . . . . . 28 STM32F40x LQFP64 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 STM32F40x LQFP100 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 STM32F40x LQFP144 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 STM32F40x LQFP176 pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 STM32F40x UFBGA176 ballout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 STM32F40x WLCSP90 ballout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 STM32F40x memory map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Pin loading conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Current consumption measurement scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 External capacitor CEXT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Typical current consumption versus temperature, Run mode, code with data processing running from Flash (ART accelerator ON) or RAM, and peripherals OFF . . . . 85 Typical current consumption versus temperature, Run mode, code with data processing running from Flash (ART accelerator ON) or RAM, and peripherals ON . . . . . 85 Typical current consumption versus temperature, Run mode, code with data processing running from Flash (ART accelerator OFF) or RAM, and peripherals OFF . . . 86 Typical current consumption versus temperature, Run mode, code with data processing running from Flash (ART accelerator OFF) or RAM, and peripherals ON . . . . 86 Typical VBAT current consumption (LSE and RTC ON/backup RAM OFF) . . . . . . . . . . . . 89 Typical VBAT current consumption (LSE and RTC ON/backup RAM ON) . . . . . . . . . . . . . 90 High-speed external clock source AC timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Low-speed external clock source AC timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Typical application with an 8 MHz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Typical application with a 32.768 kHz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 ACCLSI versus temperature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 PLL output clock waveforms in center spread mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 PLL output clock waveforms in down spread mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 I/O AC characteristics definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Recommended NRST pin protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 I2C bus AC waveforms and measurement circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
8/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx Figure 40. Figure 41. Figure 42. Figure 43. Figure 44. Figure 45. Figure 46. Figure 47. Figure 48. Figure 49. Figure 50. Figure 51. Figure 52. Figure 53. Figure 54. Figure 55. Figure 56. Figure 57. Figure 58. Figure 59. Figure 60. Figure 61. Figure 62. Figure 63. Figure 64. Figure 65. Figure 66. Figure 67. Figure 68. Figure 69. Figure 70. Figure 71. Figure 72. Figure 73. Figure 74. Figure 75. Figure 76. Figure 77. Figure 78. Figure 79. Figure 80. Figure 81. Figure 82. Figure 83. Figure 84. Figure 85. Figure 86. Figure 87.
List of figures
SPI timing diagram - slave mode and CPHA = 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 SPI timing diagram - slave mode and CPHA = 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 SPI timing diagram - master mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 I2S slave timing diagram (Philips protocol) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 I2S master timing diagram (Philips protocol)(1). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 USB OTG FS timings: definition of data signal rise and fall time . . . . . . . . . . . . . . . . . . . 124 ULPI timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Ethernet SMI timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Ethernet RMII timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Ethernet MII timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 ADC accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Typical connection diagram using the ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 Power supply and reference decoupling (VREF+ not connected to VDDA). . . . . . . . . . . . . 133 Power supply and reference decoupling (VREF+ connected to VDDA). . . . . . . . . . . . . . . . 133 12-bit buffered /non-buffered DAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 Asynchronous non-multiplexed SRAM/PSRAM/NOR read waveforms . . . . . . . . . . . . . . 138 Asynchronous non-multiplexed SRAM/PSRAM/NOR write waveforms . . . . . . . . . . . . . . 139 Asynchronous multiplexed PSRAM/NOR read waveforms. . . . . . . . . . . . . . . . . . . . . . . . 140 Asynchronous multiplexed PSRAM/NOR write waveforms . . . . . . . . . . . . . . . . . . . . . . . 141 Synchronous multiplexed NOR/PSRAM read timings . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 Synchronous multiplexed PSRAM write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 Synchronous non-multiplexed NOR/PSRAM read timings . . . . . . . . . . . . . . . . . . . . . . . . 145 Synchronous non-multiplexed PSRAM write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 PC Card/CompactFlash controller waveforms for common memory read access . . . . . . 148 PC Card/CompactFlash controller waveforms for common memory write access . . . . . . 148 PC Card/CompactFlash controller waveforms for attribute memory read access. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 PC Card/CompactFlash controller waveforms for attribute memory write access. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 PC Card/CompactFlash controller waveforms for I/O space read access . . . . . . . . . . . . 150 PC Card/CompactFlash controller waveforms for I/O space write access . . . . . . . . . . . . 151 NAND controller waveforms for read access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 NAND controller waveforms for write access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 NAND controller waveforms for common memory read access . . . . . . . . . . . . . . . . . . . . 154 NAND controller waveforms for common memory write access. . . . . . . . . . . . . . . . . . . . 154 DCMI timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 SDIO high-speed mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156 SD default mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 WLCSP90 - 0.400 mm pitch wafer level chip size package outline . . . . . . . . . . . . . . . . . 159 LQFP64 10 x 10 mm 64 pin low-profile quad flat package outline . . . . . . . . . . . . . . . . 160 LQFP64 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 LQFP100, 14 x 14 mm 100-pin low-profile quad flat package outline . . . . . . . . . . . . . . . 162 LQFP100 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 LQFP144, 20 x 20 mm, 144-pin low-profile quad flat package outline . . . . . . . . . . . . . . . 164 LQFP144 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 UFBGA176+25 - ultra thin fine pitch ball grid array 10 10 0.6 mm, package outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 LQFP176 24 x 24 mm, 176-pin low-profile quad flat package outline . . . . . . . . . . . . . . . 167 LQFP176 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168 USB controller configured as peripheral-only and used in Full speed mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 USB controller configured as host-only and used in full speed mode. . . . . . . . . . . . . . . . 171
DocID022152 Rev 4
9/185
List of figures Figure 88. Figure 89. Figure 90. Figure 91. Figure 92.
STM32F405xx, STM32F407xx
USB controller configured in dual mode and used in full speed mode . . . . . . . . . . . . . . . 172 USB controller configured as peripheral, host, or dual-mode and used in high speed mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 MII mode using a 25 MHz crystal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 RMII with a 50 MHz oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 RMII with a 25 MHz crystal and PHY with PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
10/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Introduction
Introduction
This datasheet provides the description of the STM32F405xx and STM32F407xx lines of microcontrollers. For more details on the whole STMicroelectronics STM32 family, please refer to Section 2.1: Full compatibility throughout the family. The STM32F405xx and STM32F407xx datasheet should be read in conjunction with the STM32F4xx reference manual. The reference and Flash programming manuals are both available from the STMicroelectronics website www.st.com. For information on the Cortex-M4 core, please refer to the Cortex-M4 programming manual (PM0214) available from www.st.com.
DocID022152 Rev 4
11/185
Description
STM32F405xx, STM32F407xx
Description
The STM32F405xx and STM32F407xx family is based on the high-performance ARM Cortex-M4 32-bit RISC core operating at a frequency of up to 168 MHz. The Cortex-M4 core features a Floating point unit (FPU) single precision which supports all ARM singleprecision data-processing instructions and data types. It also implements a full set of DSP instructions and a memory protection unit (MPU) which enhances application security. The Cortex-M4 core with FPU will be referred to as Cortex-M4F throughout this document. The STM32F405xx and STM32F407xx family incorporates high-speed embedded memories (Flash memory up to 1 Mbyte, up to 192 Kbytes of SRAM), up to 4 Kbytes of backup SRAM, and an extensive range of enhanced I/Os and peripherals connected to two APB buses, three AHB buses and a 32-bit multi-AHB bus matrix. 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 random number generator (RNG). They also feature standard and advanced communication interfaces. Up to three I2Cs Three SPIs, two I2Ss full duplex. To achieve audio class accuracy, the I2S peripherals can be clocked via a dedicated internal audio PLL or via an external clock to allow synchronization. Four USARTs plus two UARTs An USB OTG full-speed and a USB OTG high-speed with full-speed capability (with the ULPI), Two CANs An SDIO/MMC interface Ethernet and the camera interface available on STM32F407xx devices only.
New advanced peripherals include an SDIO, an enhanced flexible static memory control (FSMC) interface (for devices offered in packages of 100 pins and more), a camera interface for CMOS sensors. Refer to Table 2: STM32F405xx and STM32F407xx: features and peripheral counts for the list of peripherals available on each part number. The STM32F405xx and STM32F407xx family operates in the 40 to +105 C temperature range from a 1.8 to 3.6 V power supply. The supply voltage can drop to 1.7 V when the device operates in the 0 to 70 C temperature range using an external power supply supervisor: refer to Section : Internal reset OFF. A comprehensive set of power-saving mode allows the design of low-power applications. The STM32F405xx and STM32F407xx family offers devices in various packages ranging from 64 pins to 176 pins. The set of included peripherals changes with the device chosen. These features make the STM32F405xx and STM32F407xx microcontroller family suitable for a wide range of applications:
12/185
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
DocID022152 Rev 4
Figure 5 shows the general block diagram of the device family. Table 2. STM32F405xx and STM32F407xx: features and peripheral counts
Peripherals Flash memory in Kbytes SRAM in Kbytes System Backup No No Generalpurpose Advanced -control Timers Basic IWDG WWDG RTC Random number generator 10 2 2 Yes Yes Yes Yes STM32F405RG STM32F405OG STM32F405VG STM32F405ZG STM32F405OE STM32F407Vx STM32F407Zx STM32F407Ix 1024 192(112+16+64) 4 Yes(1) Yes 512 512 1024 512 1024 512 1024
STM32F405xx, STM32F407xx
Description
Ambient temperatures: 40 to +85 C /40 to +105 C Junction temperature: 40 to + 125 C LQFP100 LQFP144 WLCSP90 LQFP100 LQFP144 UFBGA176 LQFP176
1. For the LQFP100 and WLCSP90 packages, only FSMC Bank1 or Bank2 are available. Bank1 can only support a multiplexed NOR/PSRAM memory using the NE1 Chip Select. Bank2 can only support a 16- or 8-bit NAND Flash memory using the NCE2 Chip Select. The interrupt line cannot be used since Port G is not available in this package. 2. The SPI2 and SPI3 interfaces give the flexibility to work in an exclusive way in either the SPI mode or the I2S audio mode. 3. VDD/VDDA minimum value of 1.7 V is obtained when the device operates in reduced temperature range, and with the use of an external power supply supervisor (refer to Section : Internal reset OFF).
STM32F405xx, STM32F407xx
Description
2.1
VSS 48 49 47 31 VSS VSS 0 resistor or soldering bridge present for the STM32F10xx configuration, not present in the STM32F4xx configuration
ai18489
VSS
33 32
64 1 16
17
DocID022152 Rev 4
15/185
Description
STM32F405xx, STM32F407xx Figure 2. Compatible board design STM32F10xx/STM32F2xx/STM32F4xx for LQFP100 package
76
75 73
VSS
51 50 49 VSS VSS 0 resistor or soldering bridge present for the STM32F10xxx configuration, not present in the STM32F4xx configuration
100
99 (VSS) 1
19
20 25 VSS
26
VDD V SS Two 0 resistors connected to: VDD VSS - VSS for the STM32F10xx - VSS for the STM32F4xx - VSS, VDD or NC for the STM32F2xx
VSS
73 72 71
VSS VSS 0 resistor or soldering bridge present for the STM32F10xx configuration, not present in the STM32F4xx configuration
30 1 31 36 37
VDD VSS Two 0 resistors connected to: - VSS for the STM32F10xx - VSS, VDD or NC for the STM32F2xx VDD VSS
- VDD or signal from external power supply supervisor for the STM32F4xx
ai18487d
16/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Description
Figure 4. Compatible board design between STM32F2xx and STM32F4xx for LQFP176 and BGA176 packages
132 133 89 88
VDD VSS Two 0 resistors connected to: - VSS, VDD or NC for the STM32F2xx - VDD or signal from external power supply supervisor for the STM32F4xx
MS19919V3
DocID022152 Rev 4
17/185
Description
STM32F405xx, STM32F407xx
2.2
Device overview
Figure 5. STM32F40x block diagram
CCM data RAM 64 KB
NJTRST, JTDI, JTCK/SWCLK JTDO/SWD, JTDO TRACECLK TRACED[3:0] D-BUS AHB3
MPU NVIC
External memory controller (FSMC) SRAM, PSRAM, NOR Flash, PC Card (ATA), NAND Flash
CLK, NE [3:0], A[23:0], D[31:0], OEN, WEN, NBL[3:0], NL, NREG, NWAIT/IORDY, CD NIORD, IOWR, INT[2:3] INTN, NIIS16 as AF
ARM Cortex-M4 168 MHz FPU Ethernet MAC 10/100 USB OTG HS DMA2 DMA1
I-BUS S-BUS
Flash up to 1 MB
RNG
FIFO
PHY
FIFO
PHY
Power managmt
Voltage regulator 3.3 to 1.2 V @VDD VDD = 1.8 to 3.6 V VSS VCAP1, VCPA2
@VDDA PA[15:0]
GPIO PORT A GPIO PORT B GPIO PORT C GPIO PORT D GPIO PORT E GPIO PORT F GPIO PORT G GPIO PORT H GPIO PORT I
Reset & clock M AN AGT control
RC HS RC L S
PB[15:0]
P L L1&2
PC[15:0]
PVD
@VDDA @VDD OSC_IN OSC_OUT
PD[15:0] PE[15:0]
XTAL OSC
4- 16MHz
IWDG
PWR interface
VBAT = 1.65 to 3.6 V @VBAT XTAL 32 kHz
PF[15:0] PG[15:0]
FCLK
HCLKx
PCLKx
OSC32_IN OSC32_OUT
PH[15:0]
LS
PI[11:0]
RTC
LS
AWU Backup register
RTC_AF1 RTC_AF1
140 AF
EXT IT. WKUP SDIO / MMC TIM1 / PWM TIM8 / PWM TIM9 TIM10 TIM11
smcard irDA smcard irDA
DMA2
DMA1
TIM4 TIM5
D[7:0] CMD, CK as AF 4 compl. channels (TIM1_CH1[1:4]N, 4 channels (TIM1_CH1[1:4]ETR, BKIN as AF 4 compl. channels (TIM1_CH1[1:4]N, 4 channels (TIM1_CH1[1:4]ETR, BKIN as AF 2 channels as AF 1 channel as AF 1 channel as AF RX, TX, CK, CTS, RTS as AF RX, TX, CK, CTS, RTS as AF MOSI, MISO, SCK, NSS as AF
FIFO
AHB/APB2
AHB/APB1
16b
16b
APB2 84 MHz
WWDG
@VDDA VDDREF_ADC 8 analog inputs common to the 3 ADCs 8 analog inputs common to the ADC1 & 2 8 analog inputs for ADC3
16b
I2C1/SMBUS I2C2/SMBUS
Temperature sensor
DAC1 DAC2
ITF
FIFO
TX, RX TX, RX
DAC1_OUT as AF
DAC2_OUT as AF
MS19920V3
1. The timers connected to APB2 are clocked from TIMxCLK up to 168 MHz, while the timers connected to APB1 are clocked from TIMxCLK either up to 84 MHz or 168 MHz, depending on TIMPRE bit configuration in the RCC_DCKCFGR register. 2. The camera interface and ethernet are available only on STM32F407xx devices.
18/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Description
2.2.1
Note:
2.2.2
2.2.3
2.2.4
DocID022152 Rev 4
19/185
Description
STM32F405xx, STM32F407xx
2.2.5
2.2.6
Embedded SRAM
All STM32F40x products embed: Up to 192 Kbytes of system SRAM including 64 Kbytes of CCM (core coupled memory) data RAM RAM memory is accessed (read/write) at CPU clock speed with 0 wait states. 4 Kbytes of backup SRAM This area is accessible only from the CPU. Its content is protected against possible unwanted write accesses, and is retained in Standby or VBAT mode.
2.2.7
20/185
DocID022152 Rev 4
Description
S0
S1
S2
S3
S4
S5
S6
S7 ACCEL M0 ICODE Flash memory SRAM1 112 Kbyte SRAM2 16 Kbyte AHB1 peripherals AHB2 peripherals FSMC Static MemCtl
APB1 APB2
ai18490c
2.2.8
DocID022152 Rev 4
21/185
Description
STM32F405xx, STM32F407xx
2.2.9
2.2.10
This hardware block provides flexible interrupt management features with minimum interrupt latency.
2.2.11
2.2.12
22/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Description
clock entry is available when necessary (for example if an indirectly used external oscillator fails). Several prescalers allow the configuration of the three AHB buses, the high-speed APB (APB2) and the low-speed APB (APB1) domains. The maximum frequency of the three AHB buses is 168 MHz while the maximum frequency of the high-speed APB domains is 84 MHz. The maximum allowed frequency of the low-speed APB domain is 42 MHz. The devices embed a dedicated PLL (PLLI2S) which allows to achieve audio class performance. In this case, the I2S master clock can generate all standard sampling frequencies from 8 kHz to 192 kHz.
2.2.13
Boot modes
At startup, boot pins are used to select one out of three boot options: Boot from user Flash Boot from system memory Boot from embedded SRAM
The boot loader is located in system memory. It is used to reprogram the Flash memory by using USART1 (PA9/PA10), USART3 (PC10/PC11 or PB10/PB11), CAN2 (PB5/PB13), USB OTG FS in Device mode (PA11/PA12) through DFU (device firmware upgrade).
2.2.14
Refer to Figure 21: Power supply scheme for more details. Note: VDD/VDDA minimum value of 1.7 V is obtained when the device operates in reduced temperature range, and with the use of an external power supply supervisor (refer to Section : Internal reset OFF). Refer to Table 2 in order to identify the packages supporting this option.
2.2.15
DocID022152 Rev 4
23/185
Description
STM32F405xx, STM32F407xx The device also features an embedded programmable voltage detector (PVD) that monitors the VDD/VDDA power supply and compares it to the VPVD threshold. An interrupt can be generated when VDD/VDDA drops below the VPVD threshold and/or when VDD/VDDA is higher than the VPVD threshold. The interrupt service routine can then generate a warning message and/or put the MCU into a safe state. The PVD is enabled by software.
PDR_ON NRST
VDD
MS31383V3
1. PDR = 1.7 V for reduce temperature range; PDR = 1.8 V for all temperature range.
The VDD specified threshold, below which the device must be maintained under reset, is 1.8 V (see Figure 7). This supply voltage can drop to 1.7 V when the device operates in the 0 to 70 C temperature range. A comprehensive set of power-saving mode allows to design low-power applications. When the internal reset is OFF, the following integrated features are no more supported: The integrated power-on reset (POR) / power-down reset (PDR) circuitry is disabled The brownout reset (BOR) circuitry is disabled The embedded programmable voltage detector (PVD) is disabled VBAT functionality is no more available and VBAT pin should be connected to VDD
All packages, except for the LQFP64 and LQFP100, allow to disable the internal reset through the PDR_ON signal.
24/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx Figure 8. PDR_ON and NRST control with internal reset OFF
V DD
Description
PDR_ON
PDR_ON
time
MS19009V6
1. PDR = 1.7 V for reduce temperature range; PDR = 1.8 V for all temperature range.
2.2.16
Voltage regulator
The regulator has four operating modes: Regulator ON Main regulator mode (MR) Low power regulator (LPR) Power-down
Regulator OFF
Regulator ON
On packages embedding the BYPASS_REG pin, the regulator is enabled by holding BYPASS_REG low. On all other packages, the regulator is always enabled. There are three power modes configured by software when regulator is ON: MR is used in the nominal regulation mode (With different voltage scaling in Run) In Main regulator mode (MR mode), different voltage scaling are provided to reach the best compromise between maximum frequency and dynamic power consumption. Refer to Table 14: General operating conditions. LPR is used in the Stop modes The LP regulator mode is configured by software when entering Stop mode. Power-down is used in Standby mode. The Power-down mode is activated only when entering in Standby mode. The regulator output is in high impedance and the kernel circuitry is powered down, inducing zero consumption. The contents of the registers and SRAM are lost)
DocID022152 Rev 4
25/185
Description
STM32F405xx, STM32F407xx Two external ceramic capacitors should be connected on VCAP_1 & VCAP_2 pin. Refer to Figure 21: Power supply scheme and Figure 16: VCAP_1/VCAP_2 operating conditions. All packages have regulator ON feature.
Regulator OFF
This feature is available only on packages featuring the BYPASS_REG pin. The regulator is disabled by holding BYPASS_REG high. The regulator OFF mode allows to supply externally a V12 voltage source through VCAP_1 and VCAP_2 pins. Since the internal voltage scaling is not manage internally, the external voltage value must be aligned with the targetted maximum frequency. Refer to Table 14: General operating conditions. The two 2.2 F ceramic capacitors should be replaced by two 100 nF decoupling capacitors. Refer to Figure 21: Power supply scheme When the regulator is OFF, there is no more internal monitoring on V12. An external power supply supervisor should be used to monitor the V12 of the logic power domain. PA0 pin should be used for this purpose, and act as power-on reset on V12 power domain. In regulator OFF mode the following features are no more supported: PA0 cannot be used as a GPIO pin since it allows to reset a part of the V12 logic power domain which is not reset by the NRST pin. As long as PA0 is kept low, the debug mode cannot be used under power-on reset. As a consequence, PA0 and NRST pins must be managed separately if the debug connection under reset or pre-reset is required. Figure 9. Regulator OFF
V12 External VCAP_1/2 power Application reset supply supervisor signal (optional) Ext. reset controller active when VCAP_1/2 < Min V12
VDD
PA0 VDD
NRST
26/185
DocID022152 Rev 4
Description
VDD should always be higher than VCAP_1 and VCAP_2 to avoid current injection between power domains. If the time for VCAP_1 and VCAP_2 to reach V12 minimum value is faster than the time for VDD to reach 1.8 V, then PA0 should be kept low to cover both conditions: until VCAP_1 and VCAP_2 reach V12 minimum value and until VDD reaches 1.8 V (see Figure 10). Otherwise, if the time for VCAP_1 and VCAP_2 to reach V12 minimum value is slower than the time for VDD to reach 1.8 V, then PA0 could be asserted low externally (see Figure 11). If VCAP_1 and VCAP_2 go below V12 minimum value and VDD is higher than 1.8 V, then a reset must be asserted on PA0 pin.
Note:
The minimum value of V12 depends on the maximum frequency targeted in the application (see Table 14: General operating conditions). Figure 10. Startup in regulator OFF mode: slow VDD slope - power-down reset risen after VCAP_1/VCAP_2 stabilization
VDD PDR = 1.7 V or 1.8 V (2) V12 Min V12 VCAP_1/VCAP_2
time
NRST
time
1. This figure is valid both whatever the internal reset mode (onON or OFFoff). 2. PDR = 1.7 V for reduced temperature range; PDR = 1.8 V for all temperature ranges.
ai18491e
DocID022152 Rev 4
27/185
Description
STM32F405xx, STM32F407xx Figure 11. Startup in regulator OFF mode: fast VDD slope - power-down reset risen before VCAP_1/VCAP_2 stabilization
VDD
PDR = 1.7 V or 1.8 V (2) VCAP_1/VCAP_2 V12 Min V12 time NRST PA0 asserted externally
time
1. This figure is valid both whatever the internal reset mode (onON or offOFF). 2. PDR = 1.7 V for a reduced temperature range; PDR = 1.8 V for all temperature ranges.
ai18492d
2.2.17
2.2.18
The real-time clock (RTC) is an independent BCD timer/counter. Dedicated registers contain the second, minute, hour (in 12/24 hour), week day, date, month, year, in BCD (binarycoded decimal) format. Correction for 28, 29 (leap year), 30, and 31 day of the month are performed automatically. The RTC provides a programmable alarm and programmable periodic interrupts with wakeup from Stop and Standby modes. The sub-seconds value is also available in binary format. It is clocked by a 32.768 kHz external crystal, resonator or oscillator, the internal low-power RC oscillator or the high-speed external clock divided by 128. The internal low-speed RC
28/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Description
has a typical frequency of 32 kHz. The RTC can be calibrated using an external 512 Hz output to compensate for any natural quartz deviation. Two alarm registers are used to generate an alarm at a specific time and calendar fields can be independently masked for alarm comparison. To generate a periodic interrupt, a 16-bit programmable binary auto-reload downcounter with programmable resolution is available and allows automatic wakeup and periodic alarms from every 120 s to every 36 hours. A 20-bit prescaler is used for the time base clock. It is by default configured to generate a time base of 1 second from a clock at 32.768 kHz. The 4-Kbyte backup SRAM is an EEPROM-like memory area. It can be used to store data which need to be retained in VBAT and standby mode. This memory area is disabled by default to minimize power consumption (see Section 2.2.19: Low-power modes). It can be enabled by software. The backup registers are 32-bit registers used to store 80 bytes of user application data when VDD power is not present. Backup registers are not reset by a system, a power reset, or when the device wakes up from the Standby mode (see Section 2.2.19: Low-power modes). Additional 32-bit registers contain the programmable alarm subseconds, seconds, minutes, hours, day, and date. Like backup SRAM, the RTC and backup registers are supplied through a switch that is powered either from the VDD supply when present or from the VBAT pin.
2.2.19
Low-power modes
The STM32F405xx and STM32F407xx support three low-power modes to achieve the best compromise between low power consumption, short startup time and available wakeup sources: Sleep mode In Sleep mode, only the CPU is stopped. All peripherals continue to operate and can wake up the CPU when an interrupt/event occurs. Stop mode The Stop mode achieves the lowest power consumption while retaining the contents of SRAM and registers. All clocks in the V12 domain are stopped, the PLL, the HSI RC and the HSE crystal oscillators are disabled. The voltage regulator can also be put either in normal or in low-power mode. The device can be woken up from the Stop mode by any of the EXTI line (the EXTI line source can be one of the 16 external lines, the PVD output, the RTC alarm / wakeup / tamper / time stamp events, the USB OTG FS/HS wakeup or the Ethernet wakeup). Standby mode The Standby mode is used to achieve the lowest power consumption. The internal voltage regulator is switched off so that the entire V12 domain is powered off. The PLL, the HSI RC and the HSE crystal oscillators are also switched off. After entering
DocID022152 Rev 4
29/185
Description
STM32F405xx, STM32F407xx Standby mode, the SRAM and register contents are lost except for registers in the backup domain and the backup SRAM when selected. The device exits the Standby mode when an external reset (NRST pin), an IWDG reset, a rising edge on the WKUP pin, or an RTC alarm / wakeup / tamper /time stamp event occurs. The standby mode is not supported when the embedded voltage regulator is bypassed and the V12 domain is controlled by an external power.
2.2.20
VBAT operation
The VBAT pin allows to power the device VBAT domain from an external battery, an external supercapacitor, or from VDD when no external battery and an external supercapacitor are present. VBAT operation is activated when VDD is not present. The VBAT pin supplies the RTC, the backup registers and the backup SRAM.
Note:
When the microcontroller is supplied from VBAT, external interrupts and RTC alarm/events do not exit it from VBAT operation. When PDR_ON pin is not connected to VDD (internal reset OFF), the VBAT functionality is no more available and VBAT pin should be connected to VDD.
2.2.21
Timer type
Counter Counter Prescaler Timer resolutio type factor n Up, Any integer Down, between 1 Up/dow and 65536 n
DMA Max Max Capture/ request Complementar interface timer compare generatio y output clock clock channels n (MHz) (MHz)
16-bit
Yes
Yes
84
168
30/185
DocID022152 Rev 4
Description
DMA Max Max Capture/ request Complementar interface timer compare generatio y output clock clock channels n (MHz) (MHz)
TIM2, TIM5
32-bit
Yes
No
42
84
TIM3, TIM4
16-bit
Yes
No
42
84
General purpose
16-bit
No
No
84
168
16-bit
Up
No
No
84
168
16-bit
Up
No
No
42
84
16-bit
Up
No
No
42
84
Basic
TIM6, TIM7
16-bit
Up
Yes
No
42
84
If configured as standard 16-bit timers, they have the same features as the general-purpose TIMx timers. If configured as 16-bit PWM generators, they have full modulation capability (0100%). The advanced-control timer can work together with the TIMx timers via the Timer Link feature for synchronization or event chaining. TIM1 and TIM8 support independent DMA request generation.
DocID022152 Rev 4
31/185
Description
STM32F405xx, STM32F407xx
Independent watchdog
The independent watchdog is based on a 12-bit downcounter and 8-bit prescaler. It is clocked from an independent 32 kHz internal RC and as it operates independently from the main clock, it can operate in Stop and Standby modes. It can be used either as a watchdog to reset the device when a problem occurs, or as a free-running timer for application timeout management. It is hardware- or software-configurable through the option bytes.
Window watchdog
The window watchdog is based on a 7-bit downcounter that can be set as free-running. It can be used as a watchdog to reset the device when a problem occurs. It is clocked from the main clock. It has an early warning interrupt capability and the counter can be frozen in debug mode.
32/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Description
SysTick timer
This timer is dedicated to real-time operating systems, but could also be used as a standard downcounter. It features: A 24-bit downcounter Autoreload capability Maskable system interrupt generation when the counter reaches 0 Programmable clock source.
2.2.22
2.2.23
DocID022152 Rev 4
33/185
STM32F405xx, STM32F407xx
Max. baud rate Max. baud rate Smartcard in Mbit/s in Mbit/s (ISO 7816) (oversampling (oversampling by 16) by 8) X 5.25 10.5
APB mapping APB2 (max. 84 MHz) APB1 (max. 42 MHz) APB1 (max. 42 MHz) APB1 (max. 42 MHz) APB1 (max. 42 MHz) APB2 (max. 84 MHz)
USART1
USART2
2.62
5.25
USART3
2.62
5.25
UART4
2.62
5.25
UART5
2.62
5.25
USART6
5.25
10.5
2.2.24
2.2.25
2.2.26
34/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Description
The PLLI2S configuration can be modified to manage an I2S sample rate change without disabling the main PLL (PLL) used for CPU, USB and Ethernet interfaces. The audio PLL can be programmed with very low error to obtain sampling rates ranging from 8 KHz to 192 KHz. In addition to the audio PLL, a master clock input pin can be used to synchronize the I2S flow with an external PLL (or Codec output).
2.2.27
2.2.28
Ethernet MAC interface with dedicated DMA and IEEE 1588 support
Peripheral available only on the STM32F407xx devices. The STM32F407xx devices provide an IEEE-802.3-2002-compliant media access controller (MAC) for ethernet LAN communications through an industry-standard mediumindependent interface (MII) or a reduced medium-independent interface (RMII). The STM32F407xx requires an external physical interface device (PHY) to connect to the physical LAN bus (twisted-pair, fiber, etc.). the PHY is connected to the STM32F407xx MII port using 17 signals for MII or 9 signals for RMII, and can be clocked using the 25 MHz (MII) from the STM32F407xx. The STM32F407xx includes the following features: Supports 10 and 100 Mbit/s rates Dedicated DMA controller allowing high-speed transfers between the dedicated SRAM and the descriptors (see the STM32F40x reference manual for details) Tagged MAC frame support (VLAN support) Half-duplex (CSMA/CD) and full-duplex operation MAC control sublayer (control frames) support 32-bit CRC generation and removal Several address filtering modes for physical and multicast address (multicast and group addresses) 32-bit status code for each transmitted or received frame Internal FIFOs to buffer transmit and receive frames. The transmit FIFO and the receive FIFO are both 2 Kbytes. Supports hardware PTP (precision time protocol) in accordance with IEEE 1588 2008 (PTP V2) with the time stamp comparator connected to the TIM2 input Triggers interrupt when system time becomes greater than target time
DocID022152 Rev 4 35/185
Description
STM32F405xx, STM32F407xx
2.2.29
2.2.30
2.2.31
36/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Description
2.2.32
2.2.33
2.2.34
2.2.35
The ADC can be served by the DMA controller. An analog watchdog feature allows very precise monitoring of the converted voltage of one, some or all selected channels. An interrupt is generated when the converted voltage is outside the programmed thresholds. To synchronize A/D conversion and timers, the ADCs could be triggered by any of TIM1, TIM2, TIM3, TIM4, TIM5, or TIM8 timer.
2.2.36
Temperature sensor
The temperature sensor has to generate a voltage that varies linearly with temperature. The conversion range is between 1.8 V and 3.6 V. The temperature sensor is internally
DocID022152 Rev 4
37/185
Description
STM32F405xx, STM32F407xx connected to the ADC1_IN16 input channel which is used to convert the sensor output voltage into a digital value. As the offset of the temperature sensor varies from chip to chip due to process variation, the internal temperature sensor is mainly suitable for applications that detect temperature changes instead of absolute temperatures. If an accurate temperature reading is needed, then an external temperature sensor part should be used.
2.2.37
Eight DAC trigger inputs are used in the device. The DAC channels are triggered through the timer update outputs that are also connected to different DMA streams.
2.2.38
2.2.39
38/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
VDD VCAP_2 PA13 PA12 PA11 PA10 PA9 PA8 PC9 PC8 PC7 PC6 PB15 PB14 PB13 PB12
PA3 VSS VDD PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2 PB10 PB11 VCAP_1 VDD
ai18493b
DocID022152 Rev 4
39/185
PE2 PE3 PE4 PE5 PE6 VBAT PC13 PC14 PC15 VSS VDD PH0 PH1 NRST PC0 PC1 PC2 PC3 VDD VSSA VREF+ VDDA PA0 PA1 PA2
100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51
LQFP100
VDD VSS VCAP_2 PA13 PA12 PA 11 PA10 PA9 PA8 PC9 PC8 PC7 PC6 PD15 PD14 PD13 PD12 PD11 PD10 PD9 PD8 PB15 PB14 PB13 PB12
PA3 VSS VDD PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 PB10 PB11 VCAP_1 VDD
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
ai18495c
40/185
DocID022152 Rev 4
PE2 PE3 PE4 PE5 PE6 VBAT PC13 PC14 PC15 PF0 PF1 PF2 PF3 PF4 PF5 VSS VDD PF6 PF7 PF8 PF9 PF10 PH0 PH1 NRST PC0 PC1 PC2 PC3 VDD VSSA VREF+ VDDA PA0 PA1 PA2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73
VDD PDR_ON PE1 PE0 PB9 PB8 BOOT0 PB7 PB6 PB5 PB4 PB3 PG15 VDD VSS PG14 PG13 PG12 PG11 PG10 PG9 PD7 PD6 VDD VSS PD5 PD4 PD3 PD2 PD1 PD0 PC12 PC11 PC10 PA15 PA14
LQFP144
VDD VSS VCAP_2 PA13 PA12 PA11 PA10 PA9 PA8 PC9 PC8 PC7 PC6 VDD VSS PG8 PG7 PG6 PG5 PG4 PG3 PG2 PD15 PD14 VDD VSS PD13 PD12 PD11 PD10 PD9 PD8 PB15 PB14 PB13 PB12
PA3 VSS VDD PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2 PF11 PF12 VSS VDD PF13 PF14 PF15 PG0 PG1 PE7 PE8 PE9 VSS VDD PE10 PE11 PE12 PE13 PE14 PE15 PB10 PB11
VCAP_1 VDD
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
ai18496b
DocID022152 Rev 4
41/185
STM32F405xx, STM32F407xx
PE2 PE3 PE4 PE5 PE6 VBAT PI8 PC13 PC14 PC15 PI9 PI10 PI11 VSS VDD PF0 PF1 PF2 PF3 PF4 PF5 VSS VDD PF6 PF7 PF8 PF9 PF10 PH0 PH1 NRST PC0 PC1 PC2 PC3 VDDA VSSA VREF+ VDDA PA0 PA1 PA2 PH2 PH3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133
PI7 PI6 PI5 PI4 VDD PDR_ON PE1 PE0 PB9 PB8 BOOT0 PB7 PB6 PB5 PB4 PB3 PG15 VDD VSS PG14 PG13 PG12 PG11 PG10 PG9 PD7 PD6 VDD VSS PD5 PD4 PD3 PD2 PD1 PD0 PC12 PC11 PC10 PA15 PA14 VDD VSS PI3 PI2
LQFP176
132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 V 102 V 101 100 99 98 97 96 95 94 93 92 91 90 89
PI1 PI0 PH15 PH14 PH13 VDD VSS VCAP_2 PA13 PA12 PA11 PA10 PA9 PA8 PC9 PC8 PC7 PC6 VDD VSS PG8 PG7 PG6 PG5 PG4 PG3 PG2 PD15 PD14 VDD VSS PD13 PD12 PD11 PD10 PD9 PD8 PB15 PB14 PB13 PB12 VDD VSS PH12
PH4 PH5 PA3 BYPASS_REG VDD PA4 PA5 PA6 PA7 PC4 PC5 PB0 PB1 PB2 PF11 PF12 VSS VDD PF13 PF14 PF15 PG0 PG1 PE7 PE8 PE9 VSS VDD PE10 PE11 PE12 PE13 PE14 PE15 PB10 PB11 VCAP_1 VDD PH6 PH7 PH8 PH9 PH10 PH11
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
MS19916V3
42/185
DocID022152 Rev 4
12 PC12 PD0 PD1 PD2 PH13 VSS VSS VSS VDD PH12 PH11 PH8 PH7 PB12 PB10
13 PA15 PC11 PI3 PH15 PH14 VCAP_2 VDD VDD VDD PG5 PH10 PH9 PD12 PB13 PB11
14 PA14 PC10 PI2 PI1 PI0 PC9 PC8 PG8 PG7 PG4 PD15 PD14 PD11 PD9 PB14
15 PA13 PA12 PA11 PA10 PA9 PA8 PC7 PC6 PG6 PG3 PG2 PD13 PD10 PD8 PB15
ai18497b
DocID022152 Rev 4
43/185
10
VBAT
PC13
PDR_ON
BOOT0
PB4
PD7
PD4
PC12
PA14
VDD
PC14
PC15
VDD
PB7
PB3
PD6
PD2
PA15
PI1
VCAP_2
PA0
VSS
PB9
PB6
PD5
PD1
PC11
PI0
PA12
PA11
PC2
BYPASS_ REG
PB8
PB5
PD0
PC10
PA13
PA10
PA9
PA8
PC0
PC3
VSS
VSS
VDD
VSS
VDD
PC9
PC8
PC7
PH0
PH1
PA1
VDD
PE10
PE14
VCAP_1
PC6
PD14
PD15
NRST
VDDA
PA5
PB0
PE7
PE13
PE15
PD10
PD12
PD11
VSSA
PA3
PA6
PB1
PE8
PE12
PB10
PD9
PD8
PB15
PA2
PA4
PA7
PB2
PE9
PE11
PB11
PB12
PB14
PB13 MS30402V1
Unless otherwise specified in brackets below the pin name, the pin function during and after reset is the same as the actual pin name S Supply pin Input only pin Input / output pin 5 V tolerant I/O 3.3 V tolerant I/O directly connected to ADC Dedicated BOOT0 pin Bidirectional reset pin with embedded weak pull-up resistor
Pin type
I I/O FT
I/O structure
TTa B RST
Unless otherwise specified by a note, all I/Os are set as floating inputs during and after reset Functions selected through GPIOx_AFR registers
44/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
UFBGA176
Pin type
WLCSP90
LQFP100
LQFP144
LQFP176
LQFP64
Notes
Alternate functions
Additional functions
A2
PE2
I/O
FT
TRACECLK/ FSMC_A23 / ETH_MII_TXD3 / EVENTOUT TRACED0/FSMC_A19 / EVENTOUT TRACED1/FSMC_A20 / DCMI_D4/ EVENTOUT TRACED2 / FSMC_A21 / TIM9_CH1 / DCMI_D6 / EVENTOUT TRACED3 / FSMC_A22 / TIM9_CH2 / DCMI_D7 / EVENTOUT
2 3
2 3
A1 B1
2 3
PE3 PE4
I/O I/O
FT FT
B2
PE5
I/O
FT
1 -
A10 -
5 6 -
5 6 -
B3 C1 D2
5 6 7
I/O S I/O
FT
FT
(2)( 3)
EVENTOUT
A9
D1
PC13
I/O
FT
EVENTOUT
B10
E1
PC14/OSC32_IN I/O (PC14) PC15/ OSC32_OUT (PC15) PI9 PI10 PI11 VSS VDD PF0 I/O I/O I/O I/O S S I/O
FT
EVENTOUT
4 -
B9 -
9 -
9 10
F1 D3 E3 E4 F2 F3 E2
10 11 12 13 14 15 16
FT FT FT FT
OSC32_OUT(4)
FT
DocID022152 Rev 4
45/185
STM32F405xx, STM32F407xx
UFBGA176
Pin type
WLCSP90
LQFP100
LQFP144
LQFP176
LQFP64
Notes
Alternate functions
Additional functions
C9 B8 -
10 11 -
11 12 13 14 15 16 17 18
H3 H2 J2 J3 K3 G2 G3 K2
17 18 19 20 21 22 23 24
FT FT FT FT FT
(4) (4) (4)
FSMC_A1 / I2C2_SCL / EVENTOUT FSMC_A2 / I2C2_SMBA / EVENTOUT FSMC_A3/EVENTOUT FSMC_A4/EVENTOUT FSMC_A5/EVENTOUT ADC3_IN9 ADC3_IN14 ADC3_IN15
FT
(4)
TIM10_CH1 / FSMC_NIORD/ EVENTOUT TIM11_CH1/FSMC_NREG / EVENTOUT TIM13_CH1 / FSMC_NIOWR/ EVENTOUT TIM14_CH1 / FSMC_CD/ EVENTOUT FSMC_INTR/ EVENTOUT EVENTOUT EVENTOUT
ADC3_IN4
19
K1
25
PF7
I/O
FT
(4)
ADC3_IN5
20
L3
26
PF8
I/O
FT
(4)
ADC3_IN6
5 6 7 8 9
21 22 23 24 25 26 27
L2 L1 G1 H1 J1 M2 M3
27 28 29 30 31 32 33
FT FT FT FT RS T FT FT
(4) (4)
F10 12 F9 13
G10 14 E10 15 16
(4) (4)
ADC123_IN10 ADC123_IN11
10 D10 17
28
M4
34
PC2
I/O
FT
(4)
ADC123_IN12
46/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
UFBGA176
Pin type
WLCSP90
LQFP100
LQFP144
LQFP176
LQFP64
Notes
Alternate functions
Additional functions
11
E9
18
29
M5
35
PC3
I/O
FT
(4)
ADC123_IN13
19
30 31 32 33
G3 M1 N1 P1 R1
36 37 38 39
S S S S S USART2_CTS/ UART4_TX/ ETH_MII_CRS / TIM2_CH1_ETR/ TIM5_CH1 / TIM8_ETR/ EVENTOUT USART2_RTS / UART4_RX/ ETH_RMII_REF_CLK / ETH_MII_RX_CLK / TIM5_CH2 / TIM2_CH2/ EVENTOUT USART2_TX/TIM5_CH3 / TIM9_CH1 / TIM2_CH3 / ETH_MDIO/ EVENTOUT ETH_MII_CRS/EVENTOU T ETH_MII_COL/EVENTOU T I2C2_SCL / OTG_HS_ULPI_NXT/ EVENTOUT I2C2_SDA/ EVENTOUT
12 H10 20 13 G9 21 22
14 C10 23
34
N3
40
PA0/WKUP (PA0)
I/O
FT
(5)
ADC123_IN0/WKUP(4
)
15
F8
24
35
N2
41
PA1
I/O
FT
(4)
ADC123_IN1
16 J10 25
36
P2
42
PA2
I/O
FT
(4)
ADC123_IN2
F4 G4
43 44
PH2 PH3
I/O I/O
FT FT
H4 J4
45 46
PH4 PH5
I/O I/O
FT FT
DocID022152 Rev 4
47/185
STM32F405xx, STM32F407xx
UFBGA176
Pin type
WLCSP90
LQFP100
LQFP144
LQFP176
LQFP64
Notes
Alternate functions
Additional functions
17
H9
26
37
R2
47
PA3
I/O
FT
(4)
ADC123_IN3
18
E5 D9
27
38
L4
48 49
19
E4
28
39
K4
20
J9
29
40
N4
50
PA4
I/O TTa
(4)
ADC12_IN4 /DAC_OUT1
21
G8
30
41
P4
51
PA5
I/O TTa
(4)
SPI1_SCK/ OTG_HS_ULPI_CK / ADC12_IN5/DAC_OU TIM2_CH1_ETR/ T2 TIM8_CH1N/ EVENTOUT SPI1_MISO / TIM8_BKIN/TIM13_CH1 / DCMI_PIXCLK / TIM3_CH1 / TIM1_BKIN/ EVENTOUT SPI1_MOSI/ TIM8_CH1N / TIM14_CH1/TIM3_CH2/ ETH_MII_RX_DV / TIM1_CH1N / ETH_RMII_CRS_DV/ EVENTOUT ETH_RMII_RX_D0 / ETH_MII_RX_D0/ EVENTOUT ETH_RMII_RX_D1 / ETH_MII_RX_D1/ EVENTOUT TIM3_CH3 / TIM8_CH2N/ OTG_HS_ULPI_D1/ ETH_MII_RXD2 / TIM1_CH2N/ EVENTOUT
22
H8
31
42
P3
52
PA6
I/O
FT
(4)
ADC12_IN6
23
J8
32
43
R3
53
PA7
I/O
FT
(4)
ADC12_IN7
24
33
44
N5
54
PC4
I/O
FT
(4)
ADC12_IN14
25
34
45
P5
55
PC5
I/O
FT
(4)
ADC12_IN15
26
G7
35
46
R5
56
PB0
I/O
FT
(4)
ADC12_IN8
48/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
UFBGA176
Pin type
WLCSP90
LQFP100
LQFP144
LQFP176
LQFP64
Notes
Alternate functions
Additional functions
27
H7
36
47
R4
57
PB1
I/O
FT
(4)
TIM3_CH4 / TIM8_CH3N/ OTG_HS_ULPI_D2/ ETH_MII_RXD3 / TIM1_CH3N/ EVENTOUT EVENTOUT DCMI_D12/ EVENTOUT FSMC_A6/ EVENTOUT
ADC12_IN9
28 -
J7 G6 H6 J6 F6 J5 H5 G5
37 38 39 40 41 42 43 44
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
PB2/BOOT1 (PB2) PF11 PF12 VSS VDD PF13 PF14 PF15 PG0 PG1 PE7 PE8 PE9 VSS VDD PE10 PE11 PE12 PE13
I/O I/O I/O S S I/O I/O I/O I/O I/O I/O I/O I/O S S I/O I/O I/O I/O
FT FT FT
FT FT FT FT FT FT FT FT
FSMC_A7/ EVENTOUT FSMC_A8/ EVENTOUT FSMC_A9/ EVENTOUT FSMC_A10/ EVENTOUT FSMC_A11/ EVENTOUT FSMC_D4/TIM1_ETR/ EVENTOUT FSMC_D5/ TIM1_CH1N/ EVENTOUT FSMC_D6/TIM1_CH1/ EVENTOUT
FT FT FT FT
DocID022152 Rev 4
49/185
STM32F405xx, STM32F407xx
UFBGA176
Pin type
WLCSP90
LQFP100
LQFP144
LQFP176
LQFP64
Notes
Alternate functions
Additional functions
F5 G4
45 46
67 68
P11 R11
77 78
PE14 PE15
I/O I/O
FT FT
FSMC_D11/TIM1_CH4/ EVENTOUT FSMC_D12/TIM1_BKIN/ EVENTOUT SPI2_SCK / I2S2_CK / I2C2_SCL/ USART3_TX / OTG_HS_ULPI_D3 / ETH_MII_RX_ER / TIM2_CH3/ EVENTOUT I2C2_SDA/USART3_RX/ OTG_HS_ULPI_D4 / ETH_RMII_TX_EN/ ETH_MII_TX_EN / TIM2_CH4/ EVENTOUT
29
H4
47
69
R12
79
PB10
I/O
FT
30
J4
48
70
R13
80
PB11
I/O
FT
31 32 -
F4 -
49 50 -
71 72 -
81 82 83
S S I/O FT I2C2_SMBA / TIM12_CH1 / ETH_MII_RXD2/ EVENTOUT I2C3_SCL / ETH_MII_RXD3/ EVENTOUT I2C3_SDA / DCMI_HSYNC/ EVENTOUT I2C3_SMBA / TIM12_CH2/ DCMI_D0/ EVENTOUT TIM5_CH1 / DCMI_D1/ EVENTOUT TIM5_CH2 / DCMI_D2/ EVENTOUT TIM5_CH3 / DCMI_D3/ EVENTOUT
N12
84
PH7
I/O
FT
M12
85
PH8
I/O
FT
M13
86
PH9
I/O
FT
87 88 89 90 91
FT FT FT
50/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
UFBGA176
Pin type
WLCSP90
LQFP100
LQFP144
LQFP176
LQFP64
Notes
Alternate functions
Additional functions
33
J3
51
73
P12
92
PB12
I/O
FT
SPI2_NSS / I2S2_WS / I2C2_SMBA/ USART3_CK/ TIM1_BKIN / CAN2_RX / OTG_HS_ULPI_D5/ ETH_RMII_TXD0 / ETH_MII_TXD0/ OTG_HS_ID/ EVENTOUT SPI2_SCK / I2S2_CK / USART3_CTS/ TIM1_CH1N /CAN2_TX / OTG_HS_ULPI_D6 / ETH_RMII_TXD1 / ETH_MII_TXD1/ EVENTOUT SPI2_MISO/ TIM1_CH2N / TIM12_CH1 / OTG_HS_DM/ USART3_RTS / TIM8_CH2N/I2S2ext_SD/ EVENTOUT SPI2_MOSI / I2S2_SD/ TIM1_CH3N / TIM8_CH3N / TIM12_CH2 / OTG_HS_DP/ EVENTOUT FSMC_D13 / USART3_TX/ EVENTOUT FSMC_D14 / USART3_RX/ EVENTOUT FSMC_D15 / USART3_CK/ EVENTOUT FSMC_CLE / FSMC_A16/USART3_CT S/ EVENTOUT FSMC_ALE/ FSMC_A17/TIM4_CH1 / USART3_RTS/ EVENTOUT
34
J1
52
74
P13
93
PB13
I/O
FT
OTG_HS_VBUS
35
J2
53
75
R14
94
PB14
I/O
FT
36
H1
54
76
R15
95
PB15
I/O
FT
RTC_REFIN
H2 H3 G3
55 56 57
77 78 79
96 97 98
FT FT FT
G1
58
80
N14
99
PD11
I/O
FT
G2
59
81
N13 100
PD12
I/O
FT
DocID022152 Rev 4
51/185
STM32F405xx, STM32F407xx
UFBGA176
Pin type
WLCSP90
LQFP100
LQFP144
LQFP176
LQFP64
Notes
Alternate functions
Additional functions
F2 F1 -
60 61 62 -
82 83 84 85 86 87 88 89 90 91 92
PD13 VSS VDD PD14 PD15 PG2 PG3 PG4 PG5 PG6 PG7
FT
FSMC_A18/TIM4_CH2/ EVENTOUT
J13 103 M14 104 L14 105 L15 106 K15 107 K14 108 K13 109 J15 110 J14 111
FT FT FT FT FT FT FT FT
FSMC_D0/TIM4_CH3/ EVENTOUT/ EVENTOUT FSMC_D1/TIM4_CH4/ EVENTOUT FSMC_A12/ EVENTOUT FSMC_A13/ EVENTOUT FSMC_A14/ EVENTOUT FSMC_A15/ EVENTOUT FSMC_INT2/ EVENTOUT FSMC_INT3 /USART6_CK/ EVENTOUT USART6_RTS / ETH_PPS_OUT/ EVENTOUT
93 94 95
I/O S S
FT
37
F3
63
96
H15 115
PC6
I/O
FT
I2S2_MCK / TIM8_CH1/SDIO_D6 / USART6_TX / DCMI_D0/TIM3_CH1/ EVENTOUT I2S3_MCK / TIM8_CH2/SDIO_D7 / USART6_RX / DCMI_D1/TIM3_CH2/ EVENTOUT TIM8_CH3/SDIO_D0 /TIM3_CH3/ USART6_CK / DCMI_D2/ EVENTOUT
38
E1
64
97
G15 116
PC7
I/O
FT
39
E2
65
98
G14 117
PC8
I/O
FT
52/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
UFBGA176
Pin type
WLCSP90
LQFP100
LQFP144
LQFP176
LQFP64
Notes
Alternate functions
Additional functions
40
E3
66
99
F14 118
PC9
I/O
FT
I2S_CKIN/ MCO2 / TIM8_CH4/SDIO_D1 / /I2C3_SDA / DCMI_D3 / TIM3_CH4/ EVENTOUT MCO1 / USART1_CK/ TIM1_CH1/ I2C3_SCL/ OTG_FS_SOF/ EVENTOUT USART1_TX/ TIM1_CH2 / I2C3_SMBA / DCMI_D0/ EVENTOUT USART1_RX/ TIM1_CH3/ OTG_FS_ID/DCMI_D1/ EVENTOUT USART1_CTS / CAN1_RX / TIM1_CH4 / OTG_FS_DM/ EVENTOUT USART1_RTS / CAN1_TX/ TIM1_ETR/ OTG_FS_DP/ EVENTOUT JTMS-SWDIO/ EVENTOUT OTG_FS_VBUS
41
D1
PA8
I/O
FT
42
D2
PA9
I/O
FT
43
D3
PA10
I/O
FT
44
C1
PA11
I/O
FT
45
C2
PA12
I/O
FT
46 47 48 -
D4 B1 E7 E6 -
72 105 A15 124 73 106 F13 125 74 107 F12 126 75 108 G13 127 E12 128 E13 129 D13 130
FT
FT FT FT
TIM8_CH1N / CAN1_TX/ EVENTOUT TIM8_CH2N / DCMI_D4/ EVENTOUT TIM8_CH3N / DCMI_D11/ EVENTOUT TIM5_CH4 / SPI2_NSS / I2S2_WS / DCMI_D13/ EVENTOUT
C3
E14 131
PI0
I/O
FT
DocID022152 Rev 4
53/185
STM32F405xx, STM32F407xx
UFBGA176
Pin type
WLCSP90
LQFP100
LQFP144
LQFP176
LQFP64
Notes
Alternate functions
Additional functions
B2
D14 132
PI1
I/O
FT
SPI2_SCK / I2S2_CK / DCMI_D8/ EVENTOUT TIM8_CH4 /SPI2_MISO / DCMI_D9 / I2S2ext_SD/ EVENTOUT TIM8_ETR / SPI2_MOSI / I2S2_SD / DCMI_D10/ EVENTOUT
C14 133
PI2
I/O
FT
49
A2
I/O S S I/O
FT
FT
JTCK-SWCLK/ EVENTOUT JTDI/ SPI3_NSS/ I2S3_WS/TIM2_CH1_ET R / SPI1_NSS / EVENTOUT SPI3_SCK / I2S3_CK/ UART4_TX/SDIO_D2 / DCMI_D8 / USART3_TX/ EVENTOUT UART4_RX/ SPI3_MISO / SDIO_D3 / DCMI_D4/USART3_RX / I2S3ext_SD/ EVENTOUT UART5_TX/SDIO_CK / DCMI_D9 / SPI3_MOSI /I2S3_SD / USART3_CK/ EVENTOUT FSMC_D2/CAN1_RX/ EVENTOUT FSMC_D3 / CAN1_TX/ EVENTOUT TIM3_ETR/UART5_RX/ SDIO_CMD / DCMI_D11/ EVENTOUT
50
B3
I/O
FT
51
D5
PC10
I/O
FT
52
C4
PC11
I/O
FT
53
A3
PC12
I/O
FT
D6 C5
PD0 PD1
I/O I/O
FT FT
54
B4
PD2
I/O
FT
54/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
UFBGA176
Pin type
WLCSP90
LQFP100
LQFP144
LQFP176
LQFP64
Notes
Alternate functions
Additional functions
PD3
I/O
FT
A4
PD4
I/O
FT
C6 B5
I/O S S I/O
FT
FT
FSMC_NWAIT/ USART2_RX/ EVENTOUT USART2_CK/FSMC_NE1/ FSMC_NCE2/ EVENTOUT USART6_RX / FSMC_NE2/FSMC_NCE3 / EVENTOUT FSMC_NCE4_1/ FSMC_NE3/ EVENTOUT FSMC_NCE4_2 / ETH_MII_TX_EN/ ETH _RMII_TX_EN/ EVENTOUT FSMC_NE4 / USART6_RTS/ EVENTOUT FSMC_A24 / USART6_CTS /ETH_MII_TXD0/ ETH_RMII_TXD0/ EVENTOUT FSMC_A25 / USART6_TX /ETH_MII_TXD1/ ETH_RMII_TXD1/ EVENTOUT
A5
PD7
I/O
FT
PG9
I/O
FT
PG10
I/O
FT
126
B9
154
PG11
I/O
FT
127
B8
155
PG12
I/O
FT
128
A8
156
PG13
I/O
FT
129
A7
157
PG14
I/O
FT
DocID022152 Rev 4
55/185
STM32F405xx, STM32F407xx
UFBGA176
Pin type
WLCSP90
LQFP100
LQFP144
LQFP176
LQFP64
Notes
Alternate functions
Additional functions
E8 F7 -
D7 C7 B7
S S I/O FT USART6_CTS / DCMI_D13/ EVENTOUT JTDO/ TRACESWO/ SPI3_SCK / I2S3_CK / TIM2_CH2 / SPI1_SCK/ EVENTOUT NJTRST/ SPI3_MISO / TIM3_CH1 / SPI1_MISO / I2S3ext_SD/ EVENTOUT I2C1_SMBA/ CAN2_RX / OTG_HS_ULPI_D7 / ETH_PPS_OUT/TIM3_CH 2 / SPI1_MOSI/ SPI3_MOSI / DCMI_D10 / I2S3_SD/ EVENTOUT I2C1_SCL/ TIM4_CH1 / CAN2_TX / DCMI_D5/USART1_TX/ EVENTOUT I2C1_SDA / FSMC_NL / DCMI_VSYNC / USART1_RX/ TIM4_CH2/ EVENTOUT VPP TIM4_CH3/SDIO_D4/ TIM10_CH1 / DCMI_D6 / ETH_MII_TXD3 / I2C1_SCL/ CAN1_RX/ EVENTOUT SPI2_NSS/ I2S2_WS / TIM4_CH4/ TIM11_CH1/ SDIO_D5 / DCMI_D7 / I2C1_SDA / CAN1_TX/ EVENTOUT
55
B6
I/O
FT
56
A6
90 134
A9
162
I/O
FT
57
D7
91 135
A6
163
PB5
I/O
FT
58
C7
92 136
B6
164
PB6
I/O
FT
59
B7
93 137
B5
165
PB7
I/O
FT
60
A7
94 138
D6
166
BOOT0
61
D8
95 139
A5
167
PB8
I/O
FT
62
C8
96 140
B4
168
PB9
I/O
FT
56/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
UFBGA176
Pin type
WLCSP90
LQFP100
LQFP144
LQFP176
LQFP64
Notes
Alternate functions
Additional functions
63 64 -
A8 A1 -
A4 A3 D5 C6 C5 D4
FT FT
FT
10 144 0 -
FT
TIM8_BKIN / DCMI_D5/ EVENTOUT TIM8_CH1 / DCMI_VSYNC/ EVENTOUT TIM8_CH2 / DCMI_D6/ EVENTOUT TIM8_CH3 / DCMI_D7/ EVENTOUT
C4
174
PI5
I/O
FT
C3 C2
175 176
PI6 PI7
I/O I/O
FT FT
1. Function availability depends on the chosen device. 2. PC13, PC14, PC15 and PI8 are supplied through the power switch. Since the switch only sinks a limited amount of current (3 mA), the use of GPIOs PC13 to PC15 and PI8 in output mode is limited: - The speed should not exceed 2 MHz with a maximum load of 30 pF. - These I/Os must not be used as a current source (e.g. to drive an LED). 3. Main function after the first backup domain power-up. Later on, it depends on the contents of the RTC registers even after reset (because these registers are not reset by the main reset). For details on how to manage these I/Os, refer to the RTC register description sections in the STM32F4xx reference manual, available from the STMicroelectronics website: www.st.com. 4. FT = 5 V tolerant except when in analog mode or oscillator mode (for PC14, PC15, PH0 and PH1). 5. If the device is delivered in an UFBGA176 or WLCSP90 and the BYPASS_REG pin is set to VDD (Regulator off/internal reset ON mode), then PA0 is used as an internal Reset (active low).
Yes Yes
DocID022152 Rev 4
57/185
Pins
(1)
CF PE4 PE5 PE6 PF0 PF1 PF2 PF3 PF4 PF5 PF6 PF7 PF8 PF9 PF10 PF12 PF13 PF14 PF15 PG0 PG1 PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 PD8 PD9 PD10 PD11 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 A0 A1 A2 A3 A4 A5 NIORD NREG NIOWR CD INTR A6 A7 A8 A9 A10
NOR/PSRAM/ NOR/PSRAM Mux NAND 16 bit SRAM A20 A21 A22 A0 A1 A2 A3 A4 A5 A20 A21 A22
LQFP100(2)
WLCSP90
(2)
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
A6 A7 A8 A9 A10 A11 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 A16 DA4 DA5 DA6 DA7 DA8 DA9 DA10 DA11 DA12 DA13 DA14 DA15 A16 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CLE
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
58/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Pins
(1)
CF PD12 PD13 PD14 PD15 PG2 PG3 PG4 PG5 PG6 PG7 PD0 PD1 PD3 PD4 PD5 PD6 PD7 PG9 PG10 PG11 PG12 PG13 PG14 PB7 PE0 PE1 NCE4_1 NCE4_2 NOE NWE NWAIT D2 D3 D0 D1
NOR/PSRAM/ NOR/PSRAM Mux NAND 16 bit SRAM A17 A18 D0 D1 A12 A13 A14 A15 INT2 INT3 D2 D3 CLK NOE NWE NWAIT NE1 NE2 NE3 DA2 DA3 CLK NOE NWE NWAIT NE1 NE2 NE3 NOE NWE NWAIT NCE2 NCE3 D2 D3 A17 A18 DA0 DA1 D0 D1 ALE
LQFP100(2)
WLCSP90
(2)
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes -
Yes
1. Full FSMC features are available on LQFP144, LQFP176, and UFBGA176. The features available on smaller packages are given in the dedicated package column. 2. Ports F and G are not available in devices delivered in 100-pin packages.
DocID022152 Rev 4
59/185
60/185
Port PA0 PA1 PA2 PA3 PA4 PA5 PA6 Port A
Table 9. Alternate function mapping AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 CAN1/ CAN2/ TIM12/13/14 AF10 AF11 AF12 AF13 AF14 DCMI AF15
SYS
TIM1/2
TIM3/4/5
TIM8/9/10/1 1
I2C1/2/3
SPI1/SPI2/ I2S2/I2S2ext
SPI3/I2Sext/ I2S3
USART1/2/3/ I2S3ext
UART4/5/ USART6
OTG_FS/ OTG_HS
ETH
FSMC/SDIO/ OTG_FS
TIM2_CH1_E TR
TIM 5_CH1
TIM8_ETR
USART2_CTS
UART4_TX
ETH_MII_CRS ETH_MII _RX_CLK ETH_RMII__REF _CLK ETH_MDIO OTG_HS_ULPI_ D0 ETH _MII_COL OTG_HS_SO F OTG_HS_ULPI_ CK TIM13_CH1 ETH_MII _RX_DV ETH_RMII _CRS_DV OTG_FS_SOF DCMI_D0 OTG_FS_ID CAN1_RX CAN1_TX OTG_FS_DM OTG_FS_DP DCMI_D1 DCMI_PIXCK DCMI_HSYN C
EVENTOUT
TIM2_CH2
TIM5_CH2
USART2_RTS
UART4_RX
EVENTOUT
TIM2_CH3 TIM2_CH4
TIM5_CH3 TIM5_CH4
USART2_TX USART2_RX
EVENTOUT EVENTOUT
USART2_CK
EVENTOUT
TIM8_CH1N TIM8_BKIN
SPI1_SCK SPI1_MISO
EVENTOUT EVENTOUT
DocID022152 Rev 4
PA7
TIM1_CH1N
TIM3_CH2
TIM8_CH1N
SPI1_MOSI
TIM14_CH1
EVENTOUT
MCO1
I2C3_SCL I2C3_SMB A
JTMSSWDIO JTCKSWCLK JTDI TIM 2_CH1 TIM 2_ETR SPI1_NSS SPI3_NSS/ I2S3_WS
PA14
EVENTOUT
STM32F405xx, STM32F407xx
PA15
EVENTOUT
Table 9. Alternate function mapping (continued) AF0 Port SYS TIM1/2 TIM3/4/5 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 CAN1/ CAN2/ TIM12/13/14 AF10 AF11 AF12 AF13 AF14 DCMI AF15
STM32F405xx, STM32F407xx
TIM8/9/10/1 1
I2C1/2/3
SPI1/SPI2/ I2S2/I2S2ext
SPI3/I2Sext/ I2S3
USART1/2/3/ I2S3ext
UART4/5/ USART6
ETH
FSMC/SDIO/ OTG_FS
PB0
TIM1_CH2N
TIM3_CH3
TIM8_CH2N
ETH _MII_RXD2
EVENTOUT
TIM1_CH3N
TIM3_CH4
TIM8_CH3N
ETH _MII_RXD3
EVENTOUT EVENTOUT
PB3
TIM2_CH2
SPI1_SCK
SPI3_SCK I2S3_CK SPI3_MISO SPI3_MOSI I2S3_SD USART1_TX USART1_RX CAN1_RX ETH _MII_TXD3 I2S3ext_SD CAN2_RX CAN2_TX FSMC_NL SDIO_D4 SDIO_D5 OTG_HS_ULPI_ D3 OTG_HS_ULPI_ D4 OTG_HS_ULPI_ D5 OTG_HS_ULPI_ D6 OTG_HS_ULPI_ D7 ETH _PPS_OUT DCMI_D10 DCMI_D5 DCMI_VSYN C DCMI_D6 DCMI_D7
EVENTOUT
TIM3_CH1 TIM3_CH2 TIM4_CH1 TIM4_CH2 TIM4_CH3 TIM4_CH4 TIM10_CH1 TIM11_CH1 I2C1_SMB A I2C1_SCL I2C1_SDA I2C1_SCL I2C1_SDA
SPI1_MISO SPI1_MOSI
Port B
PB8 PB9
CAN1_TX
PB10
TIM2_CH3
I2C2_SCL
ETH_ MII_RX_ER ETH _MII_TX_EN ETH _RMII_TX_EN ETH _MII_TXD0 ETH _RMII_TXD0 ETH _MII_TXD1 ETH _RMII_TXD1 OTG_HS_DM OTG_HS_DP OTG_HS_ID
EVENTOUT
PB11
TIM2_CH4
I2C2_SDA
USART3_RX
EVENTOUT
PB12
TIM1_BKIN
I2C2_SMB A
USART3_CK
CAN2_RX
EVENTOUT
Table 9. Alternate function mapping (continued) AF0 Port SYS TIM1/2 TIM3/4/5 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 CAN1/ CAN2/ TIM12/13/14 AF10 AF11 AF12 AF13 AF14 DCMI AF15
TIM8/9/10/1 1
I2C1/2/3
SPI1/SPI2/ I2S2/I2S2ext
SPI3/I2Sext/ I2S3
USART1/2/3/ I2S3ext
UART4/5/ USART6
ETH
FSMC/SDIO/ OTG_FS
ETH _MII_TXD2 ETH _MII_TX_CLK ETH_MII_RXD0 ETH_RMII_RXD0 ETH _MII_RXD1 ETH _RMII_RXD1
PC3
EVENTOUT
PC4
EVENTOUT
PC5 PC6 Port C PC7 PC8 PC9 PC10 PC11 PC12 PC13 PC14 PC15 I2S3ext_SD MCO2 TIM3_CH1 TIM3_CH2 TIM3_CH3 TIM3_CH4 TIM8_CH1 TIM8_CH2 TIM8_CH3 TIM8_CH4 I2C3_SDA I2S_CKIN SPI3_SCK/ I2S3_CK SPI3_MISO/ SPI3_MOSI I2S3_SD USART3_TX/ USART3_RX USART3_CK UART4_TX UART4_RX UART5_TX I2S2_MCK I2S3_MCK USART6_TX USART6_RX USART6_CK
EVENTOUT SDIO_D6 SDIO_D7 SDIO_D0 SDIO_D1 SDIO_D2 SDIO_D3 SDIO_CK DCMI_D0 DCMI_D1 DCMI_D2 DCMI_D3 DCMI_D8 DCMI_D4 DCMI_D9 EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT
STM32F405xx, STM32F407xx
Table 9. Alternate function mapping (continued) AF0 Port SYS TIM1/2 TIM3/4/5 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 CAN1/ CAN2/ TIM12/13/14 CAN1_RX CAN1_TX TIM3_ETR USART2_CTS USART2_RTS USART2_TX USART2_RX USART2_CK USART3_TX USART3_RX USART3_CK USART3_CTS TIM4_CH1 TIM4_CH2 TIM4_CH3 TIM4_CH4 USART3_RTS UART5_RX AF10 AF11 AF12 AF13 AF14 DCMI AF15
STM32F405xx, STM32F407xx
TIM8/9/10/1 1
I2C1/2/3
SPI1/SPI2/ I2S2/I2S2ext
SPI3/I2Sext/ I2S3
USART1/2/3/ I2S3ext
UART4/5/ USART6
OTG_FS/ OTG_HS
ETH
FSMC/SDIO/ OTG_FS FSMC_D2 FSMC_D3 SDIO_CMD FSMC_CLK FSMC_NOE FSMC_NWE FSMC_NWAIT FSMC_NE1/ FSMC_NCE2 FSMC_D13 FSMC_D14 FSMC_D15 FSMC_A16 FSMC_A17 FSMC_A18 FSMC_D0 FSMC_D1
PD0 PD1 PD2 PD3 PD4 PD5 PD6 PD7 Port D PD8 PD9
EVENTOUT EVENTOUT DCMI_D11 EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT
Table 9. Alternate function mapping (continued) AF0 Port SYS TIM1/2 TIM3/4/5 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 CAN1/ CAN2/ TIM12/13/14 AF10 AF11 AF12 AF13 AF14 DCMI AF15
TIM8/9/10/1 1
I2C1/2/3
SPI1/SPI2/ I2S2/I2S2ext
SPI3/I2Sext/ I2S3
USART1/2/3/ I2S3ext
UART4/5/ USART6
OTG_FS/ OTG_HS
ETH
FSMC/SDIO/ OTG_FS
PE0 PE1 PE2 PE3 PE4 PE5 PE6 Port E PE7 PE8 PE9 PE10 PE11 PE12 PE13 PE14 PE15 TRACECL K TRACED0 TRACED1 TRACED2 TRACED3 TIM1_ETR TIM1_CH1N TIM1_CH1 TIM1_CH2N TIM1_CH2 TIM1_CH3N TIM1_CH3 TIM1_CH4 TIM1_BKIN
TIM4_ETR
FSMC_NBL0 FSMC_NBL1 ETH _MII_TXD3 FSMC_A23 FSMC_A19 FSMC_A20 TIM9_CH1 TIM9_CH2 FSMC_A21 FSMC_A22 FSMC_D4 FSMC_D5 FSMC_D6 FSMC_D7 FSMC_D8 FSMC_D9 FSMC_D10 FSMC_D11 FSMC_D12
DCMI_D2 DCMI_D3
EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT
STM32F405xx, STM32F407xx
Table 9. Alternate function mapping (continued) AF0 Port SYS TIM1/2 TIM3/4/5 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 CAN1/ CAN2/ TIM12/13/14 AF10 AF11 AF12 AF13 AF14 DCMI AF15
STM32F405xx, STM32F407xx
TIM8/9/10/1 1
I2C1/2/3
SPI1/SPI2/ I2S2/I2S2ext
SPI3/I2Sext/ I2S3
USART1/2/3/ I2S3ext
UART4/5/ USART6
OTG_FS/ OTG_HS
ETH
PF0 PF1 PF2 PF3 PF4 PF5 PF6 PF7 Port F PF8 PF9 PF10 PF11 PF12 PF13 PF14 PF15 TIM10_CH1 TIM11_CH1
EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT DCMI_D12 EVENTOUT EVENTOUT EVENTOUT EVENTOUT EVENTOUT
Table 9. Alternate function mapping (continued) AF0 Port SYS TIM1/2 TIM3/4/5 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 CAN1/ CAN2/ TIM12/13/14 AF10 AF11 AF12 AF13 AF14 DCMI AF15
TIM8/9/10/1 1
I2C1/2/3
SPI1/SPI2/ I2S2/I2S2ext
SPI3/I2Sext/ I2S3
USART1/2/3/ I2S3ext
UART4/5/ USART6
OTG_FS/ OTG_HS
ETH
PG0 PG1 PG2 PG3 PG4 PG5 PG6 PG7 PG8 USART6_CK USART6_ RTS USART6_RX ETH _PPS_OUT
FSMC_INT3
Port G
PG9
FSMC_NE2/ FSMC_NCE3 FSMC_ NCE4_1/ FSMC_NE3 ETH _MII_TX_EN ETH _RMII_ TX_EN FSMC_NCE4_ 2
EVENTOUT
PG10
EVENTOUT
PG11
EVENTOUT
PG12
USART6_ RTS UART6_CTS ETH _MII_TXD0 ETH _RMII_TXD0 ETH _MII_TXD1 ETH _RMII_TXD1
FSMC_NE4
EVENTOUT
PG13
FSMC_A24
EVENTOUT
PG14
FSMC_A25
EVENTOUT
PG15
DCMI_D13
EVENTOUT
STM32F405xx, STM32F407xx
Table 9. Alternate function mapping (continued) AF0 Port SYS TIM1/2 TIM3/4/5 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 CAN1/ CAN2/ TIM12/13/14 AF10 AF11 AF12 AF13 AF14 DCMI AF15
STM32F405xx, STM32F407xx
TIM8/9/10/1 1
I2C1/2/3
SPI1/SPI2/ I2S2/I2S2ext
SPI3/I2Sext/ I2S3
USART1/2/3/ I2S3ext
UART4/5/ USART6
OTG_FS/ OTG_HS
ETH
FSMC/SDIO/ OTG_FS
PH0 PH1 PH2 PH3 PH4 PH5 PH6 PH7 Port H PH8 I2C3_SDA I2C3_SMB A TIM5_CH1 TIM5_CH2 TIM5_CH3 TIM8_CH1N TIM8_CH2N TIM8_CH3N CAN1_TX DCMI_D4 DCMI_D11 DCMI_HSYN C TIM12_CH2 DCMI_D0 DCMI_D1 DCMI_D2 DCMI_D3 I2C2_SCL I2C2_SDA I2C2_SMB A I2C3_SCL TIM12_CH1 ETH _MII_RXD2 ETH _MII_RXD3 OTG_HS_ULPI_ NXT ETH _MII_CRS ETH _MII_COL
Table 9. Alternate function mapping (continued) AF0 Port SYS TIM1/2 TIM3/4/5 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 CAN1/ CAN2/ TIM12/13/14 AF10 AF11 AF12 AF13 AF14 DCMI AF15
TIM8/9/10/1 1
I2C1/2/3
SPI3/I2Sext/ I2S3
USART1/2/3/ I2S3ext
UART4/5/ USART6
OTG_FS/ OTG_HS
ETH
FSMC/SDIO/ OTG_FS
PI0
TIM5_CH4
DCMI_D13
EVENTOUT
PI1 PI2 PI3 PI4 Port I PI5 PI6 PI7 PI8 PI9 PI10 PI11 TIM8_CH4 TIM8_ETR TIM8_BKIN TIM8_CH1 TIM8_CH2 TIM8_CH3
STM32F405xx, STM32F407xx
STM32F405xx, STM32F407xx
Memory mapping
Memory mapping
The memory map is shown in Figure 18. Figure 18. STM32F40x memory map
Reserved CORTEX-M4 internal peripherals Reserved
0xE010 0000 - 0xFFFF FFFF 0xE000 0000 - 0xE00F FFFF 0xA000 1000 - 0xDFFF FFFF 0xA000 0FFF 0x6000 0000 0x5006 0C00 - 0x5FFF FFFF 0x5006 0BFF
AHB3 Reserved
AHB2
0xFFFF FFFF
Reserved
0xC000 0000 0xBFFF FFFF 512-Mbyte block 5 FSMC registers 0xA000 0000 0x9FFF FFFF 512-Mbyte block 4 FSMC bank 3 & bank4 512-Mbyte block 3 FSMC bank1 & bank2 512-Mbyte block 2 Peripherals 0x4000 0000 0x3FFF FFFF 512-Mbyte block 1 SRAM 0x2000 0000 0x1FFF FFFF 512-Mbyte block 0 Code 0x0000 0000
AHB1
Reserved
APB2
Reserved SRAM (16 KB aliased by bit-banding) SRAM (112 KB aliased by bit-banding) Reserved Option Bytes Reserved System memory + OTP Reserved CCM data RAM (64 KB data SRAM) Reserved Flash Reserved Aliased to Flash, system memory or SRAM depending on the BOOT pins
0x2002 0000 - 0x3FFF FFFF 0x2001 C000 - 0x2001 FFFF 0x2000 0000 - 0x2001 BFFF
Reserved
0x1FFF C008 - 0x1FFF FFFF 0x1FFF C000 - 0x1FFF C007 0x1FFF 7A10 - 0x1FFF 7FFF 0x1FFF 0000 - 0x1FFF 7A0F 0x1001 0000 - 0x1FFE FFFF
APB1
0x1000 0000 - 0x1000 FFFF 0x0810 0000 - 0x0FFF FFFF 0x0800 0000 - 0x080F FFFF 0x0010 0000 - 0x07FF FFFF 0x0000 0000 - 0x000F FFFF
0x4000 0000
ai18513f
DocID022152 Rev 4
69/185
Memory mapping
STM32F405xx, STM32F407xx
70/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Memory mapping
DocID022152 Rev 4
71/185
Memory mapping
72/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Memory mapping
DocID022152 Rev 4
73/185
Electrical characteristics
STM32F405xx, STM32F407xx
5
5.1
5.1.1
Electrical characteristics
Parameter conditions
Unless otherwise specified, all voltages are referenced to VSS.
5.1.2
Typical values
Unless otherwise specified, typical data are based on TA = 25 C, VDD = 3.3 V (for the 1.8 V VDD 3.6 V voltage range). They are given only as design guidelines and are not tested. Typical ADC accuracy values are determined by characterization of a batch of samples from a standard diffusion lot over the full temperature range, where 95% of the devices have an error less than or equal to the value indicated (mean2).
5.1.3
Typical curves
Unless otherwise specified, all typical curves are given only as design guidelines and are not tested.
5.1.4
Loading capacitor
The loading conditions used for pin parameter measurement are shown in Figure 19.
5.1.5
MS19010V1 MS19011V1
74/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
5.1.6
Voltage regulator
BYPASS_REG PDR_ON VDD VREF 100 nF + 1 F 100 nF + 1 F VDDA VREF+ VREFVSSA ADC Analog: RCs, PLL,.. Reset controller
Flash memory
MS19911V2
1. Each power supply pair must be decoupled with filtering ceramic capacitors as shown above. These capacitors must be placed as close as possible to, or below, the appropriate pins on the underside of the PCB to ensure the good functionality of the device. 2. To connect BYPASS_REG and PDR_ON pins, refer to Section 2.2.16: Voltage regulator and Table 2.2.15: Power supply supervisor. 3. The two 2.2 F ceramic capacitors should be replaced by two 100 nF decoupling capacitors when the voltage regulator is OFF. 4. The 4.7 F ceramic capacitor must be connected to one of the VDD pin. 5. VDDA=VDD and VSSA=VSS.
DocID022152 Rev 4
75/185
Electrical characteristics
STM32F405xx, STM32F407xx
5.1.7
IDD_VBAT VBAT
IDD VDD
VDDA
ai14126
5.2
1. All main power (VDD, VDDA) and ground (VSS, VSSA) pins must always be connected to the external power supply, in the permitted range. 2. VIN maximum value must always be respected. Refer to Table 12 for the values of the maximum allowed injected current.
76/185
DocID022152 Rev 4
Electrical characteristics
Ratings Total current into VDD power lines (source)(1) Total current out of VSS ground lines (sink)
(1)
Unit
Output current sunk by any I/O and control pin Output current source by any I/Os and control pin Injected current on five-volt tolerant I/O Injected current on any other pin
(4) (3)
mA
25
1. All main power (VDD, VDDA) and ground (VSS, VSSA) pins must always be connected to the external power supply, in the permitted range. 2. Negative injection disturbs the analog performance of the device. See note in Section 5.3.20: 12-bit ADC characteristics. 3. Positive injection is not possible on these I/Os. A negative injection is induced by VIN<VSS. IINJ(PIN) must never be exceeded. Refer to Table 11 for the values of the maximum allowed input voltage. 4. A positive injection is induced by VIN>VDD while a negative injection is induced by VIN<VSS. IINJ(PIN) must never be exceeded. Refer to Table 11 for the values of the maximum allowed input voltage. 5. When several inputs are submitted to a current injection, the maximum IINJ(PIN) is the absolute sum of the positive and negative injected currents (instantaneous values).
5.3
5.3.1
Operating conditions
General operating conditions
Table 14. General operating conditions
Parameter Internal AHB clock frequency Internal APB1 clock frequency Internal APB2 clock frequency Standard operating voltage Analog operating voltage (ADC limited to 1.2 M samples) Analog operating voltage (ADC limited to 1.4 M samples) Backup operating voltage
Conditions VOS bit in PWR_CR register = 0(1) VOS bit in PWR_CR register= 1
Min 0 0 0 0 1.8(2)
Typ
Unit
MHz
VDDA(3)(4)
V 3.6 3.6 V
VBAT
DocID022152 Rev 4
77/185
Electrical characteristics
STM32F405xx, STM32F407xx
Max 1.20 1.32 1.20 1.30 5.5 5.2 VDDA+ 0.3 5.5 435 465 500 526 513 543 85 105 105 125 105 125
Unit V V V V
VOS bit in PWR_CR register= 1 Max frequency 168MHz Max frequency 144MHz Max frequency 168MHz 2 V VDD 3.6 V VDD 2 V
40 40 40 40 40 40
mW
Maximum power dissipation Low power dissipation 6 suffix version 7 suffix version
(8)
1. The average expected gain in power consumption when VOS = 0 compared to VOS = 1 is around 10% for the whole temperature range, when the system clock frequency is between 30 and 144 MHz. 2. VDD/VDDA minimum value of 1.7 V is obtained when the device operates in reduced temperature range, and with the use of an external power supply supervisor (refer to Section : Internal reset OFF). 3. When the ADC is used, refer to Table 67: ADC characteristics. 4. If VREF+ pin is present, it must respect the following condition: VDDA-VREF+ < 1.2 V. 5. It is recommended to power VDD and VDDA from the same source. A maximum difference of 300 mV between VDD and VDDA can be tolerated during power-up and power-down operation. 6. To sustain a voltage higher than VDD+0.3, the internal pull-up and pull-down resistors must be disabled. 7. If TA is lower, higher PD values are allowed as long as TJ does not exceed TJmax. 8. In low power dissipation state, TA can be extended to this range as long as TJ does not exceed TJmax.
78/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
ADC operation
I/O operation
20 MHz
(4)
Degraded speed performance up to 30 MHz No I/O compensation Degraded speed performance up to 30 MHz No I/O compensation Degraded speed performance up to 48 MHz I/O compensation works up to 60 MHz Full-speed when VDD = operation 3.0 to 3.6 V I/O up to compensation 48 MHz works when VDD = 2.7 to 3.0 V
22 MHz
24 MHz
30 MHz
1. It applies only when code executed from Flash memory access, when code executed from RAM, no wait state is required. 2. Thanks to the ART accelerator and the 128-bit Flash memory, the number of wait states given here does not impact the execution speed from Flash memory since the ART accelerator allows to achieve a performance equivalent to 0 wait state program execution.
3. VDD/VDDA minimum value of 1.7 V is obtained when the device operates in reduced temperature range, and with the use of an external power supply supervisor (refer to Section : Internal reset OFF). 4. Prefetch is not available. Refer to AN3430 application note for details on how to adjust performance and power. 5. The voltage range for OTG USB FS can drop down to 2.7 V. However it is degraded between 2.7 and 3 V.
5.3.2
DocID022152 Rev 4
79/185
Electrical characteristics
ESR R Leak
MS19044V2
1. When bypassing the voltage regulator, the two 2.2 F VCAP capacitors are not required and should be replaced by two 100 nF decoupling capacitors.
5.3.3
5.3.4
tVCAP
VCAP_1 and VCAP_2 rise time Power-up rate VCAP_1 and VCAP_2 fall time rate Power-down
1. To reset the internal logic at power-down, a reset must be applied on pin PA0 when VDD reach below minimum value of V12.
5.3.5
80/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
DocID022152 Rev 4
81/185
Electrical characteristics
STM32F405xx, STM32F407xx
Table 19. Embedded reset and power control block characteristics (continued)
Symbol VBORhyst
(1)
Conditions
Min 0.5
Max
Unit mV
3.0
ms
InRush current on voltage regulator power-on (POR or wakeup from Standby) InRush energy on voltage regulator power-on (POR or wakeup from Standby) VDD = 1.8 V, TA = 105 C, IRUSH = 171 mA for 31 s
160
200
mA
ERUSH(1)
5.4
1. Guaranteed by design, not tested in production. 2. The reset temporization is measured from the power-on (POR reset or wakeup from VBAT) to the instant when first instruction is read by the user application code.
5.3.6
82/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
Table 20. Typical and maximum current consumption in Run mode, code with data processing running from Flash memory (ART accelerator enabled) or RAM (1)
Typ Symbol Parameter Conditions fHCLK TA = 25 C 87 67 56 44 30 16 12 9 5 3 2 40 31 26 20 14 8 6 5 3 2 2 Max(2) TA = 85 C 102 80 69 56 42 28 24 20 17 15 14 54 43 38 32 26 20 18 16 15 14 14 TA = 105 C 109 86 75 62 49 35 31 28 24 22 21 61 50 45 39 33 27 25 24 22 21 21 mA Unit
168 MHz 144 MHz 120 MHz 90 MHz External clock(3), all peripherals enabled(4)(5) 60 MHz 30 MHz 25 MHz 16 MHz(6) 8 MHz 4 MHz IDD Supply current in Run mode 2 MHz 168 MHz 144 MHz 120 MHz 90 MHz External clock(3), all peripherals disabled(4)(5) 60 MHz 30 MHz 25 MHz 16 MHz
(6)
2. Based on characterization, tested in production at VDD max and fHCLK max with peripherals enabled. 3. External clock is 4 MHz and PLL is on when fHCLK > 25 MHz. 4. When the ADC is ON (ADON bit set in the ADC_CR2 register), add an additional power consumption of 1.6 mA per ADC for the analog part. 5. When analog peripheral blocks such as ADCs, DACs, HSE, LSE, HSI, or LSI are ON, an additional power consumption should be considered. 6. In this case HCLK = system clock/2.
DocID022152 Rev 4
83/185
Electrical characteristics
STM32F405xx, STM32F407xx
Table 21. Typical and maximum current consumption in Run mode, code with data processing running from Flash memory (ART accelerator disabled)
Typ Symbol Parameter Conditions fHCLK 168 MHz 144 MHz 120 MHz 90 MHz External clock(2), all peripherals enabled(3)(4) 60 MHz 30 MHz 25 MHz 16 MHz 8 MHz 4 MHz IDD Supply current in Run mode 2 MHz 168 MHz 144 MHz 120 MHz 90 MHz External clock(2), all peripherals disabled(3)(4) 60 MHz 30 MHz 25 MHz 16 MHz 8 MHz 4 MHz 2 MHz
2. External clock is 4 MHz and PLL is on when fHCLK > 25 MHz. 3. When analog peripheral blocks such as (ADCs, DACs, HSE, LSE, HSI,LSI) are on, an additional power consumption should be considered. 4. When the ADC is ON (ADON bit set in the ADC_CR2 register), add an additional power consumption of 1.6 mA per ADC for the analog part.
Max(1) Unit
1. Based on characterization, tested in production at VDD max and fHCLK max with peripherals enabled.
84/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
Figure 24. Typical current consumption versus temperature, Run mode, code with data processing running from Flash (ART accelerator ON) or RAM, and peripherals OFF
50 45 40 35 IDD RUN (mA) 30 25 20 15 10 5 0 0 20 40 60 80 100 120 140 160 180 CPU Frequency (MHz
MS19974V1
-45 C 0 C 25 C 55 C 85 C 105 C
Figure 25. Typical current consumption versus temperature, Run mode, code with data processing running from Flash (ART accelerator ON) or RAM, and peripherals ON
100 90 80 70 IDD RUN (mA) 60 50 40 30 20 10 0 0 20 40 60 80 100 120 140 160 180 CPU Frequency (MHz
MS19975V1
DocID022152 Rev 4
85/185
Electrical characteristics
STM32F405xx, STM32F407xx
Figure 26. Typical current consumption versus temperature, Run mode, code with data processing running from Flash (ART accelerator OFF) or RAM, and peripherals OFF
60
50
Figure 27. Typical current consumption versus temperature, Run mode, code with data processing running from Flash (ART accelerator OFF) or RAM, and peripherals ON
120
100
86/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
168 MHz 144 MHz 120 MHz 90 MHz External clock(2), all peripherals enabled(3) 60 MHz 30 MHz 25 MHz 16 MHz 8 MHz 4 MHz IDD Supply current in Sleep mode 2 MHz 168 MHz 144 MHz 120 MHz 90 MHz External clock(2), all peripherals disabled 60 MHz 30 MHz 25 MHz 16 MHz 8 MHz 4 MHz 2 MHz
2. External clock is 4 MHz and PLL is on when fHCLK > 25 MHz.
1. Based on characterization, tested in production at VDD max and fHCLK max with peripherals enabled. 3. Add an additional power consumption of 1.6 mA per ADC for the analog part. In applications, this consumption occurs only while the ADC is ON (ADON bit is set in the ADC_CR2 register).
DocID022152 Rev 4
87/185
Electrical characteristics
STM32F405xx, STM32F407xx
Supply current in Stop mode with main regulator in Run mode IDD_STOP Supply current in Stop mode with main regulator in Low Power mode
Flash in Stop mode, low-speed and highspeed internal RC oscillators and high-speed oscillator OFF (no independent watchdog) Flash in Deep power down mode, low-speed and high-speed internal RC oscillators and high-speed oscillator OFF (no independent watchdog) Flash in Stop mode, low-speed and highspeed internal RC oscillators and high-speed oscillator OFF (no independent watchdog) Flash in Deep power down mode, low-speed and high-speed internal RC oscillators and high-speed oscillator OFF (no independent watchdog)
0.40
1.5
11.00
20.00 mA
0.31
1.1
8.00
15.00
0.28
1.1
8.00
15.00
88/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
Symbol
Parameter
Conditions
Unit
VBAT = 3.6 V
6 3 5 2
11 5 10 4 A
Figure 28. Typical VBAT current consumption (LSE and RTC ON/backup RAM OFF)
3.5
2.5
IVBAT in (A)
0.5
0 0 10 20 30 40 50 60 70 80 90 100
Temperature in (C)
MS19990V1
DocID022152 Rev 4
89/185
Electrical characteristics
STM32F405xx, STM32F407xx
Figure 29. Typical VBAT current consumption (LSE and RTC ON/backup RAM ON)
IVBAT in (A)
0 0 10 20 30 40 50 60 70 80 90 100
Temperature in (C)
MS19991V1
90/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
supply voltage to supply the I/O pin circuitry and to charge/discharge the capacitive load (internal or external) connected to the pin:
I SW = V DD f SW C
where ISW is the current sunk by a switching I/O to charge/discharge the capacitive load VDD is the MCU supply voltage fSW is the I/O switching frequency C is the total capacitance seen by the I/O pin: C = CINT+ CEXT The test pin is configured in push-pull output mode and is toggled by software at a fixed frequency.
DocID022152 Rev 4
91/185
Electrical characteristics
STM32F405xx, STM32F407xx
Typ 0.02 0.14 0.51 0.86 1.30 0.10 0.38 1.18 2.47 2.86 0.17 0.66 1.70 2.65 3.48 0.23 0.95 3.20 4.69 8.06 0.30 1.22 3.90 8.82 -(3)
Unit
mA
92/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
When the peripherals are enabled: HCLK is the system clock, fPCLK1 = fHCLK/4, and fPCLK2 = fHCLK/2. The typical values are obtained for VDD = 3.3 V and TA= 25 C, unless otherwise specified. Table 27. Peripheral current consumption
Peripheral(1) GPIO A GPIO B GPIO C GPIO D GPIO E GPIO F GPIO G GPIO H 168 MHz 0.49 0.45 0.45 0.45 0.47 0.45 0.44 0.45 0.44 4.57 0.07 0.11 6.15 6.24 144 MHz 0.36 0.33 0.34 0.34 0.35 0.33 0.33 0.34 0.33 3.55 0.06 0.08 4.75 4.8 mA Unit
AHB1
GPIO I OTG_HS + ULPI CRC BKPSRAM DMA1 DMA2 ETH_MAC + ETH_MAC_TX ETH_MAC_RX ETH_MAC_PTP
3.28
2.54
AHB2
OTG_FS DCMI
4.59 1.04
3.69 0.80
mA
DocID022152 Rev 4
93/185
Electrical characteristics
144 MHz 1.67 0.61 0.44 0.48 0.61 0.11 0.12 0.26 0.21 0.21 0.03 0.13 0.13 0.13 0.13 0.13 0.13 0.13 0.13/0.12 0.12/0.12 0.21 0.20 0.10 0.89 0.89 1.68 0.04
Unit
AHB3
FSMC TIM2 TIM3 TIM4 TIM5 TIM6 TIM7 TIM12 TIM13 TIM14 PWR USART2 USART3 UART4
APB1
mA
UART5 I2C1 I2C2 I2C3 SPI2/I2S2 SPI3/I2S3 CAN1 CAN2 DAC DAC channel 1 DAC channel
(3)
0.17/0.16 0.16/0.14 0.27 0.26 0.14 0.91 0.91 1.69 0.04 2(4)
94/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
168 MHz 0.64 1.47 1.58 0.68 0.45 0.47 2.20 2.04 2.10 0.14 0.34 0.34
144 MHz 0.54 1.14 1.22 0.54 0.36 0.38 2.10 1.93 2.00 0.12 0.27 0.28
Unit
mA
2. I2SMOD bit set in SPI_I2SCFGR register, and then the I2SE bit set to enable I2S peripheral. 3. EN1 bit is set in DAC_CR register. 4. EN2 bit is set in DAC_CR register. 5. ADON bit set in ADC_CR2 register.
5.3.7
All timings are derived from tests performed under ambient temperature and VDD supply voltage conditions summarized in Table 14. Table 28. Low-power mode wakeup timings
Symbol tWUSLEEP(2) Parameter Wakeup from Sleep mode Wakeup from Stop mode (regulator in Run mode) tWUSTOP(2) Wakeup from Stop mode (regulator in low power mode) Wakeup from Stop mode (regulator in low power mode and Flash memory in Deep power down mode) Wakeup from Standby mode Min(1) 260 Typ(1) 1 13 17 110 375 Max(1) 40 480 s s Unit s
tWUSTDBY(2)(3)
1. Based on characterization, not tested in production. 2. The wakeup times are measured from the wakeup event to the point in which the application code reads the first instruction. 3. tWUSTDBY minimum and maximum values are given at 105 C and 45 C, respectively.
DocID022152 Rev 4
95/185
Electrical characteristics
STM32F405xx, STM32F407xx
5.3.8
96/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
fHSE_ext OSC_IN
IL STM32F
ai17528
fLSE_ext
OSC32_IN
IL STM32F
ai17529
DocID022152 Rev 4
97/185
Electrical characteristics
STM32F405xx, STM32F407xx Table 31. HSE 4-26 MHz oscillator characteristics(1) (2)
Symbol fOSC_IN RF
Conditions
Min 4 -
Max 26 -
Unit MHz k
IDD
VDD=3.3 V, ESR= 30 , CL=5 pF@25 MHz VDD=3.3 V, ESR= 30 , CL=10 pF@25 MHz Startup VDD is stabilized
A 5 532 2 mA/V ms
gm tSU(HSE(3)
1. Resonator characteristics given by the crystal/ceramic resonator manufacturer. 2. Based on characterization, not tested in production. 3. tSU(HSE) is the startup time measured from the moment it is enabled (by software) to a stabilized 8 MHz oscillation is reached. This value is measured for a standard crystal resonator and it can vary significantly with the crystal manufacturer
For CL1 and CL2, it is recommended to use high-quality external ceramic capacitors in the 5 pF to 25 pF range (typ.), designed for high-frequency applications, and selected to match the requirements of the crystal or resonator (see Figure 32). CL1 and CL2 are usually the same size. The crystal manufacturer typically specifies a load capacitance which is the series combination of CL1 and CL2. PCB and MCU pin capacitance must be included (10 pF can be used as a rough estimate of the combined pin and board capacitance) when sizing CL1 and CL2. Note: For information on electing the crystal, refer to the application note AN2867 Oscillator design guide for ST microcontrollers available from the ST website www.st.com. Figure 32. Typical application with an 8 MHz crystal
Resonator with integrated capacitors CL1 8 MH z resonator CL2 REXT(1)
fHSE
STM32F
ai17530
98/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
2. tSU(LSE) is the startup time measured from the moment it is enabled (by software) to a stabilized 32.768 kHz oscillation is reached. This value is measured for a standard crystal resonator and it can vary significantly with the crystal manufacturer
Note:
For information on electing the crystal, refer to the application note AN2867 Oscillator design guide for ST microcontrollers available from the ST website www.st.com. Figure 33. Typical application with a 32.768 kHz crystal
Resonator with integrated capacitors CL1 32.768 kH z resonator CL2
fLSE
STM32F
ai17531
5.3.9
DocID022152 Rev 4
99/185
Electrical characteristics
STM32F405xx, STM32F407xx
1. VDD = 3.3 V, TA = 40 to 105 C unless otherwise specified. 2. Based on characterization, not tested in production. 3. Guaranteed by design, not tested in production.
Parameter Frequency LSI oscillator startup time LSI oscillator power consumption
Min 17 -
Typ 32 15 0.4
Max 47 40 0.6
Unit kHz s A
IDD(LSI)
1. VDD = 3 V, TA = 40 to 105 C unless otherwise specified. 2. Based on characterization, not tested in production. 3. Guaranteed by design, not tested in production.
50 max 40 30 Normalized deviati on (%) 20 10 0 -10 -20 -30 -40 -45 -35 -25 -15 -5 5 15 25 35 45 Temperat ure (C) 55 65 75 85 95 105 avg min
MS19013V1
5.3.10
PLL characteristics
The parameters given in Table 35 and Table 36 are derived from tests performed under temperature and VDD supply voltage conditions summarized in Table 14.
100/185
DocID022152 Rev 4
Electrical characteristics
ps
1. Take care of using the appropriate division factor M to obtain the specified PLL input clock values. The M factor is shared between PLL and PLLI2S. 2. Guaranteed by design, not tested in production. 3. The use of 2 PLLs in parallel could degraded the Jitter up to +30%. 4. Based on characterization, not tested in production.
PLLI2S multiplier output clock PLLI2S VCO output PLLI2S lock time
DocID022152 Rev 4
101/185
Electrical characteristics
STM32F405xx, STM32F407xx
90
ps
WS I2S clock jitter IDD(PLLI2S)(4) IDDA(PLLI2S)(4) PLLI2S power consumption on VDD PLLI2S power consumption on VDDA
400 -
ps mA mA
1. Take care of using the appropriate division factor M to have the specified PLL input clock values. 2. Guaranteed by design, not tested in production. 3. Value given with main PLL running. 4. Based on characterization, not tested in production.
5.3.11
MODEPER * INCSTEP
1. Guaranteed by design, not tested in production.
Equation 1 The frequency modulation period (MODEPER) is given by the equation below:
MODEPER = round [ f PLL_IN ( 4 fMod ) ]
fPLL_IN and fMod must be expressed in Hz. As an example: If fPLL_IN = 1 MHz, and fMOD = 1 kHz, the modulation depth (MODEPER) is given by equation 1:
MODEPER = round [ 10 ( 4 10 ) ] = 250
6 3
102/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
fVCO_OUT must be expressed in MHz. With a modulation depth (md) = 2 % (4 % peak to peak), and PLLN = 240 (in MHz):
INCSTEP = round [ ( ( 2
15
An amplitude quantization error may be generated because the linear modulation profile is obtained by taking the quantized values (rounded to the nearest integer) of MODPER and INCSTEP. As a result, the achieved modulation depth is quantized. The percentage quantized modulation depth is given by the following formula:
md quantized % = ( MODEPER INCSTEP 100 5 ) ( ( 2
15
1 ) PLLN )
As a result:
md quantized % = ( 250 126 100 5 ) ( ( 2
15
1 ) 240 ) = 2.002%(peak)
Figure 35 and Figure 36 show the main PLL output clock waveforms in center spread and down spread modes, where: F0 is fPLL_OUT nominal. Tmode is the modulation period. md is the modulation depth. Figure 35. PLL output clock waveforms in center spread mode
Frequency (PLL_OUT)
md F0 md
tmode
2 x tmode
Time
ai17291
DocID022152 Rev 4
103/185
Electrical characteristics
STM32F405xx, STM32F407xx
F0 2 x md
tmode
2 x tmode
Time
ai17292
5.3.12
Memory characteristics
Flash memory
The characteristics are given at TA = 40 to 105 C unless otherwise specified. The devices are shipped to customers with the Flash memory erased. Table 38. Flash memory characteristics
Symbol
Parameter
Min -
Typ 5 8 12
Max -
Unit
IDD
Supply current
Write / Erase 16-bit mode, VDD = 2.1 V Write / Erase 32-bit mode, VDD = 3.3 V
mA
104/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Symbol
Parameter
tME
Vprog
Programming voltage
1. Based on characterization, not tested in production. 2. The maximum programming time is measured after 100K erase operations.
DocID022152 Rev 4
105/185
Electrical characteristics
Parameter Double word programming Sector (16 KB) erase time Sector (64 KB) erase time
Conditions
Min(1) -
Unit s
tERASE128KB Sector (128 KB) erase time Mass erase time Programming voltage VPP voltage range Minimum current sunk on the VPP pin Cumulative time during which VPP is applied
2.7 7 10 -
ms
s V V mA hour
1. Guaranteed by design, not tested in production. 2. The maximum programming time is measured after 100K erase operations. 3. VPP should only be connected during programming/erasing.
Min(1) 10 30 10 20
Unit
NEND
Endurance
kcycles
at TA = 105 C
(2)
Years
10 kcycles
at TA = 55 C
1. Based on characterization, not tested in production. 2. Cycling performed over the whole temperature range.
5.3.13
EMC characteristics
Susceptibility tests are performed on a sample basis during device characterization.
106/185
DocID022152 Rev 4
Electrical characteristics
The test results are given in Table 42. They are based on the EMS levels and classes defined in application note AN1709. Table 42. EMS characteristics
Symbol Parameter Conditions Level/ Class 2B
VFESD
VDD = 3.3 V, LQFP176, TA = +25 C, Voltage limits to be applied on any I/O pin to fHCLK = 168 MHz, conforms to induce a functional disturbance IEC 61000-4-2 Fast transient voltage burst limits to be applied through 100 pF on VDD and VSS pins to induce a functional disturbance VDD = 3.3 V, LQFP176, TA = +25 C, fHCLK = 168 MHz, conforms to IEC 61000-4-2
VEFTB
4A
Prequalification trials Most of the common failures (unexpected reset and program counter corruption) can be reproduced by manually forcing a low state on the NRST pin or the Oscillator pins for 1 second. To complete these trials, ESD stress can be applied directly on the device, over the range of specification values. When unexpected behavior is detected, the software can be hardened to prevent unrecoverable errors occurring (see application note AN1015).
DocID022152 Rev 4
107/185
STM32F405xx, STM32F407xx
Monitored frequency band 0.1 to 30 MHz 30 to 130 MHz 130 MHz to 1GHz SAE EMI Level 0.1 to 30 MHz 30 to 130 MHz 130 MHz to 1GHz SAE EMI level
Unit
VDD = 3.3 V, TA = 25 C, LQFP176 package, conforming to SAE J1752/3 EEMBC, code running from Flash with ART accelerator enabled SEMI Peak level VDD = 3.3 V, TA = 25 C, LQFP176 package, conforming to SAE J1752/3 EEMBC, code running from Flash with ART accelerator and PLL spread spectrum enabled
5.3.14
VESD(HBM)
VESD(CDM)
1. Based on characterization results, not tested in production. 2. On VBAT pin, VESD(HBM) is limited to 1000 V.
Static latchup
Two complementary static tests are required on six parts to assess the latchup performance: A supply overvoltage is applied to each power supply pin A current injection is applied to each input, output and configurable I/O pin
108/185
DocID022152 Rev 4
Electrical characteristics
Class II level A
5.3.15
IINJ(1)
mA
1. It is recommended to add a Schottky diode (pin to ground) to analog pins which may potentially inject negative currents.
5.3.16
DocID022152 Rev 4
109/185
STM32F405xx, STM32F407xx
Parameter Input low level voltage Input high level voltage Input low level voltage Input high level voltage I/O Schmitt trigger voltage hysteresis
(2)
Conditions TTL ports 2.7 V VDD 3.6 V CMOS ports 1.8 V VDD 3.6 V
Typ 200 -
Unit
VIL VIH(1)
Vhys
IO FT Schmitt trigger voltage hysteresis(2) I/O input leakage current (4) I/O FT input leakage current (4) All pins except for PA10 and PB12 PA10 and PB12 All pins except for PA10 and PB12 PA10 and PB12 VSS VIN VDD VIN = 5 V
mV
Ilkg
RPU
30 VIN = VSS 8
40
50
11
15 k
RPD
30 VIN = VDD 8
40
50
11 5
15 pF
CIO(6)
1. Tested in production. 2. Hysteresis voltage between Schmitt trigger switching levels. Based on characterization, not tested in production. 3. With a minimum of 100 mV. 4. Leakage could be higher than the maximum value, if negative current is injected on adjacent pins. 5. Pull-up and pull-down resistors are designed with a true resistance in series with a switchable PMOS/NMOS. This MOS/NMOS contribution to the series resistance is minimum (~10% order). 6. Guaranteed by design, not tested in production.
All I/Os are CMOS and TTL compliant (no software configuration required). Their characteristics cover more than the strict CMOS-technology or TTL parameters.
110/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
In the user application, the number of I/O pins which can drive current must be limited to respect the absolute maximum rating specified in Section 5.2. In particular: The sum of the currents sourced by all the I/Os on VDD, plus the maximum Run consumption of the MCU sourced on VDD, cannot exceed the absolute maximum rating IVDD (see Table 12). The sum of the currents sunk by all the I/Os on VSS plus the maximum Run consumption of the MCU sunk on VSS cannot exceed the absolute maximum rating IVSS (see Table 12).
Parameter Output low level voltage for an I/O pin when 8 pins are sunk at same time Output high level voltage for an I/O pin when 8 pins are sourced at same time Output low level voltage for an I/O pin when 8 pins are sunk at same time Output high level voltage for an I/O pin when 8 pins are sourced at same time Output low level voltage for an I/O pin when 8 pins are sunk at same time Output high level voltage for an I/O pin when 8 pins are sourced at same time Output low level voltage for an I/O pin when 8 pins are sunk at same time Output high level voltage for an I/O pin when 8 pins are sourced at same time
Conditions CMOS port IIO = +8 mA 2.7 V < VDD < 3.6 V TTL port IIO =+ 8mA 2.7 V < VDD < 3.6 V
Max 0.4
Unit
1. PC13, PC14, PC15 and PI8 are supplied through the power switch. Since the switch only sinks a limited amount of current (3 mA), the use of GPIOs PC13 to PC15 and PI8 in output mode is limited: the speed should not exceed 2 MHz with a maximum load of 30 pF and these I/Os must not be used as a current source (e.g. to drive an LED). 2. The IIO current sunk by the device must always respect the absolute maximum rating specified in Table 12 and the sum of IIO (I/O ports and control pins) must not exceed IVSS. 3. The IIO current sourced by the device must always respect the absolute maximum rating specified in Table 12 and the sum of IIO (I/O ports and control pins) must not exceed IVDD. 4. Based on characterization data, not tested in production.
Input/output AC characteristics
The definition and values of input/output AC characteristics are given in Figure 37 and Table 49, respectively.
DocID022152 Rev 4
111/185
Electrical characteristics
STM32F405xx, STM32F407xx
Unless otherwise specified, the parameters given in Table 49 are derived from tests performed under the ambient temperature and VDD supply voltage conditions summarized in Table 14. Table 49. I/O AC characteristics(1)(2)(3)
OSPEEDRy [1:0] bit value(1) Symbol Parameter Conditions CL = 50 pF, VDD > 2.70 V fmax(IO)out Maximum frequency(4) 00 tf(IO)out tr(IO)out Output high to low level fall time Output low to high level rise time CL = 50 pF, VDD > 1.8 V CL = 10 pF, VDD > 2.70 V CL = 10 pF, VDD > 1.8 V CL = 50 pF, VDD = 1.8 V to 3.6 V CL = 50 pF, VDD > 2.70 V fmax(IO)out Maximum frequency(4) 01 tf(IO)out tr(IO)out Output high to low level fall time Output low to high level rise time CL = 50 pF, VDD > 1.8 V CL = 10 pF, VDD > 2.70 V CL = 10 pF, VDD > 1.8 V CL = 50 pF, VDD < 2.7 V CL = 10 pF, VDD > 2.7 V CL = 50 pF, VDD < 2.7 V CL = 10 pF, VDD > 2.7 V CL = 40 pF, VDD > 2.70 V fmax(IO)out Maximum frequency(4) CL = 40 pF, VDD > 1.8 V CL = 10 pF, VDD > 2.70 V CL = 10 pF, VDD > 1.8 V 10 tf(IO)out Output high to low level fall time CL = 50 pF, 2.4 < VDD < 2.7 V CL = 10 pF, VDD > 2.7 V CL = 50 pF, 2.4 < VDD < 2.7 V CL = 10 pF, VDD > 2.7 V Min Typ Max 2 2 TBD TBD TBD ns TBD 25 12.5(5) 50(5) TBD TBD TBD TBD TBD 50(5) 25 100(5) TBD TBD TBD TBD TBD ns MHz ns MHz MHz Unit
tr(IO)out
112/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
Min 10
Typ -
Unit
Maximum frequency(4)
CL = 30 pF, VDD > 1.8 V CL = 10 pF, VDD > 2.70 V CL = 10 pF, VDD > 1.8 V CL = 20 pF, 2.4 < VDD < 2.7 V CL = 10 pF, VDD > 2.7 V CL = 20 pF, 2.4 < VDD < 2.7 V CL = 10 pF, VDD > 2.7 V
MHz
11 tf(IO)out
ns
tr(IO)out
Output low to high level rise time Pulse width of external signals detected by the EXTI controller
tEXTIpw
ns
1. Based on characterization data, not tested in production. 2. The I/O speed is configured using the OSPEEDRy[1:0] bits. Refer to the STM32F20/21xxx reference manual for a description of the GPIOx_SPEEDR GPIO port output speed register. 3. TBD stands for to be defined. 4. The maximum frequency is defined in Figure 37. 5. For maximum frequencies above 50 MHz, the compensation cell should be used.
Maximum frequency is achieved if (tr + tf) 2/3)T and if the duty cycle is (45-55%) when loaded by 50pF
ai14131
5.3.17
Electrical characteristics
Symbol VIL(NRST)(1)
Conditions TTL ports 2.7 V VDD 3.6 V CMOS ports 1.8 V VDD 3.6 V
Min 2 0.7VDD -
Typ -
Unit
VIH(NRST)(1) NRST Input high level voltage VIL(NRST)(1) NRST Input low level voltage
VIH(NRST)(1) NRST Input high level voltage Vhys(NRST) RPU VF(NRST)(1) VNF(NRST)
(1)
NRST Schmitt trigger voltage hysteresis Weak pull-up equivalent resistor(2) NRST Input filtered pulse NRST Input not filtered pulse Generated reset pulse duration VDD > 2.7 V Internal Reset source VIN = VSS
200 40 -
50 100 -
mV k ns ns s
30 300 20
TNRST_OUT
1. Guaranteed by design, not tested in production. 2. The pull-up is designed with a true resistance in series with a switchable PMOS. This PMOS contribution to the series resistance must be minimum (~10% order).
0.1 F
STM32Fxxx
ai14132c
1. The reset network protects the device against parasitic resets. 2. The user must ensure that the level on the NRST pin can go below the VIL(NRST) max level specified in Table 50. Otherwise the reset is not taken into account by the device.
5.3.18
114/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
tres(TIM)
tCOUNTER
1. TIMx is used as a general term to refer to the TIM2, TIM3, TIM4, TIM5, TIM6, TIM7, and TIM12 timers.
DocID022152 Rev 4
115/185
Electrical characteristics
STM32F405xx, STM32F407xx
tres(TIM)
1. TIMx is used as a general term to refer to the TIM1, TIM8, TIM9, TIM10, and TIM11 timers.
5.3.19
Communications interfaces
I2C interface characteristics
The STM32F405xx and STM32F407xx I2C interface meets the requirements of the standard I2C communication protocol with the following restrictions: the I/O pins SDA and SCL are mapped to are not true open-drain. When configured as open-drain, the PMOS connected between the I/O pin and VDD is disabled, but is still present. The I2C characteristics are described in Table 53. Refer also to Section 5.3.16: I/O port characteristics for more details on the input/output alternate function characteristics (SDA and SCL). Table 53. I2C characteristics
Standard mode I2C(1) Symbol tw(SCLL) tw(SCLH) tsu(SDA) th(SDA) tr(SDA) tr(SCL) tf(SDA) tf(SCL) Parameter Min SCL clock low time SCL clock high time SDA setup time SDA data hold time SDA and SCL rise time SDA and SCL fall time 4.7 4.0 250 0(3) Max 1000 300 Min 1.3 0.6 100 0 20 + 0.1Cb Max 900(4) 300 300 ns s Fast mode I2C(1)(2) Unit
116/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Parameter Start condition hold time Repeated Start condition setup time Stop condition setup time Stop to Start condition time (bus free) Capacitive load for each bus line
1. Guaranteed by design, not tested in production. 2. fPCLK1 must be at least 2 MHz to achieve standard mode I2C frequencies. It must be at least 4 MHz to achieve fast mode I2C frequencies, and a multiple of 10 MHz to reach the 400 kHz maximum I2C fast mode clock. 3. The device must internally provide a hold time of at least 300 ns for the SDA signal in order to bridge the undefined region of the falling edge of SCL. 4. The maximum data hold time has only to be met if the interface does not stretch the low period of SCL signal.
STM32Fxx
RS SDA RS SCL
S T AR T
tr(SDA) tw(SCLL)
tw(STO:STA)
1. Rs= series protection resistor. 2. Rp = external pull-up resistor. 3. VDD_I2C is the I2C bus power supply.
DocID022152 Rev 4
117/185
Electrical characteristics
STM32F405xx, STM32F407xx Table 54. SCL frequency (fPCLK1= 42 MHz.,VDD = 3.3 V)(1)(2)
I2C_CCR value fSCL (kHz) 400 300 200 100 50 20 RP = 4.7 k 0x8019 0x8021 0x8032 0x0096 0x012C 0x02EE
1. RP = External pull-up resistance, fSCL = I2C speed, 2. For speeds around 200 kHz, the tolerance on the achieved speed is of 5%. For other speed ranges, the tolerance on the achieved speed 2%. These variations depend on the accuracy of the external components used to design the application.
Refer to Section 5.3.16: I/O port characteristics for more details on the input/output alternate function characteristics (NSS, SCK, MOSI, MISO). Table 55. SPI dynamic characteristics(1)
Symbol Parameter Conditions Master mode, SPI1, 2.7V < VDD < 3.6V Slave mode, SPI1, 2.7V < VDD < 3.6V Master mode, SPI1/2/3, 1.7V < VDD < 3.6V Slave mode, SPI1/2/3, 1.7V < VDD < 3.6V Duty cycle of SPI clock frequency Slave mode Min Typ Max 42 42 MHz 21 21 30 50 70 % Unit
Duty(SCK)
118/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
Parameter
Conditions Master mode, SPI presc = 2, 2.7V < VDD < 3.6V Master mode, SPI presc = 2, 1.7V < VDD < 3.6V Slave mode, SPI presc = 2 Slave mode, SPI presc = 2 Master mode Slave mode Master mode Slave mode Slave mode, SPI presc = 2 Slave mode, SPI1, 2.7V < VDD < 3.6V Slave mode, SPI1/2/3 1.7V < VDD < 3.6V Slave mode (after enable edge), SPI1, 2.7V < VDD < 3.6V
Min
Typ
Max
Unit
TPCLK-0.5 TPCLK TPCLK+0.5 TPCLK-2 4 x TPCLK 2 x TPCLK 6.5 2.5 2.5 4 0 0 0 0 TPCLK 11 12 15.5 18 TPCLK+2 4 x TPCLK 7.5 16.5 13 16.5 19 20.5 2.5 4.5 ns
NSS setup time NSS hold time Data input setup time
tdis(SO)
(3)
Slave mode (after enable edge), SPI2/3, 2.7V < VDD < 3.6V Slave mode (after enable edge), SPI1, 1.7V < VDD < 3.6V Slave mode (after enable edge), SPI2/3, 1.7V < VDD < 3.6V Master mode (after enable edge), SPI1 , 2.7V < VDD < 3.6V Master mode (after enable edge), SPI1/2/3 , 1.7V < VDD < 3.6V Master mode (after enable edge)
tv(MO)
th(MO)
1. Data based on characterization results, not tested in production. 2. Min time is for the minimum time to drive the output and the max time is for the maximum time to validate the data. 3. Min time is for the minimum time to invalidate the output and the max time is for the maximum time to put the data in Hi-Z.
DocID022152 Rev 4
119/185
Electrical characteristics
STM32F405xx, STM32F407xx Figure 40. SPI timing diagram - slave mode and CPHA = 0
NSS input tc(SCK) tSU(NSS) SCK Input CPHA= 0 CPOL=0 CPHA= 0 CPOL=1 ta(SO) MISO OUT P UT tsu(SI) MOSI I NPUT M SB IN th(SI)
ai14134c
th(NSS)
tv(SO) MS B O UT
th(SO) BI T6 OUT
tdis(SO)
B I T1 IN
LSB IN
NSS input tSU(NSS) SCK Input CPHA=1 CPOL=0 CPHA=1 CPOL=1 tc(SCK) th(NSS)
tv(SO) MS B O UT th(SI)
th(SO) BI T6 OUT
B I T1 IN
LSB IN
ai14135
120/185
DocID022152 Rev 4
Electrical characteristics
SCK Input
CPHA=1 CPOL=0 CPHA=1 CPOL=1 tsu(MI) MISO INP UT MOSI OUTUT tw(SCKH) tw(SCKL) MS BIN th(MI) M SB OUT tv(MO) B I T1 OUT th(MO)
ai14136
LSB OUT
DocID022152 Rev 4
121/185
Electrical characteristics
STM32F405xx, STM32F407xx
Refer to Section 5.3.16: I/O port characteristics for more details on the input/output alternate function characteristics (CK, SD, WS). Table 56. I2S dynamic characteristics(1)
Symbol fMCK fCK DCK tv(WS) th(WS) tsu(WS) th(WS) tsu(SD_MR) tsu(SD_SR) th(SD_MR) th(SD_SR) tv(SD_ST) th(SD_ST) tv(SD_MT) th(SD_MT) Data output hold time Parameter I2S main clock output I2S clock frequency Master data: 32 bits Slave data: 32 bits Conditions Min 256 x 8K 30 0 0 1 0 7.5 2 0 0 2.5 Max 256 x FS(2) 64 x FS 64 x FS 70 6 27 20 ns Unit MHz MHz %
I2S clock frequency duty cycle Slave receiver WS valid time WS hold time WS setup time WS hold time Data input setup time Master mode Master mode Slave mode Slave mode Master receiver Slave receiver Master receiver Slave receiver Slave transmitter (after enable edge) Master transmitter (after enable edge) Master transmitter (after enable edge)
1. Data based on characterization results, not tested in production. 2. The maximum value of 256 x FS is 42 MHz (APB1 maximum frequency).
Note:
Refer to the I2S section of RM0090 reference manual for more details on the sampling frequency (FS). fMCK, fCK, and DCK values reflect only the digital peripheral behavior. The value of these parameters might be slightly impacted by the source clock accuracy. DCK depends mainly on the value of ODD bit. The digital contribution leads to a minimum value of I2SDIV / (2 x I2SDIV + ODD) and a maximum value of (I2SDIV + ODD) / (2 x I2SDIV + ODD). FS maximum value is supported for each mode/condition.
122/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
CPOL = 1 tw(CKH) WS input tsu(WS) SDtransmit LSB transmit(2) tsu(SD_SR) SDreceive LSB receive(2) MSB receive MSB transmit tv(SD_ST) Bitn transmit th(SD_SR) Bitn receive LSB receive th(SD_ST) LSB transmit tw(CKL) th(WS)
ai14881b
1. LSB transmit/receive of the previously transmitted byte. No LSB transmit/receive is sent before the first byte.
tf(CK)
tr(CK)
tc(CK) CK output CPOL = 0 tw(CKH) CPOL = 1 tv(WS) WS output tv(SD_MT) SDtransmit LSB transmit(2) tsu(SD_MR) SDreceive LSB receive(2) MSB receive MSB transmit Bitn transmit th(SD_MR) Bitn receive LSB receive th(SD_MT) LSB transmit tw(CKL) th(WS)
ai14884b
1. Based on characterization, not tested in production. 2. LSB transmit/receive of the previously transmitted byte. No LSB transmit/receive is sent before the first byte.
DocID022152 Rev 4
123/185
Electrical characteristics
Symbol tSTARTUP(1)
Max 1
Unit s
Input levels
VDI(3) Differential input sensitivity VCM(3) VSE(3) Differential common mode range Single ended receiver threshold Static output level low Static output level high PA11, PA12, PB14, PB15 (USB_FS_DP/DM, USB_HS_DP/DM) PA9, PB13 (OTG_FS_VBUS, OTG_HS_VBUS) PA12, PB15 (USB_FS_DP, USB_HS_DP)
Output levels
VOL VOH
RPD
RPU
0.25
0.37
0.55
1. All the voltages are measured from the local ground potential. 2. The STM32F405xx and STM32F407xx USB OTG FS functionality is ensured down to 2.7 V but not the full USB OTG FS electrical characteristics which are degraded in the 2.7-to-3.0 V VDD voltage range. 3. Guaranteed by design, not tested in production. 4. RL is the load connected on the USB OTG FS drivers
Figure 45. USB OTG FS timings: definition of data signal rise and fall time
Crossover points Differen tial Data L ines V CRS VS S tf tr
ai14137
124/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Conditions CL = 50 pF CL = 50 pF tr/tf
Min 4 4 90 1.3
Unit ns ns % V
1. Guaranteed by design, not tested in production. 2. Measured from 10% to 90% of the data signal. For more detailed informations, please refer to USB Specification - Chapter 7 (version 2.0).
USB HS characteristics
Unless otherwise specified, the parameters given in Table 62 for ULPI are derived from tests performed under the ambient temperature, fHCLK frequency summarized in Table 61 and VDD supply voltage conditions summarized in Table 60, with the following configuration: Output speed is set to OSPEEDRy[1:0] = 10 Capacitive load C = 30 pF Measurement points are done at CMOS levels: 0.5VDD.
Refer to Section Section 5.3.16: I/O port characteristics for more details on the input/outputcharacteristics. Table 60. USB HS DC electrical characteristics
Symbol Input level VDD Parameter USB OTG HS operating voltage Min.(1) 2.7 Max.(1) 3.6 Unit V
1. All the voltages are measured from the local ground potential.
Frequency (steady state) 500 ppm Duty cycle (first transition) 8-bit 10%
Time to reach the steady state frequency and TSTEADY duty cycle after the first transition Clock startup time after the de-assertion of SuspendM Peripheral Host TSTART_DEV TSTART_HOST
PHY preparation time after the first transition TPREP of the input clock
DocID022152 Rev 4
125/185
Electrical characteristics
STM32F405xx, STM32F407xx
Symbol Min. tSC tHC tSD tHD tDC tDD 0 0 Max. 2.0 1.5 2.0 9.2 10.7
Unit
ns
tSC tSD
tHC tHD
tDC
Ethernet characteristics
Unless otherwise specified, the parameters given in Table 64, Table 65 and Table 66 for SMI, RMII and MII are derived from tests performed under the ambient temperature, fHCLK frequency summarized in Table 14 and VDD supply voltage conditions summarized in Table 63, with the following configuration: Output speed is set to OSPEEDRy[1:0] = 10 Capacitive load C = 30 pF Measurement points are done at CMOS levels: 0.5VDD.
Refer to Section 5.3.16: I/O port characteristics for more details on the input/output characteristics.
126/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Min.(1) 2.7
Max.(1) 3.6
Unit V
1. All the voltages are measured from the local ground potential.
Table 64 gives the list of Ethernet MAC signals for the SMI (station management interface) and Figure 47 shows the corresponding timing diagram. Figure 47. Ethernet SMI timing diagram
tMDC ETH_MDC td(MDIO) ETH_MDIO(O) tsu(MDIO) ETH_MDIO(I)
MS31384V1
th(MDIO)
Table 65 gives the list of Ethernet MAC signals for the RMII and Figure 48 shows the corresponding timing diagram. Figure 48. Ethernet RMII timing diagram
RMII_REF_CLK td(TXEN) td(TXD) RMII_TX_EN RMII_TXD[1:0] tsu(RXD) tsu(CRS) RMII_RXD[1:0] RMII_CRS_DV
ai15667
tih(RXD) tih(CRS)
DocID022152 Rev 4
127/185
Electrical characteristics
STM32F405xx, STM32F407xx
Table 66 gives the list of Ethernet MAC signals for MII and Figure 48 shows the corresponding timing diagram. Figure 49. Ethernet MII timing diagram
MII_RX_CLK tsu(RXD) tsu(ER) tsu(DV) tih(RXD) tih(ER) tih(DV)
ai15668
128/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
5.3.20
Conditions
Typ 15 30 4 2
0.6 0.6 -
fTRIG(4)
VAIN RAIN(4)
Conversion voltage range(5) External input impedance See Equation 1 for details
0 (VSSA or VREFtied to ground) fADC = 30 MHz fADC = 30 MHz fADC = 30 MHz 0.100 3 -
RADC(4)(6) Sampling switch resistance CADC(4) tlat(4) tlatr(4) tS(4) tSTAB(4) Internal sample and hold capacitor Injection trigger conversion latency Regular trigger conversion latency Sampling time Power-up time
16 480 3
DocID022152 Rev 4
129/185
Electrical characteristics
Symbol
Parameter
Typ -
Unit s s s s 1/fADC
tCONV(4)
9 to 492 (tS for sampling +n-bit resolution for successive approximation) 12-bit resolution Single ADC fS(4) Sampling rate (fADC = 30 MHz, and tS = 3 ADC cycles) 12-bit resolution Interleave Dual ADC mode 12-bit resolution Interleave Triple ADC mode 2
Msps
3.75
Msps
Msps
IVREF+(4)
ADC VREF DC current consumption in conversion mode ADC VDDA DC current consumption in conversion mode
300
500
IVDDA(4)
1.6
1.8
mA
1. VDD/VDDA minimum value of 1.7 V is obtained when the device operates in reduced temperature range, and with the use of an external power supply supervisor (refer to Section : Internal reset OFF). 2. It is recommended to maintain the voltage difference between VREF+ and VDDA below 1.8 V. 3. VDDA -VREF+ < 1.2 V. 4. Based on characterization, not tested in production. 5. VREF+ is internally connected to VDDA and VREF- is internally connected to VSSA. 6. RADC maximum value is given for VDD=1.8 V, and minimum value for VDD=3.3 V. 7. For external triggers, a delay of 1/fPCLK2 must be added to the latency specified in Table 67.
The formula above (Equation 1) is used to determine the maximum external impedance allowed for an error below 1/4 of LSB. N = 12 (from 12-bit resolution) and k is the number of sampling periods defined in the ADC_SMPR1 register.
130/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
a
Symbol ET EO EG ED EL
Parameter Total unadjusted error Offset error Gain error Differential linearity error Integral linearity error
Test conditions
Typ 2
Max(2) 5 2.5 3 2 3
Unit
LSB
1. Better performance could be achieved in restricted VDD, frequency and temperature ranges. 2. Based on characterization, not tested in production. 3. VDD/VDDA minimum value of 1.7 V is obtained when the device operates in reduced temperature range, and with the use of an external power supply supervisor (refer to Section : Internal reset OFF).
Note:
ADC accuracy vs. negative injection current: injecting a negative current on any analog input pins should be avoided as this significantly reduces the accuracy of the conversion being performed on another analog input. It is recommended to add a Schottky diode (pin to ground) to analog pins which may potentially inject negative currents. Any positive injection current within the limits specified for IINJ(PIN) and IINJ(PIN) in Section 5.3.16 does not affect the ADC accuracy. Figure 50. ADC accuracy characteristics
[1LSB IDEAL = 4095 4094 4093 (2) ET 7 6 5 4 3 2 1 0 V SS A 1 2 3 456 1L SBIDEAL EO EL ED (3) (1) V REF+ 4096 (or V DDA 4096 depending on package)] EG
1. See also Table 68. 2. Example of an actual transfer curve. 3. Ideal transfer curve. 4. End point correlation line. 5. ET = Total Unadjusted Error: maximum deviation between the actual and the ideal transfer curves. EO = Offset Error: deviation between the first actual transition and the first ideal one.
DocID022152 Rev 4
131/185
Electrical characteristics
STM32F405xx, STM32F407xx
EG = Gain Error: deviation between the last ideal transition and the last actual one. ED = Differential Linearity Error: maximum deviation between actual steps and the ideal one. EL = Integral Linearity Error: maximum deviation between any actual transition and the end point correlation line.
RAIN(1)
VAIN Cparasitic
ai17534
1. Refer to Table 67 for the values of RAIN, RADC and CADC. 2. Cparasitic represents the capacitance of the PCB (dependent on soldering and PCB layout quality) plus the pad capacitance (roughly 5 pF). A high Cparasitic value downgrades conversion accuracy. To remedy this, fADC should be reduced.
132/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
1 F // 10 nF
V DDA
ai17535
1. VREF+ and VREF inputs are both available on UFBGA176. VREF+ is also available on LQFP100, LQFP144, and LQFP176. When VREF+ and VREF are not available, they are internally connected to VDDA and VSSA.
Figure 53. Power supply and reference decoupling (VREF+ connected to VDDA)
STM32F
1 F // 10 nF
ai17536
1. VREF+ and VREF inputs are both available on UFBGA176. VREF+ is also available on LQFP100, LQFP144, and LQFP176. When VREF+ and VREF are not available, they are internally connected to VDDA and VSSA.
DocID022152 Rev 4
133/185
Electrical characteristics
STM32F405xx, STM32F407xx
5.3.21
Parameter VSENSE linearity with temperature Average slope Voltage at 25 C Startup time ADC sampling time when reading the temperature (1 C accuracy)
Min 10
Max 2
Unit C mV/C V
10 -
s s
1. Based on characterization, not tested in production. 2. Guaranteed by design, not tested in production. 3. Shortest sampling time can be determined in the application by multiple iterations.
TS_CAL1 TS ADC raw data acquired at temperature of 30 C, VDDA=3.3 V TS_CAL2 TS ADC raw data acquired at temperature of 110 C, VDDA=3.3 V
5.3.22
Symbol R Q Er
(1)
Parameter Resistor bridge for VBAT Ratio on VBAT measurement Error on Q ADC sampling time when reading the VBAT 1 mV accuracy
Min 1 5
Typ 50 2 -
Max +1 -
Unit K
% s
TS_vbat(2)(2)
1. Guaranteed by design, not tested in production. 2. Shortest sampling time can be determined in the application by multiple iterations.
134/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
5.3.23
Parameter Internal reference voltage ADC sampling time when reading the internal reference voltage Internal reference voltage spread over the temperature range Temperature coefficient Startup time
Min 1.18 10
Typ 1.21 3 30 6
Max 1.24 5 50 10
Unit V s mV ppm/C s
VDD = 3 V
1. Shortest sampling time can be determined in the application by multiple iterations. 2. Guaranteed by design, not tested in production.
5.3.24
Parameter Analog supply voltage Reference supply voltage Ground Resistive load with buffer ON Impedance output with buffer OFF
Typ -
Unit V V V k
Comments
VREF+ VDDA
RO(2)
15
When the buffer is OFF, the Minimum resistive load between DAC_OUT and VSS to have a 1% accuracy is 1.5 M Maximum capacitive load at DAC_OUT pin (when the buffer is ON). It gives the maximum output excursion of the DAC. It corresponds to 12-bit input code (0x0E0) to (0xF1C) at VREF+ = 3.6 V and (0x1C7) to (0xE38) at VREF+ = 1.8 V
CLOAD(2)
Capacitive load
50
pF
DAC_OUT Lower DAC_OUT voltage min(2) with buffer ON DAC_OUT Higher DAC_OUT voltage with buffer ON max(2)
0.2
VDDA 0.2
DocID022152 Rev 4
135/185
Electrical characteristics
Symbol
Parameter
Min -
Typ 0.5 -
Unit mV V
Comments
DAC_OUT Lower DAC_OUT voltage min(2) with buffer OFF DAC_OUT Higher DAC_OUT voltage with buffer OFF max(2)
It gives the maximum output excursion of the DAC. With no load, worst code (0x800) at VREF+ = 3.6 V in terms of DC consumption on the inputs With no load, worst code (0xF1C) at VREF+ = 3.6 V in terms of DC consumption on the inputs With no load, middle code (0x800) on the inputs With no load, worst code (0xF1C) at VREF+ = 3.6 V in terms of DC consumption on the inputs Given for the DAC in 10-bit configuration. Given for the DAC in 12-bit configuration. Given for the DAC in 10-bit configuration. Given for the DAC in 12-bit configuration. Given for the DAC in 12-bit configuration Given for the DAC in 10-bit at VREF+ = 3.6 V Given for the DAC in 12-bit at VREF+ = 3.6 V Given for the DAC in 12-bit configuration
IVREF+(4)
170
A 50 75
IDDA(4)
280
380
475
625
DNL(4)
Differential non linearity Difference between two consecutive code-1LSB) Integral non linearity (difference between measured value at Code i and the value at Code i on a line drawn between Code 0 and last Code 1023) Offset error (difference between measured value at Code (0x800) and the ideal value = VREF+/2) Gain error
0.5 2 1
INL(4)
LSB
10 3 12 0.5
mV LSB LSB %
Offset(4)
Gain error(4)
Settling time (full scale: for a 10-bit input code transition (4) between the lowest and the tSETTLING highest input codes when DAC_OUT reaches final value 4LSB THD(4) Total Harmonic Distortion Buffer ON
dB
136/185
DocID022152 Rev 4
Electrical characteristics
Comments CLOAD 50 pF, RLOAD 5 k CLOAD 50 pF, RLOAD 5 k input code between lowest and highest possible ones. No RLOAD, CLOAD = 50 pF
MS/s
Wakeup time from off state tWAKEUP(4) (Setting the ENx bit in the DAC Control register) Power supply rejection ratio PSRR+ (2) (to VDDA) (static DC measurement)
6.5
10
67
40
dB
1. VDD/VDDA minimum value of 1.7 V is obtained when the device operates in reduced temperature range, and with the use of an external power supply supervisor (refer to Section : Internal reset OFF). 2. Guaranteed by design, not tested in production. 3. The quiescent mode corresponds to a state where the DAC maintains a stable output level to ensure that no dynamic consumption occurs. 4. Guaranteed by characterization, not tested in production.
C LOAD
ai17157
1. The DAC integrates an output buffer that can be used to reduce the output impedance and to drive external loads directly without the use of an external operational amplifier. The buffer can be bypassed by configuring the BOFFx bit in the DAC_CR register.
5.3.25
FSMC characteristics
Unless otherwise specified, the parameters given in Table 75 to Table 86 for the FSMC interface are derived from tests performed under the ambient temperature, fHCLK frequency and VDD supply voltage conditions summarized in Table 14, with the following configuration: Output speed is set to OSPEEDRy[1:0] = 10 Capacitive load C = 30 pF Measurement points are done at CMOS levels: 0.5VDD
Refer to Section Section 5.3.16: I/O port characteristics for more details on the input/output characteristics.
DocID022152 Rev 4
137/185
Electrical characteristics
STM32F405xx, STM32F407xx
In all timing tables, the THCLK is the HCLK clock period. Figure 55. Asynchronous non-multiplexed SRAM/PSRAM/NOR read waveforms
tw(NE)
FSMC_NE
tv(NOE_NE) t w(NOE) t h(NE_NOE)
FSMC_NOE
FSMC_NWE
tv(A_NE)
FSMC_A[25:0]
Address
t h(A_NOE)
tv(BL_NE)
FSMC_NBL[1:0]
t h(BL_NOE)
FSMC_D[15:0]
t v(NADV_NE) tw(NADV)
Data
FSMC_NADV(1)
ai14991c
138/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
FSMC_NEx low to FSMC_BL valid FSMC_BL hold time after FSMC_NOE high Data to FSMC_NEx high setup time Data to FSMC_NOEx high setup time Data hold time after FSMC_NOE high Data hold time after FSMC_NEx high FSMC_NEx low to FSMC_NADV low FSMC_NADV low time
0 THCLK+4 THCLK+4 0 0 -
1.5 2 THCLK
ns ns ns ns ns ns ns ns
FSMC_NEx
FSMC_NOE
tv(NWE_NE) tw(NWE) t h(NE_NWE)
FSMC_NWE
tv(A_NE)
FSMC_A[25:0]
Address
th(A_NWE)
tv(BL_NE)
FSMC_NBL[1:0]
tv(Data_NE) NBL
th(BL_NWE)
th(Data_NWE) Data
FSMC_D[15:0]
t v(NADV_NE) tw(NADV)
FSMC_NADV(1)
ai14990
DocID022152 Rev 4
139/185
Electrical characteristics
STM32F405xx, STM32F407xx
Address hold time after FSMC_NWE high FSMC_NEx low to FSMC_BL valid FSMC_BL hold time after FSMC_NWE high Data to FSMC_NEx low to Data valid Data hold time after FSMC_NWE high FSMC_NEx low to FSMC_NADV low FSMC_NADV low time
ns ns ns ns ns ns ns
FSMC_NE
tv(NOE_NE) t h(NE_NOE)
FSMC_NOE
t w(NOE)
FSMC_NWE
tv(A_NE)
FSMC_A[25:16]
Address
t h(A_NOE)
tv(BL_NE)
FSMC_NBL[1:0]
NBL
th(BL_NOE)
FSMC_AD[15:0]
th(AD_NADV)
FSMC_NADV
ai14892b
140/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
tsu(Data_NOE) Data to FSMC_NOE high setup time Data hold time after FSMC_NEx high th(Data_NOE) Data hold time after FSMC_NOE high
1. CL = 30 pF. 2. Based on characterization, not tested in production.
FSMC_NEx
FSMC_NOE
tv(NWE_NE) tw(NWE) t h(NE_NWE)
FSMC_NWE
tv(A_NE)
FSMC_A[25:16]
Address
th(A_NWE)
tv(BL_NE)
FSMC_NBL[1:0]
t v(A_NE) NBL
th(BL_NWE)
t v(Data_NADV) Data
th(Data_NWE)
FSMC_AD[15:0]
th(AD_NADV)
FSMC_NADV
ai14891B
DocID022152 Rev 4
141/185
Electrical characteristics
STM32F405xx, STM32F407xx
FSMC_NWE high to FSMC_NE high hold time FSMC_NEx low to FSMC_A valid FSMC_NEx low to FSMC_NADV low FSMC_NADV low time FSMC_AD(address) valid hold time after FSMC_NADV high) Address hold time after FSMC_NWE high FSMC_BL hold time after FSMC_NWE high FSMC_NEx low to FSMC_BL valid FSMC_NADV high to Data valid Data hold time after FSMC_NWE high
ns ns ns ns ns ns ns ns ns ns
In all timing tables, the THCLK is the HCLK clock period (with maximum FSMC_CLK = 60 MHz).
142/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
tw(CLK)
BUSTURN = 0
t d(CLKL-NExH)
td(CLKL-NADVH)
td(CLKL-AIV)
td(CLKL-NOEH)
tsu(ADV-CLKH)
th(CLKH-ADV)
tsu(NWAITV-CLKH)
th(CLKH-NWAITV)
td(CLKL-NADVH) FSMC_CLK low to FSMC_NADV high FSMC_CLK low to FSMC_Ax valid (x=1625) FSMC_CLK low to FSMC_Ax invalid (x=1625) FSMC_CLK low to FSMC_NOE low FSMC_CLK low to FSMC_NOE high FSMC_CLK low to FSMC_AD[15:0] valid FSMC_CLK low to FSMC_AD[15:0] invalid FSMC_A/D[15:0] valid data before FSMC_CLK high
DocID022152 Rev 4
143/185
Electrical characteristics
STM32F405xx, STM32F407xx
0 4 0
ns ns ns
tsu(NWAIT-CLKH) FSMC_NWAIT valid before FSMC_CLK high FSMC_NWAIT valid after FSMC_CLK high
td(CLKL-NExH)
ai14992g
td(CLKL-NADVH) FSMC_CLK low to FSMC_NADV high FSMC_CLK low to FSMC_Ax valid (x=1625)
144/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
FSMC_CLK low to FSMC_Ax invalid (x=1625) FSMC_CLK low to FSMC_NWE low FSMC_CLK low to FSMC_NWE high FSMC_CLK low to FSMC_AD[15:0] invalid FSMC_A/D[15:0] valid data after FSMC_CLK low FSMC_CLK low to FSMC_NBL high
8 0 0 0 4 0
0.5 3 -
ns ns ns ns ns ns ns ns
tsu(NWAIT-CLKH) FSMC_NWAIT valid before FSMC_CLK high FSMC_NWAIT valid after FSMC_CLK high
tw(CLK)
BUSTURN = 0
Data latency = 0
td(CLKL-NExH)
td(CLKL-NADVH)
td(CLKL-AIV)
td(CLKL-NOEH)
th(CLKH-DV) D2
D1
th(CLKH-NWAITV)
tsu(NWAITV-CLKH)
t h(CLKH-NWAITV)
DocID022152 Rev 4
145/185
Electrical characteristics
STM32F405xx, STM32F407xx
FSMC_CLK low to FSMC_NEx high (x= 02) FSMC_CLK low to FSMC_NADV low FSMC_CLK low to FSMC_NADV high FSMC_CLK low to FSMC_Ax valid (x=1625) FSMC_CLK low to FSMC_Ax invalid (x=1625) FSMC_CLK low to FSMC_NOE low FSMC_CLK low to FSMC_NOE high FSMC_D[15:0] valid data before FSMC_CLK high FSMC_D[15:0] valid data after FSMC_CLK high
0 3 2 1.5 6 3 4 0
2 0 0.5 -
ns ns ns ns ns ns ns ns ns ns ns
tsu(NWAIT-CLKH) FSMC_NWAIT valid before FSMC_CLK high FSMC_NWAIT valid after FSMC_CLK high
ai14993g
146/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
Symbol
tw(CLK) t
d(CLKL-NExL)
Parameter
FSMC_CLK period FSMC_CLK low to FSMC_NEx low (x=0..2) FSMC_CLK low to FSMC_NEx high (x= 02) FSMC_CLK low to FSMC_NADV low FSMC_CLK low to FSMC_NADV high FSMC_CLK low to FSMC_Ax valid (x=1625) FSMC_CLK low to FSMC_Ax invalid (x=1625) FSMC_CLK low to FSMC_NWE low FSMC_CLK low to FSMC_NWE high FSMC_D[15:0] valid data after FSMC_CLK low FSMC_CLK low to FSMC_NBL high FSMC_NWAIT valid before FSMC_CLK high FSMC_NWAIT valid after FSMC_CLK high
Min
2THCLK 1 6 6 2 3 4 0
Max Unit
1 7 0 1 3 ns ns ns ns ns ns ns ns ns ns ns ns ns
td(CLKL-NExH) td(CLKL-NADVL) td(CLKL-NADVH) td(CLKL-AV) td(CLKL-AIV) td(CLKL-NWEL) td(CLKL-NWEH) td(CLKL-Data) td(CLKL-NBLH) tsu(NWAIT-CLKH) th(CLKH-NWAIT)
1. CL = 30 pF.
DocID022152 Rev 4
147/185
Electrical characteristics
STM32F405xx, STM32F407xx
Figure 63. PC Card/CompactFlash controller waveforms for common memory read access
FSMC_NCE4_2(1) FSMC_NCE4_1 tv(NCEx-A) FSMC_A[10:0] td(NREG-NCEx) td(NIORD-NCEx) FSMC_NREG FSMC_NIOWR FSMC_NIORD th(NCEx-NREG) th(NCEx-NIORD) th(NCEx-NIOWR) th(NCEx-AI)
tsu(D-NOE) FSMC_D[15:0]
th(NOE-D)
ai14895b
Figure 64. PC Card/CompactFlash controller waveforms for common memory write access
FSMC_NCE4_1
FSMC_NCE4_2
tw(NWE)
td(NWE-NCE4_1)
ai14896b
148/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
Figure 65. PC Card/CompactFlash controller waveforms for attribute memory read access
FSMC_NCE4_1 tv(NCE4_1-A) FSMC_NCE4_2 High th(NCE4_1-AI)
FSMC_A[10:0]
tw(NOE)
td(NOE-NCE4_1)
th(NOE-D)
1. Only data bits 0...7 are read (bits 8...15 are disregarded).
DocID022152 Rev 4
149/185
Electrical characteristics
STM32F405xx, STM32F407xx
Figure 66. PC Card/CompactFlash controller waveforms for attribute memory write access
FSMC_NCE4_1
FSMC_NCE4_2
FSMC_A[10:0]
FSMC_NIOWR FSMC_NIORD td(NREG-NCE4_1) FSMC_NREG td(NCE4_1-NWE) FSMC_NWE td(NWE-NCE4_1) FSMC_NOE tv(NWE-D) FSMC_D[7:0](1) tw(NWE) th(NCE4_1-NREG)
ai14898b
1. Only data bits 0...7 are driven (bits 8...15 remains Hi-Z).
Figure 67. PC Card/CompactFlash controller waveforms for I/O space read access
FSMC_NCE4_1 FSMC_NCE4_2 tv(NCEx-A) FSMC_A[10:0] FSMC_NREG FSMC_NWE FSMC_NOE th(NCE4_1-AI)
tw(NIORD)
td(NIORD-D)
150/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
Figure 68. PC Card/CompactFlash controller waveforms for I/O space write access
FSMC_NCE4_1 FSMC_NCE4_2 tv(NCEx-A) FSMC_A[10:0] th(NCE4_1-AI)
tw(NIOWR)
th(NIOWR-D)
Table 83. Switching characteristics for PC Card/CF read and write cycles in attribute/common space(1)(2)
Symbol tv(NCEx-A) th(NCEx_AI) td(NREG-NCEx) th(NCEx-NREG) td(NCEx-NWE) td(NCEx-NOE) tw(NOE) td(NOE_NCEx) tsu (D-NOE) th(N0E-D) tw(NWE) td(NWE_NCEx) td(NCEx-NWE) tv(NWE-D) th (NWE-D) td (D-NWE)
1. CL = 30 pF. 2. Based on characterization, not tested in production.
Parameter FSMC_Ncex low to FSMC_Ay valid FSMC_NCEx high to FSMC_Ax invalid FSMC_NCEx low to FSMC_NREG valid FSMC_NCEx high to FSMC_NREG invalid FSMC_NCEx low to FSMC_NWE low FSMC_NCEx low to FSMC_NOE low FSMC_NOE low width FSMC_NOE high to FSMC_NCEx high FSMC_D[15:0] valid data before FSMC_NOE high FSMC_N0E high to FSMC_D[15:0] invalid FSMC_NWE low width FSMC_NWE high to FSMC_NCEx high FSMC_NCEx low to FSMC_NWE low FSMC_NWE low to FSMC_D[15:0] valid FSMC_NWE high to FSMC_D[15:0] invalid FSMC_D[15:0] valid before FSMC_NWE high
Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns
DocID022152 Rev 4
151/185
Electrical characteristics
STM32F405xx, STM32F407xx
Table 84. Switching characteristics for PC Card/CF read and write cycles in I/O space(1)(2)
Symbol tw(NIOWR) tv(NIOWR-D) th(NIOWR-D) th(NCEx-NIOWR) td(NIORD-NCEx) th(NCEx-NIORD) tw(NIORD) tsu(D-NIORD) td(NIORD-D)
1. CL = 30 pF. 2. Based on characterization, not tested in production.
Parameter FSMC_NIOWR low width FSMC_NIOWR low to FSMC_D[15:0] valid FSMC_NIOWR high to FSMC_D[15:0] invalid
Unit ns ns ns ns ns ns ns ns ns ns
td(NCE4_1-NIOWR) FSMC_NCE4_1 low to FSMC_NIOWR valid FSMC_NCEx high to FSMC_NIOWR invalid FSMC_NCEx low to FSMC_NIORD valid FSMC_NCEx high to FSMC_NIORD) valid FSMC_NIORD low width FSMC_D[15:0] valid before FSMC_NIORD high FSMC_D[15:0] valid after FSMC_NIORD high
152/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
ai14901c
ai14902c
DocID022152 Rev 4
153/185
Electrical characteristics
STM32F405xx, STM32F407xx
Figure 71. NAND controller waveforms for common memory read access
FSMC_NCEx
ALE (FSMC_A17) CLE (FSMC_A16) td(ALE-NOE) FSMC_NWE tw(NOE) FSMC_NOE tsu(D-NOE) FSMC_D[15:0] th(NOE-D) th(NOE-ALE)
ai14912c
Figure 72. NAND controller waveforms for common memory write access
FSMC_NCEx
ai14913c
Parameter FSMC_NOE low width FSMC_D[15-0] valid data before FSMC_NOE high FSMC_D[15-0] valid data after FSMC_NOE high FSMC_ALE valid before FSMC_NOE low FSMC_NWE high to FSMC_ALE invalid
Unit ns ns ns ns ns
154/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Electrical characteristics
Parameter FSMC_NWE low width FSMC_NWE low to FSMC_D[15-0] valid FSMC_NWE high to FSMC_D[15-0] invalid FSMC_D[15-0] valid before FSMC_NWE high FSMC_ALE valid before FSMC_NWE low FSMC_NWE high to FSMC_ALE invalid
Unit ns ns ns ns ns ns
5.3.26
th(HSYNC)
th(HSYNC)
DocID022152 Rev 4
155/185
Electrical characteristics
Parameter Data input setup time Data hold time HSYNC/VSYNC input setup time HSYNC/VSYNC input hold time
Max -
Unit
ns
5.3.27
Refer to Section 5.3.16: I/O port characteristics for more details on the input/output characteristics. Figure 74. SDIO high-speed mode
tf tr
tW(CKL)
tOH
tIH
156/185
DocID022152 Rev 4
Electrical characteristics
ai14888
CMD, D inputs (referenced to CK) in MMC and SD HS mode Input setup time HS Input hold time HS fpp = 48 MHz fpp = 48 MHz 3 0 ns
CMD, D outputs (referenced to CK) in MMC and SD HS mode Output valid time HS Output hold time HS fpp = 48 MHz fpp = 48 MHz 1 4.5 6 ns
CMD, D inputs (referenced to CK) in SD default mode Input setup time SD Input hold time SD fpp = 24 MHz fpp = 24 MHz 1.5 0.5 ns
CMD, D outputs (referenced to CK) in SD default mode Output valid default time SD Output hold default time SD fpp = 24 MHz fpp = 24 MHz 0.5 4.5 7 ns
5.3.28
RTC characteristics
Table 89. RTC characteristics
Symbol Parameter fPCLK1/RTCCLK frequency ratio Conditions Any read/write operation from/to an RTC register Min 4 Max -
DocID022152 Rev 4
157/185
Package characteristics
STM32F405xx, STM32F407xx
6
6.1
Package characteristics
Package mechanical data
In order to meet environmental requirements, ST offers these devices in different grades of ECOPACK packages, depending on their level of environmental compliance. ECOPACK specifications, grade definitions and product status are available at: www.st.com. ECOPACK is an ST trademark.
158/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Package characteristics
Figure 76. WLCSP90 - 0.400 mm pitch wafer level chip size package outline
A1 ball location D e1 e
Detail A E
e e2
Detail A rotated by 90 C
eee
A1
Seating plane
A0JW_ME
Table 90. WLCSP90 - 0.400 mm pitch wafer level chip size package mechanical data
millimeters Symbol Min A A1 A2 b D E e e1 e2 F G eee 0.520 0.165 0.350 0.240 4.178 3.964 Typ 0.570 0.190 0.380 0.270 4.218 3.969 0.400 3.600 3.200 0.312 0.385 0.050 Max 0.620 0.215 0.410 0.300 4.258 4.004 Min 0.0205 0.0065 0.0138 0.0094 0.1645 0.1561 Typ 0.0224 0.0075 0.015 0.0106 0.1661 0.1563 0.0157 0.1417 0.126 0.0123 0.0152 0.0020 Max 0.0244 0.0085 0.0161 0.0118 0.1676 0.1576 inches(1)
DocID022152 Rev 4
159/185
Package characteristics
STM32F405xx, STM32F407xx
E1
D1 D
L1 L
ai14398b
Table 91. LQFP64 10 x 10 mm 64 pin low-profile quad flat package mechanical data
millimeters Symbol Min A A1 A2 b c D D1 E E1 e L L1 N 0 0.450 0.050 1.350 0.170 0.090 12.000 10.000 12.000 10.000 0.500 3.5 0.600 1.000 Number of pins 64
1. Values in inches are converted from mm and rounded to 4 decimal digits.
inches(1) Max 1.600 0.150 0.0020 0.0531 0.0067 0.0035 0.4724 0.3937 0.4724 0.3937 0.0197 7 0.750 0 0.0177 3.5 0.0236 0.0394 7 0.0295 0.0551 0.0087 Min Typ Max 0.0630 0.0059 0.0571 0.0106 0.0079
Typ
1.400 0.220
160/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
12.7
10.3
16
DocID022152 Rev 4
161/185
Package characteristics
STM32F405xx, STM32F407xx
A2
A1
ccc C
D D1 D3 75 76
b
L L1
51 50
E3 E1
26
A1 K
1L_ME_V4
Table 92. LQPF100 14 x 14 mm 100-pin low-profile quad flat package mechanical data(1)
millimeters Symbol Min A A1 A2 b c D D1 D3 E E1 E3 e L L1 k ccc 0 0.450 15.80v 13.800 0.050 1.350 0.170 0.090 15.800 13.800 16.000 14.000 12.000 16.000 14.000 12.000 0.500 0.600 1.000 3.5 7 0.080 0 0.750 0.0177 16.200 14.200 0.6220 0.5433 1.400 0.220 Typ Max 1.600 0.150 1.450 0.270 0.200 16.200 14.200 0.0020 0.0531 0.0067 0.0035 0.6220 0.5433 0.6299 0.5512 0.4724 0.6299 0.5512 0.4724 0.0197 0.0236 0.0394 3.5 7 0.0031 0.0295 0.6378 0.5591 0.0551 0.0087 Min Typ Max 0.0630 0.0059 0.0571 0.0106 0.0079 0.6378 0.5591 inches
162/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
76
0.5
50
100
26 1.2
1 12.3 16.7
25
ai14906
1. Drawing is not to scale. 2. Dimensions are in millimeters.
DocID022152 Rev 4
163/185
Package characteristics
STM32F405xx, STM32F407xx
Figure 81. LQFP144, 20 x 20 mm, 144-pin low-profile quad flat package outline
Seating plane C
A2 A1
ccc
C k D D1 D3 A1 L1
73 72
108
109
E3 E1
144
37 1 36
Pin 1 identification
ME_1A
Table 93. LQFP144, 20 x 20 mm, 144-pin low-profile quad flat package mechanical data
millimeters Symbol Min A A1 A2 b c D D1 D3 E E1 E3 e L L1 0.450 21.800 19.800 0.050 1.350 0.170 0.090 21.800 19.800 22.000 20.000 17.500 22.000 20.000 17.500 0.500 0.600 1.000 0.750 0.0177 22.200 20.200 0.8583 0.7795 1.400 0.220 Typ Max 1.600 0.150 1.450 0.270 0.200 22.200 20.200 0.0020 0.0531 0.0067 0.0035 0.8583 0.7795 0.8661 0.7874 0.689 0.8661 0.7874 0.6890 0.0197 0.0236 0.0394 0.0295 0.8740 0.7953 0.0551 0.0087 Min Typ Max 0.0630 0.0059 0.0571 0.0106 0.0079 0.874 0.7953 inches(1)
164/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Package characteristics
Table 93. LQFP144, 20 x 20 mm, 144-pin low-profile quad flat package mechanical data
millimeters Symbol Min k ccc 0 Typ 3.5 Max 7 0.080 Min 0 Typ 3.5 Max 7 0.0031 inches(1)
108
73
1.35
109
0.35
72
0.5
144
37 1 19.9 22.6
ai14905c
36
DocID022152 Rev 4
165/185
Package characteristics
STM32F405xx, STM32F407xx
Figure 83. UFBGA176+25 - ultra thin fine pitch ball grid array 10 10 0.6 mm, package outline
C Seating plane A2 A
ddd
A1
A E
Table 94. UFBGA176+25 - ultra thin fine pitch ball grid array 10 10 0.6 mm mechanical data
millimeters Symbol Min A A1 A2 b D E e F ddd eee fff 0.425 0.460 0.050 0.400 0.230 9.900 9.900 Typ 0.530 0.080 0.450 0.280 10.000 10.000 0.650 0.450 0.475 0.080 0.150 0.080 0.0167 Max 0.600 0.110 0.500 0.330 10.100 10.100 Min 0.0181 0.002 0.0157 0.0091 0.3898 0.3898 Typ 0.0209 0.0031 0.0177 0.0110 0.3937 0.3937 0.0256 0.0177 0.0187 0.0031 0.0059 0.0031 Max 0.0236 0.0043 0.0197 0.0130 0.3976 0.3976 inches(1)
166/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Package characteristics
Figure 84. LQFP176 24 x 24 mm, 176-pin low-profile quad flat package outline
C Seating plane A A2 0.25 mm gauge plane k A1
A1 ccc C HD D ZD
c L L1
ZE 132 133 b E HE 89 88
45 1 e 44
1T_ME
Table 95. LQFP176, 24 x 24 mm, 176-pin low-profile quad flat package mechanical data
millimeters Symbol Min A A1 A2 b C D E e HD HE L L1 ZD ZE 25.900 25.900 0.450 1.000 1.250 1.250 0.050 1.350 0.170 0.090 23.900 23.900 0.500 26.100 26.100 0.750 1.0200 1.0200 0.0177 0.0394 0.0492 0.0492 Typ Max 1.600 0.150 1.450 0.270 0.200 24.100 24.100 0.0020 0.0531 0.0067 0.0035 0.9409 0.9409 0.0197 1.0276 1.0276 0.0295 0.0060 0.0106 0.0079 0.9488 0.9488 Min Typ Max 0.0630 inches(1)
DocID022152 Rev 4
167/185
Package characteristics
STM32F405xx, STM32F407xx
Table 95. LQFP176, 24 x 24 mm, 176-pin low-profile quad flat package mechanical data
millimeters Symbol Min ccc k 0 Typ Max 0.080 7 0 Min Typ Max 0.0031 7 inches(1)
0.3
26.7
21.8
44 45
89 88
1.2
21.8 26.7
1T_FP_V1
168/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Package characteristics
6.2
Thermal characteristics
The maximum chip-junction temperature, TJ max, in degrees Celsius, may be calculated using the following equation: TJ max = TA max + (PD max x JA) Where: TA max is the maximum ambient temperature in C, JA is the package junction-to-ambient thermal resistance, in C/W, PD max is the sum of PINT max and PI/O max (PD max = PINT max + PI/Omax), PINT max is the product of IDD and VDD, expressed in Watts. This is the maximum chip internal power. PI/O max = (VOL IOL) + ((VDD VOH) IOH), taking into account the actual VOL / IOL and VOH / IOH of the I/Os at low and high level in the application. Table 96. Package thermal characteristics
Symbol Parameter Thermal resistance junction-ambient LQFP64 - 10 10 mm / 0.5 mm pitch Thermal resistance junction-ambient LQFP100 - 14 14 mm / 0.5 mm pitch Thermal resistance junction-ambient LQFP144 - 20 20 mm / 0.5 mm pitch Thermal resistance junction-ambient LQFP176 - 24 24 mm / 0.5 mm pitch Thermal resistance junction-ambient UFBGA176 - 10 10 mm / 0.65 mm pitch Thermal resistance junction-ambient WLCSP90 - 0.400 mm pitch Value 46 43 40 C/W 38 39 38.1 Unit
PI/O max represents the maximum power dissipation on output pins where:
JA
Reference document
JESD51-2 Integrated Circuits Thermal Test Method Environment Conditions - Natural Convection (Still Air). Available from www.jedec.org.
DocID022152 Rev 4
169/185
Part numbering
STM32F405xx, STM32F407xx
Part numbering
Table 97. Ordering information scheme
Example: Device family STM32 = ARM-based 32-bit microcontroller Product type F = general-purpose Device subfamily 405 = STM32F40x, connectivity 407= STM32F40x, connectivity, camera interface, Ethernet STM32 F 405 R E T 6 xxx
Pin count R = 64 pins O = 90 pins V = 100 pins Z = 144 pins I = 176 pins Flash memory size E = 512 Kbytes of Flash memory G = 1024 Kbytes of Flash memory Package T = LQFP H = UFBGA Y = WLCSP Temperature range 6 = Industrial temperature range, 40 to 85 C. 7 = Industrial temperature range, 40 to 105 C. Options xxx = programmed parts TR = tape and reel
For a list of available options (speed, package, etc.) or for further information on any aspect of this device, please contact your nearest ST sales office.
170/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Appendix A
A.1
STM32F4xx
VBUS DM
OSC_IN
PA11//PB14
DP
PA12/PB15
VSS
OSC_OUT
1. External voltage regulator only needed when building a VBUS powered device. 2. The same application can be developed using the OTG HS in FS mode to achieve enhanced performance thanks to the large Rx/Tx FIFO and to a dedicated DMA controller.
Figure 87. USB controller configured as host-only and used in full speed mode
VDD
EN
GPIO GPIO+IRQ
Overcurrent
5 V Pwr
STM32F4xx
USB Std-A connector
MS19001V4
VBUS DM DP VSS
OSC_IN
PA11//PB14 PA12/PB15
OSC_OUT
1. The current limiter is required only if the application has to support a VBUS powered device. A basic power switch can be used if 5 V are available on the application board. 2. The same application can be developed using the OTG HS in FS mode to achieve enhanced performance thanks to the large Rx/Tx FIFO and to a dedicated DMA controller.
DocID022152 Rev 4
171/185
STM32F405xx, STM32F407xx
Figure 88. USB controller configured in dual mode and used in full speed mode
VDD 5 V to VDD
voltage regulator (1)
VDD
EN
GPIO GPIO+IRQ
Overcurrent
5 V Pwr
VBUS
PA9/PB13
DM
OSC_OUT
VSS
USBmicro-AB connector
STM32F4xx
MS19002V3
1. External voltage regulator only needed when building a VBUS powered device. 2. The current limiter is required only if the application has to support a VBUS powered device. A basic power switch can be used if 5 V are available on the application board. 3. The ID pin is required in dual role only. 4. The same application can be developed using the OTG HS in FS mode to achieve enhanced performance thanks to the large Rx/Tx FIFO and to a dedicated DMA controller.
172/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
A.2
DP DM not connected
PLL
MS19005V2
1. It is possible to use MCO1 or MCO2 to save a crystal. It is however not mandatory to clock the STM32F40x with a 24 or 26 MHz crystal when using USB HS. The above figure only shows an example of a possible connection. 2. The ID pin is required in dual role only.
DocID022152 Rev 4
173/185
STM32F405xx, STM32F407xx
A.3
STM32
MCU Ethernet MAC 10/100 HCLK(1) IEEE1588 PTP Timer input trigger Timestamp TIM2 comparator MII_TX_CLK MII_TX_EN MII_TXD[3:0] MII_CRS MII_COL MII_RX_CLK MII_RXD[3:0] MII_RX_DV MII_RX_ER MDIO MDC PPS_OUT(2) XTAL 25 MHz OSC PLL HCLK MCO1/MCO2 PHY_CLK 25 MHz XT1
MS19968V1
1. fHCLK must be greater than 25 MHz. 2. Pulse per second when using IEEE1588 PTP optional signal.
STM32
MCU Ethernet MAC 10/100 HCLK(1) IEEE1588 PTP Timer input trigger Timestamp TIM2 comparator RMII_TX_EN RMII_TXD[1:0] RMII_RXD[1:0] RMII_CRX_DV RMII_REF_CLK MDIO MDC
/2 or /20 2.5 or 25 MHz synchronous 50 MHz OSC 50 MHz PLL HCLK PHY_CLK 50 MHz XT1 50 MHz
MS19969V1
174/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Figure 92. RMII with a 25 MHz crystal and PHY with PLL
STM32F
MCU Ethernet MAC 10/100 HCLK(1) IEEE1588 PTP RMII_TX_EN RMII_TXD[1:0] RMII_RXD[1:0] RMII_CRX_DV RMII_REF_CLK MDIO MDC
/2 or /20 2.5 or 25 MHz synchronous 50 MHz XTAL 25 MHz OSC PLL HCLK MCO1/MCO2 PHY_CLK 25 MHz XT1 PLL
MS19970V1
1. fHCLK must be greater than 25 MHz. 2. The 25 MHz (PHY_CLK) must be derived directly from the HSE oscillator, before the PLL block.
DocID022152 Rev 4
175/185
Revision history
STM32F405xx, STM32F407xx
Revision history
Table 98. Document revision history
Date 15-Sep-2011 Revision 1 Initial release. Added WLCSP90 package on cover page. Renamed USART4 and USART5 into UART4 and UART5, respectively. Updated number of USB OTG HS and FS in Table 2: STM32F405xx and STM32F407xx: features and peripheral counts. Updated Figure 3: Compatible board design between STM32F10xx/STM32F2xx/STM32F4xx for LQFP144 package and Figure 4: Compatible board design between STM32F2xx and STM32F4xx for LQFP176 and BGA176 packages, and removed note 1 and 2. Updated Section 2.2.9: Flexible static memory controller (FSMC). Modified I/Os used to reprogram the Flash memory for CAN2 and USB OTG FS in Section 2.2.13: Boot modes. Updated note in Section 2.2.14: Power supply schemes. PDR_ON no more available on LQFP100 package. Updated Section 2.2.16: Voltage regulator. Updated condition to obtain a minimum supply voltage of 1.7 V in the whole document. Renamed USART4/5 to UART4/5 and added LIN and IrDA feature for UART4 and UART5 in Table 5: USART feature comparison. Removed support of I2C for OTG PHY in Section 2.2.30: Universal serial bus on-the-go full-speed (OTG_FS). Added Table 6: Legend/abbreviations used in the pinout table. Table 7: STM32F40x pin and ball definitions: replaced VSS_3, VSS_4, and VSS_8 by VSS; reformatted Table 7: STM32F40x pin and ball definitions to better highlight I/O structure, and alternate functions versus additional functions; signal corresponding to LQFP100 pin 99 changed from PDR_ON to VSS; EVENTOUT added in the list of alternate functions for all I/Os; ADC3_IN8 added as alternate function for PF10; FSMC_CLE and FSMC_ALE added as alternate functions for PD11 and PD12, respectively; PH10 alternate function TIM15_CH1_ETR renamed TIM5_CH1; updated PA4 and PA5 I/O structure to TTa. Removed OTG_HS_SCL, OTG_HS_SDA, OTG_FS_INTN in Table 7: STM32F40x pin and ball definitions and Table 9: Alternate function mapping. Changed TCM data RAM to CCM data RAM in Figure 18: STM32F40x memory map. Added IVDD and IVSS maximum values in Table 12: Current characteristics. Added Note 1 related to fHCLK, updated Note 2 in Table 14: General operating conditions, and added maximum power dissipation values. Updated Table 15: Limitations depending on the operating power supply range. Changes
24-Jan-2012
176/185
DocID022152 Rev 4
Revision history
24-Jan-2012
Added V12 in Table 19: Embedded reset and power control block characteristics. Updated Table 21: Typical and maximum current consumption in Run mode, code with data processing running from Flash memory (ART accelerator disabled) and Table 20: Typical and maximum current consumption in Run mode, code with data processing running from Flash memory (ART accelerator enabled) or RAM. Added Figure , Figure 25, Figure 26, and Figure 27. Updated Table 22: Typical and maximum current consumption in Sleep mode and removed Note 1. Updated Table 23: Typical and maximum current consumptions in Stop mode and Table 24: Typical and maximum current consumptions in Standby mode, Table 25: Typical and maximum current consumptions in VBAT mode, and Table 26: Switching output I/O current consumption. Section : On-chip peripheral current consumption: modified conditions, and updated Table 27: Peripheral current consumption and Note 2. Changed fHSE_ext to 50 MHz and tr(HSE)/tf(HSE) maximum value in Table 29: High-speed external user clock characteristics. 2 Added Cin(LSE) in Table 30: Low-speed external user clock (continued) characteristics. Updated maximum PLL input clock frequency, removed related note, and deleted jitter for MCO for RMII Ethernet typical value in Table 35: Main PLL characteristics. Updated maximum PLLI2S input clock frequency and removed related note in Table 36: PLLI2S (audio PLL) characteristics. Updated Section : Flash memory to specify that the devices are shipped to customers with the Flash memory erased. Updated Table 38: Flash memory characteristics, and added tME in Table 39: Flash memory programming. Updated Table 42: EMS characteristics, and Table 43: EMI characteristics. Updated Table 56: I2S dynamic characteristics Updated Figure 46: ULPI timing diagram and Table 62: ULPI timing. Added tCOUNTER and tMAX_COUNT in Table 51: Characteristics of TIMx connected to the APB1 domain and Table 52: Characteristics of TIMx connected to the APB2 domain. Updated Table 65: Dynamic characteristics: Ethernet MAC signals for RMII. Removed USB-IF certification in Section : USB OTG FS characteristics.
DocID022152 Rev 4
177/185
Revision history
24-Jan-2012
Updated Table 61: USB HS clock timing parameters Updated Table 67: ADC characteristics. Updated Table 68: ADC accuracy at fADC = 30 MHz. Updated Note 1 in Table 74: DAC characteristics. Section 5.3.25: FSMC characteristics: updated Table 75 toTable 86, changed CL value to 30 pF, and modified FSMC configuration for asynchronous timings and waveforms. Updated Figure 60: Synchronous multiplexed PSRAM write timings. Updated Table 96: Package thermal characteristics. Appendix A.1: USB OTG full speed (FS) interface solutions: modified 2 (continued) Figure 86: USB controller configured as peripheral-only and used in Full speed mode added Note 2, updated Figure 87: USB controller configured as host-only and used in full speed mode and added Note 2, changed Figure 88: USB controller configured in dual mode and used in full speed mode and added Note 3. Appendix A.2: USB OTG high speed (HS) interface solutions: removed figures USB OTG HS device-only connection in FS mode and USB OTG HS host-only connection in FS mode, and updated Figure 89: USB controller configured as peripheral, host, or dual-mode and used in high speed mode and added Note 2. Added Appendix A.3: Ethernet interface solutions.
178/185
DocID022152 Rev 4
Revision history
31-May-2012
Updated Figure 5: STM32F40x block diagram and Figure 7: Power supply supervisor interconnection with internal reset OFF Added SDIO, added notes related to FSMC and SPI/I2S in Table 2: STM32F405xx and STM32F407xx: features and peripheral counts. Starting from Silicon revision Z, USB OTG full-speed interface is now available for all STM32F405xx devices. Added full information on WLCSP90 package together with corresponding part numbers. Changed number of AHB buses to 3. Modified available Flash memory sizes in Section 2.2.4: Embedded Flash memory. Modified number of maskable interrupt channels in Section 2.2.10: Nested vectored interrupt controller (NVIC). Updated case of Regulator ON/internal reset ON, Regulator ON/internal reset OFF, and Regulator OFF/internal reset ON in Section 2.2.16: Voltage regulator. Updated standby mode description in Section 2.2.19: Low-power modes. Added Note 1 below Figure 16: STM32F40x UFBGA176 ballout. Added Note 1 below Figure 17: STM32F40x WLCSP90 ballout. Updated Table 7: STM32F40x pin and ball definitions. Added Table 8: FSMC pin definition. Removed OTG_HS_INTN alternate function in Table 7: STM32F40x pin and ball definitions and Table 9: Alternate function mapping. Removed I2S2_WS on PB6/AF5 in Table 9: Alternate function mapping. Replaced JTRST by NJTRST, removed ETH_RMII _TX_CLK, and modified I2S3ext_SD on PC11 in Table 9: Alternate function mapping. Added Table 10: STM32F40x register boundary addresses. Updated Figure 18: STM32F40x memory map. Updated VDDA and VREF+ decoupling capacitor in Figure 21: Power supply scheme. Added power dissipation maximum value for WLCSP90 in Table 14: General operating conditions. Updated VPOR/PDR in Table 19: Embedded reset and power control block characteristics. Updated notes in Table 21: Typical and maximum current consumption in Run mode, code with data processing running from Flash memory (ART accelerator disabled), Table 20: Typical and maximum current consumption in Run mode, code with data processing running from Flash memory (ART accelerator enabled) or RAM, and Table 22: Typical and maximum current consumption in Sleep mode. Updated maximum current consumption at TA = 25 n Table 23: Typical and maximum current consumptions in Stop mode.
DocID022152 Rev 4
179/185
Revision history
31-May-2012
Removed fHSE_ext typical value in Table 29: High-speed external user clock characteristics. Updated Table 31: HSE 4-26 MHz oscillator characteristics and Table 32: LSE oscillator characteristics (fLSE = 32.768 kHz). Added fPLL48_OUT maximum value in Table 35: Main PLL characteristics. Modified equation 1 and 2 in Section 5.3.11: PLL spread spectrum clock generation (SSCG) characteristics. Updated Table 38: Flash memory characteristics, Table 39: Flash memory programming, and Table 40: Flash memory programming with VPP. Updated Section : Output driving current. Table 53: I2C characteristics: Note 4 updated and applied to th(SDA) in 3 Fast mode, and removed note 4 related to th(SDA) minimum value. (continued) Updated Table 67: ADC characteristics. Updated note concerning ADC accuracy vs. negative injection current below Table 68: ADC accuracy at fADC = 30 MHz. Added WLCSP90 thermal resistance in Table 96: Package thermal characteristics. Updated Table 90: WLCSP90 - 0.400 mm pitch wafer level chip size package mechanical data. Updated Figure 83: UFBGA176+25 - ultra thin fine pitch ball grid array 10 10 0.6 mm, package outline and Table 94: UFBGA176+25 ultra thin fine pitch ball grid array 10 10 0.6 mm mechanical data. Added Figure 85: LQFP176 recommended footprint. Removed 256 and 768 Kbyte Flash memory density from Table 97: Ordering information scheme.
180/185
DocID022152 Rev 4
Revision history
04-Jun-2013
Modified Note 1 below Table 2: STM32F405xx and STM32F407xx: features and peripheral counts. Updated Figure 4 title. Updated Note 3 below Figure 21: Power supply scheme. Changed simplex mode into half-duplex mode in Section 2.2.25: Interintegrated sound (I2S). Replaced DAC1_OUT and DAC2_OUT by DAC_OUT1 and DAC_OUT2, respectively. Updated pin 36 signal in Figure 15: STM32F40x LQFP176 pinout. Changed pin number from F8 to D4 for PA13 pin in Table 7: STM32F40x pin and ball definitions. Replaced TIM2_CH1/TIM2_ETR by TIM2_CH1_ETR for PA0 and PA5 pins in Table 9: Alternate function mapping. Changed system memory into System memory + OTP in Figure 18: STM32F40x memory map. Added Note 1 below Table 16: VCAP_1/VCAP_2 operating conditions. Updated IDDA description in Table 74: DAC characteristics. Removed PA9/PB13 connection to VBUS in Figure 86: USB controller configured as peripheral-only and used in Full speed mode and Figure 87: USB controller configured as host-only and used in full speed mode. Updated SPI throughput on front page and Section 2.2.24: Serial peripheral interface (SPI) Updated operating voltages in Table 2: STM32F405xx and STM32F407xx: features and peripheral counts Updated note in Section 2.2.14: Power supply schemes Updated Section 2.2.15: Power supply supervisor Updated Regulator ON paragraph in Section 2.2.16: Voltage regulator Removed note in Section 2.2.19: Low-power modes Corrected wrong reference manual in Section 2.2.28: Ethernet MAC interface with dedicated DMA and IEEE 1588 support Updated Table 15: Limitations depending on the operating power supply range Updated Table 24: Typical and maximum current consumptions in Standby mode Updated Table 25: Typical and maximum current consumptions in VBAT mode Updated Table 36: PLLI2S (audio PLL) characteristics Updated Table 43: EMI characteristics Updated Table 48: Output voltage characteristics Updated Table 50: NRST pin characteristics Updated Table 55: SPI dynamic characteristics Updated Table 56: I2S dynamic characteristics Deleted Table 59 Updated Table 62: ULPI timing Updated Figure 47: Ethernet SMI timing diagram
DocID022152 Rev 4
181/185
Revision history
04-Jun-2013
Updated Figure 83: UFBGA176+25 - ultra thin fine pitch ball grid array 10 10 0.6 mm, package outline Updated Table 94: UFBGA176+25 - ultra thin fine pitch ball grid array 10 10 0.6 mm mechanical data Updated Figure 5: STM32F40x block diagram Updated Section 2: Description Updated footnote (3) in Table 2: STM32F405xx and STM32F407xx: features and peripheral counts Updated Figure 3: Compatible board design between STM32F10xx/STM32F2xx/STM32F4xx for LQFP144 package Updated Figure 4: Compatible board design between STM32F2xx and STM32F4xx for LQFP176 and BGA176 packages Updated Section 2.2.14: Power supply schemes Updated Section 2.2.15: Power supply supervisor Updated Section 2.2.16: Voltage regulator, including figures. Updated Table 14: General operating conditions, including footnote (2). Updated Table 15: Limitations depending on the operating power supply range, including footnote (3). Updated footnote (1) in Table 67: ADC characteristics. Updated footnote (3) in Table 68: ADC accuracy at fADC = 30 MHz. Updated footnote (1) in Table 74: DAC characteristics. Updated Figure 9: Regulator OFF. Updated Figure 7: Power supply supervisor interconnection with 4 internal reset OFF. (continued) Added Section 2.2.17: Regulator ON/OFF and internal reset ON/OFF availability. Updated footnote (2) of Figure 21: Power supply scheme. Replaced respectively I2S3S_WS" by "I2S3_WS, I2S3S_CK by I2S3_CK and FSMC_BLN1 by FSMC_NBL1 in Table 9: Alternate function mapping. Added EVENTOUT as alternate function AF15 for pin PC13, PC14, PC15, PH0, PH1, PI8 in Table 9: Alternate function mapping Replaced DCMI_12 by DCMI_D12 in Table 7: STM32F40x pin and ball definitions.
Removed the following sentence from Section : I2C interface characteristics: Unless otherwise specified, the parameters given in Table 53 are derived from tests performed under the ambient temperature, fPCLK1 frequency and VDD supply voltage conditions summarized in Table 14..
In Table 7: STM32F40x pin and ball definitions on page 45: For pin PC13, replaced RTC_AF1 by RTC_OUT, RTC_TAMP1, RTC_TS for pin PI8, replaced RTC_AF2 by RTC_TAMP1, RTC_TAMP2, RTC_TS. for pin PB15, added RTC_REFIN in Alternate functions column.
In Table 9: Alternate function mapping on page 60, for port PB15, replaced RTC_50Hz by RTC_REFIN.
182/185
DocID022152 Rev 4
Revision history
04-Jun-2013
Updated Figure 6: Multi-AHB matrix. Updated Figure 7: Power supply supervisor interconnection with internal reset OFF Changed 1.2 V to V12 in Section : Regulator OFF Updated LQFP176 pin 48. Updated Section 1: Introduction. Updated Section 2: Description. Updated operating voltage in Table 2: STM32F405xx and STM32F407xx: features and peripheral counts. Updated Note 1. Updated Section 2.2.15: Power supply supervisor. Updated Section 2.2.16: Voltage regulator. Updated Figure 9: Regulator OFF. Updated Table 3: Regulator ON/OFF and internal reset ON/OFF availability. Updated Section 2.2.19: Low-power modes. Updated Section 2.2.20: VBAT operation. Updated Section 2.2.22: Inter-integrated circuit interface (IC) . Updated pin 48 in Figure 15: STM32F40x LQFP176 pinout. Updated Table 6: Legend/abbreviations used in the pinout table. Updated Table 7: STM32F40x pin and ball definitions. Updated Table 14: General operating conditions. 4 Updated Table 15: Limitations depending on the operating power (continued) supply range. Updated Section 5.3.7: Wakeup time from low-power mode. Updated Table 33: HSI oscillator characteristics. Updated Section 5.3.15: I/O current injection characteristics. Updated Table 47: I/O static characteristics. Updated Table 50: NRST pin characteristics. Updated Table 53: I2C characteristics. Updated Figure 39: I2C bus AC waveforms and measurement circuit. Updated Section 5.3.19: Communications interfaces. Updated Table 67: ADC characteristics. Added Table 70: Temperature sensor calibration values. Added Table 73: Internal reference voltage calibration values. Updated Section 5.3.25: FSMC characteristics. Updated Section 5.3.27: SD/SDIO MMC card host interface (SDIO) characteristics. Updated Table 23: Typical and maximum current consumptions in Stop mode. Updated Section : SPI interface characteristics included Table 55. Updated Section : I2S interface characteristics included Table 56. Updated Table 64: Dynamic characteristics: Ehternet MAC signals for SMI. Updated Table 66: Dynamic characteristics: Ethernet MAC signals for MII.
DocID022152 Rev 4
183/185
Revision history
04-Jun-2013
Updated Table 64: Dynamic characteristics: Ehternet MAC signals for SMI. Updated Table 66: Dynamic characteristics: Ethernet MAC signals for MII. Updated Table 79: Synchronous multiplexed NOR/PSRAM read timings. Updated Table 80: Synchronous multiplexed PSRAM write timings. Updated Table 81: Synchronous non-multiplexed NOR/PSRAM read 4 timings. (continued) Updated Table 82: Synchronous non-multiplexed PSRAM write timings. Updated Section 5.3.26: Camera interface (DCMI) timing specifications including Table 87: DCMI characteristics and addition of Figure 73: DCMI timing diagram. Updated Section 5.3.27: SD/SDIO MMC card host interface (SDIO) characteristics including Table 88. Updated Chapter Figure 9.
184/185
DocID022152 Rev 4
STM32F405xx, STM32F407xx
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (ST) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to STs terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN STS TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. ST PRODUCTS ARE NOT AUTHORIZED FOR USE IN WEAPONS. NOR ARE ST PRODUCTS DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASERS SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
2013 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com
DocID022152 Rev 4
185/185