ST Life.augmented

STM32F405RG

High-performance foundation line, ARM Cortex-M4 core with DSP and FPU, 1 Mbyte Flash, 168 MHz CPU, ART Accelerator
  • active 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 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.

pdf Download
Datasheet

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 (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

Design Resources

Top

Technical Documentation

Product Specifications

Description Version Size
pdf
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
5.0 5,797 KB

Application Notes

Description Version Size
pdf
AN1709: EMC design guide for ST microcontrollers
1.7 657 KB
pdf
AN2606: STM32 microcontroller system memory boot mode
22.0 2,466 KB
pdf
AN2834: How to get the best ADC accuracy in STM32Fx Series and STM32L1 Series devices
2.0 846 KB
pdf
AN2867: Oscillator design guide for STM8S, STM8A and STM32 microcontrollers
10.0 2,877 KB
pdf
AN2945: STM8S and STM32™ MCUs: a consistent 8/32-bit product line for painless migration
1.2 213 KB
pdf
AN3070: Managing the Driver Enable signal for RS-485 and IO-Link communications with the STM32™’s USART
1.2 191 KB
pdf
AN3126: Audio and waveform generation using the DAC in STM32 microcontrollers
2.0 830 KB
pdf
AN3154: CAN protocol used in the STM32 bootloader
5.0 632 KB
pdf
AN3155: USART protocol used in the STM32 bootloader
6.0 1,157 KB
pdf
AN3156: USB DFU protocol used in the STM32 bootloader
4.0 395 KB
pdf
AN3307: Guidelines for obtaining IEC 60335 Class B certification for any STM32 application
4.0 431 KB
pdf
AN3364: Migration and compatibility guidelines for STM32 microcontroller applications
3.0 128 KB
pdf
AN3371: Using the hardware real-time clock (RTC) in STM32 F0, F2, F3, F4 and L1 series of MCUs
5.0 422 KB
pdf
AN3997: Audio playback and recording using the STM32F4DISCOVERY
1.1 169 KB
pdf
AN3998: PDM audio software decoding on STM32 microcontrollers
1.2 91 KB
pdf
AN4013: STM32F0, STM32F1, STM32F2, STM32F4, STM32L1 series, STM32F30x, STM32F3x8, STM32F373 timer overview
4.0 514 KB
pdf
AN4031: Using the STM32F2 and STM32F4 DMA controller
2.0 1,423 KB
pdf
AN4073: How to improve ADC accuracy when using STM32F2xx and STM32F4xx microcontrollers
5.0 522 KB
pdf
AN4076: Two or three shunt resistor based current sensing circuit design in 3-phase inverters
1.6 1,198 KB
pdf
AN4221: I2C protocol used in the STM32 bootloader
2.0 658 KB
pdf
AN4229: How to implement a vocoder solution using STM32 microcontrollers
1.0 467 KB
pdf
AN4230: STM32F2xx, STM32F4xx random number generation validation using NIST statistical test suite
1.1 700 KB
pdf
AN4286: SPI protocol used in the STM32 bootloader
2.0 550 KB
pdf
AN4365: Using STM32F4 MCU power modes with best dynamic efficiency
2.0 824 KB
pdf
AN4457: Implementing an emulated universal asynchronous receiver transmitter on STM32F4 microcontroller series
1.0 491 KB
pdf
AN4488: Getting started with STM32F4xxxx MCU hardware development
4.0 1,037 KB
pdf
AN4566: Extending the DAC performance of STM32 microcontrollers
2.0 365 KB
pdf
AN4640: Peripherals interconnections on STM32F405/7xx, STM32F415/7xx, STM32F42xxx, STM32F43xxx, STM32F446xx and STM32F469/479xx
3.0 402 KB
pdf
AN4655: Virtually increasing the number of serial communication peripherals in STM32 applications
1.1 339 KB
pdf
AN4739: STM32Cube firmware examples for STM32F4 Series
1.0 421 KB

Technical Notes & Articles

Description Version Size
pdf
TN0516: Overview of the STM32F0x/F100xx/F103xx and STM32F2xx/F30x/F4xx MCUs PMSM single/dual FOC SDK V4.0
4.0 286 KB
pdf
TN0830: How to use EWARM 6.2x with projects built with EWARM 6.1 and previous versions
1.1 97 KB
pdf
TN1204: Tape and reel shipping media for STM32 microcontrollers in BGA packages
2.1 746 KB
pdf
TN1205: Tape and reel shipping media for STM8 and STM32 microcontrollers in FPN packages
3.0 753 KB
pdf
TN1206: Tape and reel shipping media for STM8 and STM32 microcontrollers in QFP packages
3.0 831 KB
pdf
TN1207: Tape and reel shipping media for STM8 and STM32 microcontrollers in SO packages
1.0 755 KB
pdf
TN1208: Tape and reel shipping media for STM8 and STM32 microcontrollers in TSSOP and SSOP packages
1.0 743 KB

User Manual

Description Version Size
pdf
UM1653: STM32 Advanced NAND Flash Driver for SLC NAND
1.1 1,423 KB

Reference Manual

Description Version Size
pdf
RM0090: STM32F405/415, STM32F407/417, STM32F427/437 and STM32F429/439 advanced ARM®-based 32-bit MCUs
10.0 21,391 KB

Programming Manual

Description Version Size
pdf
PM0214: STM32F3 and STM32F4 Series Cortex®-M4 programming manual
4.0 2,604 KB

Errata Sheet

Description Version Size
pdf
ES0182: STM32F405/407xx and STM32F415/417xx device limitations
6.0 549 KB

HW Model & CAD Libraries

HW Model & CAD Libraries

Description Version Size
zip
STM32F405/415 and STM32F407/417 Boundary Scan Description Language (BSDL) files
1.1.0 38 KB
zip
STM32F405/415 and STM32F407/417 IBIS models
1.3.0 14,622 KB

Presentations & Training Material

Presentations

Description Version Size
pdf
STM32 Embedded Software overview
1.0.0 571 KB
pdf
STM32 and STM8 embedded software solutions
2.0 2,415 KB

Related Tools and Software

Related Tools and Software

Part Number Description
STX-PRO/RAIS Unlimited in-circuit debugging/programming tool for STM32, STR7 and STR9
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 Adapt title depending on RPN as shown in column B
STMPRIMER EvoPrimer components to build your own EvoPrimer for easy evaluation and development with STM32 and STM8 MCUs
STSW-STM32091 Clock configuration tool for STM32F40x/41x microcontrollers (AN3988)
STSW-STM32142 Using STM32F4 MCU power modes with best dynamic efficiency (AN4365)
STM3240G-EVAL Evaluation board with STM32F407IG MCU
STM32439I-EVAL Evaluation board with STM32F439NI MCU
STSW-STM32AN4187 Using CRC peripheral in STM32 family (AN4187)
STSW-STM32067 STM32F4 in-application programming (IAP) using the USART (AN3965)
STSW-STM32066 EEPROM emulation in STM32F40x/STM32F41x microcontrollers (AN3969)
STSW-STM32065 STM32F4 DSP and standard peripherals library
NUCLEO-F411RE STM32 Nucleo development board with STM32F411RET6 MCU, supports Arduino
STSW-STM32156 Implementing an emulated universal asynchronous receiver transmitter on STM32F4 microcontroller series (AN4457)
NUCLEO-F401RE STM32 Nucleo development board with STM32F401RET6 MCU, supports Arduino
NUCLEO-F446RE STM32 Nucleo development board with STM32F446RET6 MCU, supports Arduino
STM32446E-EVAL Evaluation board with STM32F446ZE MCU
STSW-STM32046 STM32F105/7, STM32F2 and STM32F4 USB on-the-go Host and device library (UM1021)
STM32F4DISCOVERY Discovery kit with STM32F407VG MCU
STM32F4-NETMF Mountaineer boards for Microsoft .NET Micro Framework platform on STM32 F4 series
STM3240G-JAVA STM32 F4 series Java evaluation kit - with STM32F407IG MCU
STM32-SafeSIL Functional safety package to achieve IEC 61508 Safety Integrity Level (SIL2/3) certification with STM32
32F411EDISCOVERY Discovery kit with STM32F411VE MCU
STemWin Professional graphical stack library enabling the building up of Graphical User Interfaces (GUIs) (AN4323)
STM32-EXPERIMENT IAR Experiment! Kits for STM32 MCUs
STSW-STM32093 STM32 TFT-LCD direct drive demonstration firmware (AN3241)
STSW-STM32080 DfuSe USB device firmware upgrade STMicroelectronics extension: contains the demo GUI, debugging GUI, all sources files and the protocol layer (UM0412)
STSW-STM32129 STM32F2xx, STM32F4xx random number generation validation using NIST statistical test suite (AN4230)
STM32-AUDIO100A STM32 Audio processing SW library
STM3241G-EVAL Evaluation board with STM32F417IG MCU
STSW-STM32106 STM32F2 and STM32F4 demonstration builder platform
STM3240G-SK/IAR IAR starter kit for STM32F407/417 lines - with STM32F407ZG MCU
STSW-STM32127 STM32F10xx, STM32F2xx, STM32F4xx and STM32L1xx I2C Communication peripheral application library (CPAL) (UM1029)
STM32429I-EVAL Evaluation board with STM32F429NI MCU
STSW-STM32016 TFT LCD interfacing with the high-density STM32F10xxx FSMC (AN2790)
STM3240G-SK/KEI Keil starter kit for STM32 F4 series microcontrollers (STM32F407IG MCU)
32F429IDISCOVERY Discovery kit with STM32F429ZI MCU
STM32F4DIS-EXT STM32F4DISCOVERY extension board
STSW-STM32120 Using floating-point unit (FPU) with STM32F4xx microcontrollers (AN4044)
STM3242I-SK/IAR IAR starter kit for STM32F429/439 lines - with STM32F429II MCU
STM32CubeF4 Embedded software for STM32F4 series (HAL low level drivers, USB, TCP/IP, File system, RTOS, Graphic - coming with examples running on ST boards: STM32 Nucleo, Discovery kits and Evaluation boards)
STM32-MAT/TARGET STM32 embedded target for MATLAB and Simulink (RN0087)
STM32-WMA/DEC Audio Engine WMA Decoder and Utilities
STVP ST Visual Programmer for programming ST7, STM8 and STM32
STSW-STM32102 STM32 Virtual COM Port Driver
SW4STM32 AC6 free multi-OS software development environment for STM32 MCUs
MULTI GreenHills integrated development and debug environment for embedded applications using C and C++
mikroBasicPRO MikroElektronika full-featured Basic compiler which makes STM32 development suitable for everyone
TrueSTUDIO The premier C/C++ development tool for STM32 development, with its unrivalled feature set and unprecedented integration
STSW-STM32100 STM32 PMSM FOC Software Development Kit - MC library (UM1052)
STSW-STM32099 STM32 secure firmware upgrade (SFU) (AN4024)
ALTIA-GUI Altia DeepScreen for STM32: Graphical user interface (GUI)
WITT-RTOS Wittenstein OpenRTOS, commercial flavor of open source FreeRTOS
EXP-RTOS Express Logic ThreadX Real time operating system (RTOS)
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
TASKINGVX TASKING VX-toolset for ARM based on Altium's Viper C compiler technology
CoIDE CooCox CoIDE, a free and highly-integrated software development environment for ARM Cortex MCUs
STM32-PRIMER/LAB Raisonance complete EvoPrimer ready-to-use for STM32 standalone programmer & application monitor
EXP-TRACE Express Logic TraceX Graphical finetuning tool
STSW-STM32013 STM32F10xxx LCD glass driver firmware (AN2656)
STX-RLINK In-circuit debugger/programmer for STM8, ST7, STM32, STR7 and STR9 microcontrollers
WITT-RTOS-SAFE Wittenstein SafeRTOS, safety-certified flavor of open source FreeRTOS
MDK-ARM MDK-ARM software development environment for Cortex-M and Cortex-R based mcus
WEI-KNX Weinzierl KNX standard communication protocols for the STM32 ARM Cortex-M Microcontrollers families (KNX Stack)
STSW-STM32094 STM32 in-application programming over the I2C bus (AN3078)
IAR-EWARM IAR Integrated development environment and optimizing C/C++ compiler for ARM Cortex-M
iSYS-winIDEA iSYSTEM's complete software development and test solution for the STM32 and STM8 families
X-CUBE-IAP-USART STM32Cube in-application programming using the USART embedded software (AN4657)
X-CUBE-nRF51DRV STM32Cube nRF51 Bluetooth Low Energy (BLE) embedded software
iSYS-winIDEAOpen iSYSTEM's free unlimited software development platform for all STM32 Cortex-M based devices
STSW-STM32149 STM32 nRF51 Bluetooth Low Energy (BLE) embedded software
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
STSW-STM32028 STM32's ADC modes and their applications (AN3116)
STSW-STM32025 Managing the Driver Enable signal for RS-485 and IO-Link communications with the STM32 USART
STSW-STM32047 Implementing receivers for infrared remote control protocols using STM32F1 microcontrollers (AN3174)
mikroPascalPRO MikroElektronika 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
mikroCPRO MikroElektronika full-featured ANSI C compiler for STM32 devices. It features an intuitive IDE, powerful compiler with advanced optimizations
CrossWorks Rowley Associates CrossWorks, integrated development environment with JTAG Flash download and debug
EXP-TCP Express Logic NetX and NetX Duo TCP/IP stacks
EXP-USB Express Logic USBX USB stack
RIDE Raisonance branded integrated development environment for MCUs
EXP-FILE Express Logic FileX file system
TrueANALYSER A tool that performs advanced test quality measurements. The product performs dynamic execution flow analysis and provides rigorous code coverage measurements.
FREE-RTOS FreeRTOS Real Time Operating System for STM32 ARM Cortex-M Microcontrollers families
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
X-CUBE-SMBUS STM32Cube SMBus/PMBus embedded software (AN4502)
ORYX-SSL Oryx CycloneSSL lightweight SSL/TLS implementation
ORYX-TCP Oryx CycloneTCP TCP/IP stack (IPv4, IPv6)
WITT-MW Wittenstein Middleware components (USB, File System, TCP/IP, ...)
Hitop5 Universal user interface, IDE and debugger for all Hitex development tools
emtas-CANopen CANopen Protocol Stack for STM32
STSW-STM32103 STM32 Serial Wire Viewer (SWV) and Embedded Trace Macrocell (ETM)capabilities. Examples and technical note.
TAP-KNX-KAIStack KNX home automation for STM8 and STM32, from Tapko Technologies GMBH

Publications and Collaterals

Flyer

Description Version Size
pdf
STM32 Nucleo boards
FLSTM32NUCLEO0115 2,720 KB

Brochure

Description Version Size
pdf
STM32 32-bit MCU family - Leading supplier of ARM® Cortex®-M microcontrollers
BRSTM320215 1,025 KB

Quality & Reliability

Product Certification

Description Version Size
pdf
STM32 CAN conformance test authentication sheet
183 KB

Sample & Buy

Top
Part Number Marketing StatusPackagePacking TypeOperating Temperature (min) Operating Temperature (max) Order From STUnit Price (US$)*
@ 10000
Distributor AvailabilityRoHS Compliance GradeDownload
Material Declaration**
STM32F405RGT6ActiveLQFP 64 10x10x1.4Tray-4085Free Samples6.259Distributor reported inventory date: 2015-09-04
Distributor NameRegionStockMin. order
ARROWOrder NowAMERICA355960
AVNETOrder NowAMERICA9770
Newark Element14Order NowAMERICA6160
ARROWOrder NowEUROPE25040
Farnell Element14Order NowEUROPE20921
RS COMPONENTSOrder NowEUROPE3381
RUTRONIKOrder NowEUROPE182160
DIGIKEYOrder NowWORLDWIDE105631
FUTUREOrder NowWORLDWIDE30901
MOUSEROrder NowWORLDWIDE22111
Ecopack2PDF
XML
STM32F405RGT6TRActiveLQFP 64 10x10x1.4Tape And Reel-4085-6.259Distributor reported inventory date: 2015-09-04
Distributor NameRegionStockMin. order
AVNETOrder NowAMERICA30000
RS COMPONENTSOrder NowEUROPE18721
Ecopack2PDF
XML
STM32F405RGT6VActiveLQFP 64 10x10x1.4Tray-4085-6.973Distributor reported inventory date: 2015-09-04
Distributor NameRegionStockMin. order
ARROWOrder NowAMERICA1870960
Newark Element14Order NowAMERICA360
Farnell Element14Order NowEUROPE7331
RS COMPONENTSOrder NowEUROPE9191
Ecopack2PDF
XML
STM32F405RGT6WActiveLQFP 64 10x10x1.4Tray-4085-7.331Distributor reported inventory date: 2015-09-04
Distributor NameRegionStockMin. order
Newark Element14Order NowAMERICA460
Farnell Element14Order NowEUROPE12431
RS COMPONENTSOrder NowEUROPE1651
Ecopack2PDF
XML
STM32F405RGT7ActiveLQFP 64 10x10x1.4Tray-40105-6.697Distributor reported inventory date: 2015-09-04
Distributor NameRegionStockMin. order
ARROWOrder NowAMERICA640960
Newark Element14Order NowAMERICA1510
Farnell Element14Order NowEUROPE4701
Ecopack2PDF
XML
STM32F405RGT7TRActiveLQFP 64 10x10x1.4Tape And Reel-40105-6.697Distributor reported inventory date: 2015-09-01
Distributor NameRegionStockMin. order
RS COMPONENTSOrder NowEUROPE7521
Ecopack2PDF
XML

(*) 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.
Feedback Form
Customer Feedback