![Micro crystal RV-8263-C7 Скачать руководство пользователя страница 31](http://html1.mh-extra.com/html/micro-crystal/rv-8263-c7/rv-8263-c7_applications-manual_1784956031.webp)
Micro Crystal
Ultra Small Real-Time Clock Module with I
2
C-Bus Interface
RV-8263-C7
January 2019
31/61
Rev. 1.0
FREQUENCY OFFSET COMPENSATION
4.9.
The RV-8263-C7 incorporates an Offset register (see CONTROL REGISTERS, 02h
– Offset Register) which can
be used by customer to compensate the frequency offset of the 32.768 kHz oscillator which allows implementing
functions, such as:
Improve time accuracy
Aging compensation
02h
– Offset Register:
Address
Function
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
02h
Offset
MODE
OFFSET
Reset
0
0
0
0
0
0
0
0
Bit
Symbol
Value
Description
7
MODE
Offset Mode
0
Normal Mode: Offset is made once every two hours.
1
Fast Mode: Offset is made every 4 minutes.
6:0
OFFSET
-64 to
+63
Offset value.
For MODE = 0, each LSB introduces an offset of 4.34 ppm. For MODE = 1,
each LSB introduces an offset of 4.069 ppm. The values of 4.34 ppm and
4.069 ppm are based on a nominal 32.768 kHz clock. The offset value is
coded in two’s complement giving a range of +63 LSB to -64 LSB.
OFFSET
OFFSET compensation value
in decimal
Compensation pulses
in steps
CLKOUT offset value
in ppm
(1)
Normal Mode
MODE = 0
Fast Mode
MODE = 1
0111111
63
+63
+273.420
+256.347
0111110
62
+62
+269.080
+252.278
:
:
:
:
:
0000001
1
+1
+4.340
+4.069
0000000
0
0
0
0
1111111
127
-1
-4.340
-4.069
1111110
126
-2
-8.680
-8.138
:
:
:
:
:
1000001
65
-63
-273.420
-256.347
1000000
64
-64
-277.760
-260.416
(1)
The frequency offset measured at CLKOUT pin can be compensated by computing the compensation value OFFSET and writing it into
the Offset register (see OFFSET COMPENSATION CALCULATION WORKFLOW).
The compensation is made by adding or subtracting clock compensation pulses. The affects to the different
frequencies are listed below.
CLKOUT frequencies:
1 Hz can be affected
1.024 kHz to 32.768 kHz are not affected
Timer Clock frequencies:
MODE = 0 (Normal Mode):
o
1/60 Hz and 1 Hz can be affected
o
64 Hz and 4.096 kHz are not affected
MODE = 1 (Fast Mode):
o
1/60 Hz, 1 Hz and 64 Hz can be affected
o
4.096 kHz is not affected