High-performance foundation line, ARM Cortex-M4 core with DSP and FPU, 512 Kbytes Flash, 168 MHz CPU, ART Accelerator, Ethernet, FSMC

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 single-precision 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 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.

Key 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 64-Kbyte 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
    • Sleep, Stop and Standby modes
    • VBAT supply for RTC, 20×32 bit backup registers + optional 4 KB backup SRAM
  • 3×12-bit, 2.4 MSPS A/D converters: up to 24 channels and 7.2 MSPS in triple interleaved mode
  • 2×12-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 32-bit 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 × I2 C 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

Resources

Technical Documentation

Product Specifications
Description Version Size
DS8626 DS8626: 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 8.0 5 MB
Application Notes
Description Version Size
AN3126 AN3126: Audio and waveform generation using the DAC in STM32 microcontrollers 3.0 816 KB
AN3997 AN3997: Audio playback and recording using the STM32F4DISCOVERY 1.2 169 KB
AN4775 AN4775: Basics and low-cost solution proposals to move from legacy USB2.0 connector to USB Type-C™ connector with STM32 devices 1.0 443 KB
AN3154 AN3154: CAN protocol used in the STM32 bootloader 6.0 630 KB
AN5020 AN5020: Digital camera interface (DCMI) on STM32 MCUs 1.0 2 MB
AN1709 AN1709: EMC design guide for ST microcontrollers 2.0 843 KB
AN1181 AN1181: Electrostatic discharge sensitivity measurement 1.6 49 KB
AN4566 AN4566: Extending the DAC performance of STM32 microcontrollers 2.0 365 KB
AN4776 AN4776: General-purpose timer cookbook 2.0 1 MB
AN4488 AN4488: Getting started with STM32F4xxxx MCU hardware development 6.0 1 MB
AN4750 AN4750: Handling of soft errors in STM32 applications 2.1 410 KB
AN4803 AN4803: High-speed SI simulations using IBIS and board-level simulations using HyperLynx SI on STM32 32-bit ARM® Cortex® MCUs 1.1 2 MB
AN2834 AN2834: How to get the best ADC accuracy in STM32 microcontrollers 3.1 1 MB
AN4229 AN4229: How to implement a vocoder solution using STM32 microcontrollers 1.1 466 KB
AN4073 AN4073: How to improve ADC accuracy when using STM32F2xx and STM32F4xx microcontrollers 5.1 522 KB
AN4221 AN4221: I2C protocol used in the STM32 bootloader 5.0 682 KB
AN4838 AN4838: Managing memory protection unit (MPU) in STM32 MCUs 1.0 284 KB
AN3070 AN3070: Managing the Driver Enable signal for RS-485 and IO-Link communications with the STM32™’s USART 1.3 191 KB
AN4821 AN4821: Migrating from STM32F405/415 line and STM32F407/417 line to STM32L4 Series and STM32L4+ Series microcontrollers 3.0 1 MB
AN4547 AN4547: Migrating from STM32F407xx/417xx to STM32F427xx/429xx/437xx/439xx 1.1 144 KB
AN3364 AN3364: Migration and compatibility guidelines for STM32 microcontroller applications 3.1 127 KB
AN2867 AN2867: Oscillator design guide for STM8AF/AL/S and STM32 microcontrollers 11.0 2 MB
AN3998 AN3998: PDM audio software decoding on STM32 microcontrollers 1.3 90 KB
AN4640 AN4640: Peripherals interconnections on STM32F405/7xx, STM32F415/7xx, STM32F42xxx, STM32F43xxx, STM32F446xx and STM32F469/479xx 3.0 401 KB
AN4286 AN4286: SPI protocol used in the STM32 bootloader 4.0 551 KB
AN4850 AN4850: STM32 MCUs spread-spectrum clock generation principles, properties and implementation 1.0 551 KB
AN4908 AN4908: STM32 USART automatic baud rate detection 1.0 268 KB
AN4013 AN4013: STM32 cross-series timer overview 6.0 555 KB
AN4989 AN4989: STM32 microcontroller debug toolbox 2.0 5 MB
AN2606 AN2606: STM32 microcontroller system memory boot mode 31.0 3 MB
AN4230 AN4230: STM32 microcontrollers random number generation validation using NIST statistical test suite 2.0 517 KB
AN4739 AN4739: STM32Cube firmware examples for STM32F4 Series 4.0 496 KB
AN2945 AN2945: STM8S and STM32™ MCUs: a consistent 8/32-bit product line for painless migration 1.3 212 KB
AN4076 AN4076: Two or three shunt resistor based current sensing circuit design in 3-phase inverters 1.6 1 MB
AN3155 AN3155: USART protocol used in the STM32 bootloader 7.0 617 KB
AN3156 AN3156: USB DFU protocol used in the STM32 bootloader 6.0 373 KB
AN4277 AN4277: Using STM32 device PWM shut-down features for motor control and digital power conversion 4.0 834 KB
AN4995 AN4995: Using an electromyogram technique to detect muscle activity 1.0 634 KB
AN4031 AN4031: Using the STM32F2, STM32F4 and STM32F7 Series DMA controller 3.0 1 MB
AN3371 AN3371: Using the hardware real-time clock (RTC) in STM32 F0, F2, F3, F4 and L1 series of MCUs 5.1 421 KB
AN4759 AN4759: Using the hardware real-time clock (RTC) in low-power modes with STM32 microcontrollers 3.0 1 MB
AN4655 AN4655: Virtually increasing the number of serial communication peripherals in STM32 applications 1.1 338 KB
Technical Notes & Articles
Description Version Size
TN1163 TN1163: Description of WLCSP for microcontrollers and recommendations for its use 4.0 1 MB
TN0830 TN0830: How to use EWARM 6.2x with projects built with EWARM 6.1 and previous versions 1.2 97 KB
TN0516 TN0516: Overview of the STM32F0x/F100xx/F103xx and STM32F2xx/F30x/F4xx MCUs PMSM single/dual FOC SDK V4.0 4.1 284 KB
TN1204 TN1204: Tape and reel shipping media for STM32 microcontrollers in BGA packages 2.1 745 KB
TN1205 TN1205: Tape and reel shipping media for STM8 and STM32 microcontrollers in FPN packages 3.0 753 KB
TN1206 TN1206: Tape and reel shipping media for STM8 and STM32 microcontrollers in QFP packages 3.0 830 KB
TN1207 TN1207: Tape and reel shipping media for STM8 and STM32 microcontrollers in SO packages 1.0 755 KB
TN1208 TN1208: Tape and reel shipping media for STM8 and STM32 microcontrollers in TSSOP and SSOP packages 1.0 743 KB
Reference Manuals
Description Version Size
RM0090 RM0090: STM32F405/415, STM32F407/417, STM32F427/437 and STM32F429/439 advanced ARM®-based 32-bit MCUs 15.0 20 MB
Programming Manuals
Description Version Size
PM0214 PM0214: STM32F3 Series, STM32F4 Series, STM32L4 Series and STM32L4+ Series Cortex®-M4 programming manual 6.0 3 MB
Errata Sheets
Description Version Size
ES0182 ES0182: STM32F405/407xx and STM32F415/417xx device limitations 9.0 564 KB

