Skip to main content

STM32F407XXI

STM32F405xx STM32F407xx

ARM Cortex-M4 MCU

The STM32F407XXI is a arm cortex-m4 mcu from STMicroelectronics. STM32F405xx STM32F407xx. View the full STM32F407XXI datasheet below including electrical characteristics, absolute maximum ratings.

Manufacturer

STMicroelectronics

Category

ARM Cortex-M4 MCU

Overview

Part: STM32F405xx, STM32F407xx (STMicroelectronics)

Type: ARM Cortex-M4 Microcontroller

Description: 32-bit ARM Cortex-M4 MCU with FPU, operating at up to 168 MHz, featuring up to 1 MB Flash, 192+4 KB SRAM, USB OTG HS/FS, Ethernet, and a wide range of communication and analog peripherals.

Operating Conditions:

  • Supply voltage: 1.8–3.6 V
  • Operating temperature: -40 to +125 °C (Junction)
  • Max CPU frequency: 168 MHz

Absolute Maximum Ratings:

  • Max supply voltage: 4.0 V
  • Max continuous current: 120 mA (Total current into VDD_x, VDDA, VDDSD, VDDUSB)
  • Max storage temperature: -65 to +150 °C

Key Specs:

  • Core: ARM 32-bit Cortex-M4 CPU with FPU
  • Max CPU frequency: 168 MHz
  • Flash memory: Up to 1 Mbyte
  • SRAM: Up to 192+4 Kbytes (including 64 KB CCM RAM)
  • A/D converters: 3x 12-bit, 2.4 MSPS (up to 24 channels)
  • D/A converters: 2x 12-bit
  • Timers: Up to 17 (twelve 16-bit, two 32-bit)
  • Communication interfaces: Up to 15 (I2C, USART/UART, SPI, CAN, SDIO, USB, Ethernet)

Features:

  • Adaptive real-time accelerator (ART Accelerator™) for 0-wait state Flash execution
  • Flexible static memory controller (FSMC)
  • USB 2.0 full-speed/high-speed device/host/OTG controller
  • 10/100 Ethernet MAC with dedicated DMA
  • 8- to 14-bit parallel camera interface
  • True random number generator

Applications:

  • null

Package:

  • WLCSP90
  • LQFP64
  • LQFP100
  • LQFP144
  • UFBGA176+25
  • LQFP176

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
  • Low power
    • 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 × 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

ReferencePart number
STM32F405xxSTM32F405RG, STM32F405VG, STM32F405ZG,
STM32F405OG, STM32F405OE
STM32F407xxSTM32F407VG, STM32F407IG, STM32F407ZG,
STM32F407VE, STM32F407ZE, STM32F407IE

Pin Configuration

64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 4948 47 46 45 44 43 42 41 40 39 38 37 36 34 33 17 18 19 20 21 22 23 24 29 30 31 32 25 26 27 28 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 VBAT PC14 PC15 NRST PC0 PC1 PC2 PC3 VSSA VDDA PA0_WKUP PA1 PA2 VDD PB9 PB8 BOOT0 PB7 PB6 PB5 PB4 PB3 PD2 PC12 PC11 PC10 PA15 PA14 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 LQFP64 ai18493b PC13 PH0 PH1 VSS

Figure 12. STM32F40x LQFP64 pinout

ai18495c

100 99 98 97 96 95 94 92 91 90 89 88 87 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 PE2 PE3 PE4 PE5 PE6 VBAT PC14 PC15 VSS VDD PH0 NRST PC0 PC1 PC2 PC3 VDD VSSA VREF+ VDDA PA0 PA1 PA2 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 VDD VSS PE1 PE0 PB9 PB8 BOOT0 PB7 PB6 PB5 PB4 PB3 PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 PC12 PC11 PC10 PA15 PA14 26 27 28 29 30 31 32 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 LQFP100 PC13 PH1

Figure 13. STM32F40x LQFP100 pinout

Figure 14. STM32F40x LQFP144 pinout

Figure 15. STM32F40x LQFP176 pinout

Figure 16. STM32F40x UFBGA176 ballout

1514131211109876543
3
21
PA13PA14PA15PC12PD7PB3PB4PG13PG14PB5PB8PE0PE1PE2PE3
PA12PC10PC11PD0PD6PG10PG11PG12PG15PB6PB7PB9PE6PE5PE4
PA11PI2PI3PD1PD5PG9VDDVDDVDDPDR_ONVDDPI5PI6PI7VBAT
PA10PI1PH15PD2PD3PD4VSSVSSVSSBOOT0VSSPI4PI9PI8PC13
PA9PI0PH14PH13PI11PI10PF0PC14
PA8PC9VCAP_2VSSVSSVSSVSSVSSVSSPH2VDDVSSPC15
PC7PC8VDDVSSVSSVSSVSSVSSVSSPH3VDDVSSPH0
PC6PG8VDDVSSVSSVSSVSSVSSVSSPH4PF1PF2PH1
PG6PG7VDDVDDVSSVSSVSSVSSVSSPH5PF4PF3NRST
PG3PG4PG5PH12VSSVSSVSSVSSVSSVDDPF5PF6PF7
PG2PD15PH10PH11BYPASS_
REG
PF8PF9PF10
PD13PD14PH9PH8PH6VCAP_1VSSVSSPG1PB2PC3PC2PC1PC0VSSA
PD10PD11PD12PH7PE13VDDVDDVDDPG0PF13PC4PA4PA0PA1VREF-
PD8PD9PB13PB12PE14PE11PE9PE8PF15PF12PC5PA5PA6PA2VREF+
PB15PB14PB11PB10PE15PE12PE10PE7PF14PF11PB0PB1PA7PA3VDDA
  1. This figure shows the package top view.

