|
RV-3029 Datasheet, PDF (28/67 Pages) MICORO CRYSTAL SWITZERLAND – DTCXO Temperature Compensated Real Time Clock | |||
|
◁ |
Micro Crystal
DTCXO Temperature Compensated Real Time Clock / Calendar Module
RV-3029
4.3. EEPROM MEMORY ACCESS
The EEPROM Memory has a built-in automatic EEPROM Refresh function, controlled by âEEREâ (bit 3 in register
Control_1). If enabled, this function automatically refreshes the content of the EEPROM Memory Pages once an
hour.
The âEEbusyâ will be set = â1â (bit 7 in register Control_Status) if the EEPROM Memory Pages are busy due to
write or automatic refresh cycle is in progress. âEEbusyâ goes = â0â when writing is finished, EEPROM Memory
Pages shall only be accessed when not busy, i.e. when âEEbusyâ = â0â.
A special EEPROM access procedure is required preventing access collision between the internal automatic
EEPROM refresh cycle and external read / write access through interface.
⢠Set âEEREâ = â0â
Automatic EEPROM Refresh needs to be disabled before EEPROM access.
⢠Check for âEEbusyâ = â0â Access EEPROM only if not busy
⢠Set âEEREâ = â1â
It is recommended to enable Automatic EEPROM Refresh at the end of
read / write access
⢠Write EEPROM
Allow 10ms wait-time after each written EEPROM register before checking for
EEbusy = â0â to allow internal data transfer
Read access:
Write access:
Clear EERE
Disable automatic
EEPROM refresh
Clear EERE
Disable automatic
EEPROM refresh
No
EEbusy = 0?
Yes
Read EEPROM
Check if EEPROM is busy?
EEPROM read access
is permitted
No
EEbusy = 0?
Yes
Write EEPROM
Check if EEPROM is busy?
EEPROM write access
is permitted
Yes
Next read?
No
Set EERE = 1
Enable automatic
EEPROM refresh
Wait
10ms
Wait 10ms to allow
internal EEPROM write
No
EEbusy = 0?
Yes
Yes
Next write?
No
Set EERE = 1
Wait until previous
write cycle is finished
Enable automatic
EEPROM refresh
Note:
A minimum power supply voltage of VPROG = 2.2V is required during the whole EEPROM write procedure; i.e. until
âEEbusyâ = â0â.
28/67
|
▷ |