English
Language : 

DS1308 Datasheet, PDF (12/16 Pages) Dallas Semiconductor – 64 X 8 Serial Real Time Clock
DS1308
Low-Current I2C RTC with 56-Byte NV RAM
External Synchronization
When an external clock reference is used, the input from
SQW/CLKIN is divided down to 1Hz. The 1Hz from the
divider (Ext-1Hz, see Functional Diagram) is used to
correct the 1Hz that is derived from the 32.768kHz oscil-
lator (Osc-1Hz). As Osc-1Hz drifts in relation to Ext-1Hz,
Osc-1Hz is digitally adjusted.
As shown in the Functional Diagram, the three highest
frequencies driving the SQW/CLKIN pin are derived
from the uncorrected oscillator, while the 1Hz output is
derived from the adjusted Osc-1Hz signal.
Conceptually, the circuit can be thought of as two 1Hz
signals, one derived from the internal oscillator and
the other from the external reference clock, with the
oscillator-derived 1Hz signal being locked to the 1Hz
signal derived from the external reference clock. The
edges of the 1Hz signals do not need to be aligned with
each other. While the external clock source is present
and within tolerance, the Ext-1Hz and Osc-1Hz maintain
their existing lock, regardless of their edge alignment,
with periodic correction of the Osc‑1Hz signal. If the
external signal is lost and then regained sometime later,
the signals re-lock with whatever new alignment exists
(Figure 4).
The Ext-1Hz is used by the device as long as it is within
tolerance, which is about 0.8% of Osc-1Hz. While Ext-1Hz
is within tolerance, the skew between the two signals may
shift until a change of about 7.8ms accumulates, after
which Osc-1Hz signal is adjusted (Figure 5). The adjust-
ment is accomplished by digitally adjusting the 32kHz
oscillator divider chain.
OSC-1Hz
FROM OSCILLATOR
EXT-1Hz
FROM EXTERNAL REFERENCE
SKEW
SKEW
BREAK IN EXTERNAL REFERENCE SIGNAL
Figure 4. Loss and Reacquisition of External Reference Clock
OSC-1Hz
FROM OSCILLATOR
CURRENT LOCK
EXT-1Hz
FROM EXTERNAL REFERENCE
DRIFT AFTER N CYCLES
SHIFTED BACK TO CURRENT LOCK
Figure 5. Drift Adjustment of Internal 1Hz to External Reference Clock
���������������������������������������������������������������� Maxim Integrated Products  12