HW Model, CAD Libraries & SVD

HW Model, CAD Libraries & SVD
Description Version Size
STM32F4 CAD Symbol and Footprint files 1.1 2 MB
STM32F4 System View Description 1.1 877 KB
STM32F405/415 and STM32F407/417 Boundary Scan Description Language (BSDL) files 1.0 37 KB
STM32F405/415 and STM32F407/417 IBIS models 1.0 14 MB

Presentations & Training Material

Presentations
Description Version Size
STM32 - 32-bit ARM Cortex-M MCUs 3.0 1 MB
STM32 PMSM FOC SDK Getting Started 1.6 5 MB
STM32 and STM8 Functional Safety Packages 2 1 MB

Publications and Collaterals

Flyers
Description Version Size
Get ready for the largest IoT development ecosystem 17.02 741 KB
STM32 GUI solutions - Advanced HMI now achievable on embedded systems 1.0 1 MB
STM32 Nucleo boards 17.07 1 MB
STM32 for makers Releasing your creativity 16.2 2 MB
Brochures
Description Version Size
STM32™ 32-bit MCU family - Leading supplier of ARM® Cortex®-M microcontrollers 18.0 1 MB

Quality & Reliability

Product Certifications
Description Version Size
STM32 CAN conformance test authentication sheet 1.0 182 KB

Tools and Software

Development Tools
Hardware Development Tools
Software Development Tools