at86rf401 ATMEL Corporation, at86rf401 Datasheet - Page 35

no-image

at86rf401

Manufacturer Part Number
at86rf401
Description
Smart Rf Wireless Data Microtransmitter
Manufacturer
ATMEL Corporation
Datasheet
EEPROM Control Register Descriptions
Data EEPROM Control Register – DEECR
1424F–RKE–12/03
Initial Value 0
Read/Write
$1C
Bit
R/W
7
0
• Bits[7:4]
R eserved . These bits should b e “0” wh e n written; other wise, results will be
unpredictable.
• Bit[3]: EEPROM Busy Bit
Initially set to “0”. This bit will be set high during writes to the EEPROM.
• Bit[2]: EEPROM Unlock Bit
Set this bit to “1” before writing the EEPROM. Reset this bit to “0” after the write is com-
plete. This bit should be left in the zero state when the EEPROM is not being used,
which will protect the EEPROM data during power transients.
• Bit[1]: EEPROM Load Bit
To write the EEPROM, use the following procedure:
Note:
1. Set the unlock bit.
2. Write the address of the first byte to the DEEAR.
3. Set the load bit. This locks the page address in the DEEAR. Keep the unlock bit
4. Write the desired data to the DEEDR register. This byte is loaded into the
5. If it is desired to write another byte in the same page, write the new address to
6. Deassert the load bit. This starts the write operation. Some time after load is
7. After all writes are complete, write “0” to the unlock bit.
• Bit[0]: EEPROM Read Bit
To read the EEPROM use the following procedure:
1. Write the address to the DEEAR.
2. Set the read bit.
3. Read the data register. The read bit will reset itself.
4. If another read needs to be done, repeat steps 1–3 again.
R/W
set.
EEPROM and will be written when the load bit is later deasserted.
the DEEAR register, and a new byte to the DEEDR register. Continue until all
bytes that are to be written are loaded into the EEPROM. Bytes may only be
loaded to an address once. There are eight bytes per page.
deasserted, the busy bit will go high. Another read or write operation may not be
started until the busy bit has returned to “0”. Writes take approximately 4 ms to
complete. Again, the unlock bit must still be set when deasserting the load bit.
6
0
Because of noise and power considerations, the EEPROM should not be written while
the transmitter is enabled.
R/W
5
0
R/W
4
0
BSY
R
3
0
EEU
R/W
2
0
AT86RF401
EEL
R/W
1
0
EER
R/W
0
0
35

Related parts for at86rf401