STM 32 F 412 Ce
STM 32 F 412 Ce
Features UFBGA
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.1 Compatibility with STM32F4 series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3 Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.1 Arm® Cortex®-M4 with FPU core with embedded Flash and SRAM . . . . 18
3.2 Adaptive real-time memory accelerator (ART Accelerator™) . . . . . . . . . 18
3.3 Batch Acquisition mode (BAM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.4 Memory protection unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.5 Embedded Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.6 One-time programmable bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.7 CRC (cyclic redundancy check) calculation unit . . . . . . . . . . . . . . . . . . . 19
3.8 Embedded SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.9 Multi-AHB bus matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.10 DMA controller (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.11 Flexible static memory controller (FSMC) . . . . . . . . . . . . . . . . . . . . . . . . 21
3.12 Quad-SPI memory interface (QUAD-SPI) . . . . . . . . . . . . . . . . . . . . . . . . 21
3.13 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . . 22
3.14 External interrupt/event controller (EXTI) . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.15 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.16 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.17 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.18 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.18.1 Internal reset ON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.18.2 Internal reset OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.19 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.19.1 Regulator ON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.19.2 Regulator OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.19.3 Regulator ON/OFF and internal reset ON/OFF availability . . . . . . . . . . 30
3.20 Real-time clock (RTC) and backup registers . . . . . . . . . . . . . . . . . . . . . . 30
3.21 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5 Memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
6 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
6.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
6.1.1 Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
6.1.2 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
6.1.3 Typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
6.1.4 Loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
6.1.5 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
6.1.6 Power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
6.1.7 Current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
6.2 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
6.3 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
6.3.1 General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
6.3.2 VCAP_1/VCAP_2 external capacitors . . . . . . . . . . . . . . . . . . . . . . . . . . 84
6.3.3 Operating conditions at power-up/power-down (regulator ON) . . . . . . . 84
6.3.4 Operating conditions at power-up / power-down (regulator OFF) . . . . . 85
6.3.5 Embedded reset and power control block characteristics . . . . . . . . . . . 85
6.3.6 Supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
6.3.7 Wakeup time from low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . 104
6.3.8 External clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 106
6.3.9 Internal clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 110
6.3.10 PLL characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
6.3.11 PLL spread spectrum clock generation (SSCG) characteristics . . . . . 114
6.3.12 Memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
6.3.13 EMC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
6.3.14 Absolute maximum ratings (electrical sensitivity) . . . . . . . . . . . . . . . . 120
6.3.15 I/O current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
6.3.16 I/O port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
6.3.17 NRST pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
6.3.18 TIM timer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
6.3.19 Communications interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
6.3.20 12-bit ADC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
6.3.21 Temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
6.3.22 VBAT monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
6.3.23 Embedded reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
6.3.24 DFSDM characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
List of tables
List of figures
Figure 45. USB OTG FS timings: definition of data signal rise and fall time . . . . . . . . . . . . . . . . . . . 139
Figure 46. ADC accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Figure 47. Typical connection diagram using the ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Figure 48. Power supply and reference decoupling (VREF+ not connected to VDDA). . . . . . . . . . . . . 145
Figure 49. Power supply and reference decoupling (VREF+ connected to VDDA). . . . . . . . . . . . . . . . 146
Figure 50. Asynchronous non-multiplexed SRAM/PSRAM/NOR read waveforms . . . . . . . . . . . . . . 150
Figure 51. Asynchronous non-multiplexed SRAM/PSRAM/NOR write waveforms . . . . . . . . . . . . . . 152
Figure 52. Asynchronous multiplexed PSRAM/NOR read waveforms. . . . . . . . . . . . . . . . . . . . . . . . 153
Figure 53. Asynchronous multiplexed PSRAM/NOR write waveforms . . . . . . . . . . . . . . . . . . . . . . . 155
Figure 54. Synchronous multiplexed NOR/PSRAM read timings . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Figure 55. Synchronous multiplexed PSRAM write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Figure 56. Synchronous non-multiplexed NOR/PSRAM read timings . . . . . . . . . . . . . . . . . . . . . . . . 161
Figure 57. Synchronous non-multiplexed PSRAM write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Figure 58. SDIO high-speed mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Figure 59. SD default mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Figure 60. WLCSP64 - Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Figure 61. WLCSP64 - Footprint example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Figure 62. WLCSP64 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Figure 63. UFQFPN48 – Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Figure 64. UFQFPN48 – Footprint example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Figure 65. UFQFPN48 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Figure 66. LQFP64 - Outline(15) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Figure 67. LQFP64 - Footprint example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Figure 68. LQFP64 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Figure 69. LQFP100 - Outline(15) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Figure 70. LQFP100 - Footprint example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Figure 71. LQFP100 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Figure 72. LQFP144 - Outline(15) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Figure 73. LQFP144 - Footprint example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Figure 74. LQFP144 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Figure 75. UFBGA100 - Outline(13) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Figure 76. UFBGA100 - Footprint example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Figure 77. UFBGA100 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Figure 78. UFBGA144 - Outline(13) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Figure 79. UFBGA144 - Footprint example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
Figure 80. UFBGA144 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
Figure 81. USB controller configured as peripheral-only and used in Full speed mode . . . . . . . . . . 196
Figure 82. USB peripheral-only Full speed mode with direct connection
for VBUS sense . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Figure 83. USB peripheral-only Full speed mode, VBUS detection using GPIO . . . . . . . . . . . . . . . . 197
Figure 84. USB controller configured as host-only and used in full speed mode. . . . . . . . . . . . . . . . 197
Figure 85. USB controller configured in dual mode and used in full speed mode . . . . . . . . . . . . . . . 198
Figure 86. Sensor Hub application example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
Figure 87. Display application example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
1 Introduction
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
2 Description
STM32F412XE/G devices are based on the high-performance Arm® Cortex® -M4 32-bit
RISC core operating at a frequency of up to 100 MHz. Their 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.
STM32F412XE/G devices belong to the STM32 Dynamic Efficiency™ product line (with
products combining power efficiency, performance and integration) while adding a new
innovative feature called Batch Acquisition Mode (BAM) allowing even more power
consumption saving during data batching.
STM32F412XE/G devices incorporate high-speed embedded memories (up to 1 Mbyte of
Flash memory, 256 Kbytes of 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 one 12-bit ADC, a low-power RTC, twelve general-purpose 16-bit timers,
two PWM timers for motor control and two general-purpose 32-bit timers.
They also feature standard and advanced communication interfaces:
- Up to four I2Cs, including one I2C supporting Fast-Mode Plus
- Five SPIs
- Five I2Ss of which two are 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
- An SDIO/MMC interface
- A USB 2.0 OTG full-speed interface
- Two CANs.
In addition, STM32F412xE/G devices embed advanced peripherals:
- A flexible static memory controller interface (FSMC)
- A Quad-SPI memory interface
- A digital filter for sigma modulator (DFSDM), two filters, up to four inputs, and support of
microphone MEMs.
STM32F412xE/G devices are offered in 7 packages ranging from 48 to 144 pins. The set of
available peripherals depends on the selected package.
The STM32F412xE/G operates in the -40 to +125 °C temperature range from a 1.7 (PDR
OFF) to 3.6 V power supply. A comprehensive set of power-saving modes allows the design
of low-power applications.
These features make the STM32F412xE/G microcontrollers suitable for a wide range of
applications:
- 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
- Mobile phone sensor hub
- Wearable devices
- Connected objects
- Wifi modules
12-bit ADC 1
Number of channels 10 16 10 16
Maximum CPU frequency 100 MHz
Operating voltage 1.7 to 3.6 V
Ambient temperatures: -40 to +85 °C / -40 to +105 °C/ -40 to +125 °C
Operating temperatures
Junction temperature: -40 to +130 °C
UFBGA UFBGA LQFP64 UFBGA UFBGA
UFQ LQFP64 UFQ
Package 100 144 WLCSP 100 144
FPN48 WLCSP64 FPN48
LQFP100 LQFP144 64 LQFP100 LQFP144
1. The FSMC can also be used to interface most graphic LCD controllers.
2. Limited application for the USART3 since RX is not available for the UFQFPN48.
STM32F401xx
STM32F411xx
STM32F412xx
STM32F405/STM32F415 line
STM32F446xx
STM32F407/STM32F417 line 58 PD11 58 PD11
STM32F427/STM32F437 line 57 PD10 57 PD10
STM32F429/STM32F439 line 56 PD9 56 PD9
55 PD8 PB11 not available anymore 55 PD8
54 PB15 Replaced by V CAP_1 54 PB15
53 PB14 53 PB14
52 PB13 52 PB13
51 PB12 51 PB12
41
42
43
44
45
46
47
48
49
50
48
49
41
42
43
44
45
46
47
50
VCAP_1
VCAP_1
VDD
PE10
PE12
PE13
PE14
PE15
PB10
PE11
PB11
VDD
PE10
PE12
PE13
PE14
PE15
PB10
VSS
PE11
VSS VDD
VSS VDD
MSv37802V2
STM32F401xx
STM32F410xx
STM32F411xx
STM32F412xx
670)670)OLQH STM32F446xx
PC12
PC10
PC12
PC10
PC11
PC11
PA15
PA14
PA15
PA14
53 525150 49 53 525150 49
48 VDD VDD 48 VDD VDD
47 VCAP_2 47 VSS
46 PA13 46 PA13
45 PA12 45 PA12
44 PA11 44 PA11
43 PA10 43 PA10
42 PA9 42 PA9 VSS
VSS
41 PA8 41 PA8
40 PC9 40 PC9
39 PC8 39 PC8
38 PC7 38 PC7
37 PC6 37 PC6
3%QRWDYDLODEOHDQ\PRUH
36 PB15 36 PB15
35 PB14 5HSODFHGE\9CAP_1 35 PB14
34 PB13 34 PB13
33 PB12 33 PB12
28 2930 3132 28 2930 3132
PB2
PB10
VCAP_1
VDD
PB11
PB2
PB10
VCAP_1
VSS
VDD
VCAP_1 increased to 4.7 μf
(65RUEHORZ
VSS VDD V S S V DD
MSv37803V2
STM32F405/STM32F415 line
STM32F407/STM32F417 line STM32F412xx
STM32F427/STM32F437 line STM32F446xx
STM32F429/STM32F439 line
PC12
PC10
PC12
PC10
PC11
PC11
PA15
PA14
PA15
PA14
PD1
PD0
PD1
PD0
109
109
115
114
113
112
110
115
114
113
112
110
111
111
MSv39446V1
AHB3
JTRST, JTDI, D[16:0], NOEN, NWEN,
JTAG & SW MPU/FPU SRAM, PSRAM NBL[1:0], NWAIT
JTCK/SWCLK
JTDO/SWD, JTDO ETM NVIC Quad-SPI CLK, CSA, CSB, D[7:0]
TRACECLK
TRACED[3:0] I-BUS 256 KB SRAM1
ARM Cortex-M4
Cortex-M4
ACCEL/
CACHE
Up to 1MB Flash
memory
RNG
AHB2 100MHz @VDD @VDDUSB
D+
FIFO
PHY
8 Streams USB
DMA2 D-
FIFO OTG FS SCL, SDA, INT, ID, VBUS
AHB1PCLK
HCLK
APB2CLK
APB1CLK
AHB2PCLK
OSC32_IN
LS XTAL 32 kHz OSC32_OUT
RTC
AWU ALARM_OUT
Backup register
STAMP1
LS
CRC
TIM2 32b 4 channels as AF
VDDREF_ADC U S AR T 2 Msensor
Temperature Bps
CAN1 TX, RX
FIFO
MSv37275V3
1. The timers connected to APB2 are clocked from TIMxCLK up to 100 MHz, while the timers connected to APB1 are clocked
from TIMxCLK up to 50 MHz.
3 Functional overview
3.1 Arm® Cortex®-M4 with FPU core with embedded Flash and
SRAM
The Arm® Cortex®-M4 with FPU processor is the latest generation of Arm processors for
embedded systems. It was developed to provide a low-cost platform that meets the needs of
MCU implementation, with a reduced pin count and low-power consumption, while
delivering outstanding computational performance and an advanced response to interrupts.
The Arm® Cortex®-M4 with FPU 32-bit RISC processor features exceptional code-
efficiency, delivering the high-performance expected from an Arm core in the memory size
usually associated with 8- and 16-bit devices.
The processor supports a set of DSP instructions which allow efficient signal processing and
complex algorithm execution.
Its single precision FPU (floating point unit) speeds up software development by using
metalanguage development tools, while avoiding saturation.
The STM32F412xE/G devices are compatible with all Arm tools and software.
Figure 4 shows the general block diagram of the STM32F412xE/G.
Note: Cortex®-M4 with FPU is binary compatible with Cortex®-M3.
ARM GP GP
Cortex-M4 DMA1 DMA2
DMA_MEM1
DMA_MEM2
DMA_P2
DMA_PI
D-bus
S-bus
I-bus
S0 S1 S2 S3 S4 S5
M0 ICODE
ACCEL
Flash
Up to 1MB
M1 DCODE
SRAM1
M2
256 KB
M3 AHB APB1
periph. 1
M4 AHB APB2
periph. 2
FSMC external
M5 MemCtrl/
Bus matrix-S QuadSPI
MSv37276V1
UFQFPN48 Y - - Y - Y Y Y - - Y Y
WLCSP64 Y - - Y - Y Y Y Y - Y Y
LQFP64 Y - - Y - Y Y Y Y - Y Y
LQFP100 Y Y - Y - Y Y Y Y Y Y Y
LQFP144 Y Y Y Y Y Y Y Y Y Y Y Y
UFBGA100 Y Y Y Y - Y Y Y Y Y Y Y
UFBGA144 Y Y Y Y Y Y Y Y Y Y Y Y
For more detailed information on the bootloader, refer to Application Note: AN2606,
STM32™ microcontroller system memory boot mode.
it is independent from VDD or VDDA but it must be the last supply to be provided and the
first to disappear.
The following conditions VDDUSB must be respected:
– During power-on phase (VDD < VDD_MIN), VDDUSB should be always lower than
VDD
– During power-down phase (VDD < VDD_MIN), VDDUSB should be always lower than
VDD
– VDDUSB rising and falling time rate specifications must be respected.
– In operating mode phase, VDDUSB could be lower or higher than VDD:
– If USB is used, the associated GPIOs powered by VDDUSB are operating
between VDDUSB_MIN and VDDUSB_MAX.
– If USB is not used, the associated GPIOs powered by VDDUSB are operating
between VDD_MIN and VDD_MAX.
VDDUSB_MAX
USB functional area
VDDUSB
VDDUSB_MIN
USB non USB non
functional VDD = VDDA functional
area area
VDD_MIN
Power-down time
Power-on Operating mode
MS37590V1
VDD
NRST
PDR_ON
VDD
MSv34975V1
1. The PRD_ON pin is available only on WLCSP64, UFBGA100, UFBGA144 and LQFP144 packages.
3.19.1 Regulator ON
On packages embedding the BYPASS_REG pin, the regulator is enabled by holding
BYPASS_REG low. The WLCSP64 is available in two versions, one with the regulator
internally enabled and one with the regulator internally disabled. On all other packages, the
regulator is always enabled.
There are three power modes configured by software when the regulator is ON:
• MR is used in the nominal regulation mode (With different voltage scaling in Run mode)
In Main regulator mode (MR mode), different voltage scaling are provided to reach the
best compromise between maximum frequency and dynamic power consumption.
• LPR is used in the Stop mode
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.
Depending on the package, one or two external ceramic capacitors should be connected on
the VCAP_1 and VCAP_2 pins. The VCAP_2 pin is only available for the 100 pins and 144 pins
packages.
All packages have the regulator ON feature.
VDD
PA0 NRST
VDD
BYPASS_REG
V12
VCAP_1
VCAP_2
ai18498V3
VDD
time
NRST
PA0
time
MSv31179V2
1. This figure is valid whatever the internal reset mode (ON or OFF).
PDR = 1.7 V
VCAP_1/VCAP_2
V12
Min V12
time
NRST
PA0 asserted externally
time MSv31180V1
1. This figure is valid whatever the internal reset mode (ON or OFF).
or when the device wakes up from the Standby mode (see Section 3.21: Low-power
modes).
Additional 32-bit registers contain the programmable alarm subseconds, seconds, minutes,
hours, day, and date.
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.
Reset OFF), the VBAT functionality is no more available and VBAT pin should be connected
to VDD.
Any
Up, integer
Advance TIM1,
16-bit Down, between 1 Yes 4 Yes 100 100
d-control TIM8
Up/down and
65536
Any
Up, integer
TIM2,
32-bit Down, between 1 Yes 4 No 50 100
TIM5
Up/down and
65536
Any
Up, integer
TIM3,
16-bit Down, between 1 Yes 4 No 50 100
TIM4
Up/down and
65536
Any
integer
TIM9 16-bit Up between 1 No 2 No 100 100
and
General 65536
purpose Any
integer
TIM10,
16-bit Up between 1 No 1 No 100 100
TIM11
and
65536
Any
integer
TIM12 16-bit Up between 1 No 2 No 50 100
and
65536
Any
integer
TIM13,
16-bit Up between 1 No 1 No 50 100
TIM14
and
65536
Any
integer
Basic TIM6,
16-bit Up between 1 Yes 0 No 50 100
timers TIM7
and
65536
Pulse width of
≥ 50 ns Programmable length from 1 to 15 I2C peripheral clocks
suppressed spikes
APB2
USART1 X X X X X X 6.25 12.5 (max.
100 MHz)
APB1
USART2 X X X X X X 3.12 6.25 (max.
50 MHz)
APB1
USART3
(1) X X X X X X 3.12 6.25 (max.
50 MHz)
APB2
USART6 X X X X X X 6.25 12.5 (max.
100 MHz)
1. The RX is not available for the UFQFPN48 package.
8 7 6 5 4 3 2 1
PC14- PC15-
C PDR_ON PB8 PB5 PC10 PA13 PA12
OSC32_IN OSC32_OUT
PH0 -
D NRST PC3 PC0 BOOT0 PA11 PA10 PA9
OSC_IN
PH1 -
E PC2 PA0 PA7 PC4 PA8 PC9 PC7
OSC_OUT
VDDA/
F PC1 PA3 PA5 PB1 PC8 PB15 PC6
VREF+
VSSA/
G PA1 PA4 PC5 PB2 PB12 PB13 PB14
VREF-
MSv37280V2
BOOT0
PA15
PA14
VDD
VSS
PB7
PB6
PB5
PB4
PB3
PB9
PB8
48 47 46 45 44 43 42 41 40 39 38 37
VBAT 1 36 VDD
PC13 2 35 VSS
PC14-OSC32_IN 3 34 PA13
PC15-OSC32_OUT 4 33 PA12
PH0-OSC_IN 5 32 PA11
PH0-OSC_OUT 6 31 PA10
UFQFPN48
NRST 7 30 PA9
VSSA/VREF- 8 29 PA8
VDDA/VREF+ 9 28 PB15
PA0 10 27 PB14
PA1 11 26 PB13
PA2 12 25 PB12
13 14 15 16 17 18 19 20 21 22 23 24
PA3
PA4
PA5
PA6
PA7
VSS
PB0
PB1
PB2
PB10
VDD
VCAP_1
MS31150V3
BOOT0
PC12
PC10
PC11
PA15
PA14
VDD
VSS
PD2
PB9
PB8
PB7
PB6
PB5
PB4
PB3
64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49
VBAT 1 48 VDD
PC13 2 47 VSS
PC14-OSC32_IN 3 46 PA13
PC15-OSC32_OUT 4 45 PA12
PH0-OSC_IN 5 44 PA11
PH1-OSC_OUT 6 43 PA10
NRST 7 42 PA9
PC0 8 41 PA8
LQFP64
PC1 9 40 PC9
PC2 10 39 PC8
PC3 11 38 PC7
VSSA/VREF- 12 37 PC6
VDDA/VREF+ 13 36 PB15
PA0 14 35 PB14
PA1 15 34 PB13
PA2 16 33 PB12
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
VSS
VDD
PC4
PC5
PB0
PB1
PB2
PB10
VCAP_1
VSS
VDD
PA3
PA4
PA5
PA6
PA7
MS31149V3
BOOT0
PC12
PC10
PC11
PA15
PA14
VDD
VSS
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0
PE1
PE0
PB9
PB8
PB7
PB6
PB5
PB4
PB3
100
99
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
98
PE2 1 75 VDD
PE3 2 74 VSS
PE4 3 73 VCAP_2
PE5 4 72 PA13
PE6 5 71 PA12
VBAT 6 70 PA11
PC13 7 69 PA10
PC14-OSC32_IN 8 68 PA9
PC15-OSC32_OUT 9 67 PA8
VSS 10 66 PC9
VDD 11 65 PC8
PH0-OSC_IN 12 64 PC7
PH1-OSC_OUT 13 LQFP100 63 PC6
NRST 14 62 PD15
PC0 15 61 PD14
PC1 16 60 PD13
PC2 17 59 PD12
PC3 18 58 PD11
VDD 19 57 PD10
VSSA/VREF- 20 56 PD9
VREF+ 21 55 PD8
VDDA 22 54 PB15
PA0 23 53 PB14
PA1 24 52 PB13
PA2 25 51 PB12
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 VDD
PA3
PA4
PA5
PA6
PA7
PC4
PC5
PE10
PE12
PE13
PE14
PE15
PB10
VCAP_1
PB0
PB1
PB2
PE7
PE8
PE9
VSS
VDD
PE11
VSS
MS31151V4
PDR_ON
BOOT0
PG15
PG14
PG13
PG12
PG10
PC12
PC10
PG11
PC11
PA15
PA14
VDD
VDD
VDD
VSS
PG9
VSS
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0
PE1
PE0
PB9
PB8
PB7
PB6
PB5
PB4
PB3
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
109
119
118
117
116
115
114
113
112
110
111
PE2 1 108 VDD
PE3 2 107 VSS
PE4 3 106 VCAP_2
PE5 4 105 PA13
PE6 5 104 PA12
VBAT 6 103 PA11
PC13 7 102 PA10
PC14-OSC32_IN 8 101 PA9
PC15-OSC32_OUT 9 100 PA8
PF0 10 99 PC9
PF1 11 98 PC8
PF2 12 97 PC7
PF3 13 96 PC6
PF4 14 95 VDDUSB
PF5 15 94 VSS
VSS 16 93 PG8
VDD 17 92 PG7
PF6 18 91 PG6
PF7 19 LQFP144 90 PG5
PF8 20 89 PG4
PF9 21 88 PG3
PF10 22 87 PG2
PH0 - OSC_IN 23 86 PD15
PH1 - OSC_OUT 24 85 PD14
NRST 25 84 VDD
PC0 26 83 VSS
PC1 27 82 PD13
PC2 28 81 PD12
PC3 29 80 PD11
VDD 30 79 PD10
VSSA/VREF- 31 78 PD9
VREF+ 32 77 PD8
VDDA 33 76 PB15
PA0 34 75 PB14
PA1 35 74 PB13
PA2 36 73 PB12
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
VSS
VDD
PC4
PC5
PB0
PB1
PB2
PF12
VSS
VDD
PF13
PF14
PF15
PG0
PG1
PE7
PE8
PE9
VSS
VDD
PE10
PE12
PE13
PE14
PE15
PB10
VCAP_1
VDD
PA3
PA4
PA5
PA6
PA7
PF11
PE11
PB11
MSv37281V3
1 2 3 4 5 6 7 8 9 10 11 12
A PE3 PE1 PB8 BOOT0 PD7 PD5 PB4 PB3 PA15 PA14 PA13 PA12
B PE4 PE2 PB9 PB7 PB6 PD6 PD4 PD3 PD1 PC12 PC10 PA11
C VCAP
PC13 PE5 PE0 VDD PB5 PD2 PD0 PC11 PA10
_2
PC14-
D
OSC32 PE6 VSS PA9 PA8 PC9
_IN
PC15-
E BYPASS PC8 PC7 PC6
OSC32 VBAT _REG
_OUT
PH0-
F VSS VSS VSS
OSC_
IN
PH1-
G VDD VDD VDD
OSC_
OUT
K VREF- PC3 PA2 PA5 PC4 PD9 PB11 PB15 PB14 PB13
VCAP
L VREF+ PA0 PA3 PA6 PC5 PB2 PE8 PE10 PE12 PB10 PB12
_1
M VDDA PA1 PA4 PA7 PB0 PB1 PE7 PE9 PE11 PE13 PE14 PE15
MSv37282V1
1 2 3 4 5 6 7 8 9 10 11 12
A PC13 PE3 PE2 PE1 PE0 PB4 PB3 PD6 PD7 PA15 PA14 PA13
PC14-
B OSC32_IN
PE4 PE5 PE6 PB9 PB5 PG15 PG12 PD5 PC11 PC10 PA12
PC15-
C OSC32_OUT
VBAT PF0 PF1 PB8 PB6 PG14 PG11 PD4 PC12 VDDUSB PA11
PH0 -
D OSC_IN
VSS VDD PF2 BOOT0 PB7 PG13 PG10 PD3 PD1 PA10 PA9
PH1 -
E OSC_OUT
PF3 PF4 PF5 PDR_ON VSS VSS PG9 PD2 PD0 PC9 PA8
F NRST PF7 PF6 VDD VDD VDD VDD VDD VDD VDD PC8 PC7
G PF10 PF9 PF8 VSS VDD VDD VDD VSS VCAP_2 VSS PG8 PC6
BYPASS_
H PC0 PC1 PC2 PC3
REG
VSS VCAP_1 PE11 PD11 PG7 PG6 PG5
J VSSA PA0 PA4 PC4 PB2 PG1 PE10 PE12 PD10 PG4 PG3 PG2
K VREF- PA1 PA5 PC5 PF13 PG0 PE9 PE13 PD9 PD13 PD14 PD15
L VREF+ PA2 PA6 PB0 PF12 PF15 PE8 PE14 PD8 PD12 PB14 PB15
M VDDA PA3 PA7 PB1 PF11 PF14 PE7 PE15 PB10 PB11 PB12 PB13
MSv37283V2
Unless otherwise specified in brackets below the pin name, the pin function during and after
Pin name
reset is the same as the actual pin name
S Supply pin
Pin type I Input only pin
I/O Input/ output pin
FT 5 V tolerant I/O
TC Standard 3.3 V I/O
I/O structure
B Dedicated BOOT0 pin
NRST Bidirectional reset pin with embedded weak pull-up resistor
Notes Unless otherwise specified by a note, all I/Os are set as floating inputs during and after reset
Alternate
Functions selected through GPIOx_AFR registers
functions
Additional
Functions directly selected/enabled through peripheral registers
functions
Pin name
UFQFPN48
UFBGA100
UFBGA144
LQFP100
LQFP144
LQFP64
TRACECLK,
SPI4_SCK/I2S4_CK,
SPI5_SCK/I2S5_CK,
- - - 1 B2 A3 1 PE2 I/O FT - -
QUADSPI_BK1_IO2,
FSMC_A23,
EVENTOUT
TRACED0, FSMC_A19,
- - - 2 A1 A2 2 PE3 I/O FT - -
EVENTOUT
TRACED1,
SPI4_NSS/I2S4_WS,
SPI5_NSS/I2S5_WS,
- - - 3 B1 B2 3 PE4 I/O FT - -
DFSDM1_DATIN3,
FSMC_A20,
EVENTOUT
TRACED2, TIM9_CH1,
SPI4_MISO,
SPI5_MISO,
- - - 4 C2 B3 4 PE5 I/O FT - -
DFSDM1_CKIN3,
FSMC_A21,
EVENTOUT
TRACED3, TIM9_CH2,
SPI4_MOSI/I2S4_SD,
- - - 5 D2 B4 5 PE6 I/O FT - SPI5_MOSI/I2S5_SD, -
FSMC_A22,
EVENTOUT
1 1 B7 6 E2 C2 6 VBAT S - - - VBAT
(2)(3)
2 2 B8 7 C1 A1 7 PC13 I/O FT EVENTOUT TAMP_1
PC14- (2)(3)(4)
3 3 C8 8 D1 B1 8 I/O FT EVENTOUT OSC32_IN
OSC32_IN
Pin name
UFQFPN48
UFBGA100
UFBGA144
(function Pin I/O Additional
WLCSP64
LQFP100
LQFP144
LQFP64
PC15-
(2)(4) OSC32_
4 4 C7 9 E1 C1 9 OSC32_ I/O FT EVENTOUT
OUT
OUT
I2C2_SDA, FSMC_A0,
- - - - - C3 10 PF0 I/O FT - -
EVENTOUT
I2C2_SCL, FSMC_A1,
- - - - - C4 11 PF1 I/O FT - -
EVENTOUT
I2C2_SMBA, FSMC_A2,
- - - - - D4 12 PF2 I/O FT - -
EVENTOUT
TIM5_CH1, FSMC_A3,
- - - - - E2 13 PF3 I/O FT - -
EVENTOUT
TIM5_CH2, FSMC_A4,
- - - - - E3 14 PF4 I/O FT - -
EVENTOUT
TIM5_CH3, FSMC_A5,
- - - - - E4 15 PF5 I/O FT - -
EVENTOUT
- - - 10 F2 D2 16 VSS S - - - -
- - - 11 G2 D3 17 VDD S - - - -
TRACED0, TIM10_CH1,
- - - - - F3 18 PF6 I/O FT - QUADSPI_BK1_IO3, -
EVENTOUT
TRACED1, TIM11_CH1,
- - - - - F2 19 PF7 I/O FT - QUADSPI_BK1_IO2, -
EVENTOUT
TIM13_CH1,
- - - - - G3 20 PF8 I/O FT - QUADSPI_BK1_IO0, -
EVENTOUT
TIM14_CH1,
- - - - - G2 21 PF9 I/O FT - QUADSPI_BK1_IO1, -
EVENTOUT
TIM1_ETR, TIM5_CH4,
- - - - - G1 22 PF10 I/O FT - -
EVENTOUT
PH0 - (4)
5 5 D8 12 F1 D1 23 I/O FT EVENTOUT OSC_IN
OSC_IN
PH1 - (4)
6 6 E8 13 G1 E1 24 I/O FT EVENTOUT OSC_OUT
OSC_OUT
7 7 D7 14 H2 F1 25 NRST I/O RST - - NRST
Pin name
UFQFPN48
UFBGA100
UFBGA144
(function Pin I/O Additional
WLCSP64
LQFP100
LQFP144
LQFP64
ADC1_10,
- 8 D5 15 H1 H1 26 PC0 I/O FT - EVENTOUT
WKUP2
ADC1_11,
- 9 F8 16 J2 H2 27 PC1 I/O FT - EVENTOUT
WKUP3
SPI2_MISO,
I2S2ext_SD,
- 10 E7 17 J3 H3 28 PC2 I/O FT - DFSDM1_CKOUT, ADC1_12
FSMC_NWE,
EVENTOUT
SPI2_MOSI/I2S2_SD,
- 11 D6 18 K2 H4 29 PC3 I/O FT - ADC1_13
FSMC_A0, EVENTOUT
- - - 19 - - 30 VDD S - - - -
VSSA/
8 12 G8 20 - - 31 S - - - -
VREF-
- - - - J1 J1 - VSSA S - - - -
- - - - K1 K1 - VREF- S - - - -
VDDA/
9 13 F7 - - - - S - - - -
VREF+
- - - 21 L1 L1 32 VREF+ S - - - -
- - - 22 M1 M1 33 VDDA S - - - -
TIM2_CH1/TIM2_ETR,
TIM5_CH1, TIM8_ETR, ADC1_0,
10 14 E6 23 L2 J2 34 PA0 I/O FT -
USART2_CTS, WKUP1
EVENTOUT
TIM2_CH2, TIM5_CH2,
SPI4_MOSI/I2S4_SD,
11 15 G7 24 M2 K2 35 PA1 I/O FT - USART2_RTS, ADC1_1
QUADSPI_BK1_IO3,
EVENTOUT
TIM2_CH3, TIM5_CH3,
TIM9_CH1, I2S2_CKIN,
12 16 H8 25 K3 L2 36 PA2 I/O FT - USART2_TX, ADC1_2
FSMC_D4/FSMC_DA4,
EVENTOUT
Pin name
UFQFPN48
UFBGA100
UFBGA144
(function Pin I/O Additional
WLCSP64
LQFP100
LQFP144
LQFP64
TIM2_CH4, TIM5_CH4,
TIM9_CH2, I2S2_MCK,
13 17 F6 26 L3 M2 37 PA3 I/O FT - USART2_RX, ADC1_3
FSMC_D5/FSMC_DA5,
EVENTOUT
- 18 - 27 - G4 38 VSS S - - - -
BYPASS_
- - - - E3 H5 - I FT - - -
REG
- 19 H7 28 - F4 39 VDD S - - - -
SPI1_NSS/I2S1_WS,
SPI3_NSS/I2S3_WS,
USART2_CK,
14 20 G6 29 M3 J3 40 PA4 I/O FT - ADC1_4
DFSDM1_DATIN1,
FSMC_D6/FSMC_DA6,
EVENTOUT
TIM2_CH1/TIM2_ETR,
TIM8_CH1N,
SPI1_SCK/I2S1_CK,
15 21 F5 30 K4 K3 41 PA5 I/O FT - ADC1_5
DFSDM1_CKIN1,
FSMC_D7/FSMC_DA7,
EVENTOUT
TIM1_BKIN, TIM3_CH1,
TIM8_BKIN,
SPI1_MISO, I2S2_MCK,
16 22 H6 31 L4 L3 42 PA6 I/O FT - TIM13_CH1, ADC1_6
QUADSPI_BK2_IO0,
SDIO_CMD,
EVENTOUT
TIM1_CH1N,
TIM3_CH2,
TIM8_CH1N,
17 23 E5 32 M4 M3 43 PA7 I/O FT - SPI1_MOSI/I2S1_SD, ADC1_7
TIM14_CH1,
QUADSPI_BK2_IO1,
EVENTOUT
I2S1_MCK,
QUADSPI_BK2_IO2,
- 24 E4 33 K5 J4 44 PC4 I/O FT - ADC1_14
FSMC_NE4,
EVENTOUT
Pin name
UFQFPN48
UFBGA100
UFBGA144
(function Pin I/O Additional
WLCSP64
LQFP100
LQFP144
LQFP64
I2CFMP1_SMBA,
USART3_RX,
- 25 G5 34 L5 K4 45 PC5 I/O FT - QUADSPI_BK2_IO3, ADC1_15
FSMC_NOE,
EVENTOUT
TIM1_CH2N,
TIM3_CH3,
18 26 H5 35 M5 L4 46 PB0 I/O FT - TIM8_CH2N, ADC1_8
SPI5_SCK/I2S5_CK,
EVENTOUT
TIM1_CH3N,
TIM3_CH4,
TIM8_CH3N,
19 27 F4 36 M6 M4 47 PB1 I/O FT - SPI5_NSS/I2S5_WS, ADC1_9
DFSDM1_DATIN0,
QUADSPI_CLK,
EVENTOUT
DFSDM1_CKIN0,
20 28 G4 37 L6 J5 48 PB2 I/O FT - QUADSPI_CLK, BOOT1
EVENTOUT
- - - - - M5 49 PF11 I/O FT - TIM8_ETR, EVENTOUT -
TIM8_BKIN, FSMC_A6,
- - - - - L5 50 PF12 I/O FT - -
EVENTOUT
- - - - - - 51 VSS S - - - -
- - - - - G5 52 VDD S - - - -
I2CFMP1_SMBA,
- - - - - K5 53 PF13 I/O FT - -
FSMC_A7, EVENTOUT
I2CFMP1_SCL,
- - - - - M6 54 PF14 I/O FT - -
FSMC_A8, EVENTOUT
I2CFMP1_SDA,
- - - - - L6 55 PF15 I/O FT - -
FSMC_A9, EVENTOUT
CAN1_RX, FSMC_A10,
- - - - - K6 56 PG0 I/O FT - -
EVENTOUT
CAN1_TX, FSMC_A11,
- - - - - J6 57 PG1 I/O FT - -
EVENTOUT
Pin name
UFQFPN48
UFBGA100
UFBGA144
(function Pin I/O Additional
WLCSP64
LQFP100
LQFP144
LQFP64
TIM1_ETR,
DFSDM1_DATIN2,
- - - 38 M7 M7 58 PE7 I/O FT - QUADSPI_BK2_IO0, -
FSMC_D4/FSMC_DA4,
EVENTOUT
TIM1_CH1N,
DFSDM1_CKIN2,
- - - 39 L7 L7 59 PE8 I/O FT - QUADSPI_BK2_IO1, -
FSMC_D5/FSMC_DA5,
EVENTOUT
TIM1_CH1,
DFSDM1_CKOUT,
- - - 40 M8 K7 60 PE9 I/O FT - QUADSPI_BK2_IO2, -
FSMC_D6/FSMC_DA6,
EVENTOUT
- - - - - - 61 VSS S - - - -
- - - - - G6 62 VDD S - - - -
TIM1_CH2N,
QUADSPI_BK2_IO3,
- - - 41 L8 J7 63 PE10 I/O FT - -
FSMC_D7/FSMC_DA7,
EVENTOUT
TIM1_CH2,
SPI4_NSS/I2S4_WS,
- - - 42 M9 H8 64 PE11 I/O FT - SPI5_NSS/I2S5_WS, -
FSMC_D8/FSMC_DA8,
EVENTOUT
TIM1_CH3N,
SPI4_SCK/I2S4_CK,
- - - 43 L9 J8 65 PE12 I/O FT - SPI5_SCK/I2S5_CK, -
FSMC_D9/FSMC_DA9,
EVENTOUT
TIM1_CH3, SPI4_MISO,
SPI5_MISO,
- - - 44 M10 K8 66 PE13 I/O FT - -
FSMC_D10/FSMC_DA1
0, EVENTOUT
TIM1_CH4,
SPI4_MOSI/I2S4_SD,
- - - 45 M11 L8 67 PE14 I/O FT - SPI5_MOSI/I2S5_SD, -
FSMC_D11/FSMC_DA1
1, EVENTOUT
Pin name
UFQFPN48
UFBGA100
UFBGA144
(function Pin I/O Additional
WLCSP64
LQFP100
LQFP144
LQFP64
TIM1_BKIN,
- - - 46 M12 M8 68 PE15 I/O FT - FSMC_D12/FSMC_DA1 -
2, EVENTOUT
TIM2_CH3, I2C2_SCL,
SPI2_SCK/I2S2_CK,
I2S3_MCK,
21 29 H4 47 L10 M9 69 PB10 I/O FT - -
USART3_TX,
I2CFMP1_SCL,
SDIO_D7, EVENTOUT
TIM2_CH4, I2C2_SDA,
I2S2_CKIN,
- - - - K9 M10 70 PB11 I/O FT - -
USART3_RX,
EVENTOUT
22 30 H3 48 L11 H7 71 VCAP_1 S - - - -
23 31 H2 49 F12 H6 - VSS S - - - -
24 32 H1 50 G12 G7 72 VDD S - - - -
TIM1_BKIN,
I2C2_SMBA,
SPI2_NSS/I2S2_WS,
SPI4_NSS/I2S4_WS,
SPI3_SCK/I2S3_CK,
25 33 G3 51 L12 M11 73 PB12 I/O FT - -
USART3_CK,
CAN2_RX,
DFSDM1_DATIN1,
FSMC_D13/FSMC_DA1
3, EVENTOUT
TIM1_CH1N,
I2CFMP1_SMBA,
SPI2_SCK/I2S2_CK,
SPI4_SCK/I2S4_CK,
26 34 G2 52 K12 M12 74 PB13 I/O FT - -
USART3_CTS,
CAN2_TX,
DFSDM1_CKIN1,
EVENTOUT
Pin name
UFQFPN48
UFBGA100
UFBGA144
(function Pin I/O Additional
WLCSP64
LQFP100
LQFP144
LQFP64
TIM1_CH2N,
TIM8_CH2N,
I2CFMP1_SDA,
SPI2_MISO,
I2S2ext_SD,
27 35 G1 53 K11 L11 75 PB14 I/O FT - -
USART3_RTS,
DFSDM1_DATIN2,
TIM12_CH1,
FSMC_D0/FSMC_DA0,
SDIO_D6, EVENTOUT
RTC_50Hz,
TIM1_CH3N,
TIM8_CH3N,
I2CFMP1_SCL,
28 36 F2 54 K10 L12 76 PB15 I/O FT - -
SPI2_MOSI/I2S2_SD,
DFSDM1_CKIN2,
TIM12_CH2, SDIO_CK,
EVENTOUT
USART3_TX,
FSMC_D13/
- - - 55 - L9 77 PD8 I/O FT - -
FSMC_DA13,
EVENTOUT
USART3_RX,
- - - 56 K8 K9 78 PD9 I/O FT - FSMC_D14/FSMC_DA1 -
4, EVENTOUT
USART3_CK,
- - - 57 J12 J9 79 PD10 I/O FT - FSMC_D15/FSMC_DA1 -
5, EVENTOUT
I2CFMP1_SMBA,
USART3_CTS,
- - - 58 J11 H9 80 PD11 I/O FT - QUADSPI_BK1_IO0, -
FSMC_A16,
EVENTOUT
TIM4_CH1,
I2CFMP1_SCL,
USART3_RTS,
- - - 59 J10 L10 81 PD12 I/O FT - -
QUADSPI_BK1_IO1,
FSMC_A17,
EVENTOUT
Pin name
UFQFPN48
UFBGA100
UFBGA144
(function Pin I/O Additional
WLCSP64
LQFP100
LQFP144
LQFP64
TIM4_CH2,
I2CFMP1_SDA,
- - - 60 H12 K10 82 PD13 I/O FT - QUADSPI_BK1_IO3, -
FSMC_A18,
EVENTOUT
- - - - - G8 83 VSS S - - - -
- - - - - F8 84 VDD S - - - -
TIM4_CH3,
I2CFMP1_SCL,
- - - 61 H11 K11 85 PD14 I/O FT - -
FSMC_D0/FSMC_DA0,
EVENTOUT
TIM4_CH4,
I2CFMP1_SDA,
- - - 62 H10 K12 86 PD15 I/O FT - -
FSMC_D1/FSMC_DA1,
EVENTOUT
FSMC_A12,
- - - - - J12 87 PG2 I/O FT - -
EVENTOUT
FSMC_A13,
- - - - - J11 88 PG3 I/O FT - -
EVENTOUT
FSMC_A14,
- - - - - J10 89 PG4 I/O FT - -
EVENTOUT
FSMC_A15,
- - - - - H12 90 PG5 I/O FT - -
EVENTOUT
QUADSPI_BK1_NCS,
- - - - - H11 91 PG6 I/O FT - -
EVENTOUT
USART6_CK,
- - - - - H10 92 PG7 I/O FT - -
EVENTOUT
USART6_RTS,
- - - - - G11 93 PG8 I/O FT - -
EVENTOUT
- - - - - - 94 VSS S - - - -
- - - - - F10 - VDD S -
- - - - - C11 95 VDDUSB S - - - -
Pin name
UFQFPN48
UFBGA100
UFBGA144
(function Pin I/O Additional
WLCSP64
LQFP100
LQFP144
LQFP64
TIM3_CH1, TIM8_CH1,
I2CFMP1_SCL,
I2S2_MCK,
- 37 F1 63 E12 G12 96 PC6 I/O FT - DFSDM1_CKIN3, -
USART6_TX,
FSMC_D1/FSMC_DA1,
SDIO_D6, EVENTOUT
TIM3_CH2, TIM8_CH2,
I2CFMP1_SDA,
SPI2_SCK/I2S2_CK,
- 38 E1 64 E11 F12 97 PC7 I/O FT - I2S3_MCK, -
USART6_RX,
DFSDM1_DATIN3,
SDIO_D7, EVENTOUT
TIM3_CH3, TIM8_CH3,
USART6_CK,
- 39 F3 65 E10 F11 98 PC8 I/O FT - -
QUADSPI_BK1_IO2,
SDIO_D0, EVENTOUT
MCO_2, TIM3_CH4,
TIM8_CH4, I2C3_SDA,
- 40 E2 66 D12 E11 99 PC9 I/O FT - I2S2_CKIN, -
QUADSPI_BK1_IO0,
SDIO_D1, EVENTOUT
MCO_1, TIM1_CH1,
I2C3_SCL,
29 41 E3 67 D11 E12 100 PA8 I/O FT - USART1_CK, -
USB_FS_SOF,
SDIO_D1, EVENTOUT
TIM1_CH2,
I2C3_SMBA,
30 42 D1 68 D10 D12 101 PA9 I/O FT - USART1_TX, -
USB_FS_VBUS,
SDIO_D2, EVENTOUT
TIM1_CH3,
SPI5_MOSI/I2S5_SD,
31 43 D2 69 C12 D11 102 PA10 I/O FT - USART1_RX, -
USB_FS_ID,
EVENTOUT
Pin name
UFQFPN48
UFBGA100
UFBGA144
(function Pin I/O Additional
WLCSP64
LQFP100
LQFP144
LQFP64
TIM1_CH4, SPI4_MISO,
USART1_CTS,
USART6_TX,
32 44 D3 70 B12 C12 103 PA11 I/O FT - -
CAN1_RX,
USB_FS_DM,
EVENTOUT
TIM1_ETR, SPI5_MISO,
USART1_RTS,
USART6_RX,
33 45 C1 71 A12 B12 104 PA12 I/O FT - -
CAN1_TX,
USB_FS_DP,
EVENTOUT
JTMS-SWDIO,
34 46 C2 72 A11 A12 105 PA13 I/O FT - -
EVENTOUT
- - - 73 C11 G9 106 VCAP_2 S - - - -
36 48 - 75 G11 - - VDD S - - - -
- - A1 - - F9 108 VDD S - - - -
JTCK-SWCLK,
37 49 B2 76 A10 A11 109 PA14 I/O FT - -
EVENTOUT
JTDI,
TIM2_CH1/TIM2_ETR,
SPI1_NSS/I2S1_WS,
38 50 A2 77 A9 A10 110 PA15 I/O FT - -
SPI3_NSS/I2S3_WS,
USART1_TX,
EVENTOUT
SPI3_SCK/I2S3_CK,
USART3_TX,
- 51 C3 78 B11 B11 111 PC10 I/O FT - -
QUADSPI_BK1_IO1,
SDIO_D2, EVENTOUT
I2S3ext_SD,
SPI3_MISO,
USART3_RX,
- 52 B3 79 C10 B10 112 PC11 I/O FT - -
QUADSPI_BK2_NCS,
FSMC_D2/FSMC_DA2,
SDIO_D3, EVENTOUT
Pin name
UFQFPN48
UFBGA100
UFBGA144
(function Pin I/O Additional
WLCSP64
LQFP100
LQFP144
LQFP64
SPI3_MOSI/I2S3_SD,
USART3_CK,
- 53 A3 80 B10 C10 113 PC12 I/O FT - -
FSMC_D3/FSMC_DA3,
SDIO_CK, EVENTOUT
CAN1_RX,
- - - 81 C9 E10 114 PD0 I/O FT - FSMC_D2/FSMC_DA2, -
EVENTOUT
CAN1_TX,
- - - 82 B9 D10 115 PD1 I/O FT - FSMC_D3/FSMC_DA3, -
EVENTOUT
TIM3_ETR,
FSMC_NWE,
- 54 A4 83 C8 E9 116 PD2 I/O FT - -
SDIO_CMD,
EVENTOUT
TRACED1,
SPI2_SCK/I2S2_CK,
DFSDM1_DATIN0,
- - - 84 B8 D9 117 PD3 I/O FT - USART2_CTS, -
QUADSPI_CLK,
FSMC_CLK,
EVENTOUT
DFSDM1_CKIN0,
USART2_RTS,
- - - 85 B7 C9 118 PD4 I/O FT - -
FSMC_NOE,
EVENTOUT
USART2_TX,
- - - 86 A6 B9 119 PD5 I/O FT - FSMC_NWE, -
EVENTOUT
- - - - - E7 120 VSS S - - - -
- - - - - F7 121 VDD S - - - -
SPI3_MOSI/I2S3_SD,
DFSDM1_DATIN1,
- - - 87 B6 A8 122 PD6 I/O FT - USART2_RX, -
FSMC_NWAIT,
EVENTOUT
DFSDM1_CKIN1,
USART2_CK,
- - - 88 A5 A9 123 PD7 I/O FT - -
FSMC_NE1,
EVENTOUT
Pin name
UFQFPN48
UFBGA100
UFBGA144
(function Pin I/O Additional
WLCSP64
LQFP100
LQFP144
LQFP64
USART6_RX,
QUADSPI_BK2_IO2,
- - - - - E8 124 PG9 I/O FT - -
FSMC_NE2,
EVENTOUT
FSMC_NE3,
- - - - - D8 125 PG10 I/O FT - -
EVENTOUT
- - - - - C8 126 PG11 I/O FT - CAN2_RX, EVENTOUT -
USART6_RTS,
- - - - - B8 127 PG12 I/O FT - CAN2_TX, FSMC_NE4, -
EVENTOUT
TRACED2,
USART6_CTS,
- - - - - D7 128 PG13 I/O FT - -
FSMC_A24,
EVENTOUT
TRACED3,
USART6_TX,
- - - - - C7 129 PG14 I/O FT - QUADSPI_BK2_IO3, -
FSMC_A25,
EVENTOUT
- - - - - - 130 VSS S - - - -
- - - - - F6 131 VDD S - - - -
USART6_CTS,
- - - - - B7 132 PG15 I/O FT - -
EVENTOUT
JTDO-SWO,
TIM2_CH2,
I2CFMP1_SDA,
39 55 A5 89 A8 A7 133 PB3 I/O FT - SPI1_SCK/I2S1_CK, -
SPI3_SCK/I2S3_CK,
USART1_RX,
I2C2_SDA, EVENTOUT
JTRST, TIM3_CH1,
SPI1_MISO,
40 56 B4 90 A7 A6 134 PB4 I/O FT - SPI3_MISO, -
I2S3ext_SD, I2C3_SDA,
SDIO_D0, EVENTOUT
Pin name
UFQFPN48
UFBGA100
UFBGA144
(function Pin I/O Additional
WLCSP64
LQFP100
LQFP144
LQFP64
TIM3_CH2,
I2C1_SMBA,
SPI1_MOSI/I2S1_SD,
41 57 C4 91 C5 B6 135 PB5 I/O FT - -
SPI3_MOSI/I2S3_SD,
CAN2_RX, SDIO_D3,
EVENTOUT
TIM4_CH1, I2C1_SCL,
USART1_TX,
42 58 B5 92 B5 C6 136 PB6 I/O FT - CAN2_TX, -
QUADSPI_BK1_NCS,
SDIO_D0, EVENTOUT
TIM4_CH2, I2C1_SDA,
43 59 A6 93 B4 D6 137 PB7 I/O FT - USART1_RX, -
FSMC_NL, EVENTOUT
44 60 D4 94 A4 D5 138 BOOT0 I B - - VPP
TIM4_CH3,
TIM10_CH1, I2C1_SCL,
45 61 C5 95 A3 C5 139 PB8 I/O FT - SPI5_MOSI/I2S5_SD, -
CAN1_RX, I2C3_SDA,
SDIO_D4, EVENTOUT
TIM4_CH4,
TIM11_CH1, I2C1_SDA,
46 62 B6 96 B3 B5 140 PB9 I/O FT - SPI2_NSS/I2S2_WS, -
CAN1_TX, I2C2_SDA,
SDIO_D5, EVENTOUT
TIM4_ETR,
- - - 97 C3 A5 141 PE0 I/O FT - FSMC_NBL0, -
EVENTOUT
FSMC_NBL1,
- - - 98 A2 A4 142 PE1 I/O FT - -
EVENTOUT
47 63 A7 99 D3 E6 - VSS S - - - -
- - C6 - H3 E5 143 PDR_ON I FT - - -
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 STM32F412xE/Greference manual.
4. FT = 5 V tolerant except when in analog mode or oscillator mode (for PC14, PC15, PH0 and PH1).
I2C2/I2C3/
Port TIM8/ I2C1/ SPI1/I2S1/ SPI2/I2S2/SPI3 SPI3/I2S3/ DFSDM1/ I2CFMP1/ DFSDM1/
TIM3/
TIM1/ TIM9/ I2C2/ SPI2/I2S2/ /I2S3/SPI4/ USART1/ USART3/ CAN1/CAN2 QUADSPI/
SYS_AF TIM4/ FSMC /SDIO SYS_AF
TIM2 TIM10/ I2C3/ SPI3/I2S3/ I2S4/SPI5/I2S5 USART2/ USART6/ /TIM12/ FSMC
TIM5
TIM11 I2CFMP1 SPI4/I2S4 /DFSDM1 USART3 CAN1 TIM13/TIM14 /OTG1_FS
/QUADSPI
TIM2_CH1/
PA0 - TIM5_CH1 TIM8_ETR - - - USART2_CTS - - - - EVENTOUT
TIM2_ETR
SPI4_MOSI/I QUADSPI_
PA1 - TIM2_CH2 TIM5_CH2 - - - USART2_RTS - - - EVENTOUT
2S4_SD BK1_IO3
TIM13_ QUADSPI_
PA6 - TIM1_BKIN TIM3_CH1 TIM8_BKIN - SPI1_MISO I2S2_MCK - - SDIO_CMD EVENTOUT
CH1 BK2_IO0
USB_FS_
PA8 MCO_1 TIM1_CH1 - - I2C3_SCL - - USART1_CK - - SDIO_D1 EVENTOUT
SOF
I2C3_ USB_FS_
PA9 - TIM1_CH2 - - - - USART1_TX - - SDIO_D2 EVENTOUT
SMBA VBUS
SPI5_MOSI/
PA10 - TIM1_CH3 - - - - USART1_RX - - USB_FS_ID - EVENTOUT
I2S5_SD
USART6_
PA11 - TIM1_CH4 - - - - SPI4_MISO USART1_CTS CAN1_RX USB_FS_DM - EVENTOUT
TX
USART6_
PA12 - TIM1_ETR - - - - SPI5_MISO USART1_RTS CAN1_TX USB_FS_DP - EVENTOUT
RX
JTMS-
STM32F412xE/G
PA13 - - - - - - - - - - - EVENTOUT
SWDIO
JTCK-
PA14 - - - - - - - - - - - EVENTOUT
SWCLK
STM32F412xE/G
AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 AF10 AF12 AF15
I2C2/I2C3/
Port TIM8/ I2C1/ SPI1/I2S1/ SPI2/I2S2/SPI3 SPI3/I2S3/ DFSDM1/ I2CFMP1/ DFSDM1/
TIM3/
TIM1/ TIM9/ I2C2/ SPI2/I2S2/ /I2S3/SPI4/ USART1/ USART3/ CAN1/CAN2 QUADSPI/
SYS_AF TIM4/ FSMC /SDIO SYS_AF
TIM2 TIM10/ I2C3/ SPI3/I2S3/ I2S4/SPI5/I2S5 USART2/ USART6/ /TIM12/ FSMC
TIM5
TIM11 I2CFMP1 SPI4/I2S4 /DFSDM1 USART3 CAN1 TIM13/TIM14 /OTG1_FS
/QUADSPI
SPI5_SCK/
PB0 - TIM1_CH2N TIM3_CH3 TIM8_CH2N - - - - - - - EVENTOUT
I2S5_CK
DFSDM1_ QUADSPI_
PB2 - - - - - - - - - - EVENTOUT
CKIN0 CLK
I2S3ext_
PB4 JTRST - TIM3_CH1 - - SPI1_MISO SPI3_MISO - I2C3_SDA - SDIO_D0 EVENTOUT
SD
DS11139 Rev 8
SPI1_MOSI/I SPI3_MOSI/
PB5 - - TIM3_CH2 - I2C1_SMBA - - CAN2_RX - SDIO_D3 EVENTOUT
2S1_SD I2S3_SD
QUADSPI_
PB6 - - TIM4_CH1 - I2C1_SCL - - USART1_TX - CAN2_TX SDIO_D0 EVENTOUT
BK1_NCS
SPI5_MOSI/I2S
PB8 - - TIM4_CH3 TIM10_CH1 I2C1_SCL - - CAN1_RX I2C3_SDA - SDIO_D4 EVENTOUT
5_SD
SPI2_NSS/
PB9 - - TIM4_CH4 TIM11_CH1 I2C1_SDA - - CAN1_TX I2C2_SDA - SDIO_D5 EVENTOUT
I2S2_WS
SPI2_SCK/ I2CFMP1_
PB10 - TIM2_CH3 - - I2C2_SCL I2S3_MCK USART3_TX - - SDIO_D7 EVENTOUT
I2S2_CK SCL
I2C2/I2C3/
Port TIM8/ I2C1/ SPI1/I2S1/ SPI2/I2S2/SPI3 SPI3/I2S3/ DFSDM1/ I2CFMP1/ DFSDM1/
TIM3/
TIM1/ TIM9/ I2C2/ SPI2/I2S2/ /I2S3/SPI4/ USART1/ USART3/ CAN1/CAN2 QUADSPI/
SYS_AF TIM4/ FSMC /SDIO SYS_AF
TIM2 TIM10/ I2C3/ SPI3/I2S3/ I2S4/SPI5/I2S5 USART2/ USART6/ /TIM12/ FSMC
TIM5
TIM11 I2CFMP1 SPI4/I2S4 /DFSDM1 USART3 CAN1 TIM13/TIM14 /OTG1_FS
/QUADSPI
PC0 - - - - - - - - - - - - EVENTOUT
PC1 - - - - - - - - - - - - EVENTOUT
DFSDM1_
PC2 - - - - - SPI2_MISO I2S2ext_SD - - - FSMC_NWE EVENTOUT
CKOUT
SPI2_MOSI/I
PC3 - - - - - - - - - - FSMC_A0 EVENTOUT
2S2_SD
QUADSPI_
PC4 - - - - - I2S1_MCK - - - - FSMC_NE4 EVENTOUT
BK2_IO2
I2CFMP1_ QUADSPI_
PC5 - - - - - - USART3_RX - - FSMC_NOE EVENTOUT
DS11139 Rev 8
SMBA BK2_IO3
USART6_ QUADSPI_
PC8 - - TIM3_CH3 TIM8_CH3 - - - - - SDIO_D0 EVENTOUT
CK BK1_IO2
QUADSPI_
PC9 MCO_2 - TIM3_CH4 TIM8_CH4 I2C3_SDA I2S2_CKIN - - - - SDIO_D1 EVENTOUT
BK1_IO0
SPI3_SCK/ QUADSPI_
PC10 - - - - - - USART3_TX - - SDIO_D2 EVENTOUT
I2S3_CK BK1_IO1
QUADSPI_
PC11 - - - - - I2S3ext_SD SPI3_MISO USART3_RX - FSMC_D2 SDIO_D3 EVENTOUT
BK2_NCS
SPI3_MOSI/
PC12 - - - - - - USART3_CK - - FSMC_D3 SDIO_CK EVENTOUT
I2S3_SD
PC13 - - - - - - - - - - - - EVENTOUT
STM32F412xE/G
PC14 - - - - - - - - - - - - EVENTOUT
PC15 - - - - - - - - - - - - EVENTOUT
Table 11. STM32F412xE/G alternate functions (continued)
STM32F412xE/G
AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 AF10 AF12 AF15
I2C2/I2C3/
Port TIM8/ I2C1/ SPI1/I2S1/ SPI2/I2S2/SPI3 SPI3/I2S3/ DFSDM1/ I2CFMP1/ DFSDM1/
TIM3/
TIM1/ TIM9/ I2C2/ SPI2/I2S2/ /I2S3/SPI4/ USART1/ USART3/ CAN1/CAN2 QUADSPI/
SYS_AF TIM4/ FSMC /SDIO SYS_AF
TIM2 TIM10/ I2C3/ SPI3/I2S3/ I2S4/SPI5/I2S5 USART2/ USART6/ /TIM12/ FSMC
TIM5
TIM11 I2CFMP1 SPI4/I2S4 /DFSDM1 USART3 CAN1 TIM13/TIM14 /OTG1_FS
/QUADSPI
FSMC_D2/FS
PD0 - - - - - - - - - CAN1_RX - EVENTOUT
MC_DA2
FSMC_D3/FS
PD1 - - - - - - - - - CAN1_TX - EVENTOUT
MC_DA3
DFSDM1_ USART2_
PD4 - - - - - - - - - FSMC_NOE EVENTOUT
CKIN0 RTS
DS11139 Rev 8
DFSDM1_
PD7 - - - - - - USART2_CK - - - FSMC_NE1 EVENTOUT
CKIN1
FSMC_D13/
Port D
FSMC_D14/
PD9 - - - - - - - USART3_RX - - - EVENTOUT
FSMC_DA14
FSMC_D15/
PD10 - - - - - - - USART3_CK - - - EVENTOUT
I2CFMP1_ QUADSPI_
PD13 - - TIM4_CH2 - - - - - - FSMC_A18 EVENTOUT
SDA BK1_IO3
I2CFMP1_ FSMC_D0/
PD14 - - TIM4_CH3 - - - - - - - EVENTOUT
SCL FSMC_DA0
69/205
I2CFMP1_ FSMC_D1/
PD15 - - TIM4_CH4 - - - - - - - EVENTOUT
SDA FSMC_DA1
Table 11. STM32F412xE/G alternate functions (continued)
70/205
I2C2/I2C3/
Port TIM8/ I2C1/ SPI1/I2S1/ SPI2/I2S2/SPI3 SPI3/I2S3/ DFSDM1/ I2CFMP1/ DFSDM1/
TIM3/
TIM1/ TIM9/ I2C2/ SPI2/I2S2/ /I2S3/SPI4/ USART1/ USART3/ CAN1/CAN2 QUADSPI/
SYS_AF TIM4/ FSMC /SDIO SYS_AF
TIM2 TIM10/ I2C3/ SPI3/I2S3/ I2S4/SPI5/I2S5 USART2/ USART6/ /TIM12/ FSMC
TIM5
TIM11 I2CFMP1 SPI4/I2S4 /DFSDM1 USART3 CAN1 TIM13/TIM14 /OTG1_FS
/QUADSPI
DFSDM1_
PE5 TRACED2 - - TIM9_CH1 - SPI4_MISO SPI5_MISO - - - FSMC_A21 EVENTOUT
CKIN3
DS11139 Rev 8
SPI4_MOSI/I SPI5_MOSI/
PE6 TRACED3 - - TIM9_CH2 - - - - - FSMC_A22 EVENTOUT
2S4_SD I2S5_SD
QUADSPI_ FSMC_D7/
PE10 - TIM1_CH2N - - - - - - - - EVENTOUT
BK2_IO3 FSMC_DA7
FSMC_D10/
PE13 - TIM1_CH3 - - - SPI4_MISO SPI5_MISO - - - - EVENTOUT
FSMC_DA10
STM32F412xE/G
SPI4_MOSI/I SPI5_MOSI/ FSMC_D11/
PE14 - TIM1_CH4 - - - - - - - EVENTOUT
2S4_SD I2S5_SD FSMC_DA11
FSMC_D12/
PE15 - TIM1_BKIN - - - - - - - - - EVENTOUT
FSMC_DA12
Table 11. STM32F412xE/G alternate functions (continued)
STM32F412xE/G
AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7 AF8 AF9 AF10 AF12 AF15
I2C2/I2C3/
Port TIM8/ I2C1/ SPI1/I2S1/ SPI2/I2S2/SPI3 SPI3/I2S3/ DFSDM1/ I2CFMP1/ DFSDM1/
TIM3/
TIM1/ TIM9/ I2C2/ SPI2/I2S2/ /I2S3/SPI4/ USART1/ USART3/ CAN1/CAN2 QUADSPI/
SYS_AF TIM4/ FSMC /SDIO SYS_AF
TIM2 TIM10/ I2C3/ SPI3/I2S3/ I2S4/SPI5/I2S5 USART2/ USART6/ /TIM12/ FSMC
TIM5
TIM11 I2CFMP1 SPI4/I2S4 /DFSDM1 USART3 CAN1 TIM13/TIM14 /OTG1_FS
/QUADSPI
QUADSPI_
PF6 TRACED0 - - TIM10_CH1 - - - - - - - EVENTOUT
DS11139 Rev 8
BK1_IO3
QUADSPI_
PF7 TRACED1 - - TIM11_CH1 - - - - - - - EVENTOUT
BK1_IO2
Port F
QUADSPI_
PF8 - - - - - - - - - TIM13_CH1 - EVENTOUT
BK1_IO0
QUADSPI_
PF9 - - - - - - - - - TIM14_CH1 - EVENTOUT
BK1_IO1
I2CFMP1_
PF14 - - - - - - - - - - FSMC_A8 EVENTOUT
SCL
I2CFMP1_
PF15 - - - - - - - - - - FSMC_A9 EVENTOUT
SDA
71/205
Table 11. STM32F412xE/G alternate functions (continued)
72/205
I2C2/I2C3/
Port TIM8/ I2C1/ SPI1/I2S1/ SPI2/I2S2/SPI3 SPI3/I2S3/ DFSDM1/ I2CFMP1/ DFSDM1/
TIM3/
TIM1/ TIM9/ I2C2/ SPI2/I2S2/ /I2S3/SPI4/ USART1/ USART3/ CAN1/CAN2 QUADSPI/
SYS_AF TIM4/ FSMC /SDIO SYS_AF
TIM2 TIM10/ I2C3/ SPI3/I2S3/ I2S4/SPI5/I2S5 USART2/ USART6/ /TIM12/ FSMC
TIM5
TIM11 I2CFMP1 SPI4/I2S4 /DFSDM1 USART3 CAN1 TIM13/TIM14 /OTG1_FS
/QUADSPI
QUADSPI_
DS11139 Rev 8
PG6 - - - - - - - - - - - EVENTOUT
BK1_NCS
USART6_
PG7 - - - - - - - - - - - EVENTOUT
CK
Port G
USART6_
PG8 - - - - - - - - - - - EVENTOUT
RTS
USART6_ QUADSPI_
PG9 - - - - - - - - - FSMC_NE2 EVENTOUT
RX BK2_IO2
USART6_
PG12 - - - - - - - - CAN2_TX - FSMC_NE4 EVENTOUT
RTS
USART6_
PG13 TRACED2 - - - - - - - - - FSMC_A24 EVENTOUT
CTS
USART6_ QUADSPI_
PG14 TRACED3 - - - - - - - - FSMC_A25 EVENTOUT
TX BK2_IO3
STM32F412xE/G
USART6_
PG15 - - - - - - - - - - - EVENTOUT
CTS
PH0 - - - - - - - - - - - - EVENTOUT
Port H
PH1 - - - - - - - - - - - - EVENTOUT
STM32F412xE/G Memory mapping
5 Memory mapping
0x4000 0000
MSv37284V4
6 Electrical characteristics
Figure 19. Pin loading conditions Figure 20. Input voltage measurement
C = 50 pF VIN
MS19011V2 MS19010V2
Backup circuitry
VBAT = Power (OSC32K,RTC,
1.65 to 3.6V switch Wakeup logic
Backup registers)
OUT
Level shifter
IO
GPIOs
IN Logic
MSv39022V2
IDD_VBAT
VBAT
IDD
VDD
VDDA
ai14126
ΣIVDD Total current into sum of all VDD_x power lines (source)(1) 160
(1)
Σ IVSS Total current out of sum of all VSS_x ground lines (sink) -160
Σ IVDDUSB Total current into VDDUSB power lines (source) 25
IVDD Maximum current into each VDD_x power line (source)(1) 100
(1)
IVSS Maximum current out of each VSS_x ground line (sink) -100
Output current sunk by any I/O and control pin 25
IIO
Output current sourced by any I/O and control pin -25 mA
(2)
Total output current sunk by sum of all I/O and control pins 120
ΣIIO Total output current sunk by sum of all USB I/Os 25
Total output current sourced by sum of all I/Os and control pins(2) -120
(4)
Injected current on FT and TC pins
IINJ(PIN) (3) –5/+0
Injected current on NRST and B pins (4)
ΣIINJ(PIN) Total injected current (sum of all I/O and control pins)(5) ±25
1. All main power (VDD, VDDA, VDDUSB) and ground (VSS, VSSA) pins must always be connected to the external power supply,
in the permitted range.
2. This current consumption must be correctly distributed over all I/Os and control pins.
3. Negative injection disturbs the analog performance of the device. See note in Section 6.3.20: 12-bit ADC characteristics.
4. Positive injection is not possible on these I/Os and does not occur for input voltages lower than the specified maximum
value.
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).
UFQFPN48 - - 625
WLCSP64 - - 392
LQFP64 - - 425
Power dissipation at
PD TA = 85°C for range 6 or LQFP100 - - 465
TA = 105°C for range 7(8)
LQFP144 - - 571
UFBGA100 - - 351
UFBGA144 - - 416
mW
UFQFPN48 - - 156
WLCSP64 - - 98
LQFP64 - - 106
Power dissipation at
PD LQFP100 - - 116
TA = 125 °C for range 3(8)
LQFP144 - - 142
UFBGA100 - - 88
UFBGA144 - - 104
8-bit erase
Conversion
VDD =1.7 to (5) 100 MHz with 6 – No I/O and program
time up to 16 MHz up to 30 MHz
2.1 V(4) wait states compensation operations
1.2 Msps
only
Conversion 16-bit erase
VDD = 2.1 to 100 MHz with 5 – No I/O
time up to 18 MHz up to 30 MHz and program
2.4 V wait states compensation
1.2 Msps operations
Conversion – I/O 16-bit erase
VDD = 2.4 to 100 MHz with 4
time up to 24 MHz compensation up to 50 MHz and program
2.7 V wait states
2.4 Msps works operations
– up to
100 MHz
when VDD =
Conversion – I/O 32-bit erase
VDD = 2.7 to 100 MHz with 3 3.0 to 3.6 V
time up to 30 MHz compensation and program
3.6 V(6) wait states – up to
2.4 Msps works operations
50 MHz
when VDD =
2.7 to 3.0 V
1. Applicable only when the code is executed from Flash memory. When the code is 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. Refer to Table 59: I/O AC characteristics for frequencies vs. external load.
4. VDD/VDDA minimum value of 1.7 V, with the use of an external power supply supervisor (refer to Section 3.18.2: Internal
reset OFF).
5. Prefetch available over the complete VDD supply range.
6. The voltage range for the USB full speed embedded PHY can drop down to 2.7 V. However the electrical characteristics of
D- and D+ pins will be degraded between 2.7 and 3 V.
&
(65
5/HDN
069
Note: This feature is only available for UFBGA100 and UFBGA144 packages.
Table 21. Embedded reset and power control block characteristics (continued)
Symbol Parameter Conditions Min Typ Max Unit
In-Rush current on
voltage regulator power-
IRUSH(2) - - 160 200 mA
on (POR or wakeup from
Standby)
In-Rush energy on
(2) voltage regulator power- VDD = 1.7 V, TA = 125 °C,
ERUSH - - 5.4 µC
on (POR or wakeup from IRUSH = 171 mA for 31 µs
Standby)
1. The product behavior is guaranteed by design down to the minimum VPOR/PDR value.
2. Guaranteed by design, not tested in production.
3. The reset timing is measured from the power-on (POR reset or wakeup from VBAT) to the instant when first
instruction is fetched by the user application code.
Table 22. Typical and maximum current consumption, code with data processing (ART
accelerator disabled) running from SRAM - VDD = 1.7 V
Typ Max(1)
fHCLK
Symbol Parameter Conditions Unit
(MHz) TA= TA= TA= TA= TA=
25 °C 25 °C 85 °C 105 °C 125 °C
Table 23. Typical and maximum current consumption, code with data processing (ART
accelerator disabled) running from SRAM - VDD = 3.6 V
Typ Max(1)
fHCLK
Symbol Parameter Conditions Unit
(MHz) TA= TA= TA= TA= TA=
25 °C 25 °C 85 °C 105 °C 125 °C
Table 24. Typical and maximum current consumption in run mode, code with data processing
(ART accelerator enabled except prefetch) running from Flash memory- VDD = 1.7 V
Typ Max(1)
fHCLK
Symbol Parameter Conditions
(MHz) TA = TA = TA = TA = TA = Unit
25 °C 25 °C 85 °C 105 °C 125 °C
Table 25. Typical and maximum current consumption in run mode, code with data processing
(ART accelerator enabled except prefetch) running from Flash memory - VDD = 3.6 V
Typ Max(1)
fHCLK
Symbol Parameter Conditions
(MHz) TA = TA = TA = TA = TA = Unit
25 °C 25 °C 85 °C 105 °C 125 °C
Table 26. Typical and maximum current consumption in run mode, code with data processing
(ART accelerator disabled) running from Flash memory - VDD = 3.6 V
Typ Max(1)
fHCLK
Symbol Parameter Conditions
(MHz) TA = TA = TA = TA = TA = Unit
25 °C 25 °C 85 °C 105 °C 125 °C
Table 27. Typical and maximum current consumption in run mode, code with data processing
(ART accelerator disabled) running from Flash memory - VDD = 1.7 V
Typ Max(1)
fHCLK
Symbol Parameter Conditions
(MHz) TA = TA = TA = TA = TA = Unit
25 °C 25 °C 85 °C 105 °C 125 °C
Table 28. Typical and maximum current consumption in run mode, code with data processing
(ART accelerator enabled with prefetch) running from Flash memory - VDD = 3.6 V
Typ Max(1)
fHCLK
Symbol Parameter Conditions
(MHz) TA = TA = TA = TA = TA = Unit
25 °C 25 °C 85 °C 105 °C 125 °C
Table 29. Typical and maximum current consumption in Sleep mode - VDD = 3.6 V
Typ Max(1)
fHCLK
Symbol Parameter Conditions
(MHz) TA = TA = TA = TA = TA = Unit
25 °C 25 °C 85 °C 105 °C 125 °C
Table 30. Typical and maximum current consumption in Sleep mode - VDD = 1.7 V
Typ Max(1)
fHCLK
Symbol Parameter Conditions
(MHz) TA = TA = TA = TA = TA = Unit
25 °C 25 °C 85 °C 105 °C 125 °C
Table 31. Typical and maximum current consumptions in Stop mode - VDD = 1.7 V
Typ(1) Max(1)
Symbol Conditions Parameter Unit
TA = TA = TA = TA = TA =
25 °C 25 °C 85 °C 105 °C 125 °C
Flash in Stop mode, all Main regulator usage 121.1 168.0 648.7 1213.0 2970.0
oscillators OFF, no
independent watchdog Low power regulator usage 50.8 74.8 651.3 1328.0 2730.0
IDD_STOP Flash in Deep power Main regulator usage 79.1 122.0 609.1 1181.0 2540.0 µA
down mode, all Low power regulator usage 22.4 74.7 631.9 1286.0 2680.0
oscillators OFF, no
Low power low voltage regulator
independent watchdog 18.5 40.0 548.3 1145.0 2480.0
usage
1. Based on characterization, not tested in production.
Table 32. Typical and maximum current consumption in Stop mode - VDD=3.6 V
Typ Max(1)
Symbol Conditions Parameter Unit
TA = TA = TA = TA = TA =
25 °C 25 °C 85 °C 105 °C 125 °C
Flash in Stop mode, all Main regulator usage 124.0 179.0(2) 907.2 1762.0 3000.0(2)
oscillators OFF, no
independent watchdog Low power regulator usage 52.8 75.0(2) 757.6 1559.0 2750.0
IDD_STOP Flash in Deep power Main regulator usage 87.6 123.0 698.5 1374.0 2550.0 µA
down mode, all Low power regulator usage 26.2 74.7 737.2 1515.0 2700.0
oscillators OFF, no
Low power low voltage
independent watchdog 20.1 40.0(2) 619.1 1299.0 2500.0(2)
regulator usage
1. Based on characterization, not tested in production.
2. Tested in production.
Table 33. Typical and maximum current consumption in Standby mode - VDD= 1.7 V
Typ(1) Max(2)
Symbol Parameter Conditions TA = TA = TA = TA = TA = Unit
25 °C 25 °C 85 °C 105 °C 125 °C
Table 34. Typical and maximum current consumption in Standby mode - VDD= 3.6 V
Typ(1) Max(2)
Symbol Parameter Conditions TA = TA = TA = TA = TA = Unit
25 °C 25 °C 85 °C 105 °C 125 °C
TA = TA = TA =
TA = 25 °C
Symbol Parameter Conditions(1) 85 °C 105 °C 125 °C Unit
Figure 24. Typical VBAT current consumption (LSE and RTC ON/LSE oscillator
“low power” mode selection)
6.00
5.00 1.7
1.8
4.00 2
2.4
IDD_VBAT(μA)
3.00 2.7
2.00 3.3
3.6
1.00
0.00
0 15 30 45 60 75 90 105 120
Temperature(°C)
MSv43089V1
Figure 25. Typical VBAT current consumption (LSE and RTC ON/LSE oscillator
“high drive” mode selection)
5 1.7
1.8
4 2
IDD_VBAT(μA)
2.4
3 2.7
3
2 3.3
3.6
0
0 15 30 45 60 75 90 105 120
Temperature(°C)
MSv43090V1
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.
I/O toggling
Symbol Parameter Conditions(1) Typ Unit
frequency (fSW)
2 MHz 0.05
8 MHz 0.15
25 MHz 0.45
VDD = 3.3 V
50 MHz 0.85
C = CINT
60 MHz 1.00
84 MHz 1.40
90 MHz 1.67
2 MHz 0.10
8 MHz 0.35
Wakeup from Sleep and Regulator Option bytes are not reloaded
Flash in Deep power down ON
MS35542V1
All timings are derived from tests performed under ambient temperature and VDD=3.3 V.
clk
tWUSLEEP - - 4 6
cycles
Wakeup from Sleep mode
Flash memory in Deep
tWUSLEEPFDSM - - 50.0 µs
power down mode
Main regulator - 12.9 15.0
Main regulator, Flash
memory in Deep power - 104.9 120.0
down mode
Wakeup from STOP mode Wakeup from Stop mode,
tWUSTOP
Code execution on Flash regulator in low power - 20.8 28.0
mode(2)
Regulator in low power
mode, Flash memory in - 112.9 130.0
Deep power down mode(2)
Main regulator with Flash in
µs
Stop mode or Deep power - 4.9 7.0
down
Wakeup from STOP mode
tWUSTOP Wakeup from Stop mode,
code execution on RAM(3)
regulator in low power mode
- 12.8 20.0
and Flash in Stop mode or
Deep power down(2)
Wakeup from Standby
tWUSTDBY - - 316.8 400.0
mode
From Flash_Stop mode - 11.0
tWUFLASH Wakeup of Flash From Flash Deep power
- 50.0
down mode
1. Guaranteed by characterization, not tested in production.
2. The specification is valid for wakeup from regulator in low power mode or low power low voltage mode, since the timing
difference is negligible.
3. For the faster wakeup time for code execution on RAM, the Flash must be in STOP or DeepPower Down mode (see
reference manual RM0402).
VHSEH
90 %
10 %
VHSEL
tr(HSE) tf(HSE) tW(HSE) tW(HSE) t
THSE
External fHSE_ext
IL
clock source OSC_IN
STM32F
ai17528
VLSEH
90%
10%
VLSEL
tr(LSE) tf(LSE) tW(LSE) tW(LSE) t
TLSE
External fLSE_ext
OSC32_IN IL
clock source
STM32F
ai17529
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 29). 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 selecting the crystal, refer to the application note AN2867 “Oscillator
design guide for ST microcontrollers” available from the ST website www.st.com.
Resonator with
integrated capacitors
CL1
OSC_IN fHSE
Bias
8 MHz RF controlled
resonator
gain
2. This parameter depends on the crystal used in the application. Refer to the application note AN2867.
3. 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 guaranteed by characterization and not tested in
production. It is measured for a standard crystal resonator and it can vary significantly with the crystal
manufacturer.
Note: For information on selecting the crystal, refer to the application note AN2867 “Oscillator
design guide for ST microcontrollers” available from the ST website www.st.com.
For information about the LSE high-power mode, refer to the reference manual RM0402.
Resonator with
integrated capacitors
C L1
OSC32_ IN f LSE
Bias
32.768 kHz RF controlled
resonator
gain
OSC32_ OU T STM32F
C L2
ai17531a
0.06
0.04
0.02
ACCHSI
0
-40 0 25 5 8 105 125 TA (°C)
-0.02
-0.04
Min
Max
-0.06 Typical
-0.08
MS30492V1
50
max
40 avg
min
30
Normalized deviati on (%)
20
10
-10
-20
-30
-40
-45 -35 -25 -15 -5 5 15 25 35 45 55 65 75 85 95 105
Temperat ure (°C)
MS19013V1
Equation 1
The frequency modulation period (MODEPER) is given by the equation below:
MODEPER = round [ f PLL_IN ⁄ ( 4 × f Mod ) ]
Equation 2
Equation 2 allows to calculate the increment step (INCSTEP):
15
INCSTEP = round [ ( ( 2 – 1 ) × md × PLLN ) ⁄ ( 100 × 5 × MODEPER ) ]
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:
15
md quantized % = ( MODEPER × INCSTEP × 100 × 5 ) ⁄ ( ( 2 – 1 ) × PLLN )
As a result:
15
md quantized % = ( 250 × 126 × 100 × 5 ) ⁄ ( ( 2 – 1 ) × 240 ) = 2.002%(peak)
Figure 33 and Figure 34 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.
Frequency (PLL_OUT)
md
F0
md
Time
tmode 2xtmode
ai17291
Frequency (PLL_OUT)
F0
2xmd
Time
tmode 2xtmode
ai17292b
Program/erase parallelism
tprog Word programming time - 16 100(2) µs
(PSIZE) = x 8/16/32
Program/erase parallelism
- 400 800
(PSIZE) = x 8
Program/erase parallelism
tERASE16KB Sector (16 KB) erase time - 300 600 ms
(PSIZE) = x 16
Program/erase parallelism
- 250 500
(PSIZE) = x 32
Program/erase parallelism
- 1200 2400
(PSIZE) = x 8
Program/erase parallelism
tERASE64KB Sector (64 KB) erase time - 700 1400 ms
(PSIZE) = x 16
Program/erase parallelism
- 550 1100
(PSIZE) = x 32
Program/erase parallelism
- 2 4
(PSIZE) = x 8
Program/erase parallelism
tERASE128KB Sector (128 KB) erase time - 1.3 2.6 s
(PSIZE) = x 16
Program/erase parallelism
- 1 2
(PSIZE) = x 32
Program/erase parallelism
- 16 32
(PSIZE) = x 8
Program/erase parallelism
tME Mass erase time - 11 22 s
(PSIZE) = x 16
Program/erase parallelism
- 8 16
(PSIZE) = x 32
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).
0.1 to 30 MHz 20
VDD = 3.6 V, TA = 25 °C, LQFP144
package, conforming to IEC 61967-2, 30 to 130 MHz 28 dBµV
SEMI Peak level
EEMBC, ART ON, all peripheral clocks 130 MHz to 1 GHz 21
enabled, clock dithering disabled.
EMI Level 3.5 -
Electrostatic
VESD(HBM) discharge voltage TA = +25 °C conforming to JESD22-A114 2 2000
(human body model)
TA = +25 °C conforming to ANSI/ESD STM5.3.1,
UFBGA144, UFBGA100, LQFP100, LQFP64, 4 500
UFQFPN48 V
Electrostatic
VESD(CDM) discharge voltage TA = +25 °C conforming to ANSI/ESD STM5.3.1,
3 400
(charge device model) WLCSP64
TA = +25 °C conforming to ANSI/ESD STM5.3.1,
3 250
LQFP144
1. Guaranteed by characterization, not tested in production.
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
These tests are compliant with EIA/JESD 78A IC latchup standard.
Note: It is recommended to add a Schottky diode (pin to ground) to analog pins which may
potentially inject negative currents.
All pins
except for
Weak pull-up VIN = VSS 30 40 50
PA10
RPU equivalent (OTG_FS_ID)
resistor(6)
PA10
- 7 10 14
(OTG_FS_ID)
kΩ
All pins
except for
Weak pull-down PA10 VIN = VDD 30 40 50
RPD equivalent (OTG_FS_ID)
resistor(7)
PA10
- 7 10 14
(OTG_FS_ID)
CIO(8) I/O pin capacitance - - 5 - pF
1. Guaranteed by test in production.
2. 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. The
coverage of these requirements for FT and TC I/Os is shown in Figure 35.
2.52 DD
7V
0.
=
in
I Hm
tV
en
m
i re
qu TTL requirement
re VIHmin = 2V
2.0 OS .3
1.92 - CM +0
DD
tio
n
. 4 5V
1.7 uc in=0
od IHm
pr ,V
in s
te
d tion
s ula
Te sim
n
esig
1.22 nD Area not
1.19 do 0.04
as
e determined DD-
B
=0 .35V
1.065
IL max
ns, V
imu latio
0.8 s ign s
n De
ed o
TTL requirement VILmax
Bas
0.55 = 0.8V
0.51
Tested in production - CMOS requirement VILmax = 0.3VDD
VDD (V)
1.7 2.0 2.4 2.7 3.3 3.6
MS33746V1
VOL(1) Output low level voltage for an I/O pin CMOS port(2) - 0.4
IIO = +8 mA V
VOH(3) Output high level voltage for an I/O pin 2.7 V ≤ VDD ≤ 3.6 V VDD–0.4 -
VOL (1) Output low level voltage for an I/O pin TTL port(2) - 0.4
IIO =+8 mA V
VOH (3) Output high level voltage for an I/O pin 2.4 -
2.7 V ≤ VDD ≤ 3.6 V
VOL(1) Output low level voltage for an I/O pin IIO = +20 mA - 1.3(4)
V
VOH(3) Output high level voltage for an I/O pin 2.7 V ≤ VDD ≤ 3.6 V VDD–1.3(4) -
VOL(1) Output low level voltage for an I/O pin IIO = +6 mA - 0.4(4)
V
VOH(3) Output high level voltage for an I/O pin 1.8 V ≤ VDD ≤ 3.6 V VDD–0.4(4) -
VOL(1) Output low level voltage for an I/O pin IIO = +4 mA - 0.4(5)
V
VOH(3) Output high level voltage for an I/O pin 1.7 V ≤ VDD ≤ 3.6 V VDD–0.4(5) -
1. The IIO current sunk by the device must always respect the absolute maximum rating specified in Table 14.
and the sum of IIO (I/O ports and control pins) must not exceed IVSS.
2. TTL and CMOS outputs are compatible with JEDEC standards JESD36 and JESD52.
3. The IIO current sourced by the device must always respect the absolute maximum rating specified in
Table 14 and the sum of IIO (I/O ports and control pins) must not exceed IVDD.
4. Guaranteed by characterization results, not tested in production.
5. Guaranteed by design, not tested in production.
Input/output AC characteristics
The definition and values of input/output AC characteristics are given in Figure 36 and
Table 59, respectively.
Unless otherwise specified, the parameters given in Table 59 are derived from tests
performed under the ambient temperature and VDD supply voltage conditions summarized
in Table 16.
90% 10%
50% 50%
10% 90%
ai14131d
VDD
External
reset circuit (1)
RPU
NRST (2) Internal Reset
Filter
0.1 μF
STM32F
ai14132c
4. The maximum data hold time has only to be met if the interface does not stretch the low period of SCL
signal.
5. The minimum width of the spikes filtered by the analog filter is above tSP (max)
RP RP STM32Fxx
RS
SDA
I²C bus RS
SCL
START REPEATED
START
START
tsu(STA)
SDA
tf(SDA) tr(SDA) tsu(SDA)
STOP tw(STO:STA)
th(STA) tw(SCLH) th(SDA)
SCL
tw(SCLL) tr(SCL) tf(SCL) tsu(STO)
MSv43011V1
Table 63. SCL frequency (fPCLK1= 50 MHz, VDD = VDD_I2C = 3.3 V)(1)(2)
I2C_CCR value
fSCL (kHz)
RP = 4.7 kΩ
400 0x8019
300 0x8021
200 0x8032
100 0x0096
50 0x012C
20 0x02EE
2
1. RP = External pull-up resistance, fSCL = I C 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 is ±2%. These variations depend on the accuracy of the external
components used to design the application.
FMPI2C characteristics
The following table presents FMPI2C characteristics.
Refer also to Section 6.3.16: I/O port characteristics for more details on the input/output
function characteristics (SDA and SCL).
tf(SDA)
SDA and SCL fall time - 0.30 - 0.30 - 0.12 µs
tf(SCL)
th(STA) Start condition hold time 4 - 0.6 - 0.26 -
Repeated Start condition
tsu(STA) 4.7 - 0.6 - 0.26 -
setup time
tsu(STO) Stop condition setup time 4 - 0.6 - 0.26 -
RP RP STM32Fxx
RS
SDA
I²C bus RS
SCL
START REPEATED
START
START
tsu(STA)
SDA
tf(SDA) tr(SDA) tsu(SDA)
STOP tw(STO:STA)
th(STA) tw(SCLH) th(SDA)
SCL
tw(SCLL) tr(SCL) tf(SCL) tsu(STO)
MSv43012V1
NSS input
tc(SCK) th(NSS)
CPOL=0
CPHA=0
CPOL=1
ta(SO) tw(SCKL) tv(SO) th(SO) tf(SCK) tdis(SO)
MISO output First bit OUT Next bits OUT Last bit OUT
th(SI)
tsu(SI)
MSv41658V1
Figure 41. SPI timing diagram - slave mode and CPHA = 1(1)
NSS input
tc(SCK)
CPOL=0
CPHA=1
CPOL=1
ta(SO) tw(SCKL) tv(SO) th(SO) tr(SCK) tdis(SO)
MISO output First bit OUT Next bits OUT Last bit OUT
tsu(SI) th(SI)
MSv41659V1
High
NSS input
tc(SCK)
SCK Output
CPHA=0
CPOL=0
CPHA=0
CPOL=1
SCK Output
CPHA=1
CPOL=0
CPHA=1
CPOL=1
tw(SCKH) tr(SCK)
tsu(MI) tw(SCKL) tf(SCK)
MISO
INPUT MSB IN BIT6 IN LSB IN
th(MI)
MOSI
OUTPUT MSB OUT BIT1 OUT LSB OUT
tv(MO) th(MO)
ai14136c
Note: Refer to the I2S section of RM0402 reference manual for more details on the sampling
frequency (FS).
fMCK, fCK, and DCK values reflect only the digital peripheral behavior. The values of these
parameters might be slightly impacted by the source clock precision. DCK depends mainly
on the value of ODD bit. The digital contribution leads to a minimum value of
(I2SDIV/(2*I2SDIV+ODD) and a maximum value of (I2SDIV+ODD)/(2*I2SDIV+ODD). FS
maximum value is supported for each mode/condition.
CK Input CPOL = 0
CPOL = 1
WS input
tsu(SD_SR) th(SD_SR)
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) tw(CKL) th(WS)
WS output
tv(SD_MT) th(SD_MT)
tsu(SD_MR) th(SD_MR)
ai14884b
1. LSB transmit/receive of the previously transmitted byte. No LSB transmit/receive is sent before the first
byte.
Write mode
1.71 V≤VDD≤3.6 V - - 80
Cload = 15 pF
fSCK QSPI clock
Read mode MHz
1/tc(SCK) frequency
2.7 V<VDD<3.6 V - - 100
Cload = 15 pF
1.71 V≤VDD≤3.6 V - - 50
tw(CKH) QSPI clock high (T(CK) / 2)-1 - T(CK) / 2
-
tw(CKL) and low T(CK) / 2) - (T(CK) / 2)+1
Data input setup
ts(IN) - 0.5 - -
time
Data input hold ns
th(IN) - 3.5 - -
time
Data output valid
tv(OUT) - - 1 1.5
time
Data output hold
th(OUT) - 0.5 - -
time
1. Guaranteed by characterization results, not tested in production.
Write mode
1.71 V≤VDD≤3.6 V - - 80
Cload = 15 pF
fSCK QSPI clock
Read mode MHz
1/tc(SCK) frequency
2.7 V<VDD<3.6 V - - 80
Cload = 15 pF
1.71 V≤VDD≤3.6 V - - 50
Output VOL Static output level low RL of 1.5 kΩ to 3.6 V(4) - - 0.3
V
levels VOH Static output level high RL of 15 kΩ to VSS(4) 2.8 - 3.6
PA11, PA12
17 21 24
RPD (USB_FS_DM/DP) VIN = VDD
PA9 (OTG_FS_VBUS) 0.65 1.1 2.0
kΩ
PA11, PA12
VIN = VSS 1.5 1.8 2.1
RPU (USB_FS_DM/DP)
PA9 (OTG_FS_VBUS) VIN = VSS 0.25 0.37 0.55
1. All the voltages are measured from the local ground potential.
2. The USB OTG FS functionality is ensured down to 2.7 V but not the full USB full speed 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.
Note: When VBUS sensing feature is enabled, PA9 should be left at their default state (floating
input), not as alternate function. A typical 200 µA current consumption of the embedded
sensing block (current to voltage conversion to determine the different sessions) can be
observed on PA9 when the feature is enabled.
Figure 45. USB OTG FS timings: definition of data signal rise and fall time
Cross over
points
Differential
data lines
VCRS
VSS
tf tr
ai14137b
tr Rise time(2) CL = 50 pF 4 20 ns
tf Fall time(2) CL = 50 pF 4 20 ns
trfm Rise/ fall time matching tr/tf 90 110 %
VCRS Output signal crossover voltage 1.3 2.0 V
1. Guaranteed by design, not tested in production.
2. Measured from 10% to 90% of the data signal. For more detailed informations, refer to USB Specification -
Chapter 7 (version 2.0).
VDDA (1)
Power supply 1.7 - 3.6 V
VDDA −VREF+ < 1.2 V
VREF+ Positive reference voltage 1.7(1) - VDDA V
VDDA = 1.7(1) to 2.4 V 0.6 15 18 MHz
fADC ADC clock frequency
VDDA = 2.4 to 3.6 V 0.6 30 36 MHz
fADC = 30 MHz,
- - 1764 kHz
fTRIG(2) External trigger frequency 12-bit resolution
- - - 17 1/fADC
0 (VSSA or VREF-
VAIN Conversion voltage range(3) - - VREF+ V
tied to ground)
See Equation 1 for
RAIN(2) External input impedance - - 50 kΩ
details
RADC(2)(4) Sampling switch resistance - - - 6 kΩ
Internal sample and hold
CADC(2) - - 4 7 pF
capacitor
12-bit resolution
- - 2 Msps
Single ADC
R AIN
( k – 0.5 )
= ---------------------------------------------------------------
- – R ADC
N+2
f ADC × C ADC × ln ( 2 )
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.
Table 76. ADC dynamic accuracy at fADC = 18 MHz - limited test conditions(1)
Symbol Parameter Test conditions Min Typ Max Unit
Table 77. ADC dynamic accuracy at fADC = 36 MHz - limited test conditions(1)
Symbol Parameter Test conditions Min Typ Max Unit
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 6.3.16 does not affect the ADC accuracy.
V REF+ V DDA
[1LSB IDEAL = (or depending on package)]
4096 4096
EG
4095
4094
4093
(2)
ET
7 (3)
(1)
6
5
EO EL
4
3
ED
2
1L SBIDEAL
1
0
1 2 3 456 7 4093 4094 4095 4096
V SSA VDDA
ai14395c
VDD
MS19881V3
Figure 48. Power supply and reference decoupling (VREF+ not connected to VDDA)
STM32F
VREF+ (1)
1 μF // 10 nF
VDDA
1 μF // 10 nF
(1)
VSSA/VREF-
ai17535b
1. VREF+ and VREF- inputs are both available on UFBGA100. VREF+ is also available on LQFP100. When
VREF+ and VREF- are not available, they are internally connected to VDDA and VSSA.
Figure 49. Power supply and reference decoupling (VREF+ connected to VDDA)
STM32F
VREF+/VDDA (1)
1 μF // 10 nF
(1)
VREF-/VSSA
ai17536c
1. VREF+ and VREF- inputs are both available on UFBGA100. VREF+ is also available on LQFP100. When
VREF+ and VREF- are not available, they are internally connected to VDDA and VSSA.
TS_CAL1 TS ADC raw data acquired at temperature of 30 °C, VDDA= 3.3 V 0x1FFF 7A2C - 0x1FFF 7A2D
TS_CAL2 TS ADC raw data acquired at temperature of 110 °C, VDDA= 3.3 V 0x1FFF 7A2E - 0x1FFF 7A2F
VREFINT Internal reference voltage - 40 °C < TA < +125 °C 1.18 1.21 1.24 V
ADC sampling time when reading the
TS_vrefint(1) - 10 - - µs
internal reference voltage
Internal reference voltage spread over the
VRERINT_s(2) VDD = 3V ± 10mV - 3 5 mV
temperature range
TCoeff(2) Temperature coefficient - - 30 50 ppm/°C
tSTART(2) Startup time - - 6 10 µs
1. Shortest sampling time can be determined in the application by multiple iterations.
2. Guaranteed by design, not tested in production
DFSDM_
SPI timing: SPICKSEL = 0
CKINy
SPICKSEL = 0
tsu th
DFSDM_DATINy
SITP = 00
tsu th
SITP = 01
SPICKSEL = 3
DFSDM_CKOUT
SPI timing: SPICKSEL = 1, 2, 3
SPICKSEL = 2
twl twh tr tf
SPICKSEL = 1
tsu th
DFSDM_DATINy
SITP = 00
tsu th
SITP = 01
DFSDM_DATINy
SITP = 2
Manchester timing
SITP = 3
Recovered clock
Recovered data 0 0 1 1 0
MSv39297V1
Refer to Section 6.3.16: I/O port characteristics for more details on the input/output
characteristics.
FSMC_NE
FSMC_NOE
FSMC_NWE
tv(A_NE) th(A_NOE)
FSMC_A[25:0] Address
tv(BL_NE)
th(BL_NOE)
FSMC_NBL[1:0]
th(Data_NE)
tsu(Data_NOE) th(Data_NOE)
tsu(Data_NE)
FSMC_D[15:0] Data
tv(NADV_NE)
tw(NADV)
(1)
FSMC_NADV
FSMC_NWAIT
th(NE_NWAIT)
tsu(NWAIT_NE)
MSv39033V1
tw(NE)
FSMC_NEx
FSMC_NOE
FSMC_NWE
tv(A_NE) th(A_NWE)
FSMC_A[25:0] Address
tv(BL_NE) th(BL_NWE)
FSMC_NBL[1:0] NBL
tv(Data_NE) th(Data_NWE)
FSMC_D[15:0] Data
tv(NADV_NE)
tw(NADV)
FSMC_NADV (1)
FSMC_NWAIT
th(NE_NWAIT)
tsu(NWAIT_NE)
MSv39034V1
1. CL = 30 pF.
2. Based on characterization, not tested in production.
tv(NOE_NE) th(NE_NOE)
FSMC_NOE
tw(NOE)
FSMC_NWE
tv(A_NE) th(A_NOE)
FSMC_A[25:16] Address
tv(BL_NE) th(BL_NOE)
FSMC_NBL[1:0] NBL
th(Data_NE)
tsu(Data_NE)
FSMC_NADV
FSMC_NWAIT
th(NE_NWAIT)
tsu(NWAIT_NE)
MSv39035V1
FSMC_NEx
FSMC_NOE
FSMC_NWE
tv(A_NE) th(A_NWE)
FSMC_A[25:16] Address
tv(BL_NE) th(BL_NWE)
FSMC_NBL[1:0] NBL
t v(NADV_NE) th(AD_NADV)
tw(NADV)
FSMC_NADV
FSMC_NWAIT
th(NE_NWAIT)
tsu(NWAIT_NE)
MSv39036V1
In all timing tables, the THCLK is the HCLK clock period (with maximum
FSMC_CLK = 90 MHz).
FSMC_CLK
Data latency = 0
td(CLKL-NExL) td(CLKH-NExH)
FSMC_NEx
td(CLKL-NADVL) td(CLKL-NADVH)
FSMC_NADV
td(CLKL-AV) td(CLKH-AIV)
FSMC_A[25:16]
td(CLKL-NOEL) td(CLKH-NOEH)
FSMC_NOE
td(CLKL-ADIV) th(CLKH-ADV)
td(CLKL-ADV) tsu(ADV-CLKH) tsu(ADV-CLKH) th(CLKH-ADV)
FSMC_AD[15:0] AD[15:0] D1 D2
tsu(NWAITV-CLKH) th(CLKH-NWAITV)
FSMC_NWAIT
(WAITCFG = 1b, WAITPOL + 0b)
tsu(NWAITV-CLKH) th(CLKH-NWAITV)
FSMC_NWAIT
(WAITCFG = 0b, WAITPOL + 0b)
tsu(NWAITV-CLKH) th(CLKH-NWAITV)
MSv39037V1
FSMC_CLK
Data latency = 0
td(CLKL-NExL) td(CLKH-NExH)
FSMC_NEx
td(CLKL-NADVL) td(CLKL-NADVH)
FSMC_NADV
td(CLKL-AV) td(CLKH-AIV)
FSMC_A[25:16]
td(CLKL-NWEL) td(CLKH-NWEH)
FSMC_NWE
td(CLKL-ADIV) td(CLKL-Data)
td(CLKL-ADV) td(CLKL-Data)
FSMC_AD[15:0] AD[15:0] D1 D2
FSMC_NWAIT
(WAITCFG = 0b, WAITPOL + 0b)
tsu(NWAITV-CLKH) th(CLKH-NWAITV)
td(CLKH-NBLH)
FSMC_NBL
MSv39038V1
FSMC_CLK
td(CLKL-NExL) td(CLKH-NExH)
Data latency = 0
FSMC_NEx
td(CLKL-NADVL) td(CLKL-NADVH)
FSMC_NADV
td(CLKL-AV) td(CLKH-AIV)
FSMC_A[25:0]
td(CLKL-NOEL) td(CLKH-NOEH)
FSMC_NOE
tsu(DV-CLKH) th(CLKH-DV)
tsu(DV-CLKH) th(CLKH-DV)
FSMC_D[15:0] D1 D2
tsu(NWAITV-CLKH) th(CLKH-NWAITV)
FSMC_NWAIT
(WAITCFG = 1b,
WAITPOL + 0b) tsu(NWAITV-CLKH) th(CLKH-NWAITV)
FSMC_NWAIT
(WAITCFG = 0b,
WAITPOL + 0b)
tsu(NWAITV-CLKH) th(CLKH-NWAITV)
MSv39039V1
1. CL = 30 pF.
2. Based on characterization, not tested in production.
FSMC_CLK
td(CLKL-NExL) td(CLKH-NExH)
Data latency = 0
FSMC_NEx
td(CLKL-NADVL) td(CLKL-NADVH)
FSMC_NADV
td(CLKL-AV) td(CLKH-AIV)
FSMC_A[25:0]
td(CLKL-NWEL) td(CLKH-NWEH)
FSMC_NWE
td(CLKL-Data) td(CLKL-Data)
FSMC_D[15:0] D1 D2
FSMC_NWAIT
(WAITCFG = 0b, tsu(NWAITV-CLKH) td(CLKH-NBLH)
WAITPOL + 0b)
th(CLKH-NWAITV)
FSMC_NBL
MSv39040V1
CK
tOVD tOHD
D, CMD
(output)
ai14888
Table 97. Dynamic characteristics: eMMC characteristics VDD = 1.7 V to 1.9 V(1)(2)
Symbol Parameter Conditions Min Typ Max Unit
7 Package information
e1 bbb Z
F
G 8 1
A
Detail A
e2
e
H
G
A
e F A2
A3
Bump side Side view
Bump
A1
eee Z
E
A1 Orientation
b
reference Z
ccc Z X Y
ddd Z Seating plane
aaa
(4x)
A04F_ME_V1
Dpad
Dsm
A04F_FP_V1
Pitch 0.4 mm
Dpad 0.225 mm
0.290 mm typ. (depends on the soldermask
Dsm
registration tolerance)
Stencil opening 0.250 mm
Stencil thickness 0.100 mm
Pin 1 identifier
Y WW Z Additional information
MSv39447V1
1. Parts marked as “ES” or “E” or accompanied by an Engineering Sample notification letter are not yet
qualified and therefore not approved for use in production. ST is not responsible for any consequences
resulting from such use. In no event will ST be liable for the customer using any of these engineering
samples in production. ST’s Quality department must be contacted prior to any decision to use these
engineering samples to run a qualification activity.
E2 E1
e
PIN 1 idenfier
L
D2
BOTTOM VIEW
A
A3
A1
SEATING PLANE
C
DETAIL A
ddd C
LEADS COPLANARITY
FRONT VIEW
A1 A
SEATING PLANE
ddd C
PIN 1 IDENTIFIER C
LASER MAKER AREA
TOP VIEW
A0B9_UFQFPN48_ME_V4
6.20
48 37
1 36
0.20 5.60
7.30
5.80
6.20
5.60
0.30
12 25
13 24
0.50 0.75
0.55
5.80 A0B9_UFQFPN48_FP_V3
Product identification(1)
STM32F
412CGU6
Date code
Y WW
Pin 1
indentifier Revision code
R
MSv37285V1
1. Parts marked as “ES” or “E” or accompanied by an Engineering Sample notification letter are not yet
qualified and therefore not approved for use in production. ST is not responsible for any consequences
resulting from such use. In no event will ST be liable for the customer using any of these engineering
samples in production. ST’s Quality department must be contacted prior to any decision to use these
engineering samples to run a qualification activity.
2 1
(2)
R1
H
R2
B
B-
N
O
TI
C
SE
B GAUGE PLANE
D 1/4
0.25
(6)
S
B
L
4x N/4 TIPS
E 1/4 3
(L1)
aaa C A-B D (1) (11)
bbb H A-B D 4x
SECTION A-A
(13) (N – 4)x e
C
A
0.05
A2 A1 (12)
b
ddd C A-B D ccc C
D (4)
(10)
D (3) b WITH PLATING
N (4)
A A SECTION B-B
(Section A-A)
Notes:
1. Dimensioning and tolerancing schemes conform to ASME Y14.5M-1994.
2. The Top package body size may be smaller than the bottom package size by as much
as 0.15 mm.
3. Datums A-B and D to be determined at datum plane H.
4. To be determined at seating datum plane C.
5. Dimensions D1 and E1 do not include mold flash or protrusions. Allowable mold flash
or protrusions is “0.25 mm” per side. D1 and E1 are Maximum plastic body size
dimensions including mold mismatch.
6. Details of pin 1 identifier are optional but must be located within the zone indicated.
7. All Dimensions are in millimeters.
8. No intrusion allowed inwards the leads.
9. Dimension “b” does not include dambar protrusion. Allowable dambar protrusion shall
not cause the lead width to exceed the maximum “b” dimension by more than 0.08 mm.
Dambar cannot be located on the lower radius or the foot. Minimum space between
protrusion and an adjacent lead is 0.07 mm for 0.4 mm and 0.5 mm pitch packages.
10. Exact shape of each corner is optional.
11. These dimensions apply to the flat section of the lead between 0.10 mm and 0.25 mm
from the lead tip.
12. A1 is defined as the distance from the seating plane to the lowest point on the package
body.
13. “N” is the number of terminal positions for the specified body size.
14. Values in inches are converted from mm and rounded to 4 decimal digits.
15. Drawing is not to scale.
48 33
0.30
49 0.5 32
12.70
10.30
10.30
64 17
1.20
1 16
7.80
12.70
5W_LQFP64_FP_V2
STM32F412
RGT6
Date code
Y WW
Pin 1
indentifier
MSv37286V1
1. Parts marked as “ES” or “E” or accompanied by an Engineering Sample notification letter are not yet
qualified and therefore not approved for use in production. ST is not responsible for any consequences
resulting from such use. In no event will ST be liable for the customer using any of these engineering
samples in production. ST’s Quality department must be contacted prior to any decision to use these
engineering samples to run a qualification activity.
ș2 ș
(2)
R1
H
R2
B
B-
N
O
(6)
TI
C
SE
D1/4 B GAUGE PLANE
S
E1/4
B ș
4x N/4 TIPS
ș L
4x (L1)
aaa C A-B D
bbb H A-B D (1) (11)
(N-4) x e (13)
C
A (9) (11)
0.05
ccc C b WITH PLATING
A2 A1 b aaa C A-BD
(12)
SIDE VIEW
D (4)
(11) c
(2) (5) D1 c1 (11)
D (3)
(10) (4)
N
b1 BASE METAL
1 (11)
2
3 E1/4 SECTION B-B
E1 E
SECTION A-A
A A
θ1 0° - - 0° - -
Notes:
1. Dimensioning and tolerancing schemes conform to ASME Y14.5M-1994.
2. The Top package body size may be smaller than the bottom package size by as much
as 0.15 mm.
3. Datums A-B and D to be determined at datum plane H.
4. To be determined at seating datum plane C.
5. Dimensions D1 and E1 do not include mold flash or protrusions. Allowable mold flash
or protrusions is “0.25 mm” per side. D1 and E1 are Maximum plastic body size
dimensions including mold mismatch.
6. Details of pin 1 identifier are optional but must be located within the zone indicated.
7. All Dimensions are in millimeters.
8. No intrusion allowed inwards the leads.
9. Dimension “b” does not include dambar protrusion. Allowable dambar protrusion shall
not cause the lead width to exceed the maximum “b” dimension by more than 0.08 mm.
Dambar cannot be located on the lower radius or the foot. Minimum space between
protrusion and an adjacent lead is 0.07 mm for 0.4 mm and 0.5 mm pitch packages.
10. Exact shape of each corner is optional.
11. These dimensions apply to the flat section of the lead between 0.10 mm and 0.25 mm
from the lead tip.
12. A1 is defined as the distance from the seating plane to the lowest point on the package
body.
13. “N” is the number of terminal positions for the specified body size.
14. Values in inches are converted from mm and rounded to 4 decimal digits.
15. Drawing is not to scale.
76 50
0.5
0.3
16.7 14.3
100 26
1.2
1 25
12.3
16.7
1L_LQFP100_FP_V1
Product identification(1)
ES32F412
Date code
Y WW
Pin 1
indentifier
MSv37287V1
1. Parts marked as “ES” or “E” or accompanied by an Engineering Sample notification letter are not yet
qualified and therefore not approved for use in production. ST is not responsible for any consequences
resulting from such use. In no event will ST be liable for the customer using any of these engineering
samples in production. ST’s Quality department must be contacted prior to any decision to use these
engineering samples to run a qualification activity.
BOTTOM VIEW
2 1
(2)
R1
H
R2
B
B-
N
O
TI
C
SE
(6) B GAUGE PLANE
0.25
D 1/4
S
B
L
3
E 1/4 (L1)
(1) (11)
4x N/4 TIPS
aaa C A-B D SECTION A-A
bbb H A-B D 4x
(N-4)x e
C
A
0.05 (12) ddd C A-B D
A2 A1 b ccc C
D (4)
D1 (2) (5)
(10) (3) D (9) (11)
N (4)
b WITH PLATING
1
2
3 E 1/4
(11) (11)
c c1
(6)
D 1/4 (2)
(3) A B (3) (5)
E1 E b1 BASE METAL
(11)
SECTION B-B
A A
(Section A-A)
TOP VIEW
1A_LQFP144_ME_V2
A - - 1.60 - - 0.0630
(12)
A1 0.05 - 0.15 0.0020 - 0.0059
A2 1.35 1.40 1.45 0.0531 0.0551 0.0571
(9)(11)
b 0.17 0.22 0.27 0.0067 0.0087 0.0106
(11)
b1 0.17 0.20 0.23 0.0067 0.0079 0.0090
(11)
c 0.09 - 0.20 0.0035 - 0.0079
c1(11) 0.09 - 0.16 0.0035 - 0.0063
(4)
D 22.00 BSC 0.8661 BSC
(2)(5)
D1 20.00 BSC 0.7874 BSC
E(4) 22.00 BSC 0.8661 BSC
E1(2)(5) 20.00 BSC 0.7874 BSC
e 0.50 BSC 0.0197 BSC
L 0.45 0.60 0.75 0.0177 0.0236 0.0295
L1 1.00 REF 0.0394 REF
N(13) 144
θ 0° 3.5° 7° 0° 3.5° 7°
θ1 0° - - 0° - -
Notes:
1. Dimensioning and tolerancing schemes conform to ASME Y14.5M-1994.
2. The Top package body size may be smaller than the bottom package size by as much
as 0.15 mm.
3. Datums A-B and D to be determined at datum plane H.
4. To be determined at seating datum plane C.
5. Dimensions D1 and E1 do not include mold flash or protrusions. Allowable mold flash
or protrusions is “0.25 mm” per side. D1 and E1 are Maximum plastic body size
dimensions including mold mismatch.
6. Details of pin 1 identifier are optional but must be located within the zone indicated.
7. All Dimensions are in millimeters.
8. No intrusion allowed inwards the leads.
9. Dimension “b” does not include dambar protrusion. Allowable dambar protrusion shall
not cause the lead width to exceed the maximum “b” dimension by more than 0.08 mm.
Dambar cannot be located on the lower radius or the foot. Minimum space between
protrusion and an adjacent lead is 0.07 mm for 0.4 mm and 0.5 mm pitch packages.
10. Exact shape of each corner is optional.
11. These dimensions apply to the flat section of the lead between 0.10 mm and 0.25 mm
from the lead tip.
12. A1 is defined as the distance from the seating plane to the lowest point on the package
body.
13. “N” is the number of terminal positions for the specified body size.
14. Values in inches are converted from mm and rounded to 4 decimal digits.
15. Drawing is not to scale.
108 73
1.35
109 0.35 72
0.50
19.90 17.85
22.60
144 37
1 36
19.90
22.60
1A_LQFP144_FP
Revision code
Product identification(1) R
ES32F412ZGT6
Date code
Pin 1 Y WW
identifier
MSv37288V1
1. Parts marked as “ES” or “E” or accompanied by an Engineering Sample notification letter are not yet
qualified and therefore not approved for use in production. ST is not responsible for any consequences
resulting from such use. In no event will ST be liable for the customer using any of these engineering
samples in production. ST’s Quality department must be contacted prior to any decision to use these
engineering samples to run a qualification activity.
E1
e SE
M
L
K
SD J
H
G
D1
F
E
D
C
e
B
A
A1 ball pad 1 2 3 4 5 6 7 8 9 10 11 12
corner Øb (N balls)
BOTTOM VIEW Ø eee M C A B
Ø fff M C
DETAIL A
Mold resin
A ccc C
SIDE VIEW
C
Substrate
B E
A
A1 ball pad
corner
(9)
Seating plane
(8)
(DATUM A) A1 A2
C
Detail A
D ddd C
Solder balls
(DATUM B)
aaa C
TOP VIEW (4X)
A0C2_UFBGA_ME_V8
Notes:
1. Dimensioning and tolerancing schemes conform to ASME Y14.5M-2009 apart
European projection.
2. UFBGA stands for ulta profile fine pitch ball grid array: 0.50 mm < A ≤ 0.65 mm / fine
pitch e < 1.00 mm.
3. The profile height, A, is the distance from the seating plane to the highest point on the
package. It is measured perpendicular to the seating plane.
4. A1 is defined as the distance from the seating plane to the lowest point on the package
body.
5. Dimension b is measured at the maximum diameter of the terminal (ball) in a plane
parallel to primary datum C.
6. BSC stands for BASIC dimensions. It corresponds to the nominal value and has no
tolerance. For tolerances refer to form and position table. On the drawing these
dimensions are framed.
7. Primary datum C is defined by the plane established by the contact points of three or
more solder balls that support the device when it is placed on top of a planar surface.
8. The terminal (ball) A1 corner must be identified on the top surface of the package by
using a corner chamfer, ink or metalized markings, or other feature of package body or
integral heat slug. A distinguish feature is allowable on the bottom surface of the
package to identify the terminal A1 corner. Exact shape of each corner is optional.
9. e represents the solder ball grid pitch.
10. N represents the total number of balls on the BGA.
11. Basic dimensions SD and SE are defined with respect to datums A and B. It defines the
position of the centre ball(s) in the outer row or column of a fully populated matrix.
12. Values in inches are converted from mm and rounded to 4 decimal digits.
13. Drawing is not to scale.
Dpad
Dsm
BGA_WLCSP_FT_V1
Table 106. UFBGA100 - Example of PCB design rules (0.5 mm pitch BGA)
Dimension Values
Pitch 0.50 mm
Dpad 0.280 mm
0.370 mm typ. (depends on the solder mask
Dsm
registration tolerance)
Stencil opening 0.280 mm
Stencil thickness Between 0.100 mm and 0.125 mm
Product identification(1)
STM32F
412VGH6
MSv39448V1
1. Parts marked as “ES” or “E” or accompanied by an Engineering Sample notification letter are not yet
qualified and therefore not approved for use in production. ST is not responsible for any consequences
resulting from such use. In no event will ST be liable for the customer using any of these engineering
samples in production. ST’s Quality department must be contacted prior to any decision to use these
engineering samples to run a qualification activity.
E1
e SE
M
L
K
J
e
H
SD
G
D1
E
D
C
B
A
A1 ball pad
corner 1 2 3 4 5 6 7 8 9 10 11 12
Øb (144 balls)
BOTTOM VIEW Ø eee M C A B
Ø fff M C
DETAIL A
A
SIDE VIEW C
B E
8 A1 ball A
pad corner
ccc C Mold resin
Seating
(DATUM A) plane
7
Substrate A1 A2
D
Solder balls
ddd C
(DATUM B)
DETAIL A
(4x)
aaa C
Notes:
1. Dimensioning and tolerancing schemes conform to ASME Y14.5M-2009 apart
European projection.
2. UFBGA stands for ulta profile fine pitch ball grid array: 0.50 mm < A ≤ 0.65 mm / fine
pitch e < 1.00 mm.
3. The profile height, A, is the distance from the seating plane to the highest point on the
package. It is measured perpendicular to the seating plane.
4. A1 is defined as the distance from the seating plane to the lowest point on the package
body.
5. Dimension b is measured at the maximum diameter of the terminal (ball) in a plane
parallel to primary datum C.
6. BSC stands for BASIC dimensions. It corresponds to the nominal value and has no
tolerance. For tolerances refer to form and position table. On the drawing these
dimensions are framed.
7. Primary datum C is defined by the plane established by the contact points of three or
more solder balls that support the device when it is placed on top of a planar surface.
8. The terminal (ball) A1 corner must be identified on the top surface of the package by
using a corner chamfer, ink or metalized markings, or other feature of package body or
integral heat slug. A distinguish feature is allowable on the bottom surface of the
package to identify the terminal A1 corner. Exact shape of each corner is optional.
9. e represents the solder ball grid pitch.
10. N represents the total number of balls on the BGA.
11. Basic dimensions SD and SE are defined with respect to datums A and B. It defines the
position of the centre ball(s) in the outer row or column of a fully populated matrix.
12. Values in inches are converted from mm and rounded to 4 decimal digits.
13. Drawing is not to scale.
Dpad
Dsm
BGA_WLCSP_FT_V1
Table 108. UFBGA144 - Example of PCB design rules (0.80 mm pitch BGA)
Dimension Values
Pitch 0.80 mm
Dpad 0.400 mm
0.550 mm typ. (depends on the soldermask
Dsm
registration tolerance)
Stencil opening 0.400 mm
Stencil thickness Between 0.100 mm and 0.125 mm
Pad trace width 0.120 mm
Product
identification(1)
STM32F412
ZGJ6
Additional
information
Z
Date code
Y WW
Ball A1
indentifier
MSv39449V1
1. Parts marked as “ES” or “E” or accompanied by an Engineering Sample notification letter are not yet
qualified and therefore not approved for use in production. ST is not responsible for any consequences
resulting from such use. In no event will ST be liable for the customer using any of these engineering
samples in production. ST’s Quality department must be contacted prior to any decision to use these
engineering samples to run a qualification activity.
BSC stands for basic dimensions. It corresponds to the nominal value and
BSC
has no tolerance. For tolerances refer to form and position table.
Reference dimension is the numerical value provided for information only,
REF
and it is not used in the fabrication and measurement of the part.
8 Ordering information
Device family
STM32 = Arm®-based 32-bit microcontroller
Product type
F = General-purpose
Device subfamily
412 = 412 line
Pin count
C = 48 pins
R = 64 pins
V = 100 pins
Z = 144 pins
Package
H = UFBGA 7 x 7 mm
J = UFBGA 10 x 10 mm
T = LQFP
U = UFQFPN
Y = WLCSP
Temperature range
6 = Industrial temperature range, -40 to 85 °C
7 = Industrial temperature range, -40 to 105 °C
3 = Industrial temperature range, -40 to 125°C
Option
Blank = Standard production
P = Internal regulator disabled
Packing
TR = tape and reel
No character = tray or tube
When the internal reset is OFF, the following integrated features are no longer supported:
• The integrated power-on-reset (POR)/power-down reset (PDR) circuitry is disabled.
• The brownout reset (BOR) circuitry must be disabled. By default BOR is OFF.
• The embedded programmable voltage detector (PVD) is disabled.
• VBAT functionality is no more available and VBAT pin should be connected to VDD.
VDD VDDUSB
5 V to VDDUSB
Voltage regulator(1)
STM32F412xx
144 pins packages
VBUS
OSC_OUT
VSS
MSv39452V1
1. External voltage regulator only needed when building a VBUS powered device.
Figure 82. USB peripheral-only Full speed mode with direct connection
for VBUS sense
STM32F412xx
144 pins packages
VBUS
USB Std-B connector
PA9
DM
PA11
OSC_IN DP
PA12
OSC_OUT
VSS
MSv39468V1
1. External voltage regulator only needed when building a VBUS powered device.
Figure 83. USB peripheral-only Full speed mode, VBUS detection using GPIO
STM32F412xx
144 pins packages
GPIO VBUS
OSC_OUT
VSS
MSv39469V1
1. External voltage regulator only needed when building a VBUS powered device.
Figure 84. USB controller configured as host-only and used in full speed mode
VDD
STM32F412xx
EN
GPIO Current limiter 5V
power switch (1)
Overcurrent
GPIO+IRQ
DM
PA11
OSC_IN
DP
PA12
OSC_OUT VSS
MSv37296V1
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.
Figure 85. USB controller configured in dual mode and used in full speed mode
VDD
5 V to VDD
Voltage
regulator(1)
VDD
STM32F412xx
EN
GPIO
Current limiter 5V
Overcurrent
power switch(2)
GPIO+IRQ
VBUS
MSv37297V1
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.
Accelerometer
Gyroscope
Magnetometer
STM32F412 SCL
PB 6/PB 10/PA 8 I2C
48-pin package Pressure
PB 7/PB 9/PB 4 SDA
PA 9 TX
UART Micro
PA 10 RX
SWDIO
PA 13 PA 4 NSS
JTAG SWCLK
PA 14
SWO PA 5 SCK SPI
PB 3 HOST
PA 6 MISO
NR ST MOSI
PA 7
OSC 32 k
PC14
ADC
PA 1/PA 3 Temperature /Hu midity
PC15
Up to 10 ADC inpu ts
MSv39453V1
STM32F412
64-pin package
Backlight
TIM3_ch3 PC8
control
GPIO TE (Tearing)
NWE PC2 WR
A0 PC3 DC
10k NE4 PC4 CS
NOE PC5
Display Module
BOOT0 RD
D0 PB14
FSMC D1 PC6
D2 PC11
SWDIO PA13 D3 PC12 [D0:D7]
JTAG SWCLK PA14 D4 PA2
SWO PB3
D5 PA3
D6 PA4
D7 PA5
4
GPIO Interrupt
Touch Screen
PB6 SCL Controller
I2C
PB9 SDA
MSv39454V1
Note: 16 bit displays interfaces can be addressed with 100 and 144 pins packages.
The STMicroelectronics group of companies (ST) places a high value on product security,
which is why the ST product(s) identified in this documentation may be certified by various
security certification bodies and/or may implement our own security measures as set forth
herein. However, no level of security certification and/or built-in security measures can
guarantee that ST products are resistant to all forms of attacks. As such, it is the
responsibility of each of ST's customers to determine if the level of security provided in an
ST product meets the customer needs both in relation to the ST product alone, as well as
when combined with other components and/or software for the customer end product or
application. In particular, take note that:
• ST products may have been certified by one or more security certification bodies, such
as Platform Security Architecture (www.psacertified.org) and/or Security Evaluation
standard for IoT Platforms (www.trustcb.com). For details concerning whether the ST
product(s) referenced herein have received security certification along with the level
and current status of such certification, either visit the relevant certification standards
website or go to the relevant product page on www.st.com for the most up to date
information. As the status and/or level of security certification for an ST product can
change from time to time, customers should re-check security certification status/level
as needed. If an ST product is not shown to be certified under a particular security
standard, customers should not assume it is certified.
• Certification bodies have the right to evaluate, grant and revoke security certification in
relation to ST products. These certification bodies are therefore independently
responsible for granting or revoking security certification for an ST product, and ST
does not take any responsibility for mistakes, evaluations, assessments, testing, or
other activity carried out by the certification body with respect to any ST product.
• Industry-based cryptographic algorithms (such as AES, DES, or MD5) and other open
standard technologies which may be used in conjunction with an ST product are based
on standards which were not developed by ST. ST does not take responsibility for any
flaws in such cryptographic algorithms or open technologies or for any methods which
have been or may be developed to bypass, decrypt or crack such algorithms or
technologies.
• While robust security testing may be done, no level of certification can absolutely
guarantee protections against all attacks, including, for example, against advanced
attacks which have not been tested for, against new or unidentified forms of attack, or
against any form of attack when using an ST product outside of its specification or
intended use, or in conjunction with other components or software which are used by
customer to create their end product or application. ST is not responsible for resistance
against such attacks. As such, regardless of the incorporated security features and/or
any information or support that may be provided by ST, each customer is solely
responsible for determining if the level of attacks tested for meets their needs, both in
relation to the ST product alone and when incorporated into a customer end product or
application.
• All security features of ST products (inclusive of any hardware, software,
documentation, and the like), including but not limited to any enhanced security
features added by ST, are provided on an "AS IS" BASIS. AS SUCH, TO THE EXTENT
PERMITTED BY APPLICABLE LAW, ST DISCLAIMS ALL WARRANTIES, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, unless the
applicable written and signed contract terms specifically provide otherwise.
Revision history
Updated:
– Section 3.23.2: General-purpose timers (TIMx)
– Table 22: Typical and maximum current consumption, code with data processing
(ART accelerator disabled) running from SRAM - VDD = 1.7 V
– Table 23: Typical and maximum current consumption, code with data processing
(ART accelerator disabled) running from SRAM - VDD = 3.6 V
– Table 24: Typical and maximum current consumption in run mode, code with data
processing (ART accelerator enabled except prefetch) running from Flash
memory- VDD = 1.7 V
– Table 25: Typical and maximum current consumption in run mode, code with data
processing (ART accelerator enabled except prefetch) running from Flash
memory - VDD = 3.6 V
27-May-2016 4
– Table 26: Typical and maximum current consumption in run mode, code with data
processing (ART accelerator disabled) running from Flash memory - VDD = 3.6 V
– Table 27: Typical and maximum current consumption in run mode, code with data
processing (ART accelerator disabled) running from Flash memory - VDD = 1.7 V
– Table 28: Typical and maximum current consumption in run mode, code with data
processing (ART accelerator enabled with prefetch) running from Flash memory -
VDD = 3.6 V
– Table 29: Typical and maximum current consumption in Sleep mode - VDD = 3.6 V
– Table 30: Typical and maximum current consumption in Sleep mode - VDD = 1.7 V
– Table 38: Low-power mode wakeup timings(1)
– Figure 38: I2C bus AC waveforms and measurement circuit
– Figure 39: FMPI2C timing diagram and measurement circuit
Updated:
– Section 2: Description
– Table 2: STM32F412xE/G features and peripheral counts
– Section 3.19.1: Regulator ON
– Section 3.19.2: Regulator OFF
– Table 4: Regulator ON/OFF and internal power supply supervisor availability
– Table 15: Thermal characteristics
– Table 16: General operating conditions
– Table 21: Embedded reset and power control block characteristics
– Table from: Table 22: Typical and maximum current consumption, code with data
processing (ART accelerator disabled) running from SRAM - VDD = 1.7 V to
Table 35: Typical and maximum current consumptions in VBAT mode
– Figure 24: Typical VBAT current consumption (LSE and RTC ON/LSE oscillator
“low power” mode selection)
– Figure 25: Typical VBAT current consumption (LSE and RTC ON/LSE oscillator
23-May-2017 5 “high drive” mode selection)
– Table 43: HSI oscillator characteristics
– Table 44: LSI oscillator characteristics
– Table 51: Flash memory endurance and data retention
– Table 55: Electrical sensitivities
– Table 57: I/O static characteristics
– Table 88: Asynchronous multiplexed PSRAM/NOR read timings
– Note 1. in Figure 62: WLCSP64 marking example (package top view)
– Note 1. in Figure 65: UFQFPN48 marking example (package top view)
– Note 1. in Figure 68: LQFP64 marking example (package top view)
– Note 1. in Figure 71: LQFP100 marking example (package top view)
– Note 1. in Figure 74: LQFP144 marking example (package top view)
– Note 1. in Figure 77: UFBGA100 marking example (package top view)
– Note 1. in Figure 73: UFBGA144 marking example (package top view)
– Table 111: Ordering information scheme
Updated:
– Table 2: STM32F412xE/G features and peripheral counts
– Table 7: USART feature comparison
– Table 9: STM32F412xE/G pin definition
– Section 3.29: Digital filter for sigma-delta modulators (DFSDM)
– Table 108: UFBGA144 - 144-pin, 10 x 10 mm, 0.80 mm pitch, ultra fine pitch ball
grid array package mechanical data
Added:
13-Jul-2017 6 – Section 4.1: WLSCP64 pinout description
– Section 4.2: UFQFPN48 pinout description
– Section 4.3: LQFP64 pinout description
– Section 4.4: LQFP100 pinout description
– Section 4.5: LQFP144 pinout description
– Section 4.6: UFBGA100 pinout description
– Section 4.7: UFBGA144 pinout description
– Section 4.8: Pin definition
– Table 10: FSMC pin definition
Updated:
– Table 23: Typical and maximum current consumption, code with data processing
(ART accelerator disabled) running from SRAM - VDD = 3.6 V
– Table 23: Typical and maximum current consumption, code with data processing
19-Dec-2017 7
(ART accelerator disabled) running from SRAM - VDD = 3.6 V
– Table 32: Typical and maximum current consumption in Stop mode - VDD=3.6 V
– Table 34: Typical and maximum current consumption in Standby mode - VDD=
3.6 V
Updated:
– Section 3.32: Universal serial bus on-the-go full-speed (USB_OTG_FS)
– Table 9: STM32F412xE/G pin definition
– Section 7.2: UFQFPN48 package information
– Section 7.3: LQFP64 package information
– Section 7.4: LQFP100 package information
10-Mar-2023 8
– Section 7.5: LQFP144 package information
– Section 7.6: UFBGA100 package information
– Section 7.7: UFBGA144 package information
Added:
– Section 7.8: Package term definition
– Section 9: Important security notice
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on
ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order
acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or
the design of Purchasers’ products.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. For additional information about ST trademarks, please refer to www.st.com/trademarks. All other
product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.