STM32F405RG
High-performance and DSP with FPU, ARM Cortex-M4 MCU with 1 Mbyte Flash, 168 MHz CPU, Art Accelerator-
Active
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 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.
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 VBATsupply 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 × 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 (37.5 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
Design Resources
TopTechnical Documentation
Product Specifications
| Description | Version | Size |
|---|---|---|
|
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
|
3.0 | 2,282 KB |
Application Notes
| Description | Version | Size |
|---|---|---|
|
AN1015: Software techniques for improving microcontroller EMC performance
|
1.7 | 104 KB |
|
AN1181: Electrostatic discharge sensitivity measurement
|
1.4 | 59 KB |
|
AN1709: EMC design guide for ST microcontrollers
|
1.7 | 657 KB |
|
AN2606: STM32™ microcontroller system memory boot mode
|
17.0 | 1,805 KB |
|
AN2639: Soldering recommendations and package information for Lead-free ECOPACK® microcontrollers
|
2.4 | 209 KB |
|
AN2945: STM8S and STM32™ MCUs: a consistent 8/32-bit product line for painless migration
|
1.2 | 213 KB |
|
AN3070: Managing the Driver Enable signal for RS-485 and IO-Link communications with the STM32™’s USART
|
1.2 | 191 KB |
|
AN3116: STM32?'s ADC modes and their applications
|
1.0 | 236 KB |
|
AN3126: Audio and waveform generation using the DAC in STM32 microcontroller families
|
1.1 | 648 KB |
|
AN3154: CAN protocol used in the STM32™ bootloader
|
4.0 | 387 KB |
|
AN3155: USART protocol used in the STM32™ bootloader
|
5.0 | 1,243 KB |
|
AN3307: Guidelines for obtaining IEC 60335 Class B certification for any STM32 application
|
4.0 | 431 KB |
|
AN3364: Migration and compatibility guidelines for STM32 microcontroller applications
|
3.0 | 128 KB |
|
AN3371: Using the hardware real-time clock (RTC) in STM32 F0, F2, F3, F4 and L1 series of MCUs
|
5.0 | 422 KB |
|
AN3965: STM32F40x/STM32F41x in-application programming using the USART
|
1.1 | 242 KB |
|
AN3969: EEPROM emulation in STM32F40x/STM32F41x microcontrollers
|
1.2 | 209 KB |
|
AN3983: STM32F4DISCOVERY peripheral firmware examples
|
2.2 | 147 KB |
|
AN3988: Clock configuration tool for STM32F40x/41x microcontrollers
|
1.3 | 499 KB |
|
AN3990: Upgrading STM32F4DISCOVERY board firmware using a USB key
|
1.3 | 204 KB |
|
AN3997: Audio playback and recording using the STM32F4DISCOVERY
|
1.1 | 169 KB |
|
AN3998: PDM audio software decoding on STM32 microcontrollers
|
1.2 | 91 KB |
|
AN4013: STM32F1xx, STM32F2xx, STM32F4xx, STM32L1xx, STM32F30/31/37/38x timer overview
|
2.0 | 270 KB |
|
AN4018: Data link communication protocol for the ST7580 power line networking SoC
|
3.0 | 834 KB |
|
AN4023: STM32 secure firmware upgrade (SFU) overview
|
1.1 | 41 KB |
|
AN4044: Using floating-point unit (FPU) with STM32F405/07xx and STM32F415/417xx microcontrollers
|
1.1 | 282 KB |
|
AN4073: How to improve ADC accuracy when using STM32F2xx and STM32F4xx microcontrollers
|
4.0 | 929 KB |
|
AN4076: Two or three shunt resistor based current sensing circuit design in 3-phase inverters
|
1.2 | 1,199 KB |
|
AN4230: STM32F2xx, STM32F4xx random number generation validation using NIST statistical test suite
|
1.1 | 700 KB |
|
AN4243: The L6230 DMOS driver for three-phase brushless DC motor
|
1.0 | 933 KB |
Technical Notes & Articles
| Description | Version | Size |
|---|---|---|
|
TN0830: How to use EWARM 6.2x with projects built with EWARM 6.1 and previous versions
|
1.1 | 97 KB |
Reference Manual
| Description | Version | Size |
|---|---|---|
|
RM0090: STM32F40xxx, STM32F41xxx, STM32F42xxx, STM32F43xxx advanced ARM-based 32-bit MCUs
|
4.0 | 14,220 KB |
Programming Manual
| Description | Version | Size |
|---|---|---|
|
PM0056: STM32F10xxx/20xxx/21xxx/L1xxxx Cortex-M3 programming manual
|
4.0 | 1,315 KB |
|
PM0081: STM32F40xxx and STM32F41xxx Flash programming manual
|
1.1 | 260 KB |
|
PM0214: STM32F3xxx and STM32F4xxx Cortex-M4 programming manual
|
3.0 | 1,709 KB |
Release Notes
| Description | Version | Size |
|---|---|---|
|
RN0085: STM32F05xx/STM32F103xx/STM32F100xx/STM32F2xx/STM32F4xx PMSM single / dual FOC SDK v3.3
|
1.0 | 52 KB |
Errata Sheet
| Description | Version | Size |
|---|---|---|
|
ES0182: STM32F405/407xx and STM32F415/417xx device limitations
|
4.0 | 934 KB |
Presentations & Training Material
Presentations
| Description | Version | Size |
|---|---|---|
|
STM32 - 32-bit ARM Cortex-M MCUs marketing presentation
|
1.2 | 2,282 KB |
|
STM32 F4 series - High-performance Cortex-M4 MCU
|
1.0 | 1,753 KB |
|
STM32 and STM8 embedded software solutions
|
1,771 KB |
Related Tools and Software
Related Tools and Software
| Part Number | Description |
|---|---|
| AsIDE | Includes the SlickEditor, project management, build capability and pre-packaged adaptation for most popular third-party tools |
| CMX-CANopen | CANopen Industrial Automation for STM32, from CMX Systems Inc |
| CMX-FFS | Flash File System for STM32, from CMX Systems Inc |
| CMX-INet | TCP/IP v4 or v6 stack for STM32, from CMX Systems Inc |
| CMX-MicroNet | TCP/IP v4 with small footprint for STM32, from CMX Systems Inc |
| CMX-RTX | Real Time OS for STM32, from CMX Systems Inc |
| CMX-TCP/IP | TCP/IP v4 stack for STM32, from CMX Systems Inc |
| CMX-Tiny | Real Time OS with small footprint for STM32, from CMX Systems Inc |
| CMX-USBDevice | USB Device stack for STM32, from CMX Systems Inc |
| CMX-USBHost | USB Host stack for STM32, from CMX Systems Inc |
| CoIDE | A free and highly-integrated software development environment for ARM Cortex MCUs |
| CoSmart | An intelligent code generation tool, which can detect pin setting conflicts, generate complete source code, IDE projects, chip package figure, pin configuration report and module configuration report through graphical pins configuration |
| CrossWorks | Based on CrossStudio integrated development environment with JTAG Flash download and debug |
| EmbestIDE | Includes project manager, source-code editor, compiler, debugger, ARM instruction set simulator |
| HCC-Bootloaders | Storage, USB or Serial Bootloader for STM32, from HCC Embedded |
| HCC-FFS | All Flashs File Systems with fail-safe mechanisms for STM32, from HCC Embedded |
| HCC-MISRA-TCP/IP | TCP/IP v4 or v6 stack for STM32, from HCC Embedded |
| HCC-USB | USB Host & Device stacks for STM32, from HCC Embedded |
| Hitop5 | Universal user interface, IDE and debugger for all Hitex development tools |
| INI-NICHELITE | NicheLite TCP/IP for STM32 |
| MDK-ARM | MDK-ARM is the complete software development environment for Cortex-M, ARM7, and ARM9 devices |
| MULTI | Integrated development and debug environment for embedded applications using C and C++. |
| MicroXplorer | MCU graphical configuration tool |
| RIDE | Raisonance IDE that drives the RLink and Signum JTAGjet in-circuit emulators. |
| ST-LINK | In-circuit debugger and programmer for STM8 and STM32 MCUs; with IAR EWARM and Keil RVMDK and ST toolset |
| ST-LINK/V2 | ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32 |
| STM-STUDIO | STM Studio run-time variables monitoring and visualization tool |
| STM32-JAVA | STM32Java development environment for STM32 |
| STM32-MAT/TARGET | STM32 embedded target for MATLAB and Simulink |
| STM32-MP3NL/COD | Audio Engine MP3 Codec and Utilities |
| STM32-MP3NL/DEC | Audio Engine MP3 Decoder and Utilities |
| STM32-PRIMER | Complete Primer ready to use from Raisonance for easy evaluation and development with STM32 MCUs |
| STM32-WMA/DEC | Audio Engine WMA Decoder and Utilities |
| STM3240G-EVAL | Evaluation board for STM32 F4 series - with STM32F407 MCU |
| STM3240G-JAVA | STM32 F4 series Java evaluation kit |
| STM3240G-SK/IAR | IAR starter kit for STM32 F4 series microcontrollers (STM32F407ZG MCU) |
| STM3240G-SK/KEI | Keil starter kit for STM32 F4 series microcontrollers (STM32F407IG MCU) |
| STM3241G-EVAL | Evaluation board for STM32 F4 series - with STM32F417 MCU |
| STM32CMICTCP-BK | I2C/TCP-IP embedded protocol stack for the STM32F107 connectivity line |
| STM32F4-NETMF | Microsoft .NET Micro Framework platform for STM32 F4 series |
| STM32F4DIS-EXT | STM32F4DISCOVERY extension board |
| STM32F4DISCOVERY | Discovery kit for STM32 F4 series - with STM32F407VG MCU |
| STMPRIMER | EvoPrimer components to build your own EvoPrimer for easy evaluation and development with STM32 and STM8 MCUs |
| STSW-MCU005 | STM32 and STM8 Flash loader demonstrator |
| STSW-OPAMP001 | Current sensing amplification stage configuration design tool |
| STSW-STM32008 | STM32F10xxx in-application programming using the USART |
| STSW-STM32024 | Getting started with uClinux for STM32F10x high-density devices |
| STSW-STM32025 | Managing the Driver Enable signal for RS-485 and IO-Link communications with the STM32 USART |
| STSW-STM32027 | Communication peripheral FIFO emulation with DMA and DMA timeout in STM32F10x microcontrollers |
| STSW-STM32028 | STM32 ADC modes and their applications |
| STSW-STM32033 | STM32F1xx motor control firmware library for the L6470 dSPIN IC |
| STSW-STM32046 | STM32F105/7, STM32F2 and STM32F4 USB on-the-go Host and device library |
| STSW-STM32047 | Implementing receivers for infrared remote control protocols using STM32F1 microcontrollers |
| STSW-STM32055 | STM32Fx firmware library |
| STSW-STM32056 | STM32F1xx motor control firmware for easySPIN L6474 |
| STSW-STM32065 | STM32F4 DSP and standard peripherals library, including 82 examples for 26 different peripherals and template project for 5 different IDEs |
| STSW-STM32066 | EEPROM emulation in STM32F4 microcontrollers |
| STSW-STM32067 | STM32F4 in-application programming (IAP) using the USART |
| STSW-STM32068 | STM32F4DISCOVERY board firmware package, including 22 examples (covering USB Host, audio, MEMS accelerometer and microphone?) and preconfigured projects for 4 different IDEs |
| STSW-STM32079 | SW application to interface Wireshark packet capture tool (AN3406) |
| STSW-STM32091 | Clock configuration tool for STM32F40x/41x microcontrollers |
| STSW-STM32094 | STM32 in-application programming (AN3078) |
| STSW-STM32095 | MicroXplorer Eclipse plugin, graphical tool to configure STM32 microcontrollers |
| STSW-STM32098 | STM32 embedded GUI library |
| STSW-STM32099 | STM32 I2C Communication peripheral application library |
| STSW-STM32100 | STM32 PMSM FOC SDK motor control firmware library |
| STSW-STM32103 | STM32 Serial Wire Viewer (SWV) and Embedded Trace Macrocell (ETM)capabilities. Examples and technical note. |
| STSW-STM32127 | STM32F10xx, STM32F2xx, STM32F4xx and STM32L1xx I2C Communication peripheral application library (CPAL) |
| STVP | ST Visual Programmer for programming ST7, STM8, STM8T and STM32 |
| STX-PRO/RAIS | Unlimited in-circuit debugging/programming tool for STM32, STR7 and STR9 |
| STX-RLINK | In-circuit debugger/programmer for STM8, ST7, STM32, STR7 and STR9 microcontrollers |
| TASKINGVX | TASKING VX-toolset for ARM based on Altium's Viper C compiler technology |
| TrueANALYSER | A tool that performs advanced test quality measurements. The product performs dynamic execution flow analysis and provides rigorous code coverage measurements. |
| TrueINSPECTOR | A tool that detects potential coding issues at an early stage. The product performs static source code inspection and generates software metrics and code complexity measurements |
| TrueSTUDIO | The premier C/C++ development tool for STM32 development, with its unrivalled feature set and unprecedented integration |
| TrueVERIFIER | Tool for advanced test automation. The product performs source code analysis and auto-generate unit tests that exercise an extensive set of different execution paths |
| VisualTFT | A standalone application used for rapid development of graphical user interfaces for TFT displays. Software generates code for STM32 MCUs. Code is fully compatible with mikroElektronika compilers mikroC, mikroBasic and mikroPascal |
| eCC-CAN | CANopen Industrial Automation for STM32, from eCosCentric |
| eCC-CEE-J | Embedded Java virtual machine for STM32, from eCosCentric |
| eCC-RedBoot | Standard bootstrap firmware for STM32, from eCosCentric |
| eCC-SecureShell | Secure Shell daemon SSH-2 for STM32, from eCosCentric |
| eCC-USB | USB Host & Device stacks for STM32, from eCosCentric |
| eCC-YAFFS | NAND Flash File System for STM32, from eCosCentric |
| eCC-eXtremeDB | Embedded in-memory database for STM32, from eCosCentric |
| mikroBasicPRO | A full-featured Basic compiler which makes STM32 development suitable for everyone |
| mikroCPRO | A full-featured ANSI C compiler for STM32 devices. It features an intuitive IDE, powerful compiler with advanced optimizations |
| mikroPascalPRO | A full-featured Pascal compiler for STM32 devices. It has an intuitive IDE with docking support, rich with features, advanced text editor, many available tools, libraries and examples |
Publications and Collaterals
Flyer
| Description | Version | Size |
|---|---|---|
|
STM32 32-bit MCU family
|
900 KB |
Brochure
| Description | Version | Size |
|---|---|---|
|
Products and solutions for solar energy
|
1.0.0 | 1,318 KB |
|
STM32 32-bit ARM Cortex MCUs
|
2,500 KB | |
|
STM32 F4 series - High-performance Cortex-M4 MCU
|
1,779 KB |
Sample & Buy
Top| Part Number | Marketing Status | Package | Packing Type | Operating Temperature (min) | Operating Temperature (max) | Automotive Grade | Order From ST | Unit Price (US$)* @ 10000 | Distributor Availability | RoHS Compliance Grade | Download Material Declaration** |
||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| STM32F405RGT6 | Active | LQFP 64 10x10x1.4 | Tray | -40 | 105 | _ | - | 5.992 |
| Ecopack2 | PDF XML | ||||||||||||||||||||||||||||||||||||||||
| STM32F405RGT6U | Preview | LQFP 64 10x10x1.4 | Tray | -40 | 105 | _ | - | No data reported, please contact our Distributors | Ecopack2 | - | |||||||||||||||||||||||||||||||||||||||||
| STM32F405RGT6V | Active | LQFP 64 10x10x1.4 | Tray | -40 | 105 | _ | - | 6.658 | No data reported, please contact our Distributors | Ecopack2 | - | ||||||||||||||||||||||||||||||||||||||||
| STM32F405RGT6W | Active | LQFP 64 10x10x1.4 | Tray | -40 | 105 | _ | - | 6.992 | No data reported, please contact our Distributors | Ecopack2 | - | ||||||||||||||||||||||||||||||||||||||||
| STM32F405RGT7 | Active | LQFP 64 10x10x1.4 | Tray | -40 | 105 | _ | - | 6.411 | No data reported, please contact our Distributors | Ecopack2 | - | ||||||||||||||||||||||||||||||||||||||||
(*) Suggested Resale Price per unit (USD) for BUDGETARY USE ONLY. For quotes, prices in local currency, please contact your local ST Sales Office or our Distributors (**) The Material Declaration forms available on st.com may be generic documents based on the most commonly used package within a package family. For this reason, they may not be 100% accurate for a specific device. Please contact our sales support for information on specific devices. |
|||||||||||||||||||||||||||||||||||||||||||||||||||
