Spectrum Brands MI.61XX 用户手册

下载
页码 79
Clock generation
Internally generated sample rate
(c) Spectrum GmbH
55
Maximum internal sample rate in MS/s normal (non FIFO) mode
Maximum internal sample rate in MS/s in FIFO mode
Using plain quartz with no PLL
In some cases it is useful for the application not to have the on-board PLL activated. Although the PLL used on the Spectrum boards is a low-
jitter version it still produces more clock jitter than a plain quartz oscillator. For these cases the Spectrum boards have the opportunity to switch 
off the PLL by software and use a simple clock divider.
The sample rates that could be set are then limited to the quartz speed divided by one of the below mentioned dividers. The quartz used on 
the board is similar to the maximum sample rate the board can achieve. As with PLL mode it’s also possible to set a desired sample rate and 
read it back. The result will then again be the best matching sample rate.
Available divider values
External reference clock
If you have an external clock generator with a extremly stable frequency, you can use it as a reference clock. You can connect it to the external 
clock connector and the PLL will be fed with this clock instead of the internal reference. Due to the fact that the driver needs to know the 
external fed in frequency for an exact calculation of the sample rate you must set the the SPC_REFERENCECLOCK register accordingly. The 
driver automatically sets the PLL to achieve the desired sample rate. Therefore it examines the reference clock and the sample rate registers.
Example of reference clock:
Termination of the clock input
If the external connector is used as an input, either for feeding in an external reference clock or for external clocking you can enable a 50 
Ohm termination on the board. If the termination is disabled, the impedance is 1 Megaohm. Please make sure that your source is capable 
of driving that current and that it still fulfills the clock input specification as given in the technical data section.
 
External clocking
Remapped channels
61
10
61
11
ch0
ch1
ch2
ch3
x
125
125
x
x
125
125
x
x
n.a.
125
x
x
x
x
n.a.
125
Remapped channels
61
10
61
11
ch0
ch1
ch2
ch3
x
125
125
x
x
125
125
x
x
n.a.
125
x
x
x
x
n.a.
60
Register
Value
Direction
Description
SPC_PLL_ENABLE
20030
r/w
A „1“ enables the PLL mode (default) or disables it by writing a 0 to this register
1
2
4
8
10
16
20
40
50
80
100
200
400
500
800
1000
2000
Register
Value
Direction
Description
SPC_REFERENCECLOCK
20140
r/w
Programs the external reference clock in the range from 1 MHz to 125 MHz.
0
Internal reference is used for internal sample rate generation.
External sample rate in Hz as an integer value
External reference is used. You need to set up this register exactly to the frequency of the external fed in clock.
SpcSetParam (hDrv, SPC_EXTERNAL,       0);         // Set to internal clock
SpcSetParam (hDrv, SPC_REFERENCECLOCK, 10000000);  // Reference clock that is fed in is 10 MHz
SpcSetParam (hDrv, SPC_SAMPLERATE,     25000000);  // We want to have 25 MHz as sample rate
Register
Value
Direction
Description
SPC_CLOCK50OHM
20120
r/w
A „1“ enables the 50 Ohm termination at the external clock connector. Only possible, when using 
the external connector as an input.