Figure 17. STM32F40x WLCSP90 ballout

10987654321
AVBATPC13PDR_ONBOOT0PB4PD7PD4PC12PA14VDD
BPC14PC15VDDPB7PB3PD6PD2PA15PI1VCAP_2
CPA0VSSPB9PB6PD5PD1PC11PI0PA12PA11
DPC2BYPASS_REGPB8PB5PD0PC10PA13PA10PA9PA8
EPC0PC3VSSVSSVDDVSSVDDPC9PC8PC7
FPH0PH1PA1VDDPE10PE14VCAP_1PC6PD14PD15
GNRSTVDDAPA5PB0PE7PE13PE15PD10PD12PD11
HVSSAPA3PA6PB1PE8PE12PB10PD9PD8PB15
JPA2PA4PA7PB2PE9PE11PB11PB12PB14PB13

Table 6. Legend/abbreviations used in the pinout table

NameAbbreviationDefinition
Pin namespecified in brackets below the pin name, the pin function during and after as the actual pin name
SSupply pin
Pin typeIInput only pin
I/OInput / output pin
FT5 V tolerant I/O
I/O structureTTa3.3 V tolerant I/O directly connected to ADC
i/O structureBDedicated BOOT0 pin
RSTBidirectional reset pin with embedded weak pull-up resistor
NotesUnless otherwisespecified by a note, all I/Os are set as floating inputs during and after reset
Alternate functionsFunctions selectedd through GPIOx_AFR registers
Additional functionsFunctions directlyselected/enabled through peripheral registers

Table 7. STM32F40x pin and ball definitions

Pin number
LQFP64WLCSP90LQFP100LQFP144
--11
--22
--33
--44
--55
1A1066
----
2A977
3B1088
4B999
----
----
----
----
----
---10
Pin number
LQFP64WLCSP90LQFP100LQFP144
---11
---12
---13
---14
---15
-C91016
-B81117
---18
---19
---20
---21
---22
5F101223
6F91324
7G101425
8E101526
9-1627
10D101728

Table 7. STM32F40x pin and ball definitions (continued)

Pin number
LQFP64WLCSP90LQFP100LQFP144
11E91829
--1930
12H102031
----
--2132
13G92233
14C102334
15F82435
16J102536
----
----
----
----
Pin number
LQFP64WLCSP90LQFP100LQFP144
17H92637
18E52738
D9
19E42839
20J92940
21G83041
22H83142
23J83243
24-3344
25-3445
26G73546

Table 7. STM32F40x pin and ball definitions (continued)

Pin number
LQFP64WLCSP90LQFP100LQFP144
27H73647
28J73748
---49
---50
---51
---52
---53
---54
---55
---56
---57
-G63858
-H63959
-J64060
---61
---62
-F64163
-J54264
-H54365
-G54466

Table 7. STM32F40x pin and ball definitions (continued)

Pin number
LQFP64WLCSP90LQFP100LQFP144
-F54567
-G44668
29H44769
30J44870
31F44971
32-5072
----
----
----
----
----
----
----
----
----
Pin number
LQFP64WLCSP90LQFP100LQFP144
33J35173
34J15274
35J25375
36H15476
-H25577
-H35678
-G35779
-G15880
-G25981

Table 7. STM32F40x pin and ball definitions (continued)

Pin number
LQFP64WLCSP90LQFP100LQFP144
--6082
---83
---84
-F26185
-F16286
---87
---88
---89
---90
---91
---92
---93
---94
---95
37F36396
38E16497
39E26598
ıPin rnumber
LQFP64WLCSP90LQFP100LQFP144UFBGA176
40E36699F14
41D167100F15
42D268101E15
43D369102D15
44C170103C15
45C271104B15
46D472105A15
47B173106F13
-E774107F12
48E675108G13
----E12
---ıE13
----D13
-C3--E14

Table 7. STM32F40x pin and ball definitions (continued)

