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

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
2.2
8025K–AVR–10/09
Comparison Between ATmega48P, ATmega88P and ATmega168P
internal Oscillator, and five software selectable power saving modes. The Idle mode stops the
CPU while allowing the SRAM, Timer/Counters, USART, 2-wire Serial Interface, SPI port, and
interrupt system to continue functioning. The Power-down mode saves the register contents but
freezes the Oscillator, disabling all other chip functions until the next interrupt or hardware reset.
In Power-save mode, the asynchronous timer continues to run, allowing the user to maintain a
timer base while the rest of the device is sleeping. The ADC Noise Reduction mode stops the
CPU and all I/O modules except asynchronous timer and ADC, to minimize switching noise dur-
ing ADC conversions. In Standby mode, the crystal/resonator Oscillator is running while the rest
of the device is sleeping. This allows very fast start-up combined with low power consumption.
The device is manufactured using Atmel’s high density non-volatile memory technology. The
On-chip ISP Flash allows the program memory to be reprogrammed In-System through an SPI
serial interface, by a conventional non-volatile memory programmer, or by an On-chip Boot pro-
gram running on the AVR core. The Boot program can use any interface to download the
application program in the Application Flash memory. Software in the Boot Flash section will
continue to run while the Application Flash section is updated, providing true Read-While-Write
operation. By combining an 8-bit RISC CPU with In-System Self-Programmable Flash on a
monolithic chip, the Atmel ATmega48P/88P/168P is a powerful microcontroller that provides a
highly flexible and cost effective solution to many embedded control applications.
The ATmega48P/88P/168P AVR is supported with a full suite of program and system develop-
ment tools including: C Compilers, Macro Assemblers, Program Debugger/Simulators, In-Circuit
Emulators, and Evaluation kits.
The ATmega48P, ATmega88P and ATmega168P differ only in memory sizes, boot loader sup-
port, and interrupt vector sizes.
sizes for the three devices.
Table 2-1.
ATmega88P and ATmega168P support a real Read-While-Write Self-Programming mechanism.
There is a separate Boot Loader Section, and the SPM instruction can only execute from there.
In ATmega48P, there is no Read-While-Write support and no separate Boot Loader Section.
The SPM instruction can execute from the entire Flash.
Device
ATmega48P
ATmega88P
ATmega168P
Memory Size Summary
Flash
4K Bytes
8K Bytes
16K Bytes
Table 2-1
EEPROM
256 Bytes
512 Bytes
512 Bytes
summarizes the different memory and interrupt vector
RAM
512 Bytes
1K Bytes
1K Bytes
ATmega48P/88P/168P
2 instruction words/vector
Interrupt Vector Size
1 instruction word/vector
1 instruction word/vector
6

Related parts for ATMEGA328P-20PU