7647H–AVR–03/12
Table 25-10. XA1 and XA0 Coding
XA1
XA0
0
0
0
1
1
0
1
1
Table 25-11. Command Byte Bit Coding
Command Byte
1000 0000
0100 0000
0010 0000
0001 0000
0001 0001
0000 1000
0000 0100
0000 0010
0000 0011
Table 25-12. No. of Words in a Page and No. of Pages in the Flash
Device
Flash Size
8K words
ATmega16M1
(16K bytes)
16K words
ATmega32M1/C1
(32K bytes)
32K words
ATmega64M1/C1
(64K bytes)
Table 25-13. No. of Words in a Page and No. of Pages in the EEPROM
EEPROM
Device
Size
ATmega16M1
512 bytes
ATmega32M1/C1
1024 bytes
ATmega64M1/C1
2048 bytes
Atmel ATmega16/32/64/M1/C1
Action when XTAL1 is Pulsed
Load Flash or EEPROM Address (High or low address byte determined by
BS1).
Load Data (High or Low data byte for Flash determined by BS1).
Load Command
No Action, Idle
Command Executed
Chip Erase
Write Fuse bits
Write Lock bits
Write Flash
Write EEPROM
Read Signature Bytes and Calibration byte
Read Fuse and Lock bits
Read Flash
Read EEPROM
Page Size
PCWORD
64 words
(128 bytes)
64 words
(128 bytes)
128 words
(256 bytes)
Page
Size
PCWORD
4 bytes
EEA[1:0]
4 bytes
EEA[1:0]
8 bytes
EEA[2:0]
No. of
Pages
PCPAGE
PC[5:0]
128
PC[12:6]
PC[5:0]
256
PC[13:6]
PC[6:0]
256
PC[14:7]
No. of
Pages
PCPAGE
128
EEA[8:2]
256
EEA[9:2]
256
EEA[9:2]
PCMSB
12
13
14
EEAMSB
9
9
9
303
Need help?
Do you have a question about the ATmega32M1 and is the answer not in the manual?