FPin rnumberdefinitions (continued)
LQFP64WLCSP90LQFP100LQFP144UFBGA176LQFP176Pin name
(function after
reset) (1)
Pin typeI / O structureNotesAlternate functions
-B2--D14132PI1I/OFTSPI2_SCK / I2S2_CK /
DCMI_D8/ EVENTOUT
-ı1ıC14133PI2I/OFTTIM8_CH4 /SPI2_MISO /
DCMI_D9 / I2S2ext_SD/
EVENTOUT
---1C13134PI3I/OFTTIM8_ETR / SPI2_MOSI /
I2S2_SD / DCMI_D10/
EVENTOUT
----D9135VSSS
----C9136VDDS
49A276109A14137PA14
(JTCK/SWCLK)
I/OFTJTCK-SWCLK/
EVENTOUT
5077110A13138PA15
(JTDI)
I/OFTJTDI/ SPI3_NSS/
I2S3_WS/TIM2_CH1_ET
R / SPI1_NSS /
EVENTOUT
51D578111B14139PC10I/OFTSPI3_SCK / I2S3_CK/
UART4_TX/SDIO_D2 /
DCMI_D8 / USART3_TX/
EVENTOUT
52C479112B13140PC11I/OFTUART4_RX/SPI3_MISO /
SDIO_D3 /
DCMI_D4/USART3_RX /
I2S3ext_SD/ EVENTOUT
53A380113A12141PC12I/OFTUART5_TX/SDIO_CK /
DCMI_D9 / SPI3_MOSI
/I2S3_SD / USART3_CK/
EVENTOUT
-D681114B12142PD0I/OFTFSMC_D2/CAN1_RX/
EVENTOUT
-C582115C12143PD1I/OFTFSMC_D3 / CAN1_TX/
EVENTOUT
54B483116D12144PD2I/OFTTIM3_ETR/UART5_RX/
SDIO_CMD / DCMI_D11/
EVENTOUT
Pin number
LQFP64WLCSP90LQFP100LQFP144
--84117
-A485118
-C686119
---120
---121
-B587122
-A588123
---124
---125
---126
---127
---128
---129
Pin number
LQFP64WLCSP90LQFP100LQFP144
-E8-130
-F7-131
---132
55B689133
56A690134
57D791135
58C792136
59B793137
60A794138
61D895139
62C896140

Table 7. STM32F40x pin and ball definitions (continued)

    1. Function availability depends on the chosen device.
    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. - These I/Os must not be used as a current source (e.g. to drive an LED).
    1. 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.
    1. FT = 5 V tolerant except when in analog mode or oscillator mode (for PC14, PC15, PH0 and PH1).
    1. 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).

Table 8. FSMC pin definition

FSMC
Pins(1)CFNOR/PSRAM/
SRAM
NOR/PSRAM Mux
PE2A23A23
PE3A19A19

Table 8. FSMC pin definition (continued)

FSMC
Pins(1)CFNOR/PSRAM/
SRAM
NOR/PSRAM Mux
PE4A20A20
PE5A21A21
PE6A22A22
PF0A0A0
PF1A1A1
PF2A2A2
PF3A3A3
PF4A4A4
PF5A5A5
PF6NIORD
PF7NREG
PF8NIOWR
PF9CD
PF10INTR
PF12A6A6
PF13A7A7
PF14A8A8
PF15A9A9
PG0A10A10
PG1A11
PE7D4D4DA4
PE8D5D5DA5
PE9D6D6DA6
PE10D7D7DA7
PE11D8D8DA8
PE12D9D9DA9
PE13D10D10DA10
PE14D11D11DA11
PE15D12D12DA12
PD8D13D13DA13
PD9D14D14DA14
PD10D15D15DA15
PD11A16A16

Table 8. FSMC pin definition (continued)

FSMC
Pins(1)CFNOR/PSRAM/
SRAM
NOR/PSRAM Mux
PD12A17A17
PD13A18A18
PD14D0D0DA0
PD15D1D1DA1
PG2A12
PG3A13
PG4A14
PG5A15
PG6
PG7
PD0D2D2DA2
PD1D3D3DA3
PD3CLKCLK
PD4NOENOENOE
PD5NWENWENWE
PD6NWAITNWAITNWAIT
PD7NE1NE1
PG9NE2NE2
PG10NCE4_1NE3NE3
PG11NCE4_2
PG12NE4NE4
PG13A24A24
PG14A25A25
PB7NADVNADV
PE0NBL0NBL0
PE1NBL1NBL1

2. Ports F and G are not available in devices delivered in 100-pin packages.

Table 9. Aternate function mapping
AF0AF1AF2AF3AF4AF5AF6AF7AF8
FortsysTIM1/2TIM3/4/5TIM8/9/10/1
1
I2C1/2/3SPI1/SPI2/
I2S2/I2S2ext
SPI3/I2Sext/
I2S3
USART1/2/3/
I2S3ext
UART4/5/
USART6
PA0TIM2_CH1_E
TR
TIM 5_CH1TIM8_ETRUSART2_CTSUART4_TX
PA1TIM2_CH2TIM5_CH2USART2_RTSUART4_RX
PA2TIM2_CH3TIM5_CH3TIM9_CH1USART2_TX
PA3TIM2_CH4TIM5_CH4TIM9_CH2USART2_RX
PA4SPI1_NSSSPI3_NSS
I2S3_WS
USART2_CK
PA5TIM2_CH1_E
TR
TIM8_CH1NSPI1_SCK
PA6TIM1_BKINTIM3_CH1TIM8_BKINSPI1_MISO
Port APA7TIM1_CH1NTIM3_CH2TIM8_CH1NSPI1_MOSI
PA8MCO1TIM1_CH1I2C3_SCLUSART1_CK
PA9TIM1_CH2I2C3_SMB
A
USART1_TX
PA10TIM1_CH3USART1_RX
PA11TIM1_CH4USART1_CTS
PA12
PA13
PA14
JTMS-
SWDIO
JTCK-
SWCLK
TIM1_ETRUSART1_RTS
PA15JTDITIM 2_CH1
TIM 2_ETR
SPI1_NSSSPI3_NSS/
I2S3_WS

