ATMEGA328P-20PU Atmel, ATMEGA328P-20PU Datasheet - Page 286

no-image

ATMEGA328P-20PU

Manufacturer Part Number
ATMEGA328P-20PU
Description
Manufacturer
Atmel
Datasheet

Specifications of ATMEGA328P-20PU

Cpu Family
ATmega
Device Core
AVR
Device Core Size
8b
Frequency (max)
20MHz
Interface Type
SPI/TWI/USART
Program Memory Type
Flash
Program Memory Size
32KB
Total Internal Ram Size
2KB
# I/os (max)
23
Number Of Timers - General Purpose
3
Operating Supply Voltage (typ)
3.3/5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
2.7V
On-chip Adc
6-chx10-bit
Instruction Set Architecture
RISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Through Hole
Pin Count
28
Package Type
PDIP
Lead Free Status / Rohs Status
Compliant
26.8.14
In
Table 26-7.
Table 26-8.
For details about these two section, see
Write Section” on page 275
Table 26-9.
Note:
8025K–AVR–10/09
BOOTSZ1
Section
Read-While-Write section (RWW)
No Read-While-Write section (NRWW)
Variable
PCMSB
PAGEMSB
ZPCMSB
ZPAGEMSB
PCPAGE
PCWORD
Table 26-7
1
1
0
0
1. Z15:Z13: always ignored
ATmega88P Boot Loader Parameters
Z0: should be zero for all SPM commands, byte select for the LPM instruction.
See
Programming.
BOOTSZ0
through
Boot Size Configuration, ATmega88P
Read-While-Write Limit, ATmega88P
Explanation of Different Variables used in
”Addressing the Flash During Self-Programming” on page 279
1
0
1
0
Table
Boot
Size
128 words
256 words
512 words
1024 words
PC[11:5]
PC[4:0]
Note:
11
4
26-9, the parameters used in the description of the self programming are given.
The different BOOTSZ Fuse configurations are shown in
Pages
16
32
4
8
”NRWW – No Read-While-Write Section” on page 275
Corresponding
Z-value
Application
Flash
Section
0x000 - 0xF7F
0x000 - 0xEFF
0x000 - 0xDFF
0x000 - 0xBFF
Z12:Z6
Z5:Z1
Z12
Z5
(1)
Figure 26-3
Boot
Loader
Flash
Section
0xF80 - 0xFFF
0xF00 - 0xFFF
0xE00 - 0xFFF
0xC00 - 0xFFF
Description
Most significant bit in the Program Counter. (The Program Counter is
12 bits PC[11:0])
Most significant bit which is used to address the words within one
page (32 words in a page requires 5 bits PC [4:0]).
Bit in Z-register that is mapped to PCMSB. Because Z0 is not used,
the ZPCMSB equals PCMSB + 1.
Bit in Z-register that is mapped to PAGEMSB. Because Z0 is not
used, the ZPAGEMSB equals PAGEMSB + 1.
Program counter page address: Page select, for page erase and
page write
Program counter word address: Word select, for filling temporary
buffer (must be zero during page write operation)
Pages
96
32
and the Mapping to the Z-pointer, ATmega88P
for details about the use of Z-pointer during Self-
End
Application
Section
0xF7F
0xEFF
0xDFF
0xBFF
Address
0x000 - 0xBFF
0xC00 - 0xFFF
ATmega48P/88P/168P
Figure 26-2 on page
0xF80
0xF00
0xE00
0xC00
Boot Reset Address (Start Boot Loader
Section)
and
”RWW – Read-While-
277.
286

Related parts for ATMEGA328P-20PU