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

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
Table of Contents
8025K–AVR–10/09
1
2
3
4
5
6
7
8
Features ..................................................................................................... 1
Pin Configurations ................................................................................... 2
Overview ................................................................................................... 4
Resources ................................................................................................. 7
Data Retention .......................................................................................... 7
About Code Examples ............................................................................. 7
AVR CPU Core .......................................................................................... 8
AVR Memories ........................................................................................ 16
System Clock and Clock Options ......................................................... 26
1.1Pin Descriptions ........................................................................................................3
2.1Block Diagram ...........................................................................................................5
2.2Comparison Between ATmega48P, ATmega88P and ATmega168P .......................6
6.1Overview ...................................................................................................................8
6.2ALU – Arithmetic Logic Unit ......................................................................................9
6.3Status Register ..........................................................................................................9
6.4General Purpose Register File ................................................................................11
6.5Stack Pointer ...........................................................................................................12
6.6Instruction Execution Timing ...................................................................................13
6.7Reset and Interrupt Handling ..................................................................................14
7.1Overview .................................................................................................................16
7.2In-System Reprogrammable Flash Program Memory .............................................16
7.3SRAM Data Memory ...............................................................................................18
7.4EEPROM Data Memory ..........................................................................................19
7.5I/O Memory ..............................................................................................................20
7.6Register Description ................................................................................................21
8.1Clock Systems and their Distribution .......................................................................26
8.2Clock Sources .........................................................................................................27
8.3Low Power Crystal Oscillator ...................................................................................28
8.4Full Swing Crystal Oscillator ....................................................................................30
8.5Low Frequency Crystal Oscillator ............................................................................32
8.6Calibrated Internal RC Oscillator .............................................................................33
8.7128 kHz Internal Oscillator ......................................................................................34
ATmega48P/88P/168P
i

Related parts for ATMEGA328P-20PU