atmega32c1 ATMEL Corporation, atmega32c1 Datasheet - Page 307

no-image

atmega32c1

Manufacturer Part Number
atmega32c1
Description
Atmega32m1 Automotive 8-bit Avr Microcontroller With 32k/64k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
atmega32c1-15AZ
Manufacturer:
ATMEL
Quantity:
170
Part Number:
atmega32c1-15AZ
Manufacturer:
Atmel
Quantity:
10 000
Table 24-17. Serial Programming Instruction Set
7647A–AVR–02/08
Instruction
Programming Enable
Chip Erase
Read Program Memory
Load Program Memory Page
Write Program Memory Page
Read EEPROM Memory
Write EEPROM Memory
a new byte, the programmed value will read correctly. This is used to determine when the next
byte can be written. This will not work for the value 0xFF, but the user should have the following
in mind: As a chip-erased device contains 0xFF in all locations, programming of addresses that
are meant to contain 0xFF, can be skipped. This does not apply if the EEPROM is re-pro-
grammed without chip erasing the device. In this case, data polling cannot be used for the value
0xFF, and the user will have to wait at least t
Table 24-16
Table 24-16. Minimum Wait Delay Before Writing the Next Flash or EEPROM Location
Figure 24-11. Serial Programming Waveforms
Symbol
t
t
t
WD_FLASH
WD_EEPROM
WD_ERASE
1010 1100
1010 1100
0010 H000
0100 H000
0100 1100
1010 0000
1100 0000
SERIAL DATA OUTPUT
SERIAL CLOCK INPUT
Byte 1
SERIAL DATA INPUT
for t
WD_EEPROM
SAMPLE
0101 0011
100x xxxx
000a aaaa
000x xxxx
000a aaaa
000x xxaa
000x xxaa
(MOSI)
(MISO)
(SCK)
Byte 2
Instruction Format
value.
MSB
MSB
xxxx xxxx
xxxx xxxx
bbbb bbbb
xxbb bbbb
bbxx xxxx
bbbb bbbb
bbbb bbbb
Byte 3
WD_EEPROM
xxxx xxxx
xxxx xxxx
oooo oooo
iiii iiii
xxxx xxxx
oooo oooo
iiii iiii
Byte4
Minimum Wait Delay
before programming the next byte. See
ATmega32/64/M1/C1
Operation
Enable Serial Programming after
RESET goes low.
Chip Erase EEPROM and Flash.
Read H (high or low) data o from
Program memory at word address a:b.
Write H (high or low) data i to Program
Memory page at word address b. Data
low byte must be loaded before Data
high byte is applied within the same
address.
Write Program Memory Page at
address a:b.
Read data o from EEPROM memory at
address a:b.
Write data i to EEPROM memory at
address a:b.
4.5 ms
3.6 ms
9.0 ms
LSB
LSB
307

Related parts for atmega32c1