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

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
5.3
5.3.1
5.3.2
18
EEPROM Data Memory
AT90PWM81
EEPROM Read/Write Access
The EEPROM Address Registers – EEARH and EEARL
Figure 5-3.
The AT90PWM81 contains 512 bytes of data EEPROM memory. It is organized as a separate data space,
in which single bytes can be read and written. The EEPROM has an endurance of at least 100,000
write/erase cycles. The access between the EEPROM and the CPU is described in the following, specify-
ing the EEPROM Address Registers, the EEPROM Data Register, and the EEPROM Control Register.
For a detailed description of SPI and Parallel data downloading to the EEPROM, see
ing” on page
respectively.
The EEPROM Access Registers are accessible in the I/O space.
The write access time for the EEPROM is given in
user software detect when the next byte can be written. If the user code contains instructions that write the
EEPROM, some precautions must be taken. In heavily filtered power supplies, V
slowly on power-up/down. This causes the device for some period of time to run at a voltage lower than
specified as minimum for the clock frequency used. For details on how to avoid problems in these situa-
tions
In order to prevent unintentional EEPROM writes, a specific write procedure must be followed. Refer to
the description of the EEPROM Control Register for details on this.
When the EEPROM is read, the CPU is halted for four clock cycles before the next instruction is exe-
cuted. When the EEPROM is written, the CPU is halted for two clock cycles before the next instruction is
executed.
Bit
seeSee “Preventing EEPROM Corruption” on page 25.
261, and
15
EEAR7
7
On-chip Data SRAM Access Cycles
Address
clk
Data
Data
WR
CPU
“Parallel Programming Parameters, Pin Mapping, and Commands” on page 252
RD
14
EEAR6
6
13
EEAR5
5
Compute Address
T1
Memory Access Instruction
12
EEAR4
4
Table
11
EEAR3
3
Address valid
5-2. A self-timing function, however, lets the
T2
10
EEAR2
2
9
EEAR1
1
Next Instruction
CC
T3
is likely to rise or fall
8
EEAR8
EEAR0
0
“Serial Download-
7734M–AVR–03/10
EEARH
EEARL

Related parts for at90pwm81-16se