M
Table 9. Alternatte function mapping (continued)
AF0AF1AF2AF3AF4AF5AF6AF7AF8
PortsysTIM1/2TIM3/4/5TIM8/9/10/1
1
I2C1/2/3SPI1/SPI2/
I2S2/I2S2ext
SPI3/I2Sext/
I2S3
USART1/2/3/
I2S3ext
UART4/5/
USART6
PB0TIM1_CH2NTIM3_CH3TIM8_CH2N
PB1
PB2
TIM1_CH3NTIM3_CH4TIM8_CH3N
PB3JTDO/
TRACES
WO
TIM2_CH2SPI1_SCKSPI3_SCK
I2S3_CK
PB4NJTRSTTIM3_CH1SPI1_MISOSPI3_MISOI2S3ext_SD
PB5TIM3_CH2I2C1_SMB
A
SPI1_MOSISPI3_MOSI
I2S3_SD
PB6TIM4_CH1I2C1_SCLUSART1_TX
PB7TIM4_CH2I2C1_SDAUSART1_RX
Port BPB8TIM4_CH3TIM10_CH1I2C1_SCL
PB9TIM4_CH4TIM11_CH1I2C1_SDASPI2_NSS
I2S2_WS
PB10TIM2_CH3I2C2_SCLSPI2_SCK
I2S2_CK
USART3_TX
PB11TIM2_CH4I2C2_SDAUSART3_RX
PB12TIM1_BKINI2C2_SMB
A
SPI2_NSS
I2S2_WS
USART3_CK
PB13TIM1_CH1NSPI2_SCK
I2S2_CK
USART3_CTS
PB14TIM1_CH2NTIM8_CH2NSPI2_MISOI2S2ext_SDUSART3_RTS
PB15RTC_
REFIN
TIM1_CH3NTIM8_CH3NSPI2_MOSI
I2S2_SD
PortAF0AF1AF2AF3AF4AF5AF6AF7AF8AF9AF10AF11AF12AF13AF14AF15
SYSTIM1/2TIM3/4/5TIM8/9/10/11I2C1/2/3SPI1/SPI2/I2S2/I2S2extSPI3/I2Sext/I2S3USART1/2/3/I2S3extUART4/
SYSTIM1/2TIM3/4/5TIM8/9/10/11I2C1/2/3SPI1/SPI2/I2S2/I2S2extSPI3/I2Sext/I2S3USART1/2/3/I2S3extUART4/5/USART6CAN1/CAN2/TIM12/13/14OTG_FS/OTG_HSETHFSMC/SDIO/OTG_FSDCMIEVENTOUT
PB0TIM1_CH2NTIM3_CH3TIM8_CH2NOTG_HS_ULPI_D1ETH_MII_RXD2EVENTOUT
PB1TIM1_CH3NTIM3_CH4TIM8_CH3NOTG_HS_ULPI_D2ETH_MII_RXD3EVENTOUT
PB2JTDO/TRACESWOTIM2_CH2SPI1_SCKSPI3_SCKEVENTOUT
PB3NJTRSTTIM2_CH1SPI1_MOSISPI3_MOSII2S3ext_SDEVENTOUT
PB4NJTRSTTIM3_CH1SPI1_MISOSPI3_MISOI2S3ext_SDEVENTOUT
PB5TIM3_CH2I2C1_SMB_ASPI1_MOSISPI3_MOSIEVENTOUT
PB6TIM4_CH1I2C1_SCLUSART1_TXCAN2_RXOTG_HS_ULPI_D7ETH_PPS_OUTDCMI_D10EVENTOUT
PB7TIM4_CH2I2C1_SDAUSART1_RXCAN2_TXFSMC_NLDCMI_VSYNCEVENTOUT
PB8TIM4_CH3TIM10_CH1I2C1_SCLCAN1_RXETH_MII_TXD3SDIO_D4DCMI_D8EVENTOUT
PB9TIM4_CH4TIM11_CH1I2C1_SDASPI2_NSSCAN1_TXSDIO_D5DCMI_D7EVENTOUT
PB10TIM2_CH3I2C2_SCLSPI2_SCKUSART3_TXOTG_HS_ULPI_D3ETH_MII_RX_EREVENTOUT
PB11TIM2_CH4I2C2_SDAUSART3_RXOTG_HS_ULPI_D4ETH_MII_TX_ENEVENTOUT
PB0TIM1_CH2NTIM3_CH3TIM8_CH2NOTG_HS_ULPI_D1ETH_MII_RXD2EVENTOUT
PB1TIM1_CH3NTIM3_CH4TIM8_CH
PB12TIM1_BKINI2C2_SMB_ASPI2_NSSUSART3_CKCAN2_RXOTG_HS_ULPI_D5ETH_MII_TXD0OTG_HS_IDEVENTOUT
PB13TIM1_CH1NSPI2_SCKUSART3_CTSCAN2_TXOTG_HS_ULPI_D6ETH_MII_TXD1OTG_HS_DMEVENTOUT
PB14TIM1_CH2NTIM8_CH2NSPI2_MISOI2S2ext_SDUSART3_RTSTIM12_CH1OTG_HS_DPEVENTOUT
PB15RTC_REFINTIM1_CH3NTIM8_CH3NSPI2_MOSII2S2_SDTIM12_CH2EVENTOUT

