DS4000
Digital Tuning the Base Crystal Frequency
When using the 2-wire interface for tuning the base frequency, the frequency tuning register is used. The
frequency tuning register contains two’s complement data. The data is used to add or subtract an offset
from the crystal loading register. When the tuning register is programmed with a value, the next
temperature-update cycle sums the programmed value with the factory-compensated value. This allows
the user/system to digitally control the base frequency by a microcontroller using the 2-wire protocol.
FREQUENCY TUNING REGISTER (66h)
BIT 7
SIGN
BIT 6
FO6
BIT 5
FO5
BIT 4
FO4
BIT 3
FO3
BIT 2
FO2
BIT 1
FO1
BIT 0
FO0
FOS[6:0] – Frequency Offset. These bits are used to tune the base crystal frequency. Each bit represents
approximately 0.05ppm and, therefore, for a value of 07FH, pushes or pulls the base frequency by
approximately 6.35ppm.
SIGN – Sign Bit. This bit is used to determine whether to add or subtract the frequency offset from the
crystal loading.
Table 1. FREQUENCY TUNING RELATIONSHIP
CALCULATED
DIGITAL DATA
(Binary)
DIGITAL DATA
(hex)
FREQUENCY OFFSET
(ppm)
+6.35
+5.0
+3.3
+1.2
+0.05
0.0
0111 1111
0110 0100
0100 0010
0001 0111
0000 0001
0000 0000
1111 1111
1110 1000
1011 0011
1001 1100
1000 0000
7Fh
64h
42h
17h
01h
00h
FFh
E8h
B3h
9Ch
80h
-0.05
-1.2
-3.3
-5.0
-6.35
4 of 14