DBS9900 User’s Manual
7-6
DBS9900 Clock
82-28993 Revision 01
D[01]
C[2]
Control bit, Set to 0
Set to 0
R/W
D[00]
C[1]
Control bit, Set to 0
Set to 0
R/W
7.6.3
PLL N-COUNTER
The
N-COUNTER
(0x14, 0x16, Base + 0x18 = 1h) R/W
is a 21 bit control word that is
transmitted to the DBS9900 VXI Interface FPGA in one 16-bit and one 5-bit write. The software
driver writes to the control bits located in
0x18 = 1h
of the VXI FPGA. This register instructs the
FPGA that the next two register writes,
0x14
and
0x16
will be directed through a parallel to serial
shift register to the
N-COUNTER
. The control word
C[4:1]
, is concatenated to the end of the bit
string, and controls the register inside the PLL that is to be loaded upon completion of the serial
transfer. The software driver shall writes the MSB’s of the
N-COUNTER
to
BASE + 0x14
. The
five LSB’s are transmitted to
BASE + 0x16
.
The 21-bit serial shift register is loaded MSB first, via the data input on the rising edge of the
clock when the Latch Enable (
PLL_LE
) goes low. Loading is complete after 21 rising edges. The
internal register is latched on the rising edge of
PLL_LE
. The
N-COUNTER
divides the VCO
clock down to the Phase Detector comparison frequency (
Fpd
). The
N-COUNTER
is loaded
when the control bits
C[4:1]
are set to
1h
. When the
N-COUNTER
is selected, 5-bits of the 21 bit,
shift register is transferred to a 5-bit latch which sets a 5-bit pulse swallow counter (
A-
COUNTER
).
A 13-bit latch transfers data to a 13-bit counter (
B-COUNTER
). Together, these counters act in
consort to give a division ratio from 24
≤
N
≤
65,535, where 0
≤
A
≤
7, 3
≤
B
≤
8191 and
A
≤
B
.
The formula for this division ratio is:
N = [(P X B) + A]
where
P = 8
. When used with the JTOS-
200 the values for
N
will range from 2000
≤
N
≤
4000. The VCO frequency can be calculated with
the following formula:
Fvco = Fref X [(P X B) + A] / R
.
The
N-COUNTER
should be initialized to the following state:
•
B[12:0] = 1F4h = 500d, A[3:0] = 0h.
200MHz / 50kHz = 4000 => N = [(P X B) + A] => P = 8, B = 500, A = 0.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com