Stm32f412ce DS
Stm32f412ce DS
Features )%*$
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.1 Compatibility with STM32F4 series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3 Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.1 Arm® Cortex®-M4 with FPU core with embedded Flash and SRAM . . . . 19
3.2 Adaptive real-time memory accelerator (ART Accelerator™) . . . . . . . . . 19
3.3 Batch Acquisition mode (BAM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.4 Memory protection unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.5 Embedded Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.6 One-time programmable bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.7 CRC (cyclic redundancy check) calculation unit . . . . . . . . . . . . . . . . . . . 20
3.8 Embedded SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.9 Multi-AHB bus matrix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.10 DMA controller (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.11 Flexible static memory controller (FSMC) . . . . . . . . . . . . . . . . . . . . . . . . 22
3.12 Quad-SPI memory interface (QUAD-SPI) . . . . . . . . . . . . . . . . . . . . . . . . 22
3.13 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . . 23
3.14 External interrupt/event controller (EXTI) . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.15 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.16 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.17 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.18 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.18.1 Internal reset ON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.18.2 Internal reset OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.19 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.19.1 Regulator ON . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.19.2 Regulator OFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.19.3 Regulator ON/OFF and internal reset ON/OFF availability . . . . . . . . . . 31
3.20 Real-time clock (RTC) and backup registers . . . . . . . . . . . . . . . . . . . . . . 31
3.21 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5 Memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
6 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
6.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
6.1.1 Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
6.1.2 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
6.1.3 Typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
6.1.4 Loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
6.1.5 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
6.1.6 Power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
6.1.7 Current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
6.2 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
6.3 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
6.3.1 General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
6.3.2 VCAP_1/VCAP_2 external capacitors . . . . . . . . . . . . . . . . . . . . . . . . . . 85
6.3.3 Operating conditions at power-up/power-down (regulator ON) . . . . . . . 85
6.3.4 Operating conditions at power-up / power-down (regulator OFF) . . . . . 86
6.3.5 Embedded reset and power control block characteristics . . . . . . . . . . . 86
6.3.6 Supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
6.3.7 Wakeup time from low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . 105
6.3.8 External clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 107
6.3.9 Internal clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 111
6.3.10 PLL characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
6.3.11 PLL spread spectrum clock generation (SSCG) characteristics . . . . . 115
6.3.12 Memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
6.3.13 EMC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
6.3.14 Absolute maximum ratings (electrical sensitivity) . . . . . . . . . . . . . . . . 121
6.3.15 I/O current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
6.3.16 I/O port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
6.3.17 NRST pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
6.3.18 TIM timer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
6.3.19 Communications interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
6.3.20 12-bit ADC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
6.3.21 Temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
6.3.22 VBAT monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
6.3.23 Embedded reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
6.3.24 DFSDM characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
List of tables
List of figures
Figure 45. USB OTG FS timings: definition of data signal rise and fall time . . . . . . . . . . . . . . . . . . . 140
Figure 46. ADC accuracy characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Figure 47. Typical connection diagram using the ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Figure 48. Power supply and reference decoupling (VREF+ not connected to VDDA). . . . . . . . . . . . . 146
Figure 49. Power supply and reference decoupling (VREF+ connected to VDDA). . . . . . . . . . . . . . . . 147
Figure 50. Asynchronous non-multiplexed SRAM/PSRAM/NOR read waveforms . . . . . . . . . . . . . . 151
Figure 51. Asynchronous non-multiplexed SRAM/PSRAM/NOR write waveforms . . . . . . . . . . . . . . 153
Figure 52. Asynchronous multiplexed PSRAM/NOR read waveforms. . . . . . . . . . . . . . . . . . . . . . . . 154
Figure 53. Asynchronous multiplexed PSRAM/NOR write waveforms . . . . . . . . . . . . . . . . . . . . . . . 156
Figure 54. Synchronous multiplexed NOR/PSRAM read timings . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Figure 55. Synchronous multiplexed PSRAM write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
Figure 56. Synchronous non-multiplexed NOR/PSRAM read timings . . . . . . . . . . . . . . . . . . . . . . . . 162
Figure 57. Synchronous non-multiplexed PSRAM write timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Figure 58. SDIO high-speed mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Figure 59. SD default mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Figure 60. WLCSP64 - 64-pin, 3.658 x 3.686 mm, 0.4 mm pitch wafer level chip scale
package outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Figure 61. WLCSP64 - 64-pin, 3.658 x 3.686 mm, 0.4 mm pitch wafer level chip scale
recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
Figure 62. WLCSP64 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Figure 63. UFQFPN48 - 48-lead, 7x7 mm, 0.5 mm pitch, ultra thin fine pitch quad flat
package outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Figure 64. UFQFPN48 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Figure 65. UFQFPN48 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Figure 66. LQFP64 - 64-pin, 10 x 10 mm low-profile quad flat package outline . . . . . . . . . . . . . . . . 173
Figure 67. LQFP64 recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Figure 68. LQFP64 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Figure 69. LQFP100 - 100-pin, 14 x 14 mm low-profile quad flat package outline . . . . . . . . . . . . . . 177
Figure 70. LQFP100 - 100-pin, 14 x 14 mm low-profile quad flat
recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Figure 71. LQFP100 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Figure 72. LQFP144 - 144-pin, 20 x 20 mm low-profile quad flat package outline . . . . . . . . . . . . . . 180
Figure 73. LQFP144 - 144-pin,20 x 20 mm low-profile quad flat package
recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Figure 74. LQFP144 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Figure 75. UFBGA100 - 100-pin, 7 x 7 mm, 0.50 mm pitch, ultra fine pitch ball
grid array package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Figure 76. UFBGA100 - 100-pin, 7 x 7 mm, 0.50 mm pitch, ultra fine pitch ball
grid array package recommended footprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Figure 77. UFBGA100 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Figure 78. UFBGA144 - 144-pin, 10 x 10 mm, 0.80 mm pitch, ultra fine pitch ball
grid array package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Figure 79. UFBGA144 - 144-pin, 10 x 10 mm, 0.80 mm pitch, ultra fine pitch ball
grid array recommended footprint. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Figure 80. UFBGA144 marking example (package top view) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Figure 81. USB controller configured as peripheral-only and used in Full speed mode . . . . . . . . . . 193
Figure 82. USB peripheral-only Full speed mode with direct connection
for VBUS sense . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
Figure 83. USB peripheral-only Full speed mode, VBUS detection using GPIO . . . . . . . . . . . . . . . . 194
Figure 84. USB controller configured as host-only and used in full speed mode. . . . . . . . . . . . . . . . 194
Figure 85. USB controller configured in dual mode and used in full speed mode . . . . . . . . . . . . . . . 195
Figure 86. Sensor Hub application example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
1 Introduction
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.
670)[[
670)[[
670)[[
670)670)OLQH
670)[[
670)670)OLQH 3' 3'
670)670)OLQH 3' 3'
670)670)OLQH 3' 3'
3' 3% QRW DYDLODEOHDQ\PRUH 3'
3% 5HSODFHG E\ 9 &$3B 3%
3% 3%
3% 3%
3% 3%
9&$3B
9&$3B
9''
3(
3(
3(
3(
3(
3%
3(
3%
9''
3(
3(
3(
3(
3(
3%
966
3(
966 9''
966 9''
06Y9
670)[[
670)[[
670)[[
670)[[
670)670)OLQH 670)[[
3&
3&
3&
3&
3&
3&
3$
3$
3$
3$
9'' 9'' 9'' 9''
9&$3B 966
3$ 3$
3$ 3$
3$ 3$
3$ 3$
3$ 3$ 966
966
3$ 3$
3& 3&
3& 3&
3& 3&
3& 3&
3%QRWDYDLODEOHDQ\PRUH
3% 3%
3% 5HSODFHGE\9&$3B 3%
3% 3%
3% 3%
3%
3%
9&$3B
9''
3%
3%
3%
9&$3B
966
9''
9&$3BLQFUHDVHGWRI
(65RUEHORZ
670)670)OLQH
670)670)OLQH 670)[[
670)670)OLQH 670)[[
670)670)OLQH
3&
3&
3&
3&
3&
3&
3$
3$
3$
3$
3'
3'
3'
3'
06Y9
)60& &/.1(>@$>@
125)ODVK
$+%
-7567-7', '>@12(11:(1
-7$* 6: 038)38 65$0365$0 1%/>@1:$,7
-7&.6:&/.
-7'26:'-7'2 (70 19,& 4XDG63, &/.&6$&6%'>@
75$&(&/.
75$&('>@ ,%86 .%65$0
$50&RUWH[0
&RUWH[0
$+%EXVPDWUL[60
'%86
0+]
6%86
$&&(/
&$&+(
8SWR0%)ODVK
PHPRU\
51*
$+%0+] #9'' #9''86%
'
),)2
3+<
6WUHDPV 86%
'0$ '
),)2 27*)6 6&/6'$,17,'9%86
$+%3&/.
$+%3&/.
+&/.
$3%&/.
$3%&/.
26&B,1
/6 ;7$/N+] 26&B287
57&
$:8 $/$50B287
%DFNXSUHJLVWHU
67$03
/6
&5&
7,0 E FKDQQHOVDV$)
VPFDUG 5;7;6&.
FKDQQHODV$) 7,0 E 86$57 LU'$ &76576DV$)
::'*
FKDQQHODV$) 7,0 E VPFDUG 5;7;6&.
86$57 LU'$ &76576DV$)
$3%0+]
5;7;6&. VPFDUG
86$57 63,,6 026,0,626&.
&76576DV$) LU'$ 7,0(5 E
166:60&.DV$)
VPFDUG 026,0,626&.
5;7;6&. 63,,6
LU'$ 86$57 166:60&.DV$)
&76576DV$) 7,0(5 E
026,0,62 6&/6'$60%$DV$)
63,,6 ,&60%86
6&.166:6DV$)
026,0,62 6&/6'$60%$DV$)
63,,6 ,&60%86
6&.166:6DV$)
026,0,62
63,,6 ,&60%86 6&/6'$60%$DV$)
6&.166:6DV$)
&.,1>@'$7,1>@
')6'0 ,&)0360%86 6&/6'$60%$DV$)
&.287
9''5()B$'& 8 6 $5 7 0 % S V
7HPSHUDWXUHVHQVRU
&$1 7;5;
),)2
DQDORJLQSXWV $'& ,)
&$1 7;5;
#9''$
06Y9
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.
$50 *3 *3
&RUWH[0 '0$ '0$
'0$B0(0
'0$B0(0
'0$B3
'0$B3,
'EXV
6EXV
,EXV
6 6 6 6 6 6
0 ,&2'(
$&&(/
)ODVK
8SWR0%
0 '&2'(
65$0
0
.%
0 $+% $3%
SHULSK
0 $+% $3%
SHULSK
)60&H[WHUQDO
0 0HP&WUO
%XVPDWUL[6 4XDG63,
06Y9
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.
9''86%B0$;
86% IXQFWLRQDODUHD
9''86%
9''86%B0,1
86%QRQ 86% QRQ
IXQFWLRQDO 9'' 9''$ IXQFWLRQDO
DUHD DUHD
9''B0,1
3RZHUGRZQ WLPH
3RZHURQ 2SHUDWLQJPRGH
069
9''
([WHUQDO9''SRZHUVXSSO\VXSHUYLVRU
([WUHVHWFRQWUROOHUDFWLYHZKHQ
9''9
1567
3'5B21
9''
06Y9
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.
9''
3$ 1567
9''
%<3$66B5(*
9
9&$3B
9&$3B
DL9
9''
WLPH
1567
3$
WLPH
06Y9
1. This figure is valid whatever the internal reset mode (ON or OFF).
3'5 9
9&$3B9&$3B
9
0LQ9
WLPH
1567
3$DVVHUWHGH[WHUQDOO\
WLPH 06Y9
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.
3& 3&
& 3'5B21 3% 3% 3& 3$ 3$
26&B,1 26&B287
3+
' 1567 3& 3& %227 3$ 3$ 3$
26&B,1
3+
( 3& 3$ 3$ 3& 3$ 3& 3&
26&B287
9''$
) 3& 3$ 3$ 3% 3& 3% 3&
95()
966$
* 3$ 3$ 3& 3% 3% 3% 3%
95()
06Y9
%227
3%
3%
3$
3$
9''
966
3%
3%
3%
3%
3%
9%$7 9''
3& 966
3&26&B,1 3$
3&26&B287 3$
3+26&B,1 3$
3+26&B287 3$
8)4)31
1567 3$
966$95() 3$
9''$95() 3%
3$ 3%
3$ 3%
3$ 3%
3$
3$
3$
3$
3$
966
3%
3%
3%
3%
9''
9&$3B
069
%227
3'
3&
3&
3&
3$
3$
9''
966
3%
3%
3%
3%
3%
3%
3%
9%$7 9''
3& 966
3&26&B,1 3$
3&26&B287 3$
3+26&B,1 3$
3+26&B287 3$
1567 3$
3& 3$
/4)3
3& 3&
3& 3&
3& 3&
966$95() 3&
9''$95() 3%
3$ 3%
3$ 3%
3$ 3%
966
9''
3&
3&
3%
3%
3%
3%
9&$3B
966
9''
3$
3$
3$
3$
3$
069
"//4
0#
0#
0#
0!
0!
0$
0$
0$
0$
0$
0$
0$
0$
0%
0%
0"
0"
0"
0"
0"
0"
0"
6$$
633
0% 6$$
0% 633
0% 6#!0?
0% 0!
0% 0!
6"!4 0!
0# 0!
0#
/3#?). 0!
0#
/3#?/54 0!
633 0#
6$$ 0#
0(
/3#?). 0#
0(
/3#?/54 ,1&0 0#
.234 0$
0# 0$
0# 0$
0# 0$
0# 0$
6$$ 0$
633!62%&
0$
62%& 0$
6$$! 0"
0! 0"
0! 0"
0! 0"
6$$
0!
0!
0!
0!
0!
0#
0#
0%
0%
0%
0%
0%
0%
0"
6#!0?
0"
0"
0"
0%
0%
0%
633
6$$
633
-36
3'5B21
%227
3*
3*
3*
3*
3*
3&
3&
3*
3&
3$
3$
9''
9''
9''
966
3*
966
3'
3'
3'
3'
3'
3'
3'
3'
3(
3(
3%
3%
3%
3%
3%
3%
3%
3( 9''
3( 966
3( 9&$3B
3( 3$
3( 3$
9%$7 3$
3& 3$
3&26&B,1 3$
3&26&B287 3$
3) 3&
3) 3&
3) 3&
3) 3&
3) 9''86%
3) 966
966 3*
9'' 3*
3) 3*
3) /4)3 3*
3) 3*
3) 3*
3) 3*
3+26&B,1 3'
3+26&B287 3'
1567 9''
3& 966
3& 3'
3& 3'
3& 3'
9'' 3'
966$95() 3'
95() 3'
9''$ 3%
3$ 3%
3$ 3%
3$ 3%
966
9''
3&
3&
3%
3%
3%
3)
966
9''
3)
3)
3)
3*
3*
3(
3(
3(
966
9''
3(
3(
3(
3(
3(
3%
9&$3B
9''
3$
3$
3$
3$
3$
3)
3(
3%
06Y9
$ 3( 3( 3% %227 3' 3' 3% 3% 3$ 3$ 3$ 3$
% 3( 3( 3% 3% 3% 3' 3' 3' 3' 3& 3& 3$
& 9&$3
3& 3( 3( 9'' 3% 3' 3' 3& 3$
B
3&
'
26& 3( 966 3$ 3$ 3&
B,1
3&
( %<3$66 3& 3& 3&
26& 9%$7 B5(*
B287
3+
) 966 966 966
26&B
,1
3+
* 9'' 9'' 9''
26&B
287
. 95() 3& 3$ 3$ 3& 3' 3% 3% 3% 3%
9&$3
/ 95() 3$ 3$ 3$ 3& 3% 3( 3( 3( 3% 3%
B
0 9''$ 3$ 3$ 3$ 3% 3% 3( 3( 3( 3( 3( 3(
06Y9
$ 3& 3( 3( 3( 3( 3% 3% 3' 3' 3$ 3$ 3$
3&
% 26&B,1
3( 3( 3( 3% 3% 3* 3* 3' 3& 3& 3$
3&
& 26&B287
9%$7 3) 3) 3% 3% 3* 3* 3' 3& 9''86% 3$
3+
' 26&B,1
966 9'' 3) %227 3% 3* 3* 3' 3' 3$ 3$
3+
( 26&B287
3) 3) 3) 3'5B21 966 966 3* 3' 3' 3& 3$
) 1567 3) 3) 9'' 9'' 9'' 9'' 9'' 9'' 9'' 3& 3&
* 3) 3) 3) 966 9'' 9'' 9'' 966 9&$3B 966 3* 3&
%<3$66B
+ 3& 3& 3& 3&
5(*
966 9&$3B 3( 3' 3* 3* 3*
- 966$ 3$ 3$ 3& 3% 3* 3( 3( 3' 3* 3* 3*
. 95() 3$ 3$ 3& 3) 3* 3( 3( 3' 3' 3' 3'
/ 95() 3$ 3$ 3% 3) 3) 3( 3( 3' 3' 3% 3%
0 9''$ 3$ 3$ 3% 3) 3) 3( 3( 3% 3% 3% 3%
06Y9
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_
PA12 - TIM1_ETR - - - - SPI5_MISO USART1_RTS CAN1_TX USB_FS_DP - EVENTOUT
RX
JTMS-
PA13 - - - - - - - - - - - EVENTOUT
SWDIO
JTCK-
PA14 - - - - - - - - - - - EVENTOUT
SWCLK
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
DocID028087 Rev 7
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
STM32F412xE/G
I2CFMP1_ SPI2_SCK/ SPI4_SCK/ USART3_ DFSDM1_
PB13 - TIM1_CH1N - - - CAN2_TX - EVENTOUT
SMBA I2S2_CK I2S4_CK CTS CKIN1
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
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
DocID028087 Rev 7
I2CFMP1_ QUADSPI_
PC5 - - - - - - USART3_RX - - FSMC_NOE EVENTOUT
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
SPI3_MOSI/
PC12 - - - - - - USART3_CK - - FSMC_D3 SDIO_CK EVENTOUT
I2S3_SD
PC13 - - - - - - - - - - - - EVENTOUT
PC14 - - - - - - - - - - - - EVENTOUT
PC15 - - - - - - - - - - - - EVENTOUT
69/201
Table 11. STM32F412xE/G alternate functions (continued)
70/201
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
DocID028087 Rev 7
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
FSMC_DA15
STM32F412xE/G
I2CFMP1_ QUADSPI_
PD13 - - TIM4_CH2 - - - - - - FSMC_A18 EVENTOUT
SDA BK1_IO3
I2CFMP1_ FSMC_D0/
PD14 - - TIM4_CH3 - - - - - - - EVENTOUT
SCL FSMC_DA0
I2CFMP1_ FSMC_D1/
PD15 - - TIM4_CH4 - - - - - - - EVENTOUT
SDA FSMC_DA1
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
DFSDM1_
DocID028087 Rev 7
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
FSMC_D12/
PE15 - TIM1_BKIN - - - - - - - - - EVENTOUT
71/201
FSMC_DA12
Table 11. STM32F412xE/G alternate functions (continued)
72/201
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
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_
PF13 - - - - - - - - - - FSMC_A7 EVENTOUT
SMBA
I2CFMP1_
PF14 - - - - - - - - - - FSMC_A8 EVENTOUT
SCL
I2CFMP1_
PF15 - - - - - - - - - - FSMC_A9 EVENTOUT
STM32F412xE/G
SDA
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_
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
USART6_
PG13 TRACED2 - - - - - - - - - FSMC_A24 EVENTOUT
CTS
USART6_ QUADSPI_
PG14 TRACED3 - - - - - - - - FSMC_A25 EVENTOUT
TX BK2_IO3
USART6_
PG15 - - - - - - - - - - - EVENTOUT
CTS
PH0 - - - - - - - - - - - - EVENTOUT
Port H
PH1 - - - - - - - - - - - - EVENTOUT
73/201
Memory mapping STM32F412xE/G
5 Memory mapping
5HVHUYHG [([))))))))
&RUWH[½0LQWHUQDO [([()))))
SHULSKHUDOV
[$±'))))))
5HVHUYHG
[$)))
$+%
[
[)))))))
$+%
[
5HVHUYHG [[)))))))
[))
[)))))))) 0E\WH
EORFN
LQWHUQDO
3HULSKHUDOV $+%
[(
[')))))))
0E\WH
EORFN
1RWXVHG
[& [
[%)))))))
5HVHUYHG [[))))
5HVHUYHG
[))
[$
[$)))
)60&
DQG
4XDG63,
[
[))))))) $3%
0E\WH
EORFN
3HULSKHUDOV
[
[)))))))
0E\WH
EORFN 5HVHUYHG [[)))))))
[
3HULSKHUDOV
65$0.%DOLDVHG [[)))) 5HVHUYHG [[))))
[ E\ELWEDQGLQJ [))
[))))))) [)))&[)))))))
5HVHUYHG
0E\WH [)))&[)))&
EORFN 2SWLRQE\WHV
[)))$[)))%)))
3HULSKHUDOV 5HVHUYHG [)))[)))$)
[ 273DUHDORFN [)))[)))))
6\VWHPPHPRU\ [[))())))
5HVHUYHG
[[))))) $3%
)ODVKPHPRU\
[[))))))
5HVHUYHG
$OLDVHGWR)ODVKV\VWHP
PHPRU\RU65$0GHSHQGLQJ [[)))))
RQWKH%227SLQV
[
06Y9
6 Electrical characteristics
Figure 19. Pin loading conditions Figure 20. Input voltage measurement
-#5 PIN -#5 PIN
# P& 6).
-36 -36
%DFNXSFLUFXLWU\
9%$7 3RZHU 26&.57&
WR9 VZLWFK :DNHXSORJLF
%DFNXSUHJLVWHUV
287
/HYHOVKLIWHU
,2
*3,2V
,1 /RJLF
9&$3B .HUQHOORJLF
î) 9&$3B &38GLJLWDO
5$0
9'' 9''
9ROWDJH
îQ) 966 UHJXODWRU
î)
06Y9
,''B9%$7
9%$7
,''
9''
9''$
DL
Σ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)
,''B9%$7$
7HPSHUDWXUH&
06Y9
Figure 25. Typical VBAT current consumption (LSE and RTC ON/LSE oscillator
“high drive” mode selection)
,''B9%$7$
7HPSHUDWXUH&
06Y9
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
:DNHXSIURP6WRSPRGH
2SWLRQE\WHVDUHQRWUHORDGHG
PDLQUHJXODWRU
&38UHVWDUW
5HJXODWRU +6,UHVWDUW )ODVKVWRSH[LW
UDPSXS
:DNHXSIURP6WRSPRGH
PDLQUHJXODWRU 2SWLRQE\WHVDUHQRWUHORDGHG
IODVKLQ'HHSSRZHUGRZQPRGH
&38UHVWDUW
5HJXODWRU +6,UHVWDUW )ODVK'HHS3GUHFRYHU\
UDPSXS
:DNHXSIURP6WRS 2SWLRQE\WHVDUHQRWUHORDGHG
UHJXODWRULQORZSRZHUPRGH
&38UHVWDUW
5HJXODWRU +6,UHVWDUW )ODVKVWRSH[LW
UDPSXS
:DNHXSIURP6WRS
UHJXODWRULQORZSRZHUPRGH 2SWLRQE\WHVDUHQRWUHORDGHG
IODVKLQ'HHSSRZHUGRZQPRGH
&38UHVWDUW
5HJXODWRU +6,UHVWDUW )ODVK'HHS3GUHFRYHU\
UDPSXS
:DNHXSIURP6WDQGE\PRGH
5HJXODWRU
2)) &38UHVWDUW
5HJXODWRU +6,UHVWDUW )ODVK'HHS3GUHFRYHU\ 2SWLRQE\WHVORDGLQJ
UHVWDUW
&38UHVWDUW )ODVK'HHS3GUHFRYHU\
069
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).
6(3%(
6(3%,
TR(3% TF(3% T7(3% T7(3% T
4(3%
%XTERNAL F(3%?EXT
),
CLOCK SOURCE /3#?).
34-&
AI
9/6(+
9/6(/
WU/6( WI/6( W:/6( W:/6( W
7/6(
([WHUQDO I/6(BH[W
26&B,1 ,/
FORFNVRXUFH
670)
DL
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.
5HVRQDWRUZLWK
LQWHJUDWHGFDSDFLWRUV
&/
26&B,1 I+6(
%LDV
0+] 5) FRQWUROOHG
UHVRQDWRU
JDLQ
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 RM0383.
5HVRQDWRUZLWK
LQWHJUDWHGFDSDFLWRUV
& /
26&B ,1 I /6(
%LDV
N+] 5) FRQWUROOHG
UHVRQDWRU
JDLQ
26&B 28 7 670)
& /
DLD
!##(3)
4! #
-IN
-AX
4YPICAL
-36
MAX
AVG
MIN
.ORMALIZED DEVIATI ON
4EMPERAT URE #
-36
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.
&REQUENCY 0,,?/54
MD
&
MD
4IME
TMODE XTMODE
AI
)UHTXHQF\3//B287
)
[PG
7LPH
WPRGH [WPRGH
DLE
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.
'
9'
LQ
P
,+
W9
HQ
P
LUH
TX 77/UHTXLUHPHQW
UH 9,+PLQ 9
26
&0
''
Q 9
W LR
XF
Q
UR
G PL
S ,+
LQ V9
G LRQ
VWH ODW
7H PX
Q VL
H VLJ
Q' $UHDQRW
H GR '
%DV GHWHUPLQHG 9'
[
, /PD
QV9
LP XODWLR
VLJQV
Q'H
HGR
77/UHTXLUHPHQW9,/PD[
%DV
9
7HVWHGLQSURGXFWLRQ&026UHTXLUHPHQW9,/PD[ 9''
9''9
069
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.
9''
([WHUQDO
UHVHWFLUFXLW
538
1567 ,QWHUQDO5HVHW
)LOWHU
)
670)
DLF
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)
53 53 670)[[
56
6'$
,ð&EXV 56
6&/
67$575(3($7('
67$57
67$57
WVX67$
6'$
WI6'$ WU6'$ WVX6'$
6723 WZ67267$
WK67$ WZ6&/+ WK6'$
6&/
WZ6&// WU6&/ WI6&/ WVX672
06Y9
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 -
53 53 670)[[
56
6'$
,ð&EXV 56
6&/
67$575(3($7('
67$57
67$57
WVX67$
6'$
WI6'$ WU6'$ WVX6'$
6723 WZ67267$
WK67$ WZ6&/+ WK6'$
6&/
WZ6&// WU6&/ WI6&/ WVX672
06Y9
166LQSXW
WF6&. WK166
&32/
&3+$
&32/
WD62 WZ6&./ WY62 WK62 WI6&. WGLV62
WK6,
WVX6,
06Y9
Figure 41. SPI timing diagram - slave mode and CPHA = 1(1)
166LQSXW
WF6&.
&32/
&3+$
&32/
WD62 WZ6&./ WY62 WK62 WU6&. WGLV62
WVX6, WK6,
06Y9
+LJK
166LQSXW
WF6&.
6&.2XWSXW
&3+$
&32/
&3+$
&32/
6&.2XWSXW
&3+$
&32/
&3+$
&32/
WZ6&.+ WU6&.
WVX0, WZ6&./ WI6&.
0,62
,13 87 06%,1 %,7,1 /6%,1
WK0,
026,
06%287 % , 7287 /6%287
287387
WY02 WK02
DLF
Note: Refer to the I2S section of RM0383 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)
CPOL = 0
CK output
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
&URVVRYHU
SRLQWV
'LIIHUHQWLDO
GDWDOLQHV
9&56
966
WI WU
DLE
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
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.
6 2%& 6 $$!
;,3" )$%!, OR DEPENDING ON PACKAGE =
%'
%4
%/ %,
%$
, 3")$%!,
6 33! 6$$!
AIC
9''
97 6DPSOHDQGKROG$'&
FRQYHUWHU
9
5$,1 $,1[ 5$'&
ELW
FRQYHUWHU
97 ,/$
9$,1 &SDUDVLWLF 9 &$'&
069
Figure 48. Power supply and reference decoupling (VREF+ not connected to VDDA)
670)
95()
)Q)
9''$
)Q)
966$95()
DLE
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)
670)
95()9''$
)Q)
95()966$
DLF
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
')6'0B
63,WLPLQJ63,&.6(/
&.,1\
63,&.6(/
WVX WK
')6'0B'$7,1\
6,73
WVX WK
6,73
63,&.6(/
')6'0B&.287
63,WLPLQJ63,&.6(/
63,&.6(/
WZO WZK WU WI
63,&.6(/
WVX WK
')6'0B'$7,1\
6,73
WVX WK
6,73
')6'0B'$7,1\
6,73
0DQFKHVWHUWLPLQJ
6,73
5HFRYHUHGFORFN
5HFRYHUHGGDWD
06Y9
Refer to Section 6.3.16: I/O port characteristics for more details on the input/output
characteristics.
)60&B1(
)60&B12(
)60&B1:(
TV!?.% WK$B12(
)60&B$>@ $GGUHVV
TV",?.%
WK%/B12(
)60&B1%/>@
WK'DWDB1(
WVX'DWDB1(
)60&B'>@ 'DWD
WY1$'9B1(
WZ1$'9
)60&B1$'9
)60&B1:$,7
WK1(B1:$,7
WVX1:$,7B1(
06Y9
WZ1(
)60&B1([
)60&B12(
)60&B1:(
TV!?.% WK$B1:(
)60&B$>@ $GGUHVV
TV",?.% WK%/B1:(
)60&B1%/>@ 1%/
WY'DWDB1( WK'DWDB1:(
)60&B'>@ 'DWD
WY1$'9B1(
WZ1$'9
)60&B1$'9
)60&B1:$,7
WK1(B1:$,7
WVX1:$,7B1(
06Y9
1. CL = 30 pF.
2. Based on characterization, not tested in production.
WY12(B1( WK1(B12(
)60&B12(
WZ12(
)60&B1:(
TV!?.% WK$B12(
)60&B$>@ $GGUHVV
TV",?.% WK%/B12(
)60&B1%/>@ 1%/
WK'DWDB1(
WVX'DWDB1(
)60&B1$'9
)60&B1:$,7
WK1(B1:$,7
WVX1:$,7B1(
06Y9
)60&B1([
)60&B12(
)60&B1:(
TV!?.% WK$B1:(
)60&B$>@ $GGUHVV
TV",?.% WK%/B1:(
)60&B1%/>@ 1%/
W Y1$'9B1( TH!$?.!$6
WZ1$'9
)60&B1$'9
)60&B1:$,7
WK1(B1:$,7
WVX1:$,7B1(
06Y9
In all timing tables, the THCLK is the HCLK clock period (with maximum
FSMC_CLK = 90 MHz).
)60&B&/.
'DWDODWHQF\
WG&/./1([/ WG&/.+1([+
)60&B1([
WG&/./1$'9/ WG&/./1$'9+
)60&B1$'9
WG&/./$9 WG&/.+$,9
)60&B$>@
WG&/./12(/ WG&/.+12(+
)60&B12(
WG&/./$',9 WK&/.+$'9
WG&/./$'9 WVX$'9&/.+ WVX$'9&/.+ WK&/.+$'9
)60&B&/.
'DWDODWHQF\
WG&/./1([/ WG&/.+1([+
)60&B1([
WG&/./1$'9/ WG&/./1$'9+
)60&B1$'9
WG&/./$9 WG&/.+$,9
)60&B$>@
WG&/./1:(/ WG&/.+1:(+
)60&B1:(
WG&/./$',9 WG&/./'DWD
WG&/./$'9 WG&/./'DWD
)60&B1:$,7
:$,7&)* E:$,732/E
WVX1:$,79&/.+ WK&/.+1:$,79
WG&/.+1%/+
)60&B1%/
06Y9
)60&B&/.
WG&/./1([/ WG&/.+1([+
'DWDODWHQF\
)60&B1([
WG&/./1$'9/ WG&/./1$'9+
)60&B1$'9
WG&/./$9 WG&/.+$,9
)60&B$>@
WG&/./12(/ WG&/.+12(+
)60&B12(
WVX'9&/.+ WK&/.+'9
WVX'9&/.+ WK&/.+'9
06Y9
1. CL = 30 pF.
2. Based on characterization, not tested in production.
)60&B&/.
WG&/./1([/ WG&/.+1([+
'DWDODWHQF\
)60&B1([
WG&/./1$'9/ WG&/./1$'9+
)60&B1$'9
WG&/./$9 WG&/.+$,9
)60&B$>@
WG&/./1:(/ WG&/.+1:(+
)60&B1:(
WG&/./'DWD WG&/./'DWD
)60&B'>@ ' '
)60&B1:$,7
:$,7&)* E WVX1:$,79&/.+ WG&/.+1%/+
:$,732/E
WK&/.+1:$,79
)60&B1%/
06Y9
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
H EEE =
)
*
$
'HWDLO$
H
H
+
*
$
H ) $
$
%XPSVLGH 6LGHYLHZ
'
%XPS
$
HHH =
(
$ 2ULHQWDWLRQ
E
UHIHUHQFH =
FFF = ; <
GGG = 6HDWLQJSODQH
DDD
[
:DIHUEDFNVLGH 'HWDLO$
URWDWHG
$)B0(B9
Table 99. WLCSP64 - 64-pin, 3.658 x 3.686 mm, 0.4 mm pitch wafer level chip scale
package mechanical data
millimeters inches(1)
Symbol
Min Typ Max Min Typ Max
A 0.525 0.555 0.585 0.0207 0.0219 0.0230
A1 - 0.170 - - 0.0067 -
A2 - 0.380 - - 0.0150 -
(2)
A3 - 0.025 - - 0.0010 -
b(3) 0.220 0.250 0.280 0.0087 0.0098 0.0110
D 3.588 3.623 3.658 0.1413 0.1426 0.1440
E 3.616 3.651 3.686 0.1424 0.1437 0.1451
e - 0.400 - - 0.0157 -
e1 - 2.800 - - 0.1102 -
e2 - 2.800 - - 0.1102 -
F - 0.4115 - - 0.0162 -
G - 0.4255 - - 0.0168 -
aaa - - 0.100 - - 0.0039
bbb - - 0.100 - - 0.0039
ccc - - 0.100 - - 0.0039
ddd - - 0.050 - - 0.0020
eee - - 0.050 - - 0.0020
1. Values in inches are converted from mm and rounded to 4 decimal digits.
2. Back side coating.
3. Dimension is measured at the maximum bump diameter parallel to primary datum Z.
Figure 61. WLCSP64 - 64-pin, 3.658 x 3.686 mm, 0.4 mm pitch wafer level chip scale
recommended footprint
'SDG
'VP
$)B)3B9
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
WŝŶϭŝĚĞŶƚŝĨŝĞƌ
WƌŽĚƵĐƚŝĚĞŶƚŝĨŝĐĂƚŝŽŶ;ϭͿ )5*<
'DWHFRGH \HDUZHHN
< :: = ĚĚŝƚŝŽŶĂůŝŶĨŽƌŵĂƚŝŽŶ
06Y9
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.
$
( (
7 6HDWLQJ
SODQH
GGG $
H E
'HWDLO<
'
<
([SRVHGSDG
DUHD '
/
&[
SLQFRUQHU 5W\S
( 'HWDLO=
=
$%B0(B9
Table 101. UFQFPN48 - 48-lead, 7x7 mm, 0.5 mm pitch, ultra thin fine pitch quad flat
package mechanical data
millimeters inches(1)
Symbol
Min. Typ. Max. Min. Typ. Max.
Table 101. UFQFPN48 - 48-lead, 7x7 mm, 0.5 mm pitch, ultra thin fine pitch quad flat
package mechanical data (continued)
millimeters inches(1)
Symbol
Min. Typ. Max. Min. Typ. Max.
!"?&0?6
3URGXFWLGHQWLILFDWLRQ
670)
&*8
'DWHFRGH
< ::
3LQ
LQGHQWLILHU 5HYLVLRQFRGH
5
06Y9
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.
6($7,1*3/$1(
&
$
$ PP
*$8*(3/$1(
$
F
FFF &
$
' .
' /
' /
(
(
(
3,1
,'(17,),&$7,21 H
:B0(B9
A - - 1.600 - - 0.0630
A1 0.050 - 0.150 0.0020 - 0.0059
A2 1.350 1.400 1.450 0.0531 0.0551 0.0571
b 0.170 0.220 0.270 0.0067 0.0087 0.0106
c 0.090 - 0.200 0.0035 - 0.0079
D - 12.000 - - 0.4724 -
D1 - 10.000 - - 0.3937 -
D3 - 7.500 - - 0.2953 -
E - 12.000 - - 0.4724 -
E1 - 10.000 - - 0.3937 -
E3 - 7.500 - - 0.2953 -
e - 0.500 - - 0.0197 -
Κ 0° 3.5° 7° 0° 3.5° 7°
L 0.450 0.600 0.750 0.0177 0.0236 0.0295
L1 - 1.000 - - 0.0394 -
ccc - - 0.080 - - 0.0031
1. Values in inches are converted from mm and rounded to 4 decimal digits.
AIC
3URGXFWLGHQWLILFDWLRQ 5HYLVLRQFRGH
670)
5*7
'DWHFRGH
< ::
3LQ
LQGHQWLILHU
06Y9
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.
3%!4).'