ATMEGA328P-AU Atmel, ATMEGA328P-AU Datasheet - Page 437

MCU AVR 32K FLASH 32TQFP

ATMEGA328P-AU

Manufacturer Part Number
ATMEGA328P-AU
Description
MCU AVR 32K FLASH 32TQFP
Manufacturer
Atmel
Series
AVR® ATmegar

Specifications of ATMEGA328P-AU

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
23
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-TQFP, 32-VQFP
Processor Series
ATMEGA32x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
2 KB
Interface Type
2-Wire, SPI, USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
23
Number Of Timers
3
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 8 Channel
Cpu Family
ATmega
Device Core
AVR
Device Core Size
8b
Frequency (max)
20MHz
Total Internal Ram Size
2KB
# I/os (max)
23
Number Of Timers - General Purpose
3
Operating Supply Voltage (typ)
2.5/3.3/5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
1.8V
Instruction Set Architecture
RISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
32
Package Type
TQFP
Controller Family/series
AVR MEGA
No. Of I/o's
23
Eeprom Memory Size
1KB
Ram Memory Size
2KB
Cpu Speed
20MHz
Rohs Compliant
Yes
For Use With
ATSTK600 - DEV KIT FOR AVR/AVR32770-1007 - ISP 4PORT ATMEL AVR MCU SPI/JTAGATAVRDRAGON - KIT DRAGON 32KB FLASH MEM AVR
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
ATMEGA328P-20AU
ATMEGA328P-20AU
Q3790246
ATmega48A/48PA/88A/88PA/168A/168PA/328/328
29.5.3
ATmega168A Supply Current of IO 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
details.
Table 29-9.
PRR bit
PRUSART0
PRTWI
PRTIM2
PRTIM1
PRTIM0
PRSPI
PRADC
Table 29-10. ATmega168A: Additional Current Consumption (percentage) in Active and Idle
PRR bit
PRUSART0
PRTWI
PRTIM2
PRTIM1
PRTIM0
PRSPI
PRADC
It is possible to calculate the typical current consumption based on the numbers from
12 on page 462
29.5.3.1
Example
Calculate the expected current consumption in idle mode with TIMER1, ADC, and SPI enabled
at V
= 2.0V and F = 1MHz. From
CC
to add 10.3% for the TIMER1, 20.3% for the ADC, and 17.1% for the SPI module. Reading from
Figure 29-241 on page
2.0V and F = 1MHz. The total current consumption in idle mode with TIMER1, ADC, and SPI
enabled, gives:
I
CC
total
8271C–AVR–08/10
ATmega168A: Additional Current Consumption for the different I/O modules
(absolute values)
Typical numbers
V
= 2V, F = 1 MHz
CC
2.86 uA
6.00 uA
4.97 uA
3.50 uA
1.43 uA
5.01 uA
6.34 uA
mode
Additional Current consumption
compared to Active with external
clock (see
Figure 29-236 on page
456
and
Figure 29-237 on page
457)
1.5%
3.2%
2.4%
1.7%
0.7%
2.9%
3.4%
for other V
and frequency settings than listed in
CC
Table 29-12 on page
459, we find that the idle current consumption is ~0.027 mA at V
0.027 mA (1 + 0.103 + 0.203 + 0.171)
”Power Reduction Register” on page 42
V
= 3V, F = 4 MHz
V
= 5V, F = 8 MHz
CC
CC
20.3 uA
52.2 uA
44.1uA
122.0 uA
33.2 uA
79.8 uA
23.0 uA
55.3 uA
9.2 uA
21.4 uA
38.6 uA
111.4 uA
45.7 uA
123.6 uA
Additional Current consumption
compared to Idle with external
clock (see
Figure 29-241 on page
459
and
Figure 29-242 on page
459)
8.9%
19.5%
14.8%
10.3%
4.1%
17.1%
20.3%
Table 29-11 on page
462, third column, we see that we need
0.040 mA
for
Table 29-
462.
=
CC
437

Related parts for ATMEGA328P-AU