Table 9. Alternate function mapping (continued) AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 AF10 AF11 AF12 AF13 Port AF14 AF15 CAN1/ OTG_FS/ OTG_HS TIM8/9/10/1 SPI1/SPI2/ SPI3/I2Sext/ USART1/2/3/ UART4/5/ FSMC/SDIO/ SYS TIM1/2 TIM3/4/5 I2C1/2/3 CAN2/ ETH DCMI 12S2/12S2ext 1253 12S3ext USART6 OTG_FS TIM12/13/14 PD0 CAN1_RX FSMC_D2 EVENTOUT PD1 CAN1_TX FSMC_D3 EVENTOUT PD2 TIM3_ETR UART5_RX SDIO_CMD DCMI_D11 EVENTOUT PD3 USART2_CTS FSMC_CLK EVENTOUT USART2_RTS PD4 FSMC_NOE EVENTOUT PD5 USART2 TX FSMC NWE EVENTOUT PD6 USART2_RX FSMC_NWAIT EVENTOUT FSMC_NE1/ FSMC_NCE2 PD7 USART2_CK EVENTOUT Port D USART3 TX FSMC D13 EVENTOUT PD8 USART3_RX FSMC_D14 EVENTOUT PD9 FSMC D15 EVENTOUT PD10 USART3 CK FSMC_A16 USART3_CTS EVENTOUT PD11 PD12 TIM4_CH1 USART3_RTS FSMC_A17 EVENTOUT PD13 FSMC_A18 EVENTOUT TIM4_CH2 PD14 TIM4_CH3 FSMC_D0 EVENTOUT PD15 TIM4 CH4 FSMC D1 EVENTOUT

DocID022152 Rev 4

Pinouts and pin description

PortAF0AF1AF2AF3AF4AF5AF6AF7AF8AF9AF10AF11AF12AF13AF14AF15
PA0TIM2_CH1_ETRTIM5_CH1TIM8_ETRUSART2_CTSUART4_TXETH_MII_CRSEVENTOUT
PA1TIM2_CH2TIM5_CH2USART2_RTSUART
Table 9. Alternate function mapping (continued)
AF0AF1AF2AF3AF4AF5AF6AF7AF8
Port
PG0
PG1
PG2
PG3
PG4
PG5
PG6
PG7
PG8
sysTIM1/2TIM3/4/5TIM8/9/10/1
1
I2C1/2/3SPI1/SPI2/
I2S2/I2S2ext
SPI3/I2Sext/
I2S3
USART1/2/3/
I2S3ext
UART4/5/
USART6
USART6_CK
USART6_
RTS
Port GPG9
PG10
PG11
PG12
PG13
PG14
PG15
Table 9. Alternate function mappinUSART6_RX
USART6_
RTS
UART6_CTS
USART6_TX
USART6_
CTS
g (continued)
AF0AF1AF2AF3AF4AF5AF6AF7AF8
Port
PH0
PH1
PH2
PH3
PH4
PH5
PH6
sysTIM1/2TIM3/4/5TIM8/9/10/1
1
I2C1/2/3
I2C2_SCL
I2C2_SDA
I2C2_SMB
A
SPI1/SPI2/
I2S2/I2S2ext
SPI3/I2Sext/
I2S3
USART1/2/3/
I2S3ext
UART4/5/
USART6
Port HPH7I2C3_SCL
roitiiPH8
PH9
PH10
PH11
PH12
TIM5_CH1
TIM5_CH2
TIM5_CH3
I2C3_SDA
I2C3_SMB
A
PH13
PH14
PH15
TIM8_CH1N
TIM8_CH2N
TIM8_CH3N
-
  • cID02
  • 22152
  • 2 Re√
  • 4

68/185

1Table 9. Alternate function mapping (continued)
AF0AF1AF2AF3AF4AF5AF6AF7AF8
Port
PI0
PI1
sysTIM1/2TIM3/4/5
TIM5_CH4
TIM8/9/10/1
1
I2C1/2/3SPI1/SPI2/
I2S2/I2S2ext
SPI2_NSS
I2S2_WS
SPI2_SCK
I2S2_CK
SPI3/I2Sext/
I2S3
USART1/2/3/
I2S3ext
UART4/5/
USART6
PI2
PI3
PI4
TIM8_CH4
TIM8_ETR
TIM8_BKIN
SPI2_MISO
SPI2_MOSI
I2S2_SD
I2S2ext_SD
Port IPI5
PI6
PI7
PI8
PI9
PI10
PI11
TIM8_CH1
TIM8_CH2
TIM8_CH3

Electrical Characteristics

The definition and values of input/output AC characteristics are given in Figure 37 and Table 49, respectively.

2. The $I_{|O}$ current sunk by the device must always respect the absolute maximum rating specified in Table 12 and the sum of $I_{|O}$ (I/O ports and control pins) must not exceed $I_{VSS}$ .

