ATMEGA324P-A15MZ Atmel, ATMEGA324P-A15MZ Datasheet - Page 19

MCU AVR 32KB FLASH 15MHZ 44-VQFN

ATMEGA324P-A15MZ

Manufacturer Part Number
ATMEGA324P-A15MZ
Description
MCU AVR 32KB FLASH 15MHZ 44-VQFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA324P-A15MZ

Package / Case
44-VQFN Exposed Pad
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Operating Temperature
-40°C ~ 125°C
Speed
16MHz
Number Of I /o
32
Eeprom Size
1K x 8
Core Processor
AVR
Program Memory Type
FLASH
Ram Size
2K x 8
Program Memory Size
32KB (32K x 8)
Data Converters
A/D 8x10b
Oscillator Type
Internal
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Connectivity
I²C, SPI, UART/USART
Core Size
8-Bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
The EEPROM Address
Register – EEARH and
EEARL
The EEPROM Data
Register – EEDR
The EEPROM Control
Register – EECR
2503N–AVR–06/08
• Bits 15..10 – Res: Reserved Bits
These bits are reserved bits in the ATmega32 and will always read as zero.
• Bits 9..0 – EEAR9..0: EEPROM Address
The EEPROM Address Registers
1024 bytes EEPROM space. The EEPROM data bytes are addressed linearly between 0 and
1023. The initial value of EEAR is undefined. A proper value must be written before the
EEPROM may be accessed.
• Bits 7..0 – EEDR7.0: EEPROM Data
For the EEPROM write operation, the EEDR Register contains the data to be written to the
EEPROM in the address given by the EEAR Register. For the EEPROM read operation, the
EEDR contains the data read out from the EEPROM at the address given by EEAR.
• Bits 7..4 – Res: Reserved Bits
These bits are reserved bits in the ATmega32 and will always read as zero.
• Bit 3 – EERIE: EEPROM Ready Interrupt Enable
Writing EERIE to one enables the EEPROM Ready Interrupt if the I bit in SREG is set. Writing
EERIE to zero disables the interrupt. The EEPROM Ready interrupt generates a constant inter-
rupt when EEWE is cleared.
• Bit 2 – EEMWE: EEPROM Master Write Enable
The EEMWE bit determines whether setting EEWE to one causes the EEPROM to be written.
When EEMWE is set, setting EEWE within four clock cycles will write data to the EEPROM at
the selected address If EEMWE is zero, setting EEWE will have no effect. When EEMWE has
been written to one by software, hardware clears the bit to zero after four clock cycles. See the
description of the EEWE bit for an EEPROM write procedure.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
EEAR7
MSB
R/W
R/W
15
R
X
R
7
0
7
0
7
0
EEAR6
R/W
R/W
14
R
X
R
6
0
6
0
6
0
EEAR5
R/W
R/W
13
R
R
5
0
X
5
0
5
0
EEARH and EEARL – specify the EEPROM address in the
EEAR4
R/W
R/W
12
4
R
0
X
4
0
4
R
0
EEAR3
EERIE
R/W
R/W
R/W
11
R
X
3
0
3
0
3
0
EEMWE
EEAR2
R/W
R/W
R/W
10
R
X
2
0
2
0
2
0
EEAR9
EEAR1
EEWE
R/W
R/W
R/W
R/W
X
9
1
0
1
0
1
X
ATmega32(L)
EEAR8
EEAR0
EERE
R/W
R/W
LSB
R/W
R/W
8
0
X
X
0
0
0
0
EEARH
EEARL
EEDR
EECR
19

Related parts for ATMEGA324P-A15MZ