ATMEGA328P-AU Atmel, ATMEGA328P-AU Datasheet - Page 59

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
Table 11-1.
Reset and Interrupt Vectors in ATmega48A and ATmega48PA (Continued)
Vector No.
Program Address
24
0x017
25
0x018
26
0x019
The most typical and general program setup for the Reset and Interrupt Vector Addresses in
ATmega 48A/48PA is:
Address Labels Code
0x000
0x001
0x002
0x003
0x004
0x005
0x006
0x007
0x008
0x009
0x00A
0x00B
0x00C
0x00D
0x00E
0x00F
0x010
0x011
0x012
0x013
0x014
0x015
0x016
0x017
0x018
0x019
;
0x01ARESET:
0x01B
0x01C
0x01D
0x01E
0x01F
...
8271C–AVR–08/10
Source
Interrupt Definition
ANALOG COMP
Analog Comparator
TWI
2-wire Serial Interface
SPM READY
Store Program Memory Ready
rjmp
RESET
rjmp
EXT_INT0
rjmp
EXT_INT1
rjmp
PCINT0
rjmp
PCINT1
rjmp
PCINT2
rjmp
WDT
rjmp
TIM2_COMPA
rjmp
TIM2_COMPB
rjmp
TIM2_OVF
rjmp
TIM1_CAPT
rjmp
TIM1_COMPA
rjmp
TIM1_COMPB
rjmp
TIM1_OVF
rjmp
TIM0_COMPA
rjmp
TIM0_COMPB
rjmp
TIM0_OVF
rjmp
SPI_STC
rjmp
USART_RXC
rjmp
USART_UDRE
rjmp
USART_TXC
rjmp
ADC
rjmp
EE_RDY
rjmp
ANA_COMP
rjmp
TWI
rjmp
SPM_RDY
ldi
r16, high(RAMEND); Main program start
out
SPH,r16
ldi
r16, low(RAMEND)
out
SPL,r16
sei
<instr>
xxx
...
...
...
Comments
; Reset Handler
; IRQ0 Handler
; IRQ1 Handler
; PCINT0 Handler
; PCINT1 Handler
; PCINT2 Handler
; Watchdog Timer Handler
; Timer2 Compare A Handler
; Timer2 Compare B Handler
; Timer2 Overflow Handler
; Timer1 Capture Handler
; Timer1 Compare A Handler
; Timer1 Compare B Handler
; Timer1 Overflow Handler
; Timer0 Compare A Handler
; Timer0 Compare B Handler
; Timer0 Overflow Handler
; SPI Transfer Complete Handler
; USART, RX Complete Handler
; USART, UDR Empty Handler
; USART, TX Complete Handler
; ADC Conversion Complete Handler
; EEPROM Ready Handler
; Analog Comparator Handler
; 2-wire Serial Interface Handler
; Store Program Memory Ready Handler
; Set Stack Pointer to top of RAM
; Enable interrupts
59

Related parts for ATMEGA328P-AU