3. The $I_{\rm IO}$ current sourced by the device must always respect the absolute maximum rating specified in Table 12 and the sum of $I_{\rm IO}$ (I/O ports and control pins) must not exceed $I_{\rm VDD}$ .

4. Based on characterization data, not tested in production.

Unless otherwise specified, the parameters given in Table 49 are derived from tests performed under the ambient temperature and $V_{DD}$ supply voltage conditions summarized in Table 14.

Table 49. I/O AC characteristics(1)(2)(3)

OSPEEDRy
[1:0] bit
value (1)
SymbolParameterConditionsMinTypMaxUnit
$C_L = 50 \text{ pF}, V_{DD} > 2.70 \text{ V}--2
£ .Maximum frequency (4)C L = 50 pF, V DD > 1.8 V--2MHz
f max(IO)outwaximum requericy.C L = 10 pF, V DD > 2.70 V--TBDIVITZ
00C L = 10 pF, V DD > 1.8 V--TBD
t f(IO)outOutput high to low level fall timeC L = 50 pF, V DD = 1.8 V to--TBDns
t r(IO)outOutput low to high level rise time3.6 V--TBD115
C L = 50 pF, V DD > 2.70 V--25
fMaximum frequency (4)C L = 50 pF, V DD > 1.8 V--12.5 (5)MHz
01f max(IO)outwaximum frequency.C L = 10 pF, V DD > 2.70 V--50 (5)1911 12
C L = 10 pF, V DD > 1.8 V--TBD
01Output high to low level fallC L = 50 pF, V DD < 2.7 V--TBD
t f(IO)outtimeC L = 10 pF, V DD > 2.7 V--TBDno
Output low to high level riseC L = 50 pF, V DD < 2.7 V--TBDns
t r(IO)outtimeC L = 10 pF, V DD > 2.7 V--TBD
C L = 40 pF, V DD > 2.70 V--50 (5)
£ .Maximum frequency (4)C L = 40 pF, V DD > 1.8 V--25MHz
f max(IO)outwaximum frequency.C L = 10 pF, V DD > 2.70 V--100 (5)IVIITZ
C L = 10 pF, V DD > 1.8 V--TBD
10t f(IO)outOutput high to low level fall timeC L = 50 pF,
2.4 < V DD < 2.7 V
--TBD
, , , , , , , , , , , , , , , , , , , ,uneC L = 10 pF, V DD > 2.7 V--TBDns
t r(IO)outOutput low to high level rise timeC L = 50 pF,
2.4 < V DD < 2.7 V
C L = 10 pF, V DD > 2.7 V
--
-
TBD
TBD
OSPEEDRy
[1:0] bit
value(1)
SymbolParameterConditionsMinTypMaxUnit
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Maximum frequency(4)CL = 30 pF, VDD > 2.70 V--100(5)
11Fmax(IO)ouCL = 30 pF, VDD > 1.8 V--50(5)
tCL = 10 pF, VDD > 2.70 V--200(5)MHz
CL = 10 pF, VDD > 1.8 V--TBD
tf(IO)outOutput high to low level fall
time
CL = 20 pF,
2.4 < VDD < 2.7 V
--TBD
CL = 10 pF, VDD > 2.7 V--TBD
tr(IO)outOutput low to high level rise
time
CL = 20 pF,
2.4 < VDD < 2.7 V
--TBDns
CL = 10 pF, VDD > 2.7 V--TBD
-tEXTIpwPulse width of external
signals detected by the EXTI
controller
10--ns

Table 49. I/O AC characteristics(1)(2)(3) (continued)

    1. TBD stands for "to be defined".
    1. The maximum frequency is defined in Figure 37.
    1. For maximum frequencies above 50 MHz, the compensation cell should be used.

ai14131 10% 90% 50% t r(IO)out OUTPUT EXTERNAL ON 50pF Maximum frequency is achieved if (tr + tf ) ≤ 2/3)T and if the duty cycle is (45-55%) 10% 50% 90% when loaded by 50pF T t r(IO)out

Figure 37. I/O AC characteristics definition

Absolute Maximum Ratings

Stresses above the absolute maximum ratings listed in Table 11: Voltage characteristics, Table 12: Current characteristics, and Table 13: Thermal characteristics may cause permanent damage to the device. These are stress ratings only and functional operation of the device at these conditions is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability.

SymbolRatingsMinMaxUnit
VDD–VSS(1)
External main supply voltage (including VDDA, VDD)
–0.34.0
Input voltage on five-volt tolerant pin(2)VSS–0.3VDD+4V
VINInput voltage on any other pinVSS–0.34.0
ΔVDDxVariations between different VDD power pins-50
VSSX - VSSVariations between all the different ground pins-
50
mV
VESD(HBM)Electrostatic discharge voltage (human body model)see Section 5.3.14:
Absolute maximum
ratings (electrical
sensitivity)

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.

Symbol Ratings Max. Unit Total current into VDD power lines (source)(1) 150 IVDD Total current out of VSS ground lines (sink)(1) 150 IVSS Output current sunk by any I/O and control pin I10 Output current source by any I/Os and control pin 25 mΑ Injected current on five-volt tolerant I/O(3) -5/+0 IINJ(PIN)(2) Injected current on any other pin(4) ±5 Sigma IINJ(PIN)(4) Total injected current (sum of all I/O and control pins)(5) ±25

Table 12. Current characteristics

    1. All main power ( VDD , VDDA ) and ground ( VSS , VSSA ) pins must always be connected to the external power supply, in the permitted range.
  • Negative injection disturbs the analog performance of the device. See note in Section 5.3.20: 12-bit ADC characteristics.
    1. 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.
  • 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.
  • 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).

Table 13. Thermal characteristics

| Symbol | Ratings | Value | Unit | | V12 | Regulator ON :
1.2 V internal voltage on
VCAP_1/VCAP_2 pins | VOS bit in PWR_CR register = 0(1)
Max frequency 144MHz | 1.08 | 1.14 | 1.20 | V | | | | VOS bit in PWR_CR register=1
Max frequency 168MHz | 1.20 | 1.26 | 1.32 | | | | Regulator OFF:
1.2 V external voltage must be
supplied from external regulator
on VCAP_1/VCAP_2 pins | Max frequency 144MHz | 1.10 | 1.14 | 1.20 | | | | | Max frequency 168MHz | 1.20 | 1.26 | 1.30 | | | VIN | Input voltage on RST and FT pins(6) | 2 V ≤ VDD ≤ 3.6 V | -0.3 | - | 5.5 | V | | | | VDD ≤ 2 V | -0.3 | - | 5.2 | | | | Input voltage on TTa pins | | -0.3 | - | VDDA+
0.3 | | | | Input voltage on B pin | | - | - | 5.5 | | | PD | Power dissipation at TA = 85 °C
for suffix 6 or TA = 105 °C for
suffix 7(7) | LQFP64 | - | - | 435 | mW | | | | LQFP100 | - | - | 465 | | | | | LQFP144 | - | - | 500 | | | | | LQFP176 | - | - | 526 | | | | | UFBGA176 | - | - | 513 | | | | | WLCSP90 | - | - | 543 | | | TA | Ambient temperature for 6 suffix
version | Maximum power dissipation | -40 | - | 85 | °C | | | | Low power dissipation(8) | -40 | - | 105 | | | | Ambient temperature for 7 suffix
version | Maximum power dissipation | -40 | - | 105 | | | | | Low power dissipation(8) | -40 | - | 125 | | | TJ | Junction temperature range | 6 suffix version | -40 | - | 105 | °C | | | | 7 suffix version | -40 | - | 125 | | |---|---|---|---| | TSTG | Storage temperature range | -65 to +150 | °C | | TJ | Maximum junction temperature | 125 | °C |

Thermal Information

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 represents the maximum power dissipation on output pins where:PI/O$ max = $\Sigma (V_{OL} \times I_{OL}) + \Sigma ((V_{DD} - V_{OH}) \times I_{OH}),

taking into account the actual VOL / IOL and VOH / IOH of the I/Os at low and high level in the application.

  • Symbol Parameter Value Unit
  • Thermal resistance junction-ambient
    LQFP64 - 10 × 10 mm / 0.5 mm pitch 46
  • Thermal resistance junction-ambient
    LQFP100 - 14 × 14 mm / 0.5 mm pitch 43
  • Thermal resistance junction-ambient
    LQFP144 - 20 × 20 mm / 0.5 mm pitch 40
  • ΘJA Thermal resistance junction-ambient
    LQFP176 - 24 × 24 mm / 0.5 mm pitch 38 °C/W
  • Thermal resistance junction-ambient
    UFBGA176 - 10× 10 mm / 0.65 mm pitch 39
  • Thermal resistance junction-ambient
    WLCSP90 - 0.400 mm pitch 38.1

Table 96. Package thermal characteristics

Reference document

JESD51-2 Integrated Circuits Thermal Test Method Environment Conditions - Natural Convection (Still Air). Available from www.jedec.org.

Package Information

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.

Figure 76. WLCSP90 - 0.400 mm pitch wafer level chip size package outline

Table 90. WLCSP90 - 0.400 mm pitch wafer level chip size package mechanical data

millimetersinches(1)
SymbolMinTypMaxMinTyp
A0.5200.5700.6200.02050.0224
A10.1650.1900.2150.00650.0075
A20.3500.3800.4100.01380.015
b0.2400.2700.3000.00940.0106
D4.1784.2184.2580.16450.1661
E3.9643.9694.0040.15610.1563
e0.4000.0157
e13.6000.1417
e23.2000.126
F0.3120.0123
G0.3850.0152
eee0.050

1. Values in inches are converted from mm and rounded to 4 decimal digits.

Figure 77. LQFP64 – 10 x 10 mm 64 pin low-profile quad flat package outline

Table 91. LQFP64 – 10 x 10 mm 64 pin low-profile quad flat package mechanical data

millimetersinches(1)
SymbolMinTypMaxMinTyp
A1.600
A10.0500.1500.0020
A21.3501.4001.4500.05310.0551
b0.1700.2200.2700.00670.0087
c0.0900.2000.0035
D12.0000.4724
D110.0000.3937
E12.0000.4724
E110.0000.3937
e0.5000.0197
θ3.5°3.5°
L0.4500.6000.7500.01770.0236
L11.0000.0394
NNumber of pins64

Figure 78. LQFP64 recommended footprint

    1. Drawing is not to scale.
    1. Dimensions are in millimeters.

Figure 79. LQFP100, 14 x 14 mm 100-pin low-profile quad flat package outline

Table 92. LQPF100 – 14 x 14 mm 100-pin low-profile quad flat package mechanical data(1)

millimetersinches
SymbolMinTypMaxMinTyp
A1.600
A10.0500.1500.0020
A21.3501.4001.4500.05310.0551
b0.1700.2200.2700.00670.0087
c0.0900.2000.0035
D15.80016.00016.2000.62200.6299
D113.80014.00014.2000.54330.5512
D312.0000.4724
E15.80v16.00016.2000.62200.6299
E113.80014.00014.2000.54330.5512
E312.0000.4724
e0.5000.0197
L0.4500.6000.7500.01770.0236
L11.0000.0394
k3.5°3.5°
ccc0.080

1. Values in inches are converted from mm and rounded to 4 decimal digits.

Figure 80. LQFP100 recommended footprint

    1. Drawing is not to scale.
    1. Dimensions are in millimeters.

Figure 81. LQFP144, 20 x 20 mm, 144-pin low-profile quad flat package outline

Table 93. LQFP144, 20 x 20 mm, 144-pin low-profile quad flat package mechanical data

millimetersinches(1)
SymbolMinTypMaxMinTyp
A1.600
A10.0500.1500.0020
A21.3501.4001.4500.05310.0551
b0.1700.2200.2700.00670.0087
c0.0900.2000.0035
D21.80022.00022.2000.85830.8661
D119.80020.00020.2000.77950.7874
D317.5000.689
E21.80022.00022.2000.85830.8661
E119.80020.00020.2000.77950.7874
E317.5000.6890
e0.5000.0197
L0.4500.6000.7500.01770.0236
L11.0000.0394
millimetersinches(1)
SymbolMinTypMaxMinTyp
k3.5°3.5°
ccc0.080

1. Values in inches are converted from mm and rounded to 4 decimal digits.

Figure 82. LQFP144 recommended footprint 0.5 0.35 19.9 17.85 22.6 1.35 19.9 1 36 37 72 108 73 109 144

22.6

    1. Drawing is not to scale.
    1. Dimensions are in millimeters.

ai14905c

C Seating plane

A2

A1 ball A1 ball identifier index area

A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Figure 83. UFBGA176+25 - ultra thin fine pitch ball grid array10 \times 10 \times 0.6$ mm, package outline

Table 94. UFBGA176+25 - ultra thin fine pitch ball grid array $10 \times 10 \times 0.6mm mechanical data

Oranah admillimetersinches (1)
SymbolMinTypMaxMin
Α0.4600.5300.6000.0181
A10.0500.0800.1100.002
A20.4000.4500.5000.0157
b0.2300.2800.3300.0091
D9.90010.00010.1000.3898
E9.90010.00010.1000.3898
e0.650
F0.4250.4500.4750.0167
ddd0.080
eee0.150
fff0.080

1. Values in inches are converted from mm and rounded to 4 decimal digits.

Figure 84. LQFP176 24 x 24 mm, 176-pin low-profile quad flat package outline

Table 95. LQFP176, 24 x 24 mm, 176-pin low-profile quad flat package mechanical data

Symbolmillimetersinches(1)
MinTypMaxMinTyp
A1.600
A10.0500.1500.0020
A21.3501.4500.0531
b0.1700.2700.0067
C0.0900.2000.0035
D23.90024.1000.9409
E23.90024.1000.9409
e0.5000.0197
HD25.90026.1001.0200
HE25.90026.1001.0200
L0.4500.7500.0177
L11.0000.0394
ZD1.2500.0492
ZE1.2500.0492
millimetersinches(1)
Symbol
Min
MaxMin
ccc0.080
k0 °7 °0 °

1. Values in inches are converted from mm and rounded to 4 decimal digits.

Figure 85. LQFP176 recommended footprint

  1. Dimensions are expressed in millimeters.

Related Variants

The following components are covered by the same datasheet.

Part NumberManufacturerPackage
STM32F405OESTMicroelectronics
STM32F405OGSTMicroelectronics
STM32F405RGSTMicroelectronics
STM32F405RGT6STMicroelectronics64-LQFP
STM32F405VGSTMicroelectronics
STM32F405ZGSTMicroelectronics
STM32F407IESTMicroelectronics
STM32F407IGSTMicroelectronics
STM32F407IXSTMicroelectronics
STM32F407VESTMicroelectronics
STM32F407VET6STMicroelectronicsLQFP-100(14x14)
STM32F407VGSTMicroelectronics
STM32F407VXSTMicroelectronics
STM32F407XXSTMicroelectronics
STM32F407ZESTMicroelectronics
STM32F407ZGSTMicroelectronics
STM32F407ZXSTMicroelectronics
STM32F4XXSTMicroelectronics
Data on this page is extracted from publicly available manufacturer datasheets using automated tools including AI. It may contain errors or omissions. Always verify specifications against the official manufacturer datasheet before making design or purchasing decisions. See our Terms of Service. Rights holders can submit a takedown request.

Get structured datasheet data via API

Get started free