at90pwm81-16se ATMEL Corporation, at90pwm81-16se Datasheet - Page 258

no-image

at90pwm81-16se

Manufacturer Part Number
at90pwm81-16se
Description
8-bit Avr Microcontroller With 8k Bytes In- System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
22.7.6
22.7.7
258
AT90PWM81
Reading the Flash
Reading the EEPROM
K: Repeat 3 through 5 until the entire buffer is filled.
L: Program EEPROM page
Figure 22-4.
The algorithm for reading the Flash memory is as follows (refer to
for details on Command and Address loading):
The algorithm for reading the EEPROM memory is as follows (refer to
256
1.
2.
3.
4.
5.
1.
2.
3.
1.
2.
3.
4.
5.
6.
1.
2.
3.
for details on Command and Address loading):
RESET +12V
A: Load Command “0001 0001”.
G: Load Address High Byte (0x00 - 0xFF).
B: Load Address Low Byte (0x00 - 0xFF).
C: Load Data (0x00 - 0xFF).
E: Latch data (give PAGEL a positive pulse).
Set BS1 to “0”.
Give WR a negative pulse. This starts programming of the EEPROM page. RDY/BSY goes low.
Wait until to RDY/BSY goes high before programming the next page (See
nal waveforms).
A: Load Command “0000 0010”.
G: Load Address High Byte (0x00 - 0xFF).
B: Load Address Low Byte (0x00 - 0xFF).
Set OE to “0”, and BS1 to “0”. The Flash word low byte can now be read at DATA.
Set BS1 to “1”. The Flash word high byte can now be read at DATA.
Set OE to “1”.
A: Load Command “0000 0011”.
G: Load Address High Byte (0x00 - 0xFF).
B: Load Address Low Byte (0x00 - 0xFF).
PAGEL/BS1
RDY/BSY
XA1/BS2
XTAL1
DATA
XA0
WR
OE
Programming the EEPROM Waveforms
0x11
A
ADDR. HIGH
G
ADDR. LOW
B
DATA
C
XX
E
ADDR. LOW
B
DATA
C
K
“Programming the Flash” on page 256
XX
“Programming the Flash” on page
E
L
Figure 22-4
7734M–AVR–03/10
for sig-

Related parts for at90pwm81-16se