Datasheet
369
8011K–AVR–09/08
ATmega164P/324P/644P
28.2.3 Supply Current of I/O modules
The tables and formulas below can be used to calculate the additional current consumption for
the different I/O modules in Active and Idle mode. The enabling or disabling of the I/O modules
are controlled by the Power Reduction Register. See ”PRR – Power Reduction Register” on
page 49 for details.
It is possible to calculate the typical current consumption based on the numbers from Table 28-4
on page 369 for other V
CC
and frequency settings than listed in Table 28-3 on page 369.
Example Calculate the expected current consumption in idle mode with TIMER1, ADC, and SPI enabled
at V
CC
= 2.0V and F = 1MHz. From Table 28-4 on page 369, third column, we see that we need
to add 9.7% for the TIMER1, 17.7 % for the ADC, and 10.4 % for the SPI module. Reading from
Figure 28-53 on page 366, we find that the idle current consumption is ~0.125 mA at V
CC
= 2.0V
and F = 1MHz. The total current consumption in idle mode with TIMER1, ADC, and SPI enabled,
gives:
Table 28-3. Additional Current Consumption for the different I/O modules (absolute values)
PRR bit Typical numbers
V
CC
= 2V, F = 1MHz V
CC
= 3V, F = 4MHz V
CC
= 5V, F = 8MHz
PRUSART1 7.8 µA 50.0 µA 215.5 µA
PRUSART0 7.6 µA 51.2 µA 237.2 µA
PRTWI 11.7 µA 73.3 µA 309.3 µA
PRTIM2 14.6 µA 91.3 µA 393.0 µA
PRTIM1 9.9 µA 64.0 µA 271.7 µA
PRTIM0 6.0 µA 39.2 µA 176.3 µA
PRADC 21.1 µA 114.5 µA 437.2 µA
PRSPI 10.7 µA 67.7 µA 288.2 µA
Table 28-4. Additional Current Consumption (percentage) in Active and Idle mode
PRR bit
Additional Current consumption
compared to Active with external
clock (see Figure 28-48 on page
364 and Figure 28-49 on page
364)
Additional Current consumption
compared to Idle with external
clock (see Figure 28-53 on page
366 and Figure 28-54 on page
367)
PRUSART1 2.1 % 7.6%
PRUSART0 2.2% 8.0%
PRTWI 3.1% 11.2%
PRTIM2 3.8% 14.1%
PRTIM1 2.6% 9.7%
PRTIM0 1.6% 6.1%
PRADC 4.8% 17.7%
PRSPI 2.8% 10.4%
ICCtotal 0.125 mA (1+ 0.097 + 0.177 + 0.104)⋅ 0.172 mA≈≈