ATMEGA324A-PU Atmel, ATMEGA324A-PU Datasheet - Page 63

IC MCU AVR 32K 20MHZ 40PDIP

ATMEGA324A-PU

Manufacturer Part Number
ATMEGA324A-PU
Description
IC MCU AVR 32K 20MHZ 40PDIP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA324A-PU

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
32
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
40-DIP (0.600", 15.24mm)
Controller Family/series
Atmega
No. Of I/o's
32
Eeprom Memory Size
1KB
Ram Memory Size
2KB
Cpu Speed
20MHz
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
8272A–AVR–01/10
Table 11-1.
Notes:
Table 11-2
BOOTRST and IVSEL settings. If the program never enables an interrupt source, the Interrupt
Vectors are not used, and regular program code can be placed at these locations. This is also
the case if the Reset Vector is in the Application section while the Interrupt Vectors are in the
Boot section or vice versa.
Table 11-2.
Note:
The most typical and general program setup for the Reset and Interrupt Vector Addresses in
ATmega164A/164PA/324A/324PA/644A/644PA/1284/1284P is:
164A/164PA/324A/324PA/644A/644PA/1284/1284P
Vector
BOOTRST
No.
28
29
30
31
Address
0x0000
0x0002
0x0004
0x0006
0x0008
0x000A
0x000C
0x000E
0x0010
0x0012
0x0014
0x0016
0x0018
0x001A
0x001C
0x001E
0x0020
1
1
0
0
1. When the BOOTRST Fuse is programmed, the device will jump to the Boot Loader address at
2. When the IVSEL bit in MCUCR is set, Interrupt Vectors will be moved to the start of the Boot
1. The Boot Reset Address is shown in
$0036
$0038
$003A
$003C
reset, see
Flash Section. The address of each Interrupt Vector will then be the address in this table
added to the start address of the Boot Flash Section.
means unprogrammed while “0” means programmed.
Address
Program
shows reset and Interrupt Vectors placement for the various combinations of
Reset and Interrupt Vectors (Continued)
Reset and Interrupt Vectors Placement
Labels
IVSEL
(2)
”Memory Programming” on page
0
1
0
1
Source
SPM_READY
USART1_RX
USART1_UDRE
USART1_TX
Reset Address
0x0000
0x0000
Boot Reset Address
Boot Reset Address
Code
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
RESET
INT0
INT1
INT2
PCINT0
PCINT1
PCINT2
PCINT3
WDT
TIM2_COMPA
TIM2_COMPB
TIM2_OVF
TIM1_CAPT
TIM1_COMPA
TIM1_COMPB
TIM1_OVF
TIM0_COMPA
Table 25-10 on page
Interrupt Definition
Store Program Memory Ready
USART1 Rx Complete
USART1 Data Register Empty
USART1 Tx Complete
295.
(1)
Interrupt Vectors Start Address
0x0002
Boot Reset Address + 0x0002
0x0002
Boot Reset Address + 0x0002
290. For the BOOTRST Fuse “1”
Comments
; Reset
; IRQ0
; IRQ1
; IRQ2
; PCINT0
; PCINT1
; PCINT2
; PCINT3
; Watchdog Timeout
; Timer2 CompareA
; Timer2 CompareB
; Timer2 Overflow
; Timer1 Capture
; Timer1 CompareA
; Timer1 CompareB
; Timer1 Overflow
; Timer0 CompareA
63

Related parts for ATMEGA324A-PU