DocID025832 Rev 5
55/117
STM32F042x4 STM32F042x6
Electrical characteristics
89
I/O system current consumption
The current consumption of the I/O system has two components: static and dynamic.
I/O static current consumption
All the I/Os used as inputs with pull-up generate current consumption when the pin is
externally held low. The value of this current consumption can be simply computed by using
the pull-up/pull-down resistors values given in
Table 50: I/O static characteristics
For the output pins, any external pull-down or external load must also be considered to
estimate the current consumption.
Additional I/O current consumption is due to I/Os configured as inputs if an intermediate
voltage level is externally applied. This current consumption is caused by the input Schmitt
Table 30. Typical current consumption, code executing from Flash memory,
running from HSE 8 MHz crystal
Symbol
Parameter
f
HCLK
Typical consumption in
Run mode
Typical consumption in
Sleep mode
Unit
Peripherals
enabled
Peripherals
disabled
Peripherals
enabled
Peripherals
disabled
I
DD
Current
consumption
from V
DD
supply
48 MHz
20.7
12.8
12.3
3.4
mA
36 MHz
15.9
9.9
9.5
2.7
32 MHz
14.3
9.0
8.5
2.5
24 MHz
11.0
7.1
6.6
2.1
16 MHz
7.7
5.0
4.7
1.6
8 MHz
4.3
3.0
2.7
1.2
4 MHz
2.6
2.0
1.7
0.9
2 MHz
1.8
1.5
1.2
0.8
1 MHz
1.4
1.2
1.0
0.8
500 kHz
1.2
1.1
0.8
0.7
I
DDA
Current
consumption
from V
DDA
supply
48 MHz
163.3
μ
A
36 MHz
124.3
32 MHz
111.9
24 MHz
87.1
16 MHz
62.5
8 MHz
2.5
4 MHz
2.5
2 MHz
2.5
1 MHz
2.5
500 kHz
2.5