
RS5C372A/B
39
Example of Calculations
(1) When oscillation frequency=32768.85kHz ; target frequency=32768.05kHz
Adjustment value= (32768.85–32768.05+0.1) / (32768.85
×3.051×10–6) = (32768.85+32768.05)×10+1=9.001=9
Set (F6, F5, F4, F3, F2, F1, F0) to (0, 0, 0, 1, 0, 0, 1).
As this example shows, adjustments to be used when the clock gains shall be distance from 01h.
(2) When actual oscillation frequency=32763.95kHz ; target frequency=32768.05kHz
Adjustment value= (32763.95–32768.05) / (32763.95
×3.051×10–6) = (32763.95–32768.05)×10=–41.015=–41
To express –41 in 7bit binary digits with sign bit (two's compliment),
Subtract 41(29h) from 128(80h) in the above case, 80h–29h=57h.
Thus, set (F6, F5, F4, F3, F2, F1, F0) to (1, 0, 1, 0, 1, 1, 1).
As this example shows, adjustments to be used when the clock loses shall be distance from 80h.
After adjustment, adjustment error against the target frequency will be approx. ±1.5ppm at a room temperature.
Notes
1) Clock frequency output from the INTRB (32KOUT for the RS5C372B) pin will not change after adjustment
by the clock adjustment circuit.
2) Adjustable range: The range of adjustment values for a case oscillation frequency is higher than target fre-
quency (clock gains) is (F6, F5, F4, F3, F2, F1, F0)=(0, 0, 0, 0, 0, 1, 0) to (0, 1, 1, 1, 1, 1, 1) and actual
adjustable amount shall be –3.05ppm to –189.2ppm (–3.125ppm to –193.7ppm for 32.000kHz crystal), thus
clock error may be adjusted until clock gain reaches +189.2ppm (+193.7ppm for 32.000kHz crystal).
On the other hand, the range of adjustment values for a case when oscillation frequency is lower than tar-
get frequency (clock loses) is (F6, F5, F4, F3, F2, F1, F0)=(1, 1, 1, 1, 1, 1, 1) to (1, 0, 0, 0, 0, 1, 0) and actual
adjustable amount shall be +3.05ppm to +189.2ppm (+3.125ppm to +193.8ppm for 32.000kHz crystal), thus
clock error may be adjsted until clock loss reaches –189.2ppm (–193.8ppm for 32.000kHz crystal).
. .