–227 dBc/Hz
– Phase Detector Rate Up to 155 MHz
– OSCin Frequency-Doubler
– Integrated Low-Noise VCO
– VCO Frequency Ranges From 2370 MHz
to 2600 MHz
•Three Redundant Input Clocks With LOS
– Automatic and Manual Switch-Over Modes
•50% Duty Cycle Output Divides, 1 to 1045 (Even
and Odd)
•LVPECL, LVDS, or LVCMOS Programmable
Outputs
•Precision Digital Delay, Fixed or DynamicallyAdjustable
•25-ps Step Analog Delay Control, Up to 575 ps
•1/2 Clock Distribution Period Step Digital Delay,
up to 522 Steps
•13 Differential Outputs; up to 26 Single-Ended
– Up to 5 VCXO and Crystal-Buffered Outputs
•Clock Rates of Up to 2600 MHz
•0-Delay Mode
•Three Default Clock Outputs at Power Up
•Multi-Mode: Dual PLL, Single PLL, and Clock
Distribution
•Industrial Temperature Range: –40°C to +85°C
•3.15-V to 3.45-V Operation
•Package: 64-Pin WQFN (9.0 × 9.0 × 0.8 mm)
2Applications
•Data Converter Clocking and Wireless
Infrastructure
•Networking, SONET or SDH, DSLAM
•Medical, Video, Military, and Aerospace
•Test and Measurement
3Description
The LMK04816 device is the industry's highest
performance clock conditioner with superior clock
jitter cleaning, generation,and distribution with
advanced features to meet next generation system
requirements. The dual-loop PLLATINUM architecture
enables111-fsRMSjitter(12kHzto
20 MHz) using a low-noise VCXO module or sub200-fs RMS jitter (12 kHz to 20 MHz) using a lowcost external crystal and varactor diode.
The dual-loop architecture consists of two highperformance phase-locked loops (PLL), a low-noise
crystal oscillator circuit, and a high-performance
voltage controlled oscillator (VCO). The first PLL
(PLL1) provides a low-noise jitter cleaner function
while the second PLL (PLL2) performs the clock
generation. PLL1 can be configured to either work
with an external VCXO module or the integrated
crystal oscillator with an external tunable crystal and
varactor diode. When used with a very narrow loop
bandwidth, PLL1 uses the superior close-in phase
noise (offsets below 50 kHz) of the VCXO module or
the tunable crystal to clean the input clock. The
output of PLL1 is used as the clean input reference to
PLL2 where it locks the integrated VCO. The loop
bandwidth of PLL2 can be optimized to clean the farout phase noise (offsets above 50 kHz) where the
integrated VCO outperforms the VCXO module or
tunable crystal used in PLL1.
Device Information
PART NUMBERPACKAGEBODY SIZE (NOM)
LMK04816WQFN (64)9.00 mm × 9.00 mm
(1) For all available packages, see the orderable addendum at
the end of the data sheet.
Simplified Schematic
(1)
1
An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications,
intellectual property matters and other important disclaimers. PRODUCTION DATA.
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
Changes from Revision B (April 2013) to Revision CPage
•Added Pin Configuration and Functions section, ESD Ratings table, Thermal Information table, Feature Description
section, Device Functional Modes, Application and Implementation section, Power Supply Recommendations
section, Layout section, Device and Documentation Support section, and Mechanical, Packaging, and Orderable
Information section ................................................................................................................................................................ 1
•Changed organization of Detailed Description section for improved readability. ................................................................ 16
•Added Typical Application section for expanded example of device use........................................................................... 105
Changes from Revision A (April 2013) to Revision BPage
•Changed layout of National Data Sheet to TI format ............................................................................................................ 1
1, 2CLKout0, CLKout0*OProgrammableClock output 0 (clock group 0)
3, 4CLKout1*, CLKout1OProgrammableClock output 1 (clock group 0)
6
5, 7, 8, 9NC——No Connection. These pins must be left floating.
10Vcc1—PWRPower supply for VCO LDO
11LDObyp1—ANLGLDO Bypass, bypassed to ground with 10-µF capacitor
12LDObyp2—ANLGLDO Bypass, bypassed to ground with a 0.1-µF capacitor
13, 14CLKout2, CLKout2*OProgrammableClock output 2 (clock group 1)
15, 16CLKout3*, CLKout3OProgrammableClock output 3 (clock group 1)
17Vcc2—PWRPower supply for clock group 1: CLKout2 and CLKout3
18Vcc3—PWRPower supply for clock group 2: CLKout4 and CLKout5
19, 20CLKout4, CLKout4*OProgrammableClock output 4 (clock group 2)
21, 22CLKout5*, CLKout5OProgrammableClock output 5 (clock group 2)
23GND—PWRGround
24Vcc4—PWRPower supply for digital
Status_CLKin2I/O
SYNCI/O
I/OTYPEDESCRIPTION
Programmable
Product Folder Links: LMK04816
CLKout Synchronization input or programmable status pin
Input for pin control of PLL1 reference clock selection. CLKin2
LOS status and other options available by programming.
35Vcc6—PWRPower supply for PLL1, charge pump 1
36, 37OSCin, OSCin*IANLG
38Vcc7—PWRPower supply for OSCin port
39, 40OSCout0, OSCout0*OProgrammableBuffered output 0 of OSCin port
41Vcc8—PWRPower supply for PLL2, charge pump 2
42CPout2OANLGCharge pump 2 output
43Vcc9—PWRPower supply for PLL2
44LEuWireICMOSMICROWIRE Latch Enable Input
45CLKuWireICMOSMICROWIRE Clock Input
46DATAuWireICMOSMICROWIRE Data Input
47Vcc10—PWRPower supply for clock group 3: CLKout6 and CLKout7
48, 49CLKout6, CLKout6*OProgrammableClock output 6 (clock group 3)
50, 51CLKout7*, CLKout7OProgrammableClock output 7 (clock group 3)
52Vcc11—PWRPower supply for clock group 4: CLKout8 and CLKout9
53, 54CLKout8, CLKout8*OProgrammableClock output 8 (clock group 4)
55, 56CLKout9*, CLKout9OProgrammableClock output 9 (clock group 4)
57Vcc12—PWRPower supply for clock group 5: CLKout10 and CLKout11
58, 59
60, 61
62Status_CLKin0I/OProgrammable
63Status_CLKin1I/OProgrammable
64Vcc13—PWRPower supply for clock group 0: CLKout0 and CLKout1
DAPDAP—GNDDIE ATTACH PAD, connect to GND
FBCLKin, FBCLKin*
Fin, Fin*External VCO input (External VCO mode). AC- or DC-Coupled
CLKout10,
CLKout10*
CLKout11*,
CLKout11
I/OTYPEDESCRIPTION
Reference Clock Input Port 1 for PLL1. AC- or DC-Coupled
IANLG
OProgrammableClock output 10 (clock group 5)
OProgrammableClock output 11 (clock group 5)
Feedback input for external clock feedback input (0-delay
mode). AC- or DC-Coupled
Programmable status pin, default readback output.
Programmable to holdover mode indicator. Other options
available by programming.
Reference Clock Input Port 0 for PLL1,
AC- or DC-Coupled
Reference Clock Input Port 2 for PLL1,
AC- or DC-Coupled
Programmable status pin, default lock detect for PLL1 and
PLL2. Other options available by programming.
Feedback to PLL1, Reference input to PLL2,
AC-Coupled
Programmable status pin. Default is input for pin control of
PLL1 reference clock selection. CLKin0 LOS status and other
options available by programming.
Programmable status pin. Default is input for pin control of
PLL1 reference clock selection. CLKin1 LOS status and other
options available by programming.
(1) Stresses beyond those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings
(2) This device is a high performance RF integrated circuit with an ESD rating up to 2-kV Human Body Model, up to 150-V Machine Model,
(3) If Military/Aerospace specified devices are required, please contact the Texas Instruments Sales Office/Distributors for availability and
(4) Never to exceed 3.6 V.
.
MINMAXUNIT
Supply voltage
Input voltage–0.3(VCC+ 0.3)V
Lead temperature (solder 4 seconds)260°C
Junction temperature150°C
Differential input current (CLKinX/X*,
OSCin/OSCin*, FBCLKin/FBCLKin*, Fin/Fin*)
Storage temperature–65150°C
only, which do not imply functional operation of the device at these or any other conditions beyond those indicated under RecommendedOperating Conditions. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
and up to 750-V Charged Device Model and is ESD sensitive. Handling and assembly of this device must only be done at ESD-free
workstations.
specifications.
(4)
–0.33.6V
±5mA
6.2 ESD Ratings
VALUEUNIT
(1)
±2000
±750
V
V
(ESD)
Electrostatic discharge
Human-body model (HBM), per ANSI/ESDA/JEDEC JS-001
Charged-device model (CDM), per JEDEC specification JESD22-
(2)
C101
Machine model (MM)±150
(1) JEDEC document JEP155 states that 500-V HBM allows safe manufacturing with a standard ESD control process. Manufacturing with
less than 500-V HBM is possible with the necessary precautions. Pins listed as ±2000 V may actually have higher performance.
Manufacturing with less than 500-V HBM is possible with the necessary precautions. Pins listed as ±2000 V may actually have higher
performance.
(2) JEDEC document JEP157 states that 250-V CDM allows safe manufacturing with a standard ESD control process. Manufacturing with
less than 250-V CDM is possible with the necessary recautions. Pins listed as ±750 V may actually have higher performance.
Manufacturing with less than 250-V CDM is possible with the necessary precautions. Pins listed as ±750 V may actually have higher
performance.
(1) For more information about traditional and new thermal metrics, see the Semiconductor and IC Package Thermal Metrics application
report, SPRA953.
(2) The junction-to-ambient thermal resistance under natural convection is obtained in a simulation on a JEDEC-standard, High-K board, as
specified in JESD51-7, in an environment described in JESD51-2a.
(3) The junction-to-case(top) thermal resistance is obtained by simulating a cold plate test on the package top. No specific JEDEC-standard
test exists, but a close description can be found in the ANSI SEMI standard G30-88.
(4) The junction-to-board thermal resistance is obtained by simulating in an environment with a ring cold plate fixture to control the PCB
temperature, as described in JESD51-8.
(5) The junction-to-top characterization parameter, ΨJT, estimates the junction temperature of a device in a real system and is extracted
from the simulation data for obtaining R
(6) The junction-to-board characterization parameter, ΨJBestimates the junction temperature of a device in a real system and is extracted
from the simulation data for obtaining R
(7) The junction-to-case(bottom) thermal resistance is obtained by simulating a cold plate test on the exposed (power) pad. No specific
, using a procedure described in JESD51-2a (sections 6 and 7).
θJA
, using a procedure described in JESD51-2a (sections 6 and 7).
θJA
JEDEC standard test exists, but a close description can be found in the ANSI SEMI standard G30-88.
(1)
UNITNKD (WQFN)
64 PINS
(2)
(3)
(4)
(5)
(6)
(7)
24.3°C/W
6.1°C/W
3.5°C/W
0.1°C/W
3.5°C/W
0.7°C/W
6.5 Electrical Characteristics
3.15 V ≤ VCC≤ 3.45 V, –40°C ≤ TA≤ 85°C. Typical values represent most likely parametric norms at VCC= 3.3 V, TA= 25°C,
at the Recommended Operating Conditions at the time of product characterization and are not ensured.
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
CURRENT CONSUMPTION
I
CC_PD
I
CC_CLKS
CLKin0/0*, CLKin1/1*, AND CLKin2/2* INPUT CLOCK SPECIFICATIONS
(1) Load conditions for output clocks: LVDS: 100 Ω differential. See applications section Current Consumption and Power Dissipation
Calculations for Icc for specific part configuration and how to calculate Icc for a specific design.
(2) CLKin0, CLKin1, and CLKin2 maximum is ensured by characterization, production tested at 200 MHz.
(3) Ensured by characterization.
(4) In order to meet the jitter performance listed in the subsequent sections of this data sheet, the minimum recommended slew rate for all
input clocks is 0.5 V/ns. This is especially true for single-ended clocks. Phase noise performance begins to degrade as the clock input
slew rate is reduced. However, the device functions at slew rates down to the minimum listed. When compared to single-ended clocks,
differential clocks (LVDS, LVPECL) are less susceptible to degradation in phase noise performance at lower slew rates due to their
common mode noise rejection. However, it is also recommended to use the highest possible slew rate for differential clocks to achieve
optimal phase noise performance at the device outputs.
(5) See Differential Voltage Measurement Terminology for definition of VIDand VODvoltages.
6
3.15 V ≤ VCC≤ 3.45 V, –40°C ≤ TA≤ 85°C. Typical values represent most likely parametric norms at VCC= 3.3 V, TA= 25°C,
at the Recommended Operating Conditions at the time of product characterization and are not ensured.
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
AC-coupled to CLKinX; CLKinX* AC-coupled to
ground
CLKinX_BUF_TYPE = 0 (bipolar)
AC-coupled to CLKinX; CLKinX* AC-coupled to
ground
V
CLKin
Clock input
Single-ended input
(3)
voltage
CLKinX_BUF_TYPE = 1 (MOS)
DC offset voltage
V
CLKin0-offset
V
CLKin1-offset
between CLKin0/CLKin0*
CLKin0* – CLKin0
DC offset voltage
between CLKin1/CLKin1*
CLKin1* – CLKin1
Each pin AC-coupled
CLKin0_BUF_TYPE = 0 (Bipolar)
DC offset voltage
V
CLKin2-offset
between CLKin2/CLKin2*
CLKin2* – CLKin2
DC offset voltage
V
CLKinX-offset
between
CLKinX/CLKinX*
Each pin AC-coupled
CLKinX_BUF_TYPE = 1 (MOS)
CLKinX* – CLKinX
V
CLKin-VIH
V
CLKin-VIL
High input voltageDC-coupled to CLKinX; CLKinX* AC-coupled to
Low input voltage00.4V
ground
CLKinX_BUF_TYPE = 1 (MOS)
FBCLKin/FBCLKin* AND Fin/Fin* INPUT SPECIFICATIONS
3.15 V ≤ VCC≤ 3.45 V, –40°C ≤ TA≤ 85°C. Typical values represent most likely parametric norms at VCC= 3.3 V, TA= 25°C,
at the Recommended Operating Conditions at the time of product characterization and are not ensured.
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
PN10kHz
offset. Normalized to 1GHz output frequency
PLL 1/f noise at 10-kHz
PN1Hz
Normalized phase noise
contribution
PLL2 REFERENCE INPUT (OSCIN) SPECIFICATIONS
f
OSCin
PLL2 reference input
PLL2 Reference Clock
SLEW
OSCin
V
OSCin
VIDOSCin
VSSOSCin0.43.1Vpp
minimum slew rate on
(3)
OSCin
Input voltage for OSCin
or OSCin*
(3)
Differential voltage swing
Figure 5
DC offset voltage
V
OSCin-offset
f
doubler_max
between OSCin/OSCin*
OSCinX* – OSCinX
Doubler input frequency
(3)
CRYSTAL OSCILLATOR MODE SPECIFICATIONS
f
XTAL
P
C
XTAL
IN
Crystal frequency range
(3)
Crystal power dissipation
(9)
Input capacitance of
LMK04816 OSCin port
PLL2 PHASE DETECTOR AND CHARGE-PUMP SPECIFICATIONS
3.15 V ≤ VCC≤ 3.45 V, –40°C ≤ TA≤ 85°C. Typical values represent most likely parametric norms at VCC= 3.3 V, TA= 25°C,
at the Recommended Operating Conditions at the time of product characterization and are not ensured.
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
PLL 1/f noise at 10-kHz
(10)
PN10kHz
offset
Normalized to 1-GHz
output frequency
PN1Hz
Normalized phase noise
contribution
(11)
INTERNAL VCO SPECIFICATIONS
f
VCO
K
VCO
VCO tuning rangeLMK0481623702600MHz
Fine tuning sensitivityLMK04816
Allowable temperature
|ΔTCL|
drift for continuous lock
(12) (3)
CLKOUT CLOSED-LOOP JITTER SPECIFICATIONS USING A COMMERCIAL QUALITY VCXO
LMK04816
f
= 245.76 MHz
CLKout
L(f)
CLKout
J
CLKout
LVDS/LVPECL/L
VCMOS
SSB phase noise
Measured at clock
outputs
Value is average for all
output types
LMK04816
f
CLKout
Integrated RMS jitter
(14)
(14)
= 245.76 MHz
CLKOUT CLOSED-LOOP JITTER SPECIFICATIONS USING THE INTEGRATED LOW-NOISE CRYSTAL OSCILLATOR CIRCUIT
LMK04816
f
= 245.76 MHz
CLKout
Integrated RMS jitter
DEFAULT POWER ON RESET CLOCK OUTPUT FREQUENCY
Default output clock
f
CLKout-startup
frequency at device
power-on
(16)
(10) A specification in modeling PLL in-band phase noise is the 1/f flicker noise, L
noise has a 10 dB/decade slope. PN10kHz is normalized to a 10 kHz offset and a 1 GHz carrier frequency. PN10kHz = L
kHz) - 20log(Fout / 1 GHz), where L
L(f). To measure L
crystal are important to isolating this noise source from the total phase noise, L(f). L
(f) it is important to be on the 10-dB/decade slope close to the carrier. A high compare frequency and a clean
PLL_flicker
oscillator performance if a low power or noisy source is used. The total PLL in-band phase noise performance is the sum of L
and L
(11) A specification modeling PLL in-band phase noise. The normalized phase noise contribution of the PLL, L
PN1HZ=L
bandwidth and f
(12) Maximum Allowable Temperature Drift for Continuous Lock is how far the temperature can drift in either direction from the value it was
PLL_flat
(f).
(f) - 20log(N) - 10log(f
PLL_flat
is the phase detector frequency of the synthesizer. L
PDX
at the time that the R30 register was last programmed, and still have the part stay in lock. The action of programming the R30 register,
even to the same value, activates a frequency calibration routine. This implies the part works over the entire frequency range, but if the
temperature drifts more than the maximum allowable drift for continuous lock, then it is necessary to reload the R30 register to ensure it
stays in lock. Regardless of what temperature the part was initially programmed at, the temperature can never drift outside the
frequency range of –40°C to 85°C without violating specifications.
(13) VCXO used is a 122.88 MHz Crystek CVHD-950-122.880.
(14) f
CLKoutX_ADLY_SEL = 0.
(15) Crystal used is a 20.48 MHz Vectron VXB1-1150-20M480 and Skyworks varactor diode, SMV-1249-074LF.
(16) CLKout6 and OSCout0 also oscillate at start-up at the frequency of the VCXO attached to OSCin port.
3.15 V ≤ VCC≤ 3.45 V, –40°C ≤ TA≤ 85°C. Typical values represent most likely parametric norms at VCC= 3.3 V, TA= 25°C,
at the Recommended Operating Conditions at the time of product characterization and are not ensured.
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
CLOCK SKEW AND DELAY
LVDS-to-LVDS, T = 25°C,
F
= 800 MHz, RL= 100 Ω
CLK
AC coupled
LVPECL-to-LVPECL,
T = 25°C,
F
= 800 MHz, RL= 100 Ω
CLK
emitter resistors =
240 Ω to GND
|T
SKEW
Maximum CLKoutX to
CLKoutY
(17) (3)
|
AC coupled
MixedT
SKEW
Maximum skew between
any two LVCMOS
outputs, same CLKout or
different CLKout
(17) (3)
LVDS or LVPECL to
LVCMOS
RL= 50 Ω, CL= 5 pF,
T = 25°C, F
(17)
= 100 MHz.
CLK
Same device, T = 25 °C,
250 MHz
MODE = 2
PLL1_R_DLY = 0; PLL1_N_DLY = 0
MODE = 2
PLL1_R_DLY = 0; PLL1_N_DLY = 0;
VCO Frequency = 2457.6 MHz
Analog delay select = 0;
3.15 V ≤ VCC≤ 3.45 V, –40°C ≤ TA≤ 85°C. Typical values represent most likely parametric norms at VCC= 3.3 V, TA= 25°C,
at the Recommended Operating Conditions at the time of product characterization and are not ensured.
3.15 V ≤ VCC≤ 3.45 V, –40°C ≤ TA≤ 85°C. Typical values represent most likely parametric norms at VCC= 3.3 V, TA= 25°C,
at the Recommended Operating Conditions at the time of product characterization and are not ensured.
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
DIGITAL INPUTS (Status_CLKinX, SYNC)
V
IH
V
IL
I
IH
I
IL
DIGITAL INPUTS (CLKuWire, DATAuWire, LEuWire)
V
IH
V
IL
I
IH
I
IL
High-level input voltage1.6V
CC
Low-level input voltage0.4V
Status_CLKinX_TYPE = 0
(High impedance)
High-level input current
VIH= V
CC
Status_CLKinX_TYPE = 1
(Pullup)
Status_CLKinX_TYPE = 2
(Pulldown)
Status_CLKinX_TYPE = 0
(High impedance)
Low-level input current
VIL= 0 V
Status_CLKinX_TYPE = 1
(Pullup)
Status_CLKinX_TYPE = 2
(Pulldown)
High-level input voltage1.6V
–55
–55
1080
–55
–40-5
–55
CC
µA
µA
Low-level input voltage0.4V
High-level input currentVIH= V
CC
525µA
Low-level input currentVIL= 0–55µA
V
V
6.6 Timing Requirements
See Figure 8
T
T
T
T
T
T
T
T
ECS
DCS
CDH
CWH
CWL
CES
EWH
CR
LE-to-clock setup time25ns
Data-to-clock setup time25ns
Clock-to-data hold time8ns
Clock pulse width high25ns
Clock pulse width low25ns
Clock-to-LE setup time25ns
LE pulse width25ns
Falling clock to readback time25ns
I1 = Charge-Pump Sink Current at V
I2 = Charge-Pump Sink Current at V
I3 = Charge-Pump Sink Current at V
I4 = Charge-Pump Source Current at V
I5 = Charge-Pump Source Current at V
I6 = Charge-Pump Source Current at V
CPout
CPout
CPout
CPout
CPout
CPout
= VCC– ΔV
= VCC/ 2
= ΔV
= VCC– ΔV
= VCC/ 2
= ΔV
ΔV = Voltage offset from the positive and negative supply rails. Defined to be 0.5 V for this device.
7.1.1 Charge-Pump Output Current Magnitude Variation vs Charge-Pump Output Voltage
Use Equation 1 to calculate the charge-pump output current variation versus the charge-pump output voltage.
7.1.2 Charge-Pump Sink Current vs Charge-Pump Output Source Current Mismatch
Use Equation 2 to calculate the charge-pump sink current versus the source current mismatch.
Charge Pump Current Specification Definitions (continued)
7.1.3 Charge-Pump Output Current Magnitude Variation vs Temperature
Use Equation 3 to calculate the charge-pump output current magnitude variation versus the temperature.
(3)
7.2 Differential Voltage Measurement Terminology
The differential voltage of a differential signal can be described by two different definitions causing confusion
when reading data sheets or communicating with other engineers. This section addresses the measurement and
description of a differential signal so that the reader can understand and discern between the two different
definitions when used.
The first definition used to describe a differential signal is the absolute value of the voltage potential between the
inverting and noninverting signal. The symbol for this first measurement is typically VIDor VODdepending on if an
input or output voltage is being described.
The second definition used to describe a differential signal is to measure the potential of the noninverting signal
with respect to the inverting signal. The symbol for this second measurement is VSSand is a calculated
parameter. Nowhere in the IC does this signal exist with respect to ground, it only exists in reference to its
differential pair. VSScan be measured directly by oscilloscopes with floating references, otherwise this value can
be calculated as twice the value of VODas described in the first description.
Figure 5 shows the two different definitions side-by-side for inputs and Figure 6 shows the two different
definitions side-by-side for outputs. The VIDand VODdefinitions show VAand VBDC levels that the noninverting
and inverting signals toggle between with respect to ground. VSSinput and output definitions show that if the
inverting signal is considered the voltage potential reference, the noninverting signal voltage potential is now
increasing and decreasing above and below the noninverting reference. Thus the peak-to-peak voltage of the
differential signal can be measured.
VIDand VODare often defined as volts (V) and VSSis often defined as volts peak-to-peak (VPP).
Figure 5. Two Different Definitions for Differential Input Signals
Figure 6. Two Different Definitions for Differential Output Signals
Refer to AN-912 Common Data Transmission Parameters and their Definitions (SNLA036) for more information.
In default mode of operation, dual PLL mode with internal VCO, the phase frequency detector in PLL1 compares
the active CLKinX reference divided by CLKinX_PreR_DIV and PLL1 R divider with the external VCXO or crystal
attached to the PLL2 OSCin port divided by PLL1 N divider. The external loop filter for PLL1 must be narrow to
provide an ultra clean reference clock from the external VCXO or crystal to the OSCin/OSCin* pins for PLL2.
The phase frequency detector in PLL2 compares the external VCXO or crystal attached to the OCSin port
divided by the PLL2 R divider with the output of the internal VCO divided by the PLL2 N divider and N2 prescaler and optionally the VCO divider. The bandwidth of the external loop filter for PLL2 must be designed to be
wide enough to take advantage of the low in-band phase noise of PLL2 and the low high offset phase noise of
the internal VCO. The VCO output is also placed on the distribution path for the Clock Distribution section. The
clock distribution consists of 6 groups of dividers and delays which drive 12 outputs. Each clock group allows the
user to select a divide value, a digital delay value, and an analog delay. The 6 groups drive programmable output
buffers. Two groups allow their input signal to be from the OSCin port directly.
When a 0-delay mode is used, a clock output is passed through the feedback mux to the PLL1 N Divider for
synchronization and 0-delay.
When an external VCO mode is used, the Fin port is used to input an external VCO signal. PLL2 Phase
comparison is now with this signal divided by the PLL2 N divider and N2 pre-scaler. The VCO divider may not be
used. One less clock input is available when using an external VCO mode.
When a single PLL mode is used, PLL1 is powered down. OSCin is used as a reference to PLL2.
8.1.1 System Architecture
The dual-loop PLL architecture of the LMK04816 provides the lowest jitter performance over the widest range of
output frequencies and phase noise integration bandwidths. The first stage PLL (PLL1) is driven by an external
reference clock and uses an external VCXO or tunable crystal to provide a frequency accurate, low phase noise
reference clock for the second stage frequency multiplication PLL (PLL2). PLL1 typically uses a narrow loop
bandwidth (10 Hz to 200 Hz) to retain the frequency accuracy of the reference clock input signal while at the
same time suppressing the higher offset frequency phase noise that the reference clock may have accumulated
along its path or from other circuits. This cleaned reference clock provides the reference input to PLL2.
The low phase noise reference provided to PLL2 allows PLL2 to operate with a wide loop bandwidth (50 kHz to
200 kHz). The loop bandwidth for PLL2 is chosen to take advantage of the superior high offset frequency phase
noise profile of the internal VCO and the good low offset frequency phase noise of the reference VCXO or
tunable crystal.
Ultralow jitter is achieved by allowing the phase noise of the external VCXO or Crystal to dominate the final
output phase noise at low offset frequencies and phase noise of the internal VCO to dominate the final output
phase noise at high offset frequencies. This results in best overall phase noise and jitter performance.
The LMK04816 allows subsets of the device to be used to increase the flexibility of device. These different
modes are selected using MODE: Device Mode. For instance:
•Dual-Loop Mode - Typical use case of LMK04816. CLKinX used as reference input to PLL1, OSCin port is
connected to VCXO or tunable crystal.
•Single-Loop Mode - Powers down PLL1. OSCin port is used as reference input.
•Clock Distribution Mode - Allows input of CLKin1 to be distributed to output with division, digital delay, and
analog delay.
See Device Functional Modes for more information on these modes.
8.1.2 PLL1 Redundant Reference Inputs (CLKin0/CLKin0*, CLKin1/CLKin1*, and CLKin2/CLKin2*)
The LMK04816 has three reference clock inputs for PLL1, CLKin0, CLKin1, and CLKin2. Ref Mux selects
CLKin0, CLKin1, or CLKin2. Automatic or manual switching occurs between the inputs.
CLKin0, CLKin1, and CLKin2 each have input dividers. The input divider allows different clock input frequencies
to be normalized so that the frequency input to the PLL1 R divider remains constant during automatic switching.
By programming these dividers such that the frequency presented to the input of the PLL1_R divider is the same
prevents the user from needing to reprogram the PLL1 R divider when the input reference is changed to another
CLKin port with a different frequency.
CLKin1 is shared for use as an external 0-delay feedback (FBCLKin), or for use with an external VCO (Fin).
Fast manual switching between reference clocks is possible with a external pins Status_CLKin0, Status_CLKin1,
Status_CLKin2.
8.1.3 PLL1 Tunable Crystal Support
The LMK04816 integrates a crystal oscillator on PLL1 for use with an external crystal and varactor diode to
perform jitter cleaning.
The LMK04816 must be programmed to enable Crystal mode.
8.1.4 VCXO and CRYSTAL-Buffered Outputs
The LMK04816 provides a dedicated output which is a buffered copy of the PLL2 reference input. This reference
input is typically a low-noise VCXO or Crystal. When using a VCXO, this output can be used to clock external
devices such as microcontrollers, FPGAs, CPLDs, and so forth. before the LMK04816 is programmed.
The OSCout0 buffer output type is programmable to LVDS, LVPECL, or LVCMOS.
The dedicated output buffer OSCout0 can output frequency lower than the VCXO or Crystal frequency by
programming the OSC Divider. The OSC Divider value range is 1 to 8. Each OSCoutX can individually choose to
use the OSC Divider output or to bypass the OSC divider.
Two clock output groups can also be programmed to be driven by OSCin. This allows a total of 4 additional
differential outputs to be buffered outputs of OSCin. When programmed in this way, a total of 6 differential
outputs can be driven by a buffered copy of OSCin.
VCXO and Crystal-buffered outputs cannot be synchronized to the VCO clock distribution outputs. The assertion
of SYNC still causes these outputs to become low. Because these outputs turn off and on asynchronously with
respect to the VCO sourced clock outputs during a SYNC, it is possible for glitches to occur on the buffered clock
outputs when SYNC is asserted and unasserted. If the NO_SYNC_CLKoutX_Y bits are set these outputs are not
affected by the SYNC event except that the phase relationship changes with the other synchronized clocks
unless a buffered clock output is used as a qualification clock during SYNC.
8.1.5 Frequency Holdover
The LMK04816 supports holdover operation to keep the clock outputs on frequency with minimum drift when the
reference is lost until a valid reference clock signal is re-established.
8.1.6 Integrated Loop Filter Poles
The LMK04816 features programmable 3rd and 4th order loop filter poles for PLL2. These internal resistors and
capacitor values may be selected from a fixed range of values to achieve either a 3rd or 4th order loop filter
response. The integrated programmable resistors and capacitors compliment external components mounted near
the chip.
These integrated components can be effectively disabled by programming the integrated resistors and capacitors
to their minimum values.
The output of the internal VCO is routed to a mux which allows the user to select either the direct VCO output or
a divided version of the VCO for the clock distribution path. This same selection is also fed back to the PLL2
phase detector through a prescaler and N-divider.
The mux selectable VCO divider has a divide range of 2 to 8 with 50% output duty cycle for both even and odd
divide values.
The primary use of the VCO divider is to achieve divides greater than the clock output divider supports alone.
8.1.8 External VCO Mode
The Fin/Fin* input allows an external VCO to be used with PLL2 of the LMK04816.
Using an external VCO reduces the number of available clock inputs by one.
8.1.9 Clock Distribution
The LMK04816 features a total of 12 outputs driven from the internal or external VCO.
All VCO driven outputs have programmable output types. They can be programmed to LVPECL, LVDS, or
LVCMOS. When all distribution outputs are configured for LVCMOS or single ended LVPECL a total of 24
outputs are available.
If the buffered OSCin output OSCout0 is included in the total number of clock outputs the LMK04816 is able to
distribute, then up to 13 differential clocks or up to 26 single-ended clocks may be generated with the LMK04816.
The following sections discuss specific features of the clock distribution channels that allow the user to control
various aspects of the output clocks.
8.1.9.1 CLKout Divider
Each clock group, which is a pair of outputs such as CLKout0 and CLKout1, has a single clock output divider.
The divider supports a divide range of 1 to 1045 (even and odd) with 50% output duty cycle. When divides of 26
or greater are used, the divider an delay block uses extended mode.
The VCO Divider may be used to reduce the divide needed by the clock group divider so that it may operate in
normal mode instead of extended mode. This can result in a small current saving if enabling the VCO divider
allows 3 or more clock output divides to change from extended to normal mode.
8.1.9.2 CLKout Delay
The clock distribution section includes both a fine (analog) and coarse (digital) delay for phase adjustment of the
clock outputs.
The fine (analog) delay allows a nominal 25-ps step size and range from 0 to 475 ps of total delay. Enabling the
analog delay adds a nominal 500 ps of delay in addition to the programmed value. When adjusting analog delay,
glitches may occur on the clock outputs being adjusted. Analog delay may not operate at frequencies above the
minimum-ensured maximum output frequency of 1536 MHz.
The coarse (digital) delay allows a group of outputs to be delayed by 4.5 to 12 clock distribution path cycles in
normal mode, or from 12.5 to 522 VCO cycles in extended mode. The delay step can be as small as half the
period of the clock distribution path by using the CLKoutX_Y_HS bit provided the output divide value is greater
than 1. For example, 2-GHz VCO frequency without using the VCO divider results in 250-ps coarse tuning steps.
The coarse (digital) delay value takes effect on the clock outputs after a SYNC event.
There are 3 different ways to use the digital (coarse) delay.
1. Fixed Digital Delay
2. Absolute Dynamic Digital Delay
3. Relative Dynamic Digital Delay
These are further discussed in the Device Functional Modes.
For increased flexibility all LMK04816 clock outputs (CLKoutX) and OSCout0 can be programmed to an LVDS,
LVPECL, or LVCMOS output type.
Any LVPECL output type can be programmed to 700, 1200, 1600, or 2000-mVpp amplitude levels. The 2000mVpp LVPECL output type is a Texas Instruments proprietary configuration that produces a 2000-mVpp
differential swing for compatibility with many data converters and is also known as 2VPECL.
8.1.9.4 Clock Output Synchronization
Using the SYNC input causes all active clock outputs to share a rising edge. See Clock Output Synchronization
(SYNC) for more information.
The SYNC event also causes the digital delay values to take effect.
8.1.10 0-Delay
The 0-delay mode synchronizes the input clock phase to the output clock phase. The 0-delay feedback may
performed with an internal feedback loop from any of the clock groups or with an external feedback loop into the
FBCLKin port as selected by the FEEDBACK_MUX.
Without using 0-delay mode, there are n possible fixed phase relationships from clock input to clock output
depending on the clock output divide value.
Using an external 0-delay feedback reduces the number of available clock inputs by one.
8.1.11 Default Start-Up Clocks
Before the LMK04816 is programmed, CLKout8 is enabled and operating at a nominal frequency and CLKout6
and OSCout0 are enabled and operating at the OSCin frequency. These clocks can be used to clock external
devices such as microcontrollers, FPGAs, CPLDs, and so forth, before the LMK04816 is programmed.
For CLKout6 and OSCout0 to work before the LMK04816 is programmed the device must not be using Crystal
mode.
8.1.12 Status Pins
The LMK04816 provides status pins which can be monitored for feedback or in some cases used for input
depending upon device programming. For example:
•The Status_Holdover pin may indicate if the device is in holdover mode.
•The Status_CLKin0 pin may indicate the LOS (loss-of-signal) for CLKin0.
•The Status_CLKin0 pin may be an input for selecting the active clock input.
•The Status_LD pin may indicate if the device is locked.
The status pins can be programmed to a variety of other outputs including analog lock detect, PLL divider
outputs, combined PLL lock detect signals, PLL1 Vtune railing, readback, etc. Refer to the MICROWIRE
programming section of this datasheet for more information. Default pin programming is captured in Table 17.
8.1.13 Register Readback
Programmed registers may be read back using the MICROWIRE interface. For readback one of the status pins
must be programmed for readback mode.
At no time may registers be programed to values other than the valid states defined in the datasheet.
For timing specifications, see Timing Requirements. Register programming information on the DATAuWire pin is
clocked into a shift register on each rising edge of the CLKuWire signal. On the rising edge of the LEuWire
signal, the register is sent from the shift register to the register addressed. A slew rate of at least 30 V/µs is
recommended for these signals. After programming is complete the CLKuWire, DATAuWire, and LEuWire
signals must be returned to a low state. If the CLKuWire or DATAuWire lines are toggled while the VCO is in
lock, as is sometimes the case when these lines are shared with other parts, the phase noise may be degraded
during this programming.
Figure 8. MICROWIRE Input Timing Diagram
8.3.2 Advanced MICROWIRE Timing Diagrams
8.3.2.1 Three Extra Clocks or Double Program
For timing specifications, see Timing Requirements. Figure 9 shows the timing for the programming sequence for
loading CLKoutX_Y_DIV > 25 or CLKoutX_Y_DDLY > 12 as described in Special Programming Case for R0 to
R5 for CLKoutX_Y_DIV and CLKoutX_Y_DDLY.
Figure 9. MICROWIRE Timing Diagram: Extra CLKuWire Pulses for R0 to R5
8.3.2.2 Three Extra Clocks with LEuWire High
For timing specifications, see Timing Requirements. Figure 10 shows the timing for the programming sequence
which allows SYNC_EN_AUTO = 1 when loading CLKoutX_Y_DIV > 25 or CLKoutX_Y_DDLY > 12. When
SYNC_EN_AUTO = 1, a SYNC event is automatically generated on the falling edge of LEuWire. See Special
Programming Case for R0 to R5 for CLKoutX_Y_DIV and CLKoutX_Y_DDLY.
Figure 10. MICROWIRE Timing Diagram: Extra CLKuWire Pulses for R0 to R5 with LEuWire Asserted
8.3.2.3 Readback
For timing specifications, see Timing Requirements. See Readback for more information on performing a
readback operation. Figure 11 shows timing for LEuWire for both READBACK_LE = 1 and 0.
The rising edges of CLKuWire during MICROWIRE readback continue to clock data on DATAuWire into the
device during readback. If after the readback, LEuWire transitions from low to high, this clock data is latched to
the decoded register. The decoded register address consists of the last 5 bits clocked on DATAuWire as shown
in the MICROWIRE Timing Diagrams.
8.3.3.1 PLL1 Reference Inputs (CLKin0, CLKin1, and CLKin2)
The reference clock inputs for PLL1 may be selected from either CLKin0, CLKin1, or CLKin2. The user has the
capability to manually select one of the inputs or to configure an automatic switching mode of operation. See
Input Clock Switching for more info.
CLKin0, CLKin1, and CLKin2 have dividers which allow the device to switch between reference inputs of different
frequencies automatically without needing to reprogram the PLL1 R divider. The CLKin pre-divider values are 1,
2, 4, and 8.
CLKin1 input can alternatively be used for external feedback in 0-delay mode (FBCLKin) or for an external VCO
input port (Fin).
8.3.3.2 PLL2 OSCin and OSCin* Port
The feedback from the external oscillator being locked with PLL1 drives the OSCin and OSCin* pins. Internally
this signal is routed to the PLL1 N Divider and to the reference input for PLL2.
This input may be driven with either a single-ended or differential signal and must be AC-coupled. If operated in
single-ended mode, the unused input must be connected to GND with a 0.1-µF capacitor.
8.3.3.3 Crystal Oscillator
The internal circuitry of the OSCin port also supports the optional implementation of a crystal based oscillator
circuit. A crystal, a varactor diode, and a small number of other external components may be used to implement
the oscillator. The internal oscillator circuit is enabled by setting the EN_PLL2_XTAL bit. See EN_PLL2_XTAL.
8.3.4 Input Clock Switching
Manual, pin select, and automatic are three different kinds clock input switching modes can be set with the
CLKin_SELECT_MODE register.
Below is information about how the active input clock is selected and what causes a switching event in the
various clock input selection modes.
8.3.4.1 Input Clock Switching - Manual Mode
When CLKin_SELECT_MODE is 0, 1, or 2 then CLKin0, CLKin1, or CLKin2 respectively is always selected as
the active input clock. Manual mode also overrides the EN_CLKinX bits such that the CLKinX buffer operates
even if CLKinX is is disabled with EN_CLKinX = 0.
•Entering Holdover: If holdover mode is enabled then holdover mode is entered if: Digital lock detect of PLL1
goes low and DISABLE_DLD1_DET = 0.
•Exiting Holdover: The active clock for automatic exit of holdover mode is the manually selected clock input.
8.3.4.2 Input Clock Switching - Pin Select Mode
When CLKin_SELECT_MODE is 3, the pins Status_CLKin0 and Status_CLKin1 select which clock input is
active.
•Clock Switch Event: Pins: Changing the state of Status_CLKin0 or Status_CLKin1 pins causes an input
clock switch event.
•Clock Switch Event: PLL1 DLD: To prevent PLL1 DLD high to low transition from causing a input clock
switch event and causing the device to enter holdover mode, disable the PLL1 DLD detect by setting
DISABLE_DLD1_DET = 1. This is the preferred behavior for pin select mode.
•Configuring Pin Select Mode:
– The Status_CLKin0_TYPE must be programmed to an input value for the Status_CLKin0 pin to function
as an input for pin select mode.
– The Status_CLKin1_TYPE must be programmed to an input value for the Status_CLKin1 pin to function
as an input for pin select mode.
– If the Status_CLKinX_TYPE is set as output, the input value is considered 0.
– The polarity of Status_CLKin1 and Status_CLKin0 input pins can be inverted with the CLKin_SEL_INV bit.
– Table 1 defines which input clock is active depending on Status_CLKin0 and Status_CLKin1 state.
Table 1. Active Clock Input - Pin Select Mode
STATUS_CLKin1STATUS_CLKin0ACTIVE CLOCK
00CLKin0
01CLKin1
10CLKin2
11Holdover
The pin select mode overrides the EN_CLKinX bits such that the CLKinX buffer operates even if CLKinX is is
disabled with EN_CLKinX = 0. To switch as fast as possible, keep the clock input buffers enabled
(EN_CLKinX = 1) that could be switched to.
8.3.4.2.1 Pin Select Mode and Host
When in the pin select mode, the host can monitor conditions of the clocking system which could cause the host
to switch the active clock input. The LMK04816 device can also provide indicators on the Status_LD and
Status_HOLDOVER like DAC Rail, PLL1 DLD, PLL1 and PLL2 DLD which the host can use in determining which
clock input to use as active clock input.
8.3.4.2.2 Switch Event Without Holdover
When an input clock switch event is triggered and holdover mode is disabled, the active clock input immediately
switches to the selected clock. When PLL1 is designed with a narrow loop bandwidth, the switching transient is
minimized.
8.3.4.2.3 Switch Event With Holdover
When an input clock switch event is triggered and holdover mode is enabled, the device enters holdover mode
and remains in holdover until a holdover exit condition is met as described in Holdover Mode. Then, the device
completes the reference switch to the pin selected clock input.
8.3.4.3 Input Clock Switching - Automatic Mode
When CLKin_SELECT_MODE is 4, the active clock is selected in priority order of enabled clock inputs starting
upon an input clock switch event. The priority order of the clocks is CLKin0 → CLKin1 → CLKin2, and so forth.
For a clock input to be eligible to be switched through, it must be enabled using EN_CLKinX.
•Starting Active Clock: Upon programming this mode, the currently active clock remains active if PLL1 lock
detect is high. To ensure a particular clock input is the active clock when starting this mode, program
CLKin_SELECT_MODE to the manual mode which selects the desired clock input (CLKin0, 1, or 2). Wait for
PLL1 to lock PLL1_DLD = 1, then select this mode with CLKin_SELECT_MODE = 4.
•Clock Switch Event: PLL1 DLD: A loss of lock as indicated by the DLD signal of the PLL1 (PLL1_DLD = 0)
causes an input clock switch event if DISABLE_DLD1_DET = 0. PLL1 DLD must go high (PLL1_DLD = 1) in
between input clock switching events.
•Clock Switch Event: PLL1 V
Rail: If Vtune_RAIL_DET_EN is set and the PLL1 Vtune voltage crosses
tune
the DAC high or low threshold, holdover mode is entered. Because PLL1_DLD = 0 in holdover a clock input
switching event occurs.
•Clock Switch Event with Holdover: If holdover is enabled and an input clock switch event occurs, holdover
mode is entered and the active clock is set to the next enabled clock input in priority order. When the new
active clock meets the holdover exit conditions, holdover is exited and the active clock continues to be used
as a reference until another PLL1 loss of lock event. PLL1 DLD must go high in between input clock switching
events.
•Clock Switch Event without Holdover: If holdover is not enabled and an input clock switch event occurs,
the active clock is set to the next enabled clock in priority order. The LMK04816 keeps this new input clock as
the active clock until another input clock switching event. PLL1 DLD must go high in between input clock
switching events.
8.3.4.4 Input Clock Switching - Automatic Mode With Pin Select
When CLKin_SELECT_MODE is 6, the active clock is selected using the Status_CLKinX pins upon an input
clock switch event according to Table 2.
•Starting Active Clock: Upon programming this mode, the currently active clock remains active if PLL1 lock
detect is high. To ensure a particular clock input is the active clock when starting this mode, program
CLKin_SELECT_MODE to the manual mode which selects the desired clock input (CLKin0 or 1). Wait for
PLL1 to lock PLL1_DLD = 1, then select this mode with CLKin_SELECT_MODE = 6.
•Clock Switch Event: PLL1 DLD: An input clock switch event is generated by a loss of lock as indicated by
the DLD signal of the PLL! (PLL1 DLD = 0).
•Clock Switch Event: PLL1 V
Rail: If Vtune_RAIL_DET_EN is set and the PLL1 Vtune voltage crosses
tune
the DAC threshold, holdover mode is entered. Because PLL1_DLD = 0 in holdover, a clock input switching
event occurs.
•Clock Switch Event with Holdover: If holdover is enabled and an input clock switch event occurs, holdover
mode is entered and the active clock is set to the clock input defined by the Status_CLKinX pins. When the
new active clock meets the holdover exit conditions, holdover is exited and the active clock continues to be
used as a reference until another input clock switch event. PLL1 DLD must go high in between input clock
switching events.
•Clock Switch Event without Holdover: If holdover is not enabled and an input clock switch event occurs,
the active clock is set to the clock input defined by the Status_CLKinX pins. The LMK04816 keeps this new
input clock as the active clock until another input clock switching event. PLL1 DLD must go high in between
input clock switching events.
Table 2. Active Clock Input - Auto Pin Mode
STATUS_CLKin1STATUS_CLKin0ACTIVE CLOCK
X1CLKin0
10CLKin1
00CLKin2
The polarity of Status_CLKin1 and Status_CLKin0 input pins can be inverted with the CLKin_SEL_INV bit.
8.3.5 Holdover Mode
Holdover mode causes PLL2 to stay locked on frequency with minimal frequency drift when an input clock
reference to PLL1 becomes invalid. While in holdover mode, the PLL1 charge pump is tri-stated and a fixed
tuning voltage is set on CPout1 to operate PLL1 in open-loop.
8.3.5.1 Enable Holdover
Program HOLDOVER_MODE to enable holdover mode. Holdover mode can be manually enabled by
programming the FORCE_HOLDOVER bit.
The holdover mode can be set to operate in 2 different sub-modes.
•Fixed CPout1 (EN_TRACK = 0 or 1, EN_MAN_DAC = 1).
•Tracked CPout1 (EN_TRACK = 1, EN_MAN_DAC = 0).
– Not valid when EN_VTUNE_RAIL_DET = 1.
Updates to the DAC value for the Tracked CPout1 sub-mode occurs at the rate of the PLL1 phase detector
frequency divided by DAC_CLK_DIV. These updates occur any time EN_TRACK = 1.
The DAC update rate must be programmed for <= 100 kHz to ensure DAC holdover accuracy.
When tracking is enabled the current voltage of DAC can be readback, see DAC_CNT.
The holdover mode is entered as described in Input Clock Switching. Typically this is because:
•FORCE_HOLDOVER bit is set.
•PLL1 loses lock according to PLL1_DLD, and
– HOLDOVER_MODE = 2
– DISABLE_DLD1_DET = 0
•CPout1 voltage crosses DAC high or low threshold, and
– HOLDOVER_MODE = 2
– EN_VTUNE_RAIL_DET = 1
– EN_TRACK = 1
– DAC_HIGH_TRIP = User Value
– DAC_LOW_TRIP = User Value
– EN_MAN_DAC = 1
– MAN_DAC = User Value
8.3.5.3 During Holdover
PLL1 is run in open-loop mode.
•PLL1 charge pump is set to tri-state.
•PLL1 DLD is unasserted.
•The HOLDOVER status is asserted
•During holdover If PLL2 was locked prior to entry of holdover mode, PLL2 DLD continues to be asserted.
•CPout1 voltage is set to:
– a voltage set in the MAN_DAC register (fixed CPout1).
– a voltage determined to be the last valid CPout1 voltage (tracked CPout1).
•PLL1 DLD attempts to lock with the active clock input.
The HOLDOVER status signal can be monitored on the Status_HOLDOVER or Status_LD pin by programming
the HOLDOVER_MUX or LD_MUX register to Holdover Status.
8.3.5.4 Exiting holdover
Holdover mode can be exited in one of two ways.
•Manually, by programming the device from the host.
•Automatically, By a clock operating within a specified ppm of the current PLL1 frequency on the active clock
input. See Input Clock Switching for more detail on which clock input is active.
To exit holdover by programming, set HOLDOVER_MODE = Disabled. HOLDOVER_MODE can then be reenabled by programming HOLDOVER_MODE = Enabled. Take care to ensure that the active clock upon exiting
holdover is as expected, otherwise the CLKin_SELECT_MODE register may need to be re-programmed.
8.3.5.5 Holdover Frequency Accuracy and DAC Performance
When in holdover mode PLL1 runs in open-loop and the DAC sets the CPout1 voltage. If Fixed CPout1 mode is
used, then the output of the DAC is a voltage dependant upon the MAN_DAC register. If tracked CPout1 mode is
used, then the output of the DAC is the voltage at the CPout1 pin before holdover mode was entered. When
using Tracked mode and EN_MAN_DAC = 1, during holdover the DAC value is loaded with the programmed
value in MAN_DAC, not the tracked value.
When in Tracked CPout1 mode the DAC has a worst case tracking error of ±2 LSBs once PLL1 tuning voltage is
acquired. The step size is approximately 3.2 mV, therefore the VCXO frequency error during holdover mode
caused by the DAC tracking accuracy is ±6.4 mV × Kv. Where Kv is the tuning sensitivity of the VCXO in use.
Therefore the accuracy of the system when in holdover mode in ppm is calculated by Equation 4:
Example: consider a system with a 19.2-MHz clock input, a 153.6-MHz VCXO with a Kv of 17 kHz/V. The
accuracy of the system in holdover in ppm is calculated by Equation 5:
It is important to account for this frequency error when determining the allowable frequency error window to
cause holdover mode to exit.
8.3.5.6 Holdover Mode - Automatic Exit of Holdover
The LMK04816 device can be programmed to automatically exit holdover mode when the accuracy of the
frequency on the active clock input achieves a specified accuracy. The programmable variables include
PLL1_WND_SIZE and DLD_HOLD_CNT.
See Digital Lock Detect Frequency Accuracy to calculate the register values to cause holdover to automatically
exit upon reference signal recovery to within a user specified ppm error of the holdover frequency.
It is possible for the time to exit holdover to vary because the condition for automatic holdover exit is for the
reference and feedback signals to have a time/phase error less than a programmable value. Because it is
possible for two clock signals to be very close in frequency but not close in phase, it may take a long time for the
phases of the clocks to align themselves within the allowable time and phase error before holdover exits.
8.3.6 PLLs
8.3.6.1 PLL1
The maximum phase detector frequency (f
) of the PLL1 is 40 MHz. Because a narrow loop bandwidth must
PD1
be used for PLL1, the need to operate at high phase detector rate to lower the in-band phase noise becomes
unnecessary. The maximum values for the PLL1 R and N dividers is 16,383. Charge pump current ranges from
100 to 1600 µA. PLL1 N divider may be driven by OSCin port at the OSCout0_MUX output (default) or by
internal or external feedback as selected by Feedback Mux in 0-delay mode.
Low charge-pump currents and phase detector frequencies aid design of low loop bandwidth loop filters with
reasonably sized components to allow the VCXO or PLL2 to dominate phase noise inside of PLL2 loop
bandwidth. High charge-pump currents may be used by PLL1 when using VCXOs with leaky tuning voltage
inputs to improve system performance.
8.3.6.2 PLL2
The maximum phase detector frequency (f
) of the PLL2 is 155 MHz. Operating at highest possible phase
PD2
detector rate ensures low in-band phase noise for PLL2 which in turn produces lower total jitter. The in-band
phase noise from the reference input and PLL is proportional to N2. The maximum value for the PLL2 R divider is
4,095. The maximum value for the PLL2 N divider is 262,143. The N2 prescaler in the total N feedback path can
be programmed for values 2 to 8 (all divides even and odd). Charge-pump current ranges from 100 to 3200 µA.
High charge-pump currents help to widen the PLL2 loop bandwidth to optimize PLL2 performance.
8.3.6.2.1 PLL2 Frequency Doubler
The PLL2 reference input at the OSCin port may be routed through a frequency doubler before the PLL2 R
Divider. The frequency doubler feature allows the phase comparison frequency to be increased when a relatively
low frequency oscillator is driving the OSCin port. By doubling the PLL2 phase detector frequency, the in-band
PLL2 noise is reduced by about 3 dB.
For applications in which the OSCin frequency and PLL2 phase detector frequency are equal, the best PLL2 inband noise can be achieved when the doubler is enabled (EN_PLL2_REF_2X = 1) and the PLL2 R divide value
is 2. Do not use doubler disabled (EN_PLL2_REF_2X = 0) and PLL2 R divide value of 1.
When using the doubler take care to use the PLL2 R divider to reduce the phase detector frequency to the limit
of the PLL2 maximum phase detector frequency.
Both PLL1 and PLL2 support digital lock detect. Digital lock detect compares the phase between the reference
path (R) and the feedback path (N) of the PLL. When the time error, which is phase error, between the two
signals is less than a specified window size (ε) a lock detect count increments. When the lock detect count
reaches a user specified value lock detect is asserted true. Once digital lock detect is true, a single-phase
comparison outside the specified window causes digital lock detect to be asserted false. This is shown in
Figure 12.
The incremental lock detect count feature functions as a digital filter to ensure that lock detect is not asserted for
only a brief time when the phases of R and N are within the specified tolerance for only a brief time during initial
phase lock.
The digital lock detect signal can be monitored on the Status_LD or Status_Holdover pin. The pin may be
programmed to output the status of lock detect for PLL1, PLL2, or both PLL1 and PLL2.
See Digital Lock Detect Frequency Accuracy for more detailed information on programming the registers to
achieve a specified frequency accuracy in ppm with lock detect.
The digital lock detect feature can also be used with holdover to automatically exit holdover mode. See Holdover
Mode for more info.
Figure 12. Digital Lock Detect Flowchart
8.3.7 Status Pins
The Status_LD, Status_HOLDOVER, Status_CLKin0, Status_CLKin1, and SYNC/Status_CLKin2 pins can be
programmed to output a variety of signals for indicating various statuses like digital lock detect, holdover, several
DAC indicators, and several PLL divider outputs.
8.3.7.1 Logic Low
This is a vary simple output. In combination with the output _MUX register, this output can be toggled between
high and low. Useful to confirm MICROWIRE programming or as a general-purpose IO.
8.3.7.2 Digital Lock Detect
PLL1 DLD, PLL2 DLD, and PLL1 + PLL2 are selectable on certain output pins. See Digital Lock Detect for more
information.
8.3.7.3 Holdover Status
Indicates if the device is in holdover mode. See Holdover Mode for more information.
8.3.7.4 DAC
Various flags for the DAC can be monitored including DAC Locked, DAC Rail, DAC Low, and DAC High.
When the PLL1 tuning voltage crosses the low threshold, DAC Low is asserted. When PLL1 tuning voltage
crosses the high threshold, DAC High is asserted. When either DAC Low or DAC High is asserted, DAC Rail is
also asserted.
DAC Locked is asserted when EN_Track = 1 and DAC is closely tracking the PLL1 tuning voltage.
The PLL divider outputs are useful for debugging failure to lock issues. It allows the user to measure the
frequency the PLL inputs are receiving. The settings of PLL1_R, PLL1_N, PLL2_R, and PLL2_N output pulses at
the phase detector rate. The settings of PLL1_R / 2, PLL1_N / 2, PLL2_R / 2, and PLL2_N / 2 output a 50% duty
cycle waveform at half the phase detector rate.
8.3.7.6 CLKinX_LOS
The clock input loss of signal indicator is asserted when LOS is enabled (EN_LOS) and the clock no longer
detects an input as defined by the time-out threshold, LOS_TIMEOUT.
8.3.7.7 CLKinX Selected
If this clock is the currently selected/active clock, this pin is asserted.
8.3.7.8 MICROWIRE Readback
The readback data can be output on any pin programmable to readback mode. For more information on
readback see Readback.
8.3.8 VCO
The integrated VCO uses a frequency calibration routine when register R30 is programmed to lock VCO to target
frequency. Register R30 contains the PLL2_N register.
During the frequency calibration the PLL2_N_CAL value is used instead of PLL2_N, this allows 0-delay modes to
have a separate PLL2 N value for VCO frequency calibration and regular operation. See PLL2_N_CAL, PLL2 N
Calibration Divider, PLL2_P, PLL2 N Prescaler Divider, and PLL2_N, PLL2 N Divider for more information.
8.3.9 Clock Distribution
8.3.9.1 Fixed Digital Delay
This section discussing fixed digital delay and associated registers is fundamental to understanding digital delay
and dynamic digital delay.
Clock outputs may be delayed or advanced from one another by up to 517.5 clock distribution path periods. By
programming a digital delay value from 4.5 to 522 clock distribution path periods, a relative clock output delay
from 0 to 517.5 periods is achieved. The CLKoutX_Y_DDLY (5 to 522) and CLKoutX_Y_HS (-0.5 or 0) registers
set the digital delay as shown in Table 3.
DigitaldelayvaluesonlytakeeffectduringaSYNCeventandifthe
NO_SYNC_CLKoutX_Y bit is cleared forthis clock group. See Clock Output
Synchronization (SYNC) for more information.
The resolution of digital delay is determined by the frequency of the clock distribution path. The clock distribution
path is the output of Mode Mux1 (Figure 7). The best resolution of digital delay is achieved by bypassing the
VCO divider.
(6)
(7)
The digital delay between clock outputs can be dynamically adjusted with no or minimum disruption of the output
clocks. See Dynamically Programming Digital Delay for more information.
8.3.9.1.1 Fixed Digital Delay - Example
Given a VCO frequency of 2457.6 MHz and no VCO divider, by using digital delay the outputs can be adjusted in
1 / (2 × 2457.6 MHz) ≈ 203.5-ps steps.
To achieve quadrature (90 degree shift) between the 122.88 MHz outputs on CLKout4 and CLKout6 from a VCO
frequency of 2457.6 MHz and bypassing the VCO divider, consider the following:
1. The frequency of 122.88 MHz has a period of ≈8.14 ns.
2. To delay 90 degrees of a 122.88 MHz clock period requires a ≈2.03-ns delay.
3. Given a digital delay step of ≈203.5 ps, this requires a digital delay value of 12 steps (2.03 ns / 203.5 ps =
10).
4. Because the 10 steps are half period steps, CLKout6_7_DDLY is programmed 5 full periods beyond 5 for a
total of 10.
This result in the following programming:
•Clock output dividers to 20. CLKout4_5_DIV = 20 and CLKout6_7_DIV = 20.
•Set first clock digital delay value. CLKout4_5_DDLY = 5, CLKout4_5_HS = 0.
•Set second 90 degree shifted clock digital delay value. CLKout6_7_DDLY = 10, CLKout6_7_HS = 0.
Table 4 shows some of the possible phase delays in degrees achievable in the previous example.
Figure 14 shows clock outputs programmed with different digital delay values during a SYNC event.
Refer to Dynamically Programming Digital Delay for more information on dynamically adjusting digital delay.
8.3.9.2 Clock Output Synchronization (SYNC)
The purpose of the SYNC function is to synchronize the clock outputs with a fixed and known phase relationship
between each clock output selected for SYNC. SYNC can also be used to hold the outputs in a low or 0 state.
The NO_SYNC_CLKoutX_Y bits can be set to disable synchronization for a clock group.
To enable SYNC, EN_SYNC must be set. See EN_SYNC, Enable Synchronization.
The digital delay value set by CLKoutX_Y_DDLY takes effect only upon a SYNC event. The digital delay due to
CLKoutX_Y_HS takes effect immediately upon programming. See Dynamically Programming Digital Delay for
more information on dynamically changing digital delay.
During a SYNC event, clock outputs driven by the VCO are not synchronized to clock outputs driven by OSCin.
OSCout0 is always driven by OSCin. CLKout6, 7, 8, or 9 may be driven by OSCin depending on the
CLKoutX_Y_OSCin_Sel bit value. While SYNC is asserted, NO_SYNC_CLKoutX_Y operates normally for
CLKout6, 7, 8, and 9 under all circumstances. SYNC operates normally for CLKout6, 7, 8, and 9 when driven by
VCO.
When SYNC is asserted, the outputs to be synchronized are held in a logic low state. When SYNC is
unasserted, the clock outputs to be synchronized are activated and transition to a high state simultaneously with
one another except where different digital delay values have been programmed.
Refer to Dynamically Programming Digital Delay for SYNC functionality when SYNC_QUAL = 1.
Table 5. Steady State Clock Output Condition Given Specified Inputs
0,1,2 (Input)11Active
3, 4, 5, 6 (Output)00 or 1Active
3, 4, 5, 6 (Output)10 or 1Low
8.3.9.2.2 Methods of Generating SYNC
SYNC PINCLOCK OUTPUT STATE
There are five methods to generate a SYNC event:
•Manual:
– Asserting the SYNC pin according to the polarity set by SYNC_POL_INV.
– Toggling the SYNC_POL_INV bit though MICROWIRE causes a SYNC to be asserted.
•Automatic:
– If PLL1_SYNC_DLD or PLL2_SYNC_DLD is set, the SYNC pin is asserted while DLD (digital lock detect)
is false for PLL1 or PLL2 respectively.
– Programming Register R30, which contains PLL2_N generates a SYNC event when using the internal
VCO.
– Programming Register R0 through R5 when SYNC_EN_AUTO = 1.
NOTE
Due to the speed of the clock distribution path (as fast as ~325 ps period) and the slow
slew rate of the SYNC, the exact VCO cycle at which the SYNC is asserted or unasserted
by the SYNC is undefined. The timing diagrams show a sharp transition of the SYNC to
clarify functionality.
8.3.9.2.3 Avoiding Clock Output Interruption due to SYNC
Any CLKout groups that have their NO_SYNC_CLKoutX_Y bits set are unaffected by the SYNC event. It is
possible to perform a SYNC operation with the NO_SYNC_CLKoutX_Y bits cleared, then set the
NO_SYNC_CLKoutX_Y bits so that the selected clocks are not affected by a future SYNC. Future SYNC events
will not effect these clocks but will still cause the newly synchronized clocks to be re-synchronized using the
currently programmed digital delay values. When this happens, the phase relationship between the first group of
synchronized clocks and the second group of synchronized clocks are undefined unless the SYNC pulse is
qualified by an output clock. See Dynamically Programming Digital Delay.
8.3.9.2.4 SYNC Timing
When discussing the timing of the SYNC function, one cycle refers to one period of the clock distribution path.
CLKout0_1_DIV = 1 (valid only for external VCO mode)
CLKout2_3_DIV = 2
CLKout4_5_DIV = 4
The digital delay for all clock outputs is 5
The digital delay half step for all clock outputs is 0
SYNC_QUAL = 0 (No qualification)
Figure 13. Clock Output Synchronization Using the SYNC Pin (Active Low)
Refer to Figure 13 during this discussion on the timing of SYNC. SYNC must be asserted for greater than one
clock cycle of the clock distribution path to latch the SYNC event. After SYNC is asserted, the SYNC event is
latched on the rising edge of the distribution path clock, at time A. After this event has been latched, the outputs
do not reflect the low state for 6 cycles, at time B. Due to the asynchronous nature of SYNC with respect to the
output clocks, it is possible that a glitch pulse could be created when the clock output goes low from the SYNC
event. This is shown by CLKout4 in Figure 13 and CLKout2 in Figure 14. See Relative Dynamic Digital Delay for
more information on synchronizing relative to an output clock to eliminate or minimize this glitch pulse.
After SYNC becomes unasserted the event is latched on the following rising edge of the distribution path clock,
time C. The clock outputs rise at time D, coincident with a rising distribution clock edge that occurs after 6 cycles
plus as many more cycles as programmed by the digital delay for that clock output. Therefore, the earliest a
clock output becomes high is 11 cycles after the SYNC unassertion event registration, time C, when the smallest
digital delay value of 5 is set. If CLKoutX_Y_HS = 1 and CLKoutX_Y_DDLY = 5, then the clock output rises 10.5
cycles after SYNC is unassertion event registration.
Figure 14. Clock Output Synchronization Using the SYNC Pin (Active Low)
www.ti.com
Figure 14 shows the timing with different digital delays programmed.
•Time A) SYNC assertion event is latched.
•Time B) SYNC unassertion latched.
•Time C) All outputs toggle and remain low. A glitch pulse can occur at this time as shown by CLKout2.
•Time D) After 6 + 4.5 = 10.5 cycles CLKout0 rises. This is the shortest time from SYNC unassertion
registration to clock rising edge possible.
•Time E) After 6 + 7 = 13 cycles CLKout2 rises. CLKout2 and CLKout4, 5 are programmed for quadrature
operation.
•Time F) After 6 + 8 = 14 cycles CLKout4 and 5 rise. Because CLKout4 and 5 are driven by the same clock
divider and delay circuit, their timing is always the same.
8.3.9.2.5 Dynamically Programming Digital Delay
To use dynamic digital delay synchronization qualification set SYNC_QUAL = 1. This causes the SYNC pulse to
be qualified by a clock output so that the SYNC event occurs after a specified time from a clock output transition.
This allows the relative adjustment of clock output phase in real-time with no or minimum interruption of clock
outputs. Hence the term dynamic digital delay.
NOTE
Changing the phase of a clock output requires momentarily altering in the rate of change
of the clock output phase and therefore by definition results in a frequency distortion of the
signal.
Without qualifying the SYNC with an output clock, the newly synchronized clocks would have a random and
unknown digital delay (or phase) with respect to clock outputs not currently being synchronized.
8.3.9.2.5.1 Absolute versus Relative Dynamic Digital Delay
SNAS597C –JULY 2012–REVISED JANUARY 2016
The clock used for qualification of SYNC is selected with the feedback mux (FEEDBACK_MUX).
If the clock selected by the feedback mux has its NO_SYNC_CLKoutX_Y = 1, then an absolute dynamic digital
delay adjustment is performed during a SYNC event and the digital delay of the feedback clock is not adjusted.
If the clock selected by the feedback mux has its NO_SYNC_CLKoutX_Y = 0, then a self-referenced or relative
dynamic digital delay adjustment is performed during a SYNC event and the digital delay of the feedback clock
is adjusted.
Clocks with NO_SYNC_CLKoutX_Y = 1 always operate without interruption.
8.3.9.2.5.2 Dynamic Digital Delay and 0-Delay Mode
When using a 0-delay mode absolute dynamic digital delay is recommended. Using relative dynamic digital
delay with a 0-delay mode may result in a momentary clock loss on the adjusted clock also being used for 0delay feedback that may result in PLL1 DLD becoming low. This may result in HOLDOVER mode being activated
depending upon device configuration.
8.3.9.2.5.3 SYNC and Minimum Step Size
The minimum step size adjustment for digital delay is half a clock distribution path cycle. This is achieved by
using the CLKoutX_Y_HS bit. The CLKoutX_Y_HS bit change effect is immediate without the need for SYNC. To
shift digital delay using CLKoutX_Y_DDLY a SYNC signal must be generated for the change to take effect.
8.3.9.2.5.4 Programming Overview
To dynamically adjust the digital delay with respect to an existing clock output the device must be programmed
as follows:
•Set SYNC_QUAL = 1 for clock output qualification.
•Set CLKout4_5_PD = 0. Required for proper operation of SYNC_QUAL = 1.
•Set EN_FEEDBACK_MUX = 1 to enable the feedback buffer.
•Set FEEDBACK_MUX to the clock output used to qualify the newly synchronized clocks.
•Set NO_SYNC_CLKoutX_Y = 1 for the output clocks that continue to operate during the SYNC event. There
is no interruption of output on these clocks.
– If FEEDBACK_MUX selects a clock output with NO_SYNC_CLKoutX_Y = 1, then absolute dynamic
digital delay is performed.
– If FEEDBACK_MUX selects a clock output with NO_SYNC_CLKoutX_Y = 0, then self-referenced or
relative dynamic digital delay is performed.
•The SYNC_EN_AUTO bit may be set to cause a SYNC event to begin when register R0 to R5 is
programmed. The auto SYNC feature is a convenience because does not require the application to manually
assert SYNC by toggling the SYNC_POL_INV bit or the SYNC pin when changing digital delay. However,
under the following condition a special programming sequence is required if SYNC_EN_AUTO = 1:
– The CLKoutX_Y_DDLY value being set in the programmed register is 13 or more.
•Under the following condition a SYNC_EN_AUTO must = 0:
– If the application requires a digital delay resolution of half a clock distribution path cycle in relative
dynamic digital delay mode because the HS bit must be fixed per Table 6 for a qualifying clock.
8.3.9.2.5.5 Internal Dynamic Digital Delay Timing
To dynamically adjust digital delay a SYNC must occur. Once the SYNC is qualified by an output clock, 3 cycles
later an internal one shot pulse occurs. The width of the one shot pulse is 3 cycles. This internal one shot pulse
causes the outputs to turn off and then back on with a fixed delay with respect to the falling edge of the
qualification clock. This allows for dynamic adjustments of digital delay with respect to an output clock.
The qualified SYNC timing is shown in Figure 15 for absolute dynamic digital delay and Figure 16 for relative
dynamic digital delay.
When adjusting digital delay dynamically, the falling edge of the qualifying clock selected by the
FEEDBACK_MUX must coincide with the falling edge of the clock distribution path. For this requirement to be
met, program the CLKoutX_Y_HS value of the qualifying clock group according to Table 6.
Table 6. Half-Step Programming Requirement of Qualifying Clock During SYNC Event
DISTRIBUTION PATH FREQUENCYCLKoutX_Y_DIV VALUECLKoutX_Y_HS
≥ 1.8 GHz
< 1.8 GHz
8.3.9.2.5.7 Absolute Dynamic Digital Delay
EvenMust = 1 during SYNC event.
OddMust = 0 during SYNC event.
EvenMust = 0 during SYNC event.
OddMust = 1 during SYNC event.
Absolute dynamic digital delay can be used to program a clock output to a specific phase offset from another
clock output.
Pros:
•Simple direct phase adjustment with respect to another clock output.
•CLKoutX_Y_HS remains constant for qualifying clock.
– Can easily use auto sync feature (SYNC_EN_AUTO = 1) when digital delay adjustment requires half step
digital delay requirements.
•Can be used with 0-delay mode.
Cons:
•For some phase adjustments there may be a glitch pulse due to SYNC assertion.
– For example see CLKout4 in Figure 13 and CLKout2 in Figure 14.
8.3.9.2.5.7.1 Absolute Dynamic Digital Delay - Example
To illustrate the absolute dynamic digital delay adjust procedure, consider the following example.
System Requirements:
•VCO Frequency = 2457.6 MHz
•CLKout0 = 819.2 MHz (CLKout0_1_DIV = 3)
•CLKout2 = 307.2 MHz (CLKout2_3_DIV = 8)
•CLKout4 = 245.76 MHz (CLKout4_5_DIV = 10)
•For all clock outputs during initial programming:
– CLKoutX_Y_DDLY = 5
– CLKoutX_Y_HS = 1
– NO_SYNC_CLKoutX_Y = 0
The application requires the 307.2 MHz clock to be stepped in 22.5 degree steps (≈203.4 ps), which is the
minimum step resolution allowable by the clock distribution path requiring use of the half step bit
(CLKoutX_Y_HS). That is 1 / 2457.6 MHz / 2 = ≈203.4 ps. During the stepping of the 307.2-MHz clock the 819.2MHz and 245.76-MHz clock must not be interrupted.
Step 1: The device is programmed from register R0 to R30 with values that result in the device being locked and
operating as desired, see the system requirements above. The phase of all the output clocks are aligned
because all the digital delay and half step values were the same when the SYNC was generated by
programming register R30. The timing of this is as shown in Figure 13.
Step 2: Now the registers are programmed to prepare for changing digital delay (or phase) dynamically.
Table 7. Register Setup for Absolute Dynamic Digital Delay Example
REGISTERPURPOSE
SYNC_QUAL = 1Use a clock output for qualifying the SYNC pulse for dynamically adjusting digital delay.
EN_SYNC = 1 (default)Required for SYNC functionality.
CLKout4_5_PD = 0
EN_FEEDBACK_MUX = 1Enable the feedback mux for SYNC operation for dynamically adjusting digital delay.
FEEDBACK_MUX = 2 (CLKout4)Use the fixed 245.76 MHz clock as the SYNC qualification clock.
NO_SYNC_CLKout0_1 = 1
NO_SYNC_CLKout4_5 = 1
CLKout4_5_HS = 1
SYNC_EN_AUTO = 1Automatic generation of SYNC is allowed for this case.
Required when SYNC_QUAL = 1.
CLKout4 and/or CLKout5 outputs may be powered down or in use.
This clock output (819.2 MHz) won't be affected by SYNC. It always operates without
interruption.
This clock output (245.76 MHz) won't be affected by SYNC. It always operates without
interruption.
This clock also is the qualifying clock in this example.
Because CLKout4 is the qualifying clock and CLKoutX_Y_DIV is even, the half step bit must be
set to 1. See Table 6.
After the registers in Table 7 have been programmed, the application may now dynamically adjust the digital
delay of CLKout2 (307.2 MHz).
Step 3: Adjust digital delay of CLKout2.
Refer to Table 8 for the programming values to set a specified phase offset from the absolute reference clock.
Table 8 is dependant upon the qualifying clock divide value of 10, refer to Calculating Dynamic Digital Delay
Values for Any Divide for information on creating tables for any divide value.
Table 8. Programming for Absolute Digital Delay Adjustment
DEGREES OF ADJUSTMENT FROM INITIAL 307.2-MHz PHASEPROGRAMMING
±0 or ±360 degreesCLKout2_3_DDLY = 14; CLKout2_3_HS = 1
After setting the new digital delay values, the act of programming R1 starts a SYNC automatically because
SYNC_EN_AUTO = 1.
If the user elects to reduce the number of SYNCs because they are not required when only CLKout2_3_HS is
set, then SYNC_EN_AUTO is = 0 and the SYNC may now be generated by toggling the SYNC pin or by toggling
the SYNC_POL_INV bit. Because of the internal one shot pulse, no strict timing of the SYNC pin or
SYNC_POL_INV bit is required.
After the SYNC event, the clock output adjusts according to Table 8. See Figure 15 for a detailed view of the
timing diagram. The timing diagram critical points are:
•Time A) SYNC assertion event is latched.
•Time B) First qualifying falling clock output edge.
•Time C) Second qualifying falling clock output edge.
•Time D) Internal one shot pulse begins. 5 cycles later clock outputs are forced low
•Time E) Internal one shot pulse ends. 5 cycles + digital delay cycles later the synced clock outputs rise.
•Time F) Clock outputs are forced low. (CLKout2 is already low).
•Time G) Beginning of digital delay cycles.
•Time H) For CLKout2_3_DDLY = 14; the clock output rises now.
Figure 15. Absolute Dynamic Digital Delay Programming Example (SYNC_QUAL = 1, Qualify With Clock
Output)
8.3.9.2.5.8 Relative Dynamic Digital Delay
Relative dynamic digital delay can be used to program a clock output to a specific phase offset from another
clock output.
Pros:
•Simple direct phase adjustment with respect to same clock output.
•The clock output always behaves the same during digital delay adjustment transient. For some divide values
there are no glitch pulses.
Cons:
•For some clock divide values there may be a glitch pulse due to SYNC assertion.
•Adjustments of digital delay requiring the half step bit (CLKoutX_Y_HS) for finer digital delay adjust is
complicated.
•Use with 0-delay mode may result in PLL1 DLD becoming low and HOLDOVER mode becoming activated.
– DISABLE_DLD1_DET can be set to prevent HOLDOVER from becoming activated due to PLL1 DLD
8.3.9.2.5.8.1 Relative Dynamic Digital Delay - Example
SNAS597C –JULY 2012–REVISED JANUARY 2016
To show the relative dynamic digital delay adjust procedure, consider the following example.
System Requirements:
•VCO Frequency = 2457.6 MHz
•CLKout0 = 819.2 MHz (CLKout0_1_DIV = 3)
•CLKout2 = 491.52 MHz (CLKout2_3_DIV = 5)
•CLKout4 = 491.52 MHz (CLKout4_5_DIV = 5)
•For all clock outputs during initial programming:
– CLKoutX_Y_DDLY = 5
– CLKoutX_Y_HS = 0
– NO_SYNC_CLKoutX_Y = 0
The application requires the 491.52-MHz clock to be stepped in 22.5 degree steps (≈203.4 ps), which is the
minimum step resolution allowable by the clock distribution path. That is 1 / 2457.6 MHz / 2 = ≈203.4 ps. During
the stepping of the 491.52-MHz clocks the 819.2-MHz clock must not be interrupted.
Step 1: The device is programmed from register R0 to R30 with values that result in the device being locked and
operating as desired, see the system requirements above. The phase of all the output clocks are aligned
because all the digital delay and half step values were the same when the SYNC was generated by
programming register R30. The timing of this is as shown in Figure 13.
Step 2: Now the registers are programmed to prepare for changing digital delay (or phase) dynamically.
Table 9. Register Setup for Relative Dynamic Digital Delay - Example
EN_FEEDBACK_MUX = 1
FEEDBACK_MUX = 1 (CLKout2)Use the clock itself as the SYNC qualification clock.
NO_SYNC_CLKout0_1 = 1
NO_SYNC_CLKout4_5 = 1CLKout3’s phase is not to change with respect to CLKout0.
SYNC_EN_AUTO = 0 (default)
Use clock output for qualifying the SYNC pulse for dynamically
adjusting digital delay.
Required when SYNC_QUAL = 1.
CLKout4 and/or CLKout5 outputs may be powered down or in use.
Enable the feedback mux for SYNC operation for dynamically
adjusting digital delay.
This clock output (819.2 MHz) won't be affected by SYNC. It always
operates without interruption.
Automatic generation of SYNC is not allowed because of the half
step requirement in relative dynamic digital delay mode.
SYNC must be generated manually by toggling the SYNC_POL_INV
bit or the SYNC pin.
After the above registers have been programmed, the application may now dynamically adjust the digital delay of
the 491.52-MHz clocks.
Step 3: Adjust digital delay of CLKout2 by one step which is 22.5 degrees or ≈203.4 ps.
Refer to Table 10 for the programming sequence to step one half clock distribution period forward or backwards.
Refer to Calculating Dynamic Digital Delay Values for Any Divide for more information on how to calculate digital
delay and half step values for other cases.
To fulfill the qualifying clock output half step requirement in Table 6 when dynamically adjusting digital delay, the
CLKoutX_Y_HS bit must be cleared for clocks with even divides. So before any dynamic digital delay
adjustment, CLKoutX_Y_HS must be clear because the clock divide value is even. To achieve the final required
digital delay adjustment, the CLKoutX_Y_HS bit may set after SYNC.
Adjust clock output one step forward.
CLKout2_3_HS is 0.
Adjust clock output one step forward.
CLKout2_3_HS is 1.
Adjust clock output one step backward.
CLKout2_3_HS is 0.
Adjust clock output one step backward.
CLKout2_3_HS is 1.
PROGRAMMING SEQUENCE
1. CLKout2_3_HS = 1.
1. CLKout2_3_DDLY = 11.
2. Perform SYNC event.
3. CLKout2_3_HS = 0.
1. CLKout2_3_HS = 1.
2. CLKout2_3_DDLY = 11.
3. Perform SYNC event.
1. CLKout2_3_HS = 0.
After programing the updated CLKout2_3_DDLY and CLKout2_3_HS values, perform a SYNC event. The SYNC
may be generated by toggling the SYNC pin or by toggling the SYNC_POL_INV bit. Because of the internal one
shot pulse, no strict timing of the SYNC pin or SYNC_POL_INV bit is required. After the SYNC event, the clock
output is at the specified phase. See Figure 16 for a detailed view of the timing diagram. The timing diagram
critical points are:
•Time A) SYNC assertion event is latched.
•Time B) First qualifying falling clock output edge.
•Time C) Second qualifying falling clock output edge.
•Time D) Internal one shot pulse begins. 5 cycles later clock outputs are forced low.
•Time E) Internal one shot pulse ends. 5 cycles + digital delay cycles later the synced clock outputs rise.
•Time F) Clock outputs are forced low. (CLKouts are already low).
•Time G) Beginning of digital delay cycles.
•Time H) For CLKout2_3_DDLY = 11; the clock output rises now.
(SYNC_QUAL = 1, Qualify with clock output)
Starting condition is after half step is removed (CLKout2_3_HS = 0).
Figure 16. Relative Dynamic Digital Delay Programming Example, 2nd Adjust
When 0-delay mode is enabled the clock output selected by the Feedback Mux is connected to the PLL1 N
counter to ensure a fixed phase relationship between the selected CLKin and the fed back CLKout. When all the
clock outputs are synced together, all the clock outputs share the same fixed phase relationship between the
selected CLKin and the fed back CLKout. The feedback can be internal or external using FBCLKin port.
When 0-delay mode is enabled the lowest frequency clock output is fed back to the Feedback Mux to ensure a
repeatable fixed CLKin to CLKout phase relationship between all clock outputs.
If a clock output that is not the lowest frequency output is selected for feedback, then clocks with lower
frequencies have an unknown phase relationship with respect the other clocks and clock input. There are a
number of possible phase relationships equal to Feedback_Clock_Frequency / Lower_Clock_Frequency that
may occur.
The Feedback Mux selects the even clock output of any clock group for internal feedback or the FBCLKin port for
external 0-delay feedback. The even clock can remain powered down as long as the CLKoutX_Y_PD bit is = 0
for its clock group.
To use 0-delay mode, the bit EN_FEEDBACK_MUX must be set (=1) to power up the feedback mux.
See PLL Programming for more information on programming PLL1_N for 0-delay mode.
When using an external VCO mode, internal 0-delay feedback must be used because the FBCLKin port is
shared with the Fin input.
Table 11 outlines several registers to program for 0-delay mode.
Table 11. Programming 0-Delay Mode
REGISTERPURPOSE
MODE = 2 or 5Select one of the 0-delay modes for device.
EN_FEEDBACK_MUX = 1Enable feedback mux.
FEEDBACK_MUX = Application SpecificSelect CLKout or FBCLKin for 0-delay feedback.
CLKoutX_Y_DIV
PLL1_NPLL1_N value used with CLKoutX_Y_DIV in loop.
The divide value of the clock selected by FEEDBACK_MUX is
important for PLL2 N value calculation
8.4 Device Functional Modes
8.4.1 Mode Selection
The LMK04816 is capable of operating in several different modes as programmed by MODE: Device Mode.
In addition to selecting the mode of operation above, some modes require additional configuration. Also there are
other features including holdover and dynamic digital delay that can also be enabled.
Table 13. Registers to Further Configure Device Mode of Operation
The LMK04816 is a flexible device that can be configured for many different use cases. The following simplified
block diagrams help show the user the different use cases of the device.
8.4.2.1 Dual PLL
Figure 17 shows the typical use case of the LMK04816 in dual-loop mode. In dual-loop mode the reference to
PLL1 is either CLKin0, CLKin1, or CLKin2. An external VCXO or tunable crystal is used to provide feedback for
the first PLL and a reference to the second PLL. This first PLL cleans the jitter with the VCXO or low-cost tunable
crystal by using a narrow loop bandwidth. The VCXO or tunable crystal output may be buffered through the two
OSCout ports and optionally on up to 4 of the CLKouts. The VCXO or tunable crystal is used as the reference to
PLL2 and may be doubled using the frequency doubler. The internal VCO drives up to six divide and delay
blocks which drive 12 clock outputs.
Holdover functionality is optionally available when the input reference clock is lost. Holdover works by fixing the
tuning voltage of PLL1 to the VCXO or tunable crystal.
It is also possible to use an external VCO in place of the internal VCO of the PLL2.
Figure 17. Simplified Functional Block Diagram for Dual-Loop Mode
8.4.2.2 0-Delay Dual PLL
Figure 18 shows the use case of 0-delay dual loop mode. This configuration is very similar to Dual PLL except
that the feedback to the first PLL is driven by a clock output. This causes the clock outputs to have deterministic
phase with the clock input. Because all the clock outputs can be synchronized together, all the clock outputs can
be in phase with the clock input signal. The feedback to PLL1 can be connected internally as shown, or
externally using FBCLKin (CLKin1) as an input port.
It is also possible to use an external VCO in place of the internal VCO of the PLL2.
Figure 18. Simplified Functional Block Diagram for 0-Delay Dual-Loop Mode
Figure 19 shows the use case of single PLL mode. In single PLL mode only PLL2 is used and PLL1 is powered
down. OSCin is used as the reference input. The internal VCO drives up to 6 divide and delay blocks which drive
12 clock outputs. The reference at OSCin can be used to drive up the OSCout0 port. OSCin can also optionally
drive up to 4 of the clock outputs.
It is also possible to use an external VCO in place of the internal VCO of the PLL2.
Figure 19. Simplified Functional Block Diagram for Single-Loop Mode
8.4.2.4 0-delay Single PLL
Figure 20 shows the use case of 0-delay single PLL mode. This configuration is very similar to Single PLL except
that the feedback to PLL2 comes from a clock output. This causes the clock outputs to be in phase with the
reference input. Because all the clock outputs can be synchronized together, all the clock outputs can be in
phase with the clock input signal. The feedback to PLL2 can be performed internally as shown, or externally
using FBCLKin (CLKin1) as an input port.
It is also possible to use an external VCO in place of the internal VCO of the PLL2.
Figure 20. Simplified Functional Block Diagram for 0-Delay Single-Loop Mode
8.4.2.5 Clock Distribution
Figure 21 shows the LMK04816 used for clock distribution. CLKin1 is used to drive up to 6 divide and delay
blocks which drive 12 outputs. OSCin can be used to drive the OSCout port. OSCin can also optionally drive up
to 4 of the clock outputs.
Figure 21. Simplified Functional Block Diagram for Mode Clock Distribution
LMK04816 devices are programmed using 32-bit registers. Each register consists of a 5-bit address field and 27bit data field. The address field is formed by bits 0 through 4 (LSBs) and the data field is formed by bits 5 through
31 (MSBs). The contents of each register is clocked in MSB first (bit 31), and the LSB (bit 0) last. During
programming, the LEuWire signal must be held low. The serial data is clocked in on the rising edge of the
CLKuWire signal. After the LSB (bit 0) is clocked in the LEuWire signal must be toggled low-to-high-to-low to
latch the contents into the register selected in the address field. TI recommends programming registers in
numeric order, for example R0 to R16, and R24 to R31 to achieve proper device operation. Figure 8 shows the
serial data timing sequence.
To achieve proper frequency calibration, the OSCin port must be driven with a valid signal before programming
register R30. Changes to PLL2 R divider or the OSCin port frequency require register R30 to be reloaded in
order to activate the frequency calibration process.
8.5.1 Special Programming Case for R0 to R5 for CLKoutX_Y_DIV and CLKoutX_Y_DDLY
In some cases when programming register R0 to R5 to change the CLKoutX_Y_DIV divide value or
CLKoutX_Y_DDLY delay value, 3 additional CLKuWire cycles must occur after loading the register for the newly
programmed divide or delay value to take effect. These special cases include:
•When CLKoutX_Y_DIV is > 25.
•When CLKoutX_Y_DDLY is > 12. Note, loading the digital delay value only prepares for a future SYNC event.
Also, because SYNC_EN_AUTO bit = 1 automatically generates a SYNC on the falling edge of LE when R0 to
R5 is programmed, further programming considerations must be made when SYNC_EN_AUTO = 1.
These special programming cases requiring the additional three clock cycles may be properly programmed by
one of the following methods shown in Table 14.
Table 14. R0 to R5 Special Case
CLKoutX_Y_DIV and
CLKoutX_Y_DDLY
CLKoutX_Y_DIV ≤ 25 and
CLKoutX_Y_DDLY ≤ 12
CLKoutX_Y_DIV > 25 or
CLKoutX_Y_DDLY > 12
CLKoutX_Y_DIV > 25 or
CLKoutX_Y_DDLY > 12
SYNC_EN_AUTOPROGRAMMING METHOD
0 or 1No Additional Clocks Required (Normal)
0
1Three Extra CLKuWire Clocks while LEuWire is High
Three Extra CLKuWire Clocks (Or program another
register)
Method: No Additional Clocks Required (Normal)
No special consideration to CLKuWire is required when changing divide value to ≤ 25, digital delay value to ≤ 12,
or when the digital delay and divide value do not change. See MICROWIRE timing Figure 8.
Method: Three Extra CLKuWire Clocks
Three extra clocks must be provided before CLKoutX_Y_DIV > 25 or CLKoutX_Y_DDLY > 12 take effect. See
MICROWIRE timing Figure 9.
Also, by programming another register the three clock requirement can be satisfied.
Method: Three Extra CLKuWire Clocks With LEuWire Asserted
When SYNC_EN_AUTO = 1 the falling edge of LEuWire generates a SYNC event. CLKoutX_Y_DIV and
CLKoutX_Y_DDLY values must be updated before the SYNC event occurs. So 3 CLKuWire rising edges must
occur before LEuWire goes low. See Figure 10.
Initial Programming Sequence
During the recommended programming sequence the device is programmed in order from R0 to R31, so it is
expected that at least one additional register is programmed after programming the last CLKoutX_Y_DIV or
CLKoutX_Y_DDLY value in R0 to R5. This results in the extra needed CLKuWire rising edges, so this special
note is of little concern.
If programming R0 to R5 to change CLKout frequency or digital delay or dynamic digital delay at a later time in
the application, take care to provide these extra CLKuWire cycles to properly load the new divide and/or delay
values.
8.5.1.1 Example
In this example, all registers have been programmed, the PLLs are locked. An LMK04816 has been generating a
clock output frequency of 61.44 MHz on CLKout4 using a VCO frequency of 2457.6 MHz and a divide value of
40. SYNC_EN_AUTO = 0. At a later time the application requires a 30.72 MHz output on CLKout4. By
reprogramming register R4 with CLKout4_5_DIV = 80 twice, the divide value of 96 is set for clock outputs 4 and
5 which results in an output frequency of 30.72 MHz (2457.6 MHz / 80 = 30.72 MHz) on CLKout4.
In this example the required 3 CLKuWire cycles were achieved by reprogramming the R4 register with the same
value twice.
8.5.2 Recommended Programming Sequence
Registers are programmed in numeric order with R0 being the first and R31 being the last register programmed.
The recommended programming sequence involves programming R0 with the reset bit (b17) set to 1 to ensure
the device is in a default state. If R0 is programmed again, the reset bit must be cleared to 0 during the
programming of R0.
8.5.2.1 Overview
•Program R0 with RESET bit = 1. This ensures that the device is configured with default settings. When
RESET = 1, all other R0 bits are ignored.
– If R0 is programmed again during the initial configuration of the device, the RESET bit must be cleared.
•R0 through R5: CLKouts.
– Program as necessary to configure the clock outputs, CLKout0 to CLKout11 as desired. These registers
configure clock output controls such as powerdown, digital delay and divider value, analog delay select,
and clock source select.
•R6 through R8: CLKouts.
– Program as necessary to configure the clock outputs, CLKout0 to CLKout11 as desired. These registers
configure the output format for each clock outputs and the analog delay for the clock output groups.
•R9: Required programming
– Program this register as shown in the register map for proper operation.
•R10: OSCouts, VCO divider, and 0-delay.
– Enable and configure clock outputs OSCout0.
– Set and select VCO divider (VCO bypass is recommended).
– Set 0-delay feedback source if used.
•R11: Part mode, SYNC, and XTAL.
– Program to configure the mode of the part, to configure SYNC functionality and pin, and to enable crystal
mode.
•R12: Pins, SYNC, and holdover mode.
– Status_LD pin, more SYNC options to generate a SYNC upon PLL1 and/or PLL2 lock detect.
– Enable clock features such as holdover.
•R13: Pins, holdover mode, and CLKins.
– Status_HOLDOVER, Status_CLKin0, and Status_CLKin1 pin controls.
– Enable clock inputs for use in specific part modes.
•R14: Pins, LOS, CLKins, and DAC.
– Status_CLKin1 pin control.
– Loss of signal detection, CLKin type, DAC rail detect enable and high and low trip points.
•R15: DAC and holdover mode.
– Program to enable and set the manual DAC value.
– HOLDOVER mode options.
•R24: PLL1 and PLL2.
– PLL1 N and R delay and PLL1 digital lock delay value.
– PLL2 integrated loop filter.
•R25: DAC and PLL1.
– Program to configure DAC update clock divider and PLL1 digital lock detect count.
•R26: PLL2.
– Program to configure PLL2 options.
•R27: CLKins and PLL1.
– Clock input pre-dividers.
– Program to configure PLL1 options.
•R28: PLL1 and PLL2.
– Program to configure PLL2 R and PLL1 N.
•R29: OSCin and PLL2.
– Program to configure oscillator input frequency, PLL2 fast phase detector frequency mode, and PLL2 N
calibration value.
•R30: PLL2.
– Program to configure PLL2 prescaler and PLL2 N value.
•R31: uWire lock.
– Program to set the uWire_LOCK bit.
8.5.3 Readback
At no time must the MICROWIRE registers be programmed to any value other than what is specified in the
datasheet.
For debug of the MICROWIRE interface, TI recommends to simply program an output pin mux to active low and
then toggle the output type register between output and inverting output while observing the output pin for a low
to high transition. For example, to verify MICROWIRE programming, set the LD_MUX = 0 (Low) and then toggle
the LD_TYPE register between 3 (Output, push-pull) and 4 (Output inverted, push-pull). The result is that the
Status_LD pin toggles from low to high.
Readback from the MICROWIRE programming registers is available. The MICROWIRE readback function can
be enabled on the Status_LD, Status_HOLDOVER, Status_CLKin0, Status_CLKin1, or SYNC pin by
programming the corresponding MUX register to uWire Readback and the corresponding TYPE register to
Output (push-pull). Power on reset defaults the Status_HOLDOVER pin to uWire Readback.
Figure 11 shows the serial data timing sequence for a readback operation for both cases of READBACK_LE = 0
(POR default) and READBACK_LE = 1.
To perform a readback operation first set the register to be read back by programming the READBACK_ADDR
register. Then after any MICROWIRE write operation, with the LEuWire pin held low continue to clock the
CLKuWire pin. On every rising edge of the CLKuWire pin a new data bit is clocked onto the any pins
programmed for uWire Readback. If the READBACK_LE bit is set, the LEuWire pin must be left high after
LEuWire rising edge while continuing to clock the CLKuWire pin.
It is allowable to perform a register read back in the same MICROWIRE operation which set the
READBACK_ADDR register value.
Data is clocked out MSB first. After 27 clocks all the data values have been read and the read operation is
complete. If READBACK_LE = 1, the LEuWire line may now be lowered. It is allowable for the CLKuWire pin to
be clocked additional cycles, but the data on the readback pin is invalid.
CLKuWire must be low before the falling edge of LEuWire.
8.5.3.1 Readback - Example
To readback register R3 perform the following steps:
•Write R31 with READBACK_ADDR = 3; READBACK_LE = 0. DATAuWire and CLKuWire are toggled as
shown in Figure 8 with new data being clocked in on rising edges of CLKuWire
•Toggle LEuWire high and then low as shown in Figure 8 and Figure 11. LEuWire is returned low because
READBACK_LE = 0.
•Toggle CLKuWire high and then low 27 times to read back all 27 bits of register R3. Data is read MSB first.
Data is valid on falling edge of CLKuWire.
Table 15 provides the register map for device programming. Normally any register can be read from the same data address it is written to. However,
READBACK_LE has a different readback address. Also, the DAC_CNT register is a read only register. Table 16 shows the address for
READBACK_LE and DAC_CNT. Bits marked as reserved are undefined upon readback.
Observe that only the DATA bits are readback during a readback which can result in an offset of 5 bits between the two register tables.
(1) Although the value of 0 is written here, during readback the value of READBACK_LE is read at this location. See Register Map and Readback Register Map.
50
8.6.2 Default Device Register Settings After Power On Reset
Table 17 shows the default register settings programmed in silicon for the LMK04816 after power on or asserting
the reset bit. Capital X and Y represent numeric values.
Table 17. Default Device Register Settings after Power On/Reset
FIELD NAME
GROUP
CLKout0_1_PD1PD
CLKout2_3_PD1PDR1
CLKout4_5_PD1PDR2
CLKout6_7_PD0NormalR3
CLKout8_9_PD0NormalR4
CLKout10_11_PD1PDR5
CLKout6_7_OSCin_Sel1OSCin
CLKout8_9_OSCin_Sel0VCOR430
CLKoutX_ADLY_SEL0NoneAdd analog delay for clock outputR0 to R528, 29
CLKoutX_Y_DDLY05Digital delay valueR0 to R527:18 [10]
RESET0Not in resetPerforms power on reset for deviceR017
POWERDOWN0
CLKoutX_Y_HS0No shiftHalf shift for digital delayR0to R516
11
NO_SYNC_CLKout8_91Will not syncR1124
NO_SYNC_CLKout6_71Will not syncR1123
NO_SYNC_CLKout4_50Will syncR1122
NO_SYNC_CLKout2_30Will syncR1121
NO_SYNC_CLKout0_10Will syncR1120
SYNC_CLKin2_MUX0Logic LowMux controlling SYNC pin when set to outputR1119:18 [2]
Clock Synchronization
SYNC_QUAL0Not qualifiedAllows SYNC operations to be qualified by a clock output.R1117
SYNC_POL_INV1Logic LowSets the polarity of the SYNC pin when inputR1116
SYNC_EN_AUTO0ManualSYNC is not started by programming a register R0 to R5.R1115
SYNC_TYPE1
EN_PLL2_XTAL0DisabledEnable Crystal oscillator for OSCinR115
LD_MUX3PLL1 & 2 DLDLock detect mux selection when outputR1231:27 [5]
LD_TYPE3
SYNC_PLL2_DLD0NormalForce synchronization mode until PLL2 locksR1223
SYNC_PLL1_DLD0NormalForce synchronization mode until PLL1 locksR1222
EN_TRACK1Enable TrackingDAC tracking of the PLL1 tuning voltageR128
HOLDOVER_MODE2Enable HoldoverCauses holdover to activate when lock is lostR127:6 [2]
HOLDOVER_MUX7uWire ReadbackHoldover mux selectionR1331:27 [5]
CLKin_SELECT_MODE3Manual SelectMode to use in determining reference CLKin for PLL1R1311:9 [3]
CLKin_Sel_INV0ActiveHighInvert Status 0 and 1 pin polarity for inputR138
EN_CLKin21UsableSet CLKin2 to be usableR137
EN_CLKin11UsableSet CLKin1 to be usableR136
EN_CLKin01UsableSet CLKin0 to be usableR135
LOS_TIMEOUT01200 ns, 420 kHzTime until no activity on CLKin asserts LOSR1431:30 [2]
EN_LOS1EnabledLoss of Signal Detect at CLKinR1428
Status_CLKin1_TYPE2Input with PulldownStatus_CLKin1 pin IO pin typeR1426:24 [3]
Table 17. Default Device Register Settings after Power On/Reset (continued)
FIELD NAME
GROUP
PLL2_C4_LF010 pFPLL2 integrated capacitor C4 valueR2431:28 [4]
PLL2_C3_LF010 pFPLL2 integrated capacitor C3 valueR2427:24 [4]
PLL2_R4_LF0200 ΩPLL2 integrated resistor R4 valueR2422:20 [3]
PLL2_R3_LF0200 ΩPLL2 integrated resistor R3 valueR2418:16 [3]
PLL1_N_DLY0No delayDelay in PLL1 feedback path to decrease lag from input to outputR2414:12 [3]
PLL1_R_DLY0No delayDelay in PLL1 reference path to increase lag from input to outputR2410:8 [3]
PLL1_WND_SIZE340 nsWindow size used for digital lock detect for PLL1R247:6 [2]
DAC_CLK_DIV4Divide-by-4DAC update clock divisor. Divides PLL1 phase detector frequency.R2531:22 [10]
PLL1_DLD_CNT10241024 cyclesLock must be valid n many cycles before LD is assertedR2519:6 [14]
PLL2_WND_SIZE0
EN_PLL2_REF_2X0Disabled, 1xDoubles reference frequency of PLL2.R2629
PLL1_CP_POL1PositivePolarity of PLL1 Charge PumpR2728
PLL1_CP_GAIN0100 uAPLL1 Charge Pump GainR2727:26 [2]
CLKin2_PreR_DIV0Divide-by-1CLKin2 Pre-R divide value (1, 2, 4, or 8)R2725:24 [2]
CLKin1_PreR_DIV0Divide-by-1CLKin1 Pre-R divide value (1, 2, 4, or 8)R2723:22 [2]
CLKin0_PreR_DIV0Divide-by-1CLKin0 Pre-R divide value (1, 2, 4, or 8)R2721:20 [2]
PLL1_R96Divide-by-96PLL1 R Divider (1 to 16383)R2719:6 [14]
PLL1_CP_TRI0ActivePLL1 Charge Pump ActiveR275
PLL2_R4Divide-by-4PLL2 R Divider (1 to 4095)R2831:20 [12]
PLL1_N192Divide-by-192PLL1 N Divider (1 to 16383)R2819:6 [14]
OSCin_FREQ7448 to 511 MHzOSCin frequency rangeR2926:24 [3]
PLL2_FAST_PDF1PLL2 PDF > 100 MHzWhen set, PLL2 PDF of greater than 100 MHz may be usedR2923
PLL2_N_CAL48Divide-by-48Must be programmed to PLL2_N value.R2922:5 [18]
PLL2_P2Divide-by-2PLL2 N Divider Prescaler (2 to 8)R3026:24 [3]
PLL2_N48Divide-by-48PLL2 N Divider (1 to 262143)R3022:5 [18]
READBACK_LE0LEuWire Low for ReadbackState LEuWire pin must be in for readbackR3121
READBACK_ADDR31Register 31Register to read backR3120:16 [5]
uWire_LOCK0WritableThe values of registers R0 to R30 are lockableR315
(1) This register must be reprogrammed to a value of 2 (3.7 ns) during user programming.
DEFAULT
VALUE
(DECIMAL)
DEFAULT STATEFIELD DESCRIPTIONREGISTER
Reserved
(1)
Window size used for digital lock detect for PLL2R2631:30 [2]
Number of PDF cycles which phase error must be within DLD
window before LD state is asserted.
Registers R0 through R5 control the 12 clock outputs CLKout0 to CLKout11. Register R0 controls CLKout0 and
CLKout1, Register R1 controls CLKout2 and CLKout3, and so on. All functions of the bits in these six registers
are identical except the different registers control different clock outputs. The X and Y in CLKoutX_Y_PD,
CLKoutX_ADLY_SEL, CLKoutY_ADLY_SEL, CLKoutX_Y_DDLY, CLKoutX_Y_HS, CLKoutX_Y_DIV denote the
actual clock output which may be from 0 to 11 where X is even and Y is odd. Two clock outputs CLKoutX and
CLKoutY form a clock output group and are often run together in bit names as CLKoutX_Y.
The RESET bit is only in register R0.
The POWERDOWN bit is only in register R1.
The CLKoutX_Y_OSCin_Sel bit is only in registers R3 and R4.
This bit powers down the clock group as specified by CLKoutX and CLKoutY. This includes the divider, digital
delay, analog delay, and output buffers.
Table 18. CLKoutX_Y_PD
R0-R5[31]STATE
0Power up clock group
1Power down clock group
8.6.3.1.2 CLKoutX_Y_OSCin_Sel, Clock group source
This bit sets the source for the clock output group CLKoutX_Y. The selected source is either from a VCO via
Mode Mux1 or from the OSCin buffer.
This bit is valid only for registers R3 and R4, clock groups CLKout6_7 and CLKout8_9 respectively. All other
clock output groups are driven by a VCO via Mode Mux1.
Table 19. CLKoutX_Y_OSCin_Sel
R3-R4[30]CLOCK GROUP SOURCE
0VCO
1OSCin
8.6.3.1.3 CLKoutY_ADLY_SEL[29], CLKoutX_ADLY_SEL[28], Select Analog Delay
These bits individually select the analog delay block (CLKoutX_Y_ADLY) for use with CLKoutX or CLKoutY. It is
not required for both outputs of a clock output group to use analog delay, but if both outputs do select the analog
delay block, then the analog delay is the same for each output, CLKoutX, and CLKoutY. When neither clock
output uses analog delay, the analog delay block is powered down.
00Analog delay powered down
01Analog delay on even CLKoutX
10Analog delay on odd CLKoutY
11Analog delay on both CLKouts
8.6.3.1.4 CLKoutX_Y_DDLY, Clock Channel Digital Delay
CLKoutX_Y_DDLY and CLKoutX_Y_HS sets the digital delay used for CLKoutX and CLKoutY. This value only
takes effect during a SYNC event and if the NO_SYNC_CLKoutX_Y bit is cleared for this clock group. See Clock
Programming CLKoutX_Y_DDLY can require special attention. See section Special Programming Case for R0 to
R5 for CLKoutX_Y_DIV and CLKoutX_Y_DDLY for more details.
Using a CLKoutX_Y_DDLY value of 13 or greater causes the clock group to operate in extended mode
regardless of the clock group's divide value or the half step value.
One clock cycle is equal to the period of the clock distribution path. The period of the clock distribution path is
equal to VCO Divider value divided by the frequency of the VCO. If the VCO divider is disabled or an external
VCO is used, the VCO divide value is treated as 1.
The RESET bit is located in register R0 only. Setting this bit causes the silicon default values to be loaded. When
programming register R0 with the RESET bit set, all other programmed values are ignored. After resetting the
device, the register R0 must be programmed again (with RESET = 0) to set non-default values in register R0.
The reset occurs on the falling edge of the LEuWire pin which loaded R0 with RESET = 1.
The RESET bit is automatically cleared upon writing any other register. For instance, when R0 is written to again
with default values.
Table 22. RESET
R0[17]STATE
0Normal operation
1Reset (automatically cleared)
8.6.3.1.6 POWERDOWN
The POWERDOWN bit is located in register R1 only. Setting the bit causes the device to enter power-down
mode. Normal operation is resumed by clearing this bit with MICROWIRE.
This bit subtracts a half clock cycle of the clock distribution path period to the digital delay of CLKoutX and
CLKoutY. CLKoutX_Y_HS is used together with CLKoutX_Y_DDLY to set the digital delay value.
When changing CLKoutX_Y_HS, the digital delay immediately takes effect without a SYNC event.
Table 24. CLKoutX_Y_HS
R0-R5[16]STATE
0Normal
1
Subtract half of a clock distribution path period from the total digital
delay
8.6.3.1.8 CLKoutX_Y_DIV, Clock Output Divide
CLKoutX_Y_DIV sets the divide value for the clock group. The divide may be even or odd. Both even and odd
divides output a 50% duty cycle clock.
Using a divide value of 26 or greater causes the clock group to operate in extended mode regardless of the clock
group's digital delay value.
Programming CLKoutX_Y_DIV can require special attention. See section Special Programming Case for R0 to
R5 for CLKoutX_Y_DIV and CLKoutX_Y_DDLY for more details.
(1) CLKoutX_Y_HS must = 0 for divide by 1.
(2) After programming PLL2_N value, a SYNC must occur on channels using this divide value. Programming PLL2_N does generate a
SYNC event automatically which satisfies this requirement, but NO_SYNC_CLKoutX_Y must be set to 0 for these clock groups.
Registers R6 to R8 set the clock output types and analog delays.
8.6.3.2.1 CLKoutX_TYPE
The clock output types of the LMK04816 are individually programmable. The CLKoutX_TYPE registers set the
output type of an individual clock output to LVDS, LVPECL, LVCMOS, or powers down the output buffer.
NOTE
LVPECL supports four different amplitude levels and LVCMOS supports single LVCMOS
outputs, inverted, and normal polarity of each output pin for maximum flexibility.
The programming addresses table shows at what register and address the specified clock output
CLKoutX_TYPE register is located.
The CLKoutX_TYPE table shows the programming definition for these registers.
These registers control the analog delay of the clock group CLKoutX_Y. Adding analog delay to the output
increases the noise floor of the output. For this analog delay to be active for a clock output, it must be selected
with CLKout(X or Y)_ADL_SEL. If neither clock output in a clock group selects the analog delay, then the analog
delay block is powered down.
In addition to the programmed delay, a fixed 500 ps of delay is added by engaging the delay block.
The programming addresses table shows at what register and address the specified clock output
CLKoutX_Y_ADLY register is located.
The CLKoutX_Y_ADLY table shows the programming definition for these registers.
The OSCout0 clock output has a programmable output type. The OSCout0_TYPE register sets the output type to
LVDS, LVPECL, LVCMOS, or powers down the output buffer.
NOTE
LVPECL supports four different amplitude levels and LVCMOS supports dual and single
LVCMOS outputs with inverted, and normal polarity of each output pin for maximum
flexibility.
To turn on the output, the OSCout0_TYPE must be set to a non-power down setting and enabled with
EN_OSCout0 is used to enable an oscillator buffered output.
Table 31. EN_OSCout0
R10[22]OUTPUT STATE
0OSCout0 Disabled
1OSCout0 Enabled
OSCout0 note: In addition to enabling the output with EN_OSCout0. The OSCout0_TYPE must be programmed
to a non-power down value for the output buffer to power up.
8.6.3.3.3 OSCout0_MUX, Clock Output Mux
Sets OSCout0 buffer to output a divided or bypassed OSCin signal. The divisor is set by OSCout_DIV, Oscillator
Except in clock distribution mode, the OSCin buffer must always be powered up.
In clock distribution mode, the OSCin buffer must be powered down if not used.
Table 33. PD_OSCin
R10[19]OSCin BUFFER
0Normal Operation
1Powerdown
8.6.3.3.5 OSCout_DIV, Oscillator Output Divide
The OSCout divider can be programmed from 2 to 8. Divide by 1 is achieved by bypassing the divider with
OSCout0_MUX, Clock Output Mux.
NOTE
OSCout_DIV is in the PLL1 N feedback path if OSCout0_MUX selects divided as an
output. When OSCout_DIV is in the PLL1 N feedback path, the OSCout_DIV divide value
must be accounted for when programming PLL1 N.
See PLL Programming for more information on programming PLL1 to lock.
Table 34. OSCout_DIV, 3 bits
R10[18:16]DIVIDE
0 (0x00)8
1 (0x01)2
2 (0x02)2
3 (0x03)3
4 (0x04)4
5 (0x05)5
6 (0x06)6
7 (0x07)7
8.6.3.3.6 VCO_MUX
When the internal VCO is used, the VCO divider can be selected to divide the VCO output frequency to reduce
the frequency on the clock distribution path. TI recomments using the VCO directly unless:
•Very low output frequencies are required.
•If using the VCO divider results in three or more clock output divider and delays changing from extended to
normal power mode, a small power savings may be achieved by using the VCO divider.
A consequence of using the VCO divider is a small degradation in phase noise.
Table 35. VCO_MUX
R10[12]DIVIDE
0VCO selected
1VCO divider selected
8.6.3.3.7 EN_FEEDBACK_MUX
When using 0-delay or dynamic digital delay (SYNC_QUAL = 1), EN_FEEDBACK_MUX must be set to 1 to
power up the feedback mux.
MODE determines how the LMK04816 operates from a high level. Different blocks of the device can be powered
up and down for specific application requirements from a dual loop architecture to clock distribution.
The LMK04816 can operate in:
•Dual PLL mode with the internal VCO or an external VCO.
•Single PLL mode uses PLL2 and powers down PLL1. OSCin is used for PLL reference input.
•Clock Distribution mode allows use of CLKin1 to distribute to clock outputs CLKout0 through CLKout11, and
OSCin to distribute to OSCout0, and optionally CLKout6 through CLKout9.
For the PLL modes, 0-delay can be used have deterministic phase with the input clock.
For the PLL modes it is also possible to use an external VCO.
The EN_SYNC bit (default on) must be enabled for synchronization to work. Synchronization is required for
dynamic digital delay.
The synchronization enable may be turned off once the clocks are operating to save current. If EN_SYNC is set
after it has been cleared (a transition from 0 to 1), a SYNC is generated that can disrupt the active clock outputs.
Setting the NO_SYNC_CLKoutX_Y bits prevents this SYNC pulse from affecting the output clocks. Setting the
EN_SYNC bit is not a valid method for synchronizing the clock outputs. See the Clock Output Synchronization
(SYNC) section for more information on synchronization.
The NO_SYNC_CLKoutX_Y bits prevent individual clock groups from becoming synchronized during a SYNC
event. A reason to prevent individual clock groups from becoming synchronized is that during synchronization,
the clock output is in a fixed low state or can have a glitch pulse.
By disabling SYNC on a clock group, it continues to operate normally during a SYNC event.
Digital delay requires a SYNC operation to take effect. If NO_SYNC_CLKoutX_Y is set before a SYNC event, the
digital delay value is unused.
Setting the NO_SYNC_CLKoutX_Y bit has no effect on clocks already synchronized together.
Table 41. NO_SYNC_CLKoutX_Y Programming Addresses
NO_SYNC_CLKoutX_YPROGRAMMING ADDRESS
CLKout0 and 1R11:20
CLKout2 and 3R11:21
CLKout4 and 5R11:22
CLKout6 and 7R11:23
CLKout8 and 9R11:24
CLKout10 and 11R11:25
Table 42. NO_SYNC_CLKoutX_Y
R11[25, 24, 23, 22, 21, 20]DEFINITION
0CLKoutX_Y will synchronize
1CLKoutX_Y will not synchronize
8.6.3.4.4 SYNC_CLKin2_MUX
Mux controlling SYNC/Status_CLKin2 pin.
All the outputs logic is active high when SYNC_TYPE = 3 (Output). All the outputs logic is active low when
SYNC_TYPE = 4 (output inverted). For example, when SYNC_MUX = 0 (logic low) and SYNC_TYPE = 3
(Output) then SYNC outputs a logic low. When SYNC_MUX = 0 (logic low) and SYNC_TYPE = 4 (output
inverted) then SYNC outputs a logic high.
Table 43. SYNC_CLKin2_MUX, 2 Bits
R11[19:18]SYNC PIN OUTPUT
0 (0x00)Logic Low
1 (0x01)CLKin2 LOS
2 (0x02)CLKin2 Selected
3 (0x03)uWire Readback
8.6.3.4.5 SYNC_QUAL
When SYNC_QUAL is set, clock outputs are synchronized to an existing clock output selected by
FEEDBACK_MUX. By using the NO_SYNC_CLKoutX_Y bits, selected clock outputs are not interrupted during
the SYNC event.
Qualifying the SYNC by an output clock means that the pulse which turns the clock outputs off and on have a
fixed time relationship to the qualifying output clock.
SYNC_QUAL = 1 requires CLKout4_5_PD = 0 for proper operation. CLKout4_TYPE and CLKout5_TYPE may be
set to power-down mode.
See Clock Output Synchronization (SYNC) for more information.
Sets the polarity of the SYNC pin when input. When SYNC is asserted the clock outputs transition to a low state.
See Clock Output Synchronization (SYNC) for more information on SYNC. A SYNC event can be generated by
toggling this bit through the MICROWIRE interface.
Table 45. SYNC_POL_INV
R11[16]POLARITY
0SYNC is active high
1SYNC is active low
8.6.3.4.7 SYNC_EN_AUTO
When set, causes a SYNC event to occur when programming register R0 to R5 to adjust digital delay values.
The SYNC event coincides with the LEuWire pin falling edge.
Refer to Special Programming Case for R0 to R5 for CLKoutX_Y_DIV and CLKoutX_Y_DDLY for more
information on possible special programming considerations when SYNC_EN_AUTO = 1.
Table 46. SYNC_EN_AUTO
R11[15]MODE
0Manual SYNC
1SYNC Internally Generated
8.6.3.4.8 SYNC_TYPE
Sets the IO type of the SYNC pin.
Table 47. SYNC_TYPE, 3 bits
R11[14:12]POLARITY
0 (0x00)Input
1 (0x01)Input with pullup resistor
2 (0x02)Input with pulldown resistor
3 (0x03)Output (push-pull)
4 (0x04)Output inverted (push-pull)
5 (0x05)Output (open-source)
6 (0x06)Output (open-drain)
When in output mode the SYNC input is forced to 0 regardless of the SYNC_MUX setting. A synchronization can
then be activated by uWire by programming the SYNC_POL_INV register to active low to assert SYNC. SYNC
can then be released by programming SYNC_POL_INV to active high. Using this uWire programming method to
create a SYNC event saves the need for an IO pin from another device.
If an external crystal is being used to implement a discrete VCXO, the internal feedback amplifier must be
enabled with this bit in order to complete the oscillator circuit.
LD_MUX sets the output value of the LD pin.
All the outputs logic is active high when LD_TYPE = 3 (output). All the outputs logic is active low when LD_TYPE
= 4 (output inverted). For example, when LD_MUX = 0 (logic low) and LD_TYPE = 3 (output) then Status_LD
outputs a logic low. When LD_MUX = 0 (logic low) and LD_TYPE = 4 (output inverted) then Status_LD outputs a
logic high.
Table 49. LD_MUX, 5 Bits
R12[31:27]DIVIDE
0 (0x00)Logic Low
1 (0x01)PLL1 DLD
2 (0x02)PLL2 DLD
3 (0x03)PLL1 & PLL2 DLD
4 (0x04)Holdover Status
5 (0x05)DAC Locked
6 (0x06)Reserved
7 (0x07)uWire Readback
8 (0x08)DAC Rail
9 (0x09)DAC Low
10 (0x0A)DAC High
11 (0x0B)PLL1_N
12 (0x0C)PLL1_N/2
13 (0x0D)PLL2 N
14 (0x0E)PLL2 N/2
15 (0x0F)PLL1_R
16 (0x10)PLL1_R/2
17 (0x11)PLL2 R
18 (0x12)PLL2 R/2
(1) Only valid when HOLDOVER_MUX is not set to 2 (PLL2_DLD) or 3 (PLL1 & PLL2 DLD).
By setting SYNC_PLLX_DLD a SYNC mode is engaged (asserted SYNC) until PLL1 and/or PLL2 locks.
SYNC_QUAL must be 0 to use this functionality.
Table 51. SYNC_PLL2_DLD
R12[23]SYNC MODE FORCED
0No
1Yes
Table 52. SYNC_PLL1_DLD
R12[22]SYNC MODE FORCED
0No
1Yes
8.6.3.5.4 EN_TRACK
Enable the DAC to track the PLL1 tuning voltage. For optional use in in holdover mode.
Tracking can be used to monitor PLL1 voltage by readback of DAC_CNT register in any mode.
HOLDOVER_MUX sets the output value of the Status_Holdover pin.
The outputs are active high when HOLDOVER_TYPE = 3 (output). The outputs are active low when
HOLDOVER_TYPE = 4 (output inverted).
Table 55. HOLDOVER_MUX, 5 Bits
R13[31:27]DIVIDE
0 (0x00)Logic Low
1 (0x01)PLL1 DLD
2 (0x02)PLL2 DLD
3 (0x03)PLL1 & PLL2 DLD
4 (0x04)Holdover Status
5 (0x05)DAC Locked
6 (0x06)Reserved
7 (0x07)uWire Readback
8 (0x08)DAC Rail
9 (0x09)DAC Low
10 (0x0A)DAC High
11 (0x0B)PLL1 N
12 (0x0C)PLL1 N/2
13 (0x0D)PLL2 N
14 (0x0E)PLL2 N/2
15 (0x0F)PLL1 R
16 (0x10)PLL1 R/2
17 (0x11)PLL2 R
18 (0x12)PLL2 R/2
(1) Only valid when LD_MUX is not set to 2 (PLL2_DLD) or 3 (PLL1 & PLL2 DLD).
(1)
(1)
8.6.3.6.2 HOLDOVER_TYPE
Sets the IO mode of the Status_Holdover pin.
Table 56. HOLDOVER_TYPE, 3 Bits
R13[26:24]POLARITY
0 (0x00)Reserved
1 (0x01)Reserved
2 (0x02)Reserved
3 (0x03)Output (push-pull)
4 (0x04)Output inverted (push-pull)
5 (0x05)Output (open-source)
6 (0x06)Output (open-drain)
8.6.3.6.3 Status_CLKin1_MUX
Status_CLKin1_MUX sets the output value of the Status_CLKin1 pin. If Status_CLKin1_TYPE is set to an input
type, this register has no effect. This MUX register only sets the output signal.
The outputs are active high when Status_CLKin1_TYPE = 3 (output). The outputs are active low when
Status_CLKin1_TYPE = 4 (output inverted).
Status_CLKin0_TYPE sets the IO type of the Status_CLKin0 pin.
Table 58. Status_CLKin0_TYPE, 3 Bits
R13[18:16]POLARITY
0 (0x00)Input
1 (0x01)Input with pullup resistor
2 (0x02)Input with pulldown resistor
3 (0x03)Output (push-pull)
4 (0x04)Output inverted (push-pull)
5 (0x05)Output (open-source)
6 (0x06)Output (open-drain)
www.ti.com
8.6.3.6.5 DISABLE_DLD1_DET
DISABLE_DLD1_DET disables the HOLDOVER mode from being activated when PLL1 lock detect signal
transitions from high to low.
When using pin select mode as the input clock switch mode, this bit must normally be set.
Table 59. DISABLE_DLD1_DET
R13[15]HOLDOVER DLD1 DETECT
0PLL1 DLD causes clock switch event
1PLL1 DLD does not cause clock switch event
8.6.3.6.6 Status_CLKin0_MUX
CLKin0_MUX sets the output value of the Status_CLKin0 pin. If Status_CLKin0_TYPE is set to an input type, this
register has no effect. This MUX register only sets the output signal.
The outputs logic is active high when Status_CLKin0_TYPE = 3 (output). The outputs logic is active low when
Status_CLKin0_TYPE = 4 (output inverted).
CLKin_SELECT_MODE sets the mode used in determining reference CLKin for PLL1.
Table 61. CLKin_SELECT_MODE, 3 Bits
R13[11:9]MODE
0 (0x00)CLKin0 Manual
1 (0x01)CLKin1 Manual
2 (0x02)CLKin2 Manual
3 (0x03)Pin Select Mode
4 (0x04)Auto Mode
5 (0x05)Reserved
6 (0x06)Auto mode and next clock pin select
7 (0x07)Reserved
8.6.3.6.8 CLKin_Sel_INV
CLKin_Sel_INV sets the input polarity of Status_CLKin0 and Status_CLKin1 pins.
Table 62. CLKin_Sel_INV
R13[8]INPUT
0Active High
1Active Low
LMK04816
8.6.3.6.9 EN_CLKinX
Each clock input can individually be enabled to be used during auto-switching CLKin_SELECT_MODE. Clock
input switching priority is always CLKin0 → CLKin1 → CLKin2 → CLKin0.
This bit controls the amount of time in which no activity on a CLKin causes loss-of-signal (LOS) to be asserted.
Table 66. LOS_TIMEOUT, 2 bits
R14[31:30]TIMEOUT
0 (0x00)1200 ns, 420 kHz
1 (0x01)206 ns, 2.5 MHz
2 (0x02)52.9 ns, 10 MHz
3 (0x03)23.7 ns, 22 MHz
8.6.3.7.2 EN_LOS
Enables the loss-of-signal (LOS) timeout control.
Table 67. EN_LOS
R14[28]LOS
0Disabled
1Enabled
8.6.3.7.3 Status_CLKin1_TYPE
Sets the IO type of the Status_CLKin1 pin.
Table 68. Status_CLKin1_TYPE, 3 bits
R14[26:24]POLARITY
0 (0x00)Input
1 (0x01)Input with pullup resistor
2 (0x02)Input with pulldown resistor
3 (0x03)Output (push-pull)
4 (0x04)Output inverted (push-pull)
5 (0x05)Output (open-source)
6 (0x06)Output (open-drain)
8.6.3.7.4 CLKinX_BUF_TYPE, PLL1 CLKinX/CLKinX* Buffer Type
There are two input buffer types for the PLL1 reference clock inputs: either bipolar or CMOS. Bipolar is
recommended for differential inputs such as LVDS and LVPECL. CMOS is recommended for DC-coupled singleended inputs.
When using bipolar, CLKinX and CLKinX* input pins must be AC-coupled when using a differential or singleended input.
When using CMOS, CLKinX and CLKinX* input pins may be AC or DC-coupled with a differential input.
When using CMOS in single-ended mode, the unused clock input pin (CLKinX or CLKinX*) must be AC-
grounded. The used clock input pin (CLKinX* or CLKinX) may be AC or DC-coupled to the signal source.
The programming addresses table shows at what register and address the specified CLKinX_BUF_TYPE bit is
located.
The CLKinX_BUF_TYPE table shows the programming definition for these registers.
Voltage from Vcc at which holdover mode is entered if EN_VTUNE_RAIL_DAC is enabled. DAC_HIGH_TRIP
also sets flags that can be monitored by the Status_LD or the Status_Holdover pins.
Voltage from GND at which holdover mode is entered if EN_VTUNE_RAIL_DAC is enabled. DAC_LOW_TRIP
also sets flags that can be monitored by the Status_LD or the Status_Holdover pins.
Enables the DAC Vtune rail detection. When the DAC achieves a specified Vtune, if this bit is enabled, the
current clock input is considered invalid and an input clock switch event is generated.
Table 73. EN_VTUNE_RAIL_DET
R14[5]STATE
0Disabled
1Enabled
8.6.3.8 Register 15
8.6.3.8.1 MAN_DAC
Sets the DAC value when in manual DAC mode in approximately 3.2-mV steps.
Lock must be valid for this many clocks of PLL1 PDF before holdover mode is exited.
Table 76. HOLDOVER_DLD_CNT, 14 Bits
R15[19:6]EXIT COUNTS
0 (0x00)Reserved
1 (0x01)1
2 (0x02)2
......
16,383 (0x3FFF)16,383
8.6.3.8.4 FORCE_HOLDOVER
This bit forces the holdover mode.
When holdover is forced, if in fixed CPout1 mode, then the DAC sets the programmed MAN_DAC value. If in
tracked CPout1 mode, then the DAC sets the current tracked DAC value.
Setting FORCE_HOLDOVER does not constitute a clock input switch event unless DISABLE_DLD1_DET = 0,
because in holdover mode, PLL1_DLD = 0 triggers the clock input switch event.
Sets the peak amplitude on the tunable crystal.
Increasing this value can improve the crystal oscillator phase noise performance at the cost of increased current
This register must not be programmed, it is a readback only register.
8.6.3.10.1 DAC_CNT
The DAC_CNT register is 10 bits in size and located at readback bit position [23:14]. When using tracking mode
for holdover, the DAC value can be readback at this address.
PLL1_WND_SIZE sets the window size used for digital lock detect for PLL1. If the phase error between the
reference and feedback of PLL1 is less than specified time, then the PLL1 lock counter increments.
Refer to Digital Lock Detect Frequency Accuracy for more information.
Table 85. PLL1_WND_SIZE, 2 Bits
R24[7:6]DEFINITION
05.5 ns
110 ns
218.6 ns
340 ns
8.6.3.12 Register 25
8.6.3.12.1 DAC_CLK_DIV
The DAC update clock frequency is the PLL1 phase detector frequency divided by this divisor.
Table 86. DAC_CLK_DIV, 10 Bits
R25[31:22]DIVIDE
0 (0x00)Reserved
1 (0x01)1
2 (0x02)2
3 (0x03)3
......
1,022 (0x3FE)1022
1,023 (0x3FF)1023
8.6.3.12.2 PLL1_DLD_CNT
The reference and feedback of PLL1 must be within the window of phase error as specified by PLL1_WND_SIZE
for this many phase detector cycles before PLL1 digital lock detect is asserted.
Refer to Digital Lock Detect Frequency Accuracy for more information.
PLL2_WND_SIZE sets the window size used for digital lock detect for PLL2. If the phase error between the
reference and feedback of PLL2 is less than specified time, then the PLL2 lock counter increments. This value
must be programmed to 2 (3.7 ns).
Refer to Digital Lock Detect Frequency Accuracy for more information.
Table 88. PLL2_WND_SIZE, 2 Bits
R26[31:30]DEFINITION
0Reserved
1Reserved
23.7 ns
3Reserved
8.6.3.13.2 EN_PLL2_REF_2X, PLL2 Reference Frequency Doubler
Enabling the PLL2 reference frequency doubler allows for higher phase detector frequencies on PLL2 than would
normally be allowed with the given VCXO or Crystal frequency.
Higher phase detector frequencies reduces the PLL N values which makes the design of wider loop bandwidth
filters possible.
Refer to PLL Programming for more information on how to program the PLL dividers to lock the PLL.
Table 89. EN_PLL2_REF_2X
R26[29]DESCRIPTION
0
1Reference frequency doubled (2x)
(1) When the doubler is not enabled, PLL2_R must not be programmed to 1.
Reference frequency normal
(1)
8.6.3.13.3 PLL2_CP_POL, PLL2 Charge Pump Polarity
PLL2_CP_POL sets the charge pump polarity for PLL2. The internal VCO requires the negative charge pump
polarity to be selected. Many VCOs use positive slope.
A positive slope VCO increases output frequency with increasing voltage. A negative slope VCO decreases
output frequency with increasing voltage.
This bit programs the PLL2 charge pump output current level. The table below also shows the impact of the
PLL2 tri-state bit in conjunction with PLL2_CP_GAIN.
The reference and feedback of PLL2 must be within the window of phase error as specified by PLL2_WND_SIZE
for PLL2_DLD_CNT cycles before PLL2 digital lock detect is asserted.
Refer to Digital Lock Detect Frequency Accuracy for more information
PLL1_CP_POL sets the charge-pump polarity for PLL1. Many VCXOs use positive slope.
A positive slope VCXO increases output frequency with increasing voltage. A negative slope VCXO decreases
output frequency with increasing voltage.
Table 94. PLL1_CP_POL
R27[28]DESCRIPTION
0Negative Slope VCO/VCXO
1Positive Slope VCO/VCXO
8.6.3.14.2 PLL1_CP_GAIN, PLL1 Charge Pump Current
This bit programs the PLL1 charge-pump output current level. The table below also shows the impact of the
PLL1 tri-state bit in conjunction with PLL1_CP_GAIN.
The pre-R dividers before the PLL1 R divider can be programmed such that when the active clock input is
switched, the frequency at the input of the PLL1 R divider is the same. This allows PLL1 to stay in lock without
needing to re-program the PLL1 R register when different clock input frequencies are used. This is especially
useful in the auto CLKin switching modes.
The reference path into the PLL1 phase detector includes the PLL1 R divider. Refer to PLL Programming for
more information on how to program the PLL dividers to lock the PLL.
The valid values for PLL1_R are shown in Table 98.
The reference path into the PLL2 phase detector includes the PLL2 R divider.
Refer to PLL Programming for more information on how to program the PLL dividers to lock the PLL.
The valid values for PLL2_R are shown in Table 100.
Table 100. PLL2_R, 12 Bits
R28[31:20]DIVIDE
0 (0x00)Not Valid
1 (0x01)1
2 (0x02)2
3 (0x03)3
......
4,094 (0xFFE)4,094
4,095 (0xFFF)4,095
(1) When using PLL2_R divide value of 1, the PLL2 reference doubler must be used (EN_PLL2_REF_2X = 1).
(1)
8.6.3.15.2 PLL1_N, PLL1 N Divider
The feedback path into the PLL1 phase detector includes the PLL1 N divider.
Refer to PLL Programming for more information on how to program the PLL dividers to lock the PLL.
The valid values for PLL1_N are shown in Table 101.
8.6.3.16.1 OSCin_FREQ, PLL2 Oscillator Input Frequency Register
The frequency of the PLL2 reference input to the PLL2 Phase Detector (OSCin/OSCin* port) must be
programmed in order to support proper operation of the frequency calibration routine which locks the internal
VCO to the target frequency.
Table 102. OSCin_FREQ, 3 bits
R29[26:24]OSCin FREQUENCY
0 (0x00)0 to 63 MHz
1 (0x01)>63 MHz to 127 MHz
2 (0x02)>127 MHz to 255 MHz
3 (0x03)Reserved
4 (0x04)>255 MHz to 400 MHz
8.6.3.16.2 PLL2_FAST_PDF, High PLL2 Phase Detector Frequency
When PLL2 phase detector frequency is greater than 100 MHz, set the PLL2_FAST_PDF to ensure proper
operation of device.
Table 103. PLL2_FAST_PDF
R29[23]PLL2 PDF
0
1Greater than 100 MHz
Less than or
equal to 100 MHz
8.6.3.16.3 PLL2_N_CAL, PLL2 N Calibration Divider
During the frequency calibration routine, the PLL uses the divide value of the PLL2_N_CAL register instead of
the divide value of the PLL2_N register to lock the VCO to the target frequency.
Refer to PLL Programming for more information on how to program the PLL dividers to lock the PLL.
If an internal VCO mode is used, programming Register 30 triggers the frequency calibration routine. This
calibration routine also generates a SYNC event. See Clock Output Synchronization (SYNC) for more details on
a SYNC.
8.6.3.17.1 PLL2_P, PLL2 N Prescaler Divider
The PLL2 N Prescaler divides the output of the VCO as selected by Mode_MUX1 and is connected to the PLL2
N divider.
Refer to PLL Programming for more information on how to program the PLL dividers to lock the PLL.
The feeback path into the PLL2 phase detector includes the PLL2 N divider.
Each time register 30 is updated via the MICROWIRE interface, a frequency calibration routine runs to lock the
VCO to the target frequency. During this calibration PLL2_N is substituted with PLL2_N_CAL.
Refer to PLL Programming for more information on how to program the PLL dividers to lock the PLL.
The valid values for PLL2_N are shown in Table 106.
Sets the required state of the LEuWire pin when performing register readback.
Refer to Readback
Table 107. READBACK_LE
R31[21]REGISTER
0 (0x00)LE must be low for readback
1 (0x01)LE must be high for readback
8.6.3.18.2 READBACK_ADDR
Sets the address of the register to read back when performing readback.
When reading register 12, the READBACK_ADDR is read back at R12[20:16].
When reading back from R31 bits 6 to 31 must be ignored. Only uWire_LOCK is valid.
Refer to Register Readback for more information on readback.
Setting uWire_LOCK prevents any changes to uWire registers R0 to R30. Only by clearing the uWire_LOCK bit
in R31 can the uWire registers be unlocked and written to once more.
It is not necessary to lock the registers to perform a readback operation.
Information in the following Applications section is not part of the TI component
specification, and TI does not warrant its accuracy or completeness. TI's customers are
responsible for determining suitability of components for their purposes. Customers should
validate and test their design implementation to confirm system functionality.
9.1 Application Information
9.1.1 Loop Filter
Each PLL of the LMK04816 requires a dedicated loop filter.
9.1.1.1 PLL1
The loop filter for PLL1 must be connected to the CPout1 pin. Figure 22 shows a simple 2-pole loop filter. The
output of the filter drives an external VCXO module or discrete implementation of a VCXO using a crystal
resonator and external varactor diode. Higher order loop filters may be implemented using additional external R
and C components. It is recommended the loop filter for PLL1 result in a total closed loop bandwidth in the range
of 10 Hz to 200 Hz. The design of the loop filter is application specific and highly dependent on parameters such
as the phase noise of the reference clock, VCXO phase noise, and phase detector frequency for PLL1. TI's
Clock Conditioner Owner’s Manual (SNAA103) covers this topic in detail and TI's Clock Design Tool can be used
to simulate loop filter designs for both PLLs.
9.1.1.2 PLL2
As shown in Figure 22, the charge pump for PLL2 is directly connected to the optional internal loop filter
components, which are normally used only if either a third or fourth pole is needed. The first and second poles
are implemented with external components. The loop must be designed to be stable over the entire applicationspecific tuning range of the VCO. The designer must note the range of K
listed in the table of Electrical
VCO
Characteristics and how this value can change over the expected range of VCO tuning frequencies. Because
loop bandwidth is directly proportional to K
extremes of the desired tuning range, using the appropriate values for K
, the designer must model and simulate the loop at the expected
VCO
VCO
.
When designing with the integrated loop filter for the LMK04816 , considerations for minimum resistor thermal
noise often lead one to the decision to design for the minimum value for integrated resistors, R3 and R4.
Both the integrated loop filter resistors (R3 and R4) and capacitors (C3 and C4) also restrict the maximum loop
bandwidth. However, these integrated components do have the advantage that they are closer to the VCO and
can therefore filter out some noise and spurs better than external components. For this reason, a common
strategy is to minimize the internal loop filter resistors and then design for the largest internal capacitor values
that permit a wide enough loop bandwidth. In situations where spur requirements are very stringent and there is
margin on phase noise, a feasible strategy would be to design a loop filter with integrated resistor values larger
than their minimum value.
9.1.2.1 Driving CLKin Pins With a Differential Source
All three CLKin ports can be driven by differential signals. TI recommends that the input mode be set to bipolar
(CLKinX_BUF_TYPE = 0) when using differential reference clocks. The LMK04816 internally biases the input
pins so the differential interface must be AC-coupled. The recommended circuits for driving the CLKin pins with
either LVDS or LVPECL are shown in Figure 23 and Figure 24.
Finally, a reference clock source that produces a differential sine wave output can drive the CLKin pins using
Figure 25.
Figure 23. CLKinX/X* Termination for an LVDS Reference Clock Source
Figure 24. CLKinX/X* Termination for an LVPECL Reference Clock Source
NOTE
The signal level must conform to the requirements for the CLKin pins listed in the
Figure 25. CLKinX/X* Termination for a Differential Sinewave Reference Clock Source
9.1.2.2 Driving CLKin Pins With a Single-Ended Source
The CLKin pins of the LMK04816 can be driven using a single-ended reference clock source, for example, either
a sinewave source or an LVCMOS or LVTTL source. Either AC coupling or DC coupling may be used. In the
case of the sine wave source that is expecting a 50-Ω load, TI recommends that AC coupling be used as shown
in the circuit below with a 50-Ω termination.
NOTE
The signal level must conform to the requirements for the CLKin pins listed in the
Electrical Characteristics table. CLKinX_BUF_TYPE in Register 11 is recommended to be
set to bipolar mode (CLKinX_BUF_TYPE = 0).
Figure 26. CLKinX/X* Single-Ended Termination
If the CLKin pins are being driven with a single-ended LVCMOS/LVTTL source, either DC coupling or AC
coupling may be used. If DC coupling is used, the CLKinX_BUF_TYPE must be set to MOS buffer mode
(CLKinX_BUF_TYPE = 1) and the voltage swing of the source must meet the specifications for DC-coupled,
MOS-mode clock inputs given in the table of Electrical Characteristics. If AC coupling is used, the
CLKinX_BUF_TYPE must be set to the bipolar buffer mode (CLKinX_BUF_TYPE = 0). The voltage swing at the
input pins must meet the specifications for AC-coupled, bipolar mode clock inputs given in the table of Electrical
Characteristics. In this case, some attenuation of the clock input level may be required. A simple resistive divider
circuit before the AC-coupling capacitor is sufficient.
Figure 27. DC-Coupled LVCMOS and LVTTL Reference Clock
9.1.3 Termination and Use of Clock Output (Drivers)
When terminating clock drivers keep in mind these guidelines for optimum phase noise and jitter performance:
•Transmission line theory must be followed for good impedance matching to prevent reflections.
•Clock drivers must be presented with the proper loads. For example:
– LVDS drivers are current drivers and require a closed current loop.
– LVPECL drivers are open emitters and require a DC path to ground.
•Receivers must be presented with a signal biased to their specified DC bias level (common-mode voltage) for
proper operation. Some receivers have self-biasing inputs that automatically bias to the proper voltage level.
In this case, the signal must normally be AC-coupled.
It is possible to drive a non-LVPECL or non-LVDS receiver with an LVDS or LVPECL driver as long as the above
guidelines are followed. Check the datasheet of the receiver or input being driven to determine the best
termination and coupling method to be sure that the receiver is biased at its optimum DC voltage (common-mode
voltage). For example, when driving the OSCin and OSCin* input of the LMK04816, OSCin and OSCin* must be
AC-coupled because OSCin and OSCin* biases the signal to the proper DC level (See Figure 41) This is only
slightly different from the AC-coupled cases described in Driving CLKin Pins With a Single-Ended Source
because the DC-blocking capacitors are placed between the termination and the OSCin and OSCin* pins, but the
concept remains the same. The receiver (OSCin and OSCin*) sets the input to the optimum DC bias voltage
(common-mode voltage), not the driver.
9.1.3.1 Termination for DC-Coupled Differential Operation
For DC-coupled operation of an LVDS driver, terminate with 100 Ω as close as possible to the LVDS receiver as
shown in Figure 28.
Figure 28. Differential LVDS Operation, DC Coupling, No Biasing of the Receiver
For DC-coupled operation of an LVPECL driver, terminate with 50 Ω to VCC– 2 V as shown in Figure 29.
Alternatively terminate with a Thevenin equivalent circuit (120-Ω resistor connected to VCCand an 82-Ω resistor
connected to ground with the driver connected to the junction of the 120-Ω and 82-Ω resistors) as shown in
Figure 30 for VCC= 3.3 V.
Figure 29. Differential LVPECL Operation, DC Coupling
Figure 30. Differential LVPECL Operation, DC Coupling, Thevenin Equivalent
9.1.3.2 Termination for AC-Coupled Differential Operation
AC coupling allows for shifting the DC bias level (common-mode voltage) when driving different receiver
standards. Because AC coupling prevents the driver from providing a DC bias voltage at the receiver it is
important to ensure the receiver is biased to its ideal DC level.
When driving non-biased LVDS receivers with an LVDS driver, the signal may be AC-coupled by adding DCblocking capacitors, however the proper DC bias point needs to be established at the receiver. One way to do
this is with the termination circuitry in Figure 31.
Figure 31. Differential LVDS Operation, AC Coupling, External Biasing at the Receiver
Some LVDS receivers may have internal biasing on the inputs. In this case, the circuit shown in Figure 31 is
modified by replacing the 50-Ω terminations to Vbias with a single 100-Ω resistor across the input pins of the
receiver, as shown in Figure 32. When using AC coupling with LVDS outputs, there may be a start-up delay
observed in the clock output due to capacitor charging. The previous figures employ a 0.1-µF capacitor. This
value may need to be adjusted to meet the start-up requirements for a particular application.
Figure 32. LVDS Termination for a Self-Biased Receiver
LVPECL drivers require a DC path to ground. When AC coupling an LVPECL signal use 120-Ω emitter resistors
close to the LVPECL driver to provide a DC path to ground as shown in Figure 33. For proper receiver operation,
the signal must be biased to the DC bias level (common-mode voltage) specified by the receiver. The typical DC
bias voltage for LVPECL receivers is 2 V. A Thevenin equivalent circuit (82-Ω resistor connected to VCCand a
120-Ω resistor connected to ground with the driver connected to the junction of the 82-Ω and 120-Ω resistors) is
a valid termination as shown in Figure 33 for VCC= 3.3 V.
This Thevenin circuit is different from the DC-coupled example in Figure 30.
Figure 33. Differential LVPECL Operation, AC Coupling, Thevenin Equivalent, External Biasing at the
Receiver
9.1.3.3 Termination for Single-Ended Operation
A balun can be used with either LVDS or LVPECL drivers to convert the balanced, differential signal into an
unbalanced, single-ended signal.
It is possible to use an LVPECL driver as one or two separate 800-mVpp signals. When using only one LVPECL
driver of a CLKoutX and CLKoutX* pair, be sure to properly terminated the unused driver. When DC coupling
one of the LMK04816 clock LVPECL drivers, the termination must be 50 Ω to VCC– 2 V as shown in Figure 34.
The Thevenin equivalent circuit is also a valid termination as shown in Figure 35 for Vcc = 3.3 V.
Figure 34. Single-Ended LVPECL Operation, DC Coupling
Figure 35. Single-Ended LVPECL Operation, DC Coupling, Thevenin Equivalent
When AC-coupling an LVPECL driver use a 120-Ω emitter resistor to provide a DC path to ground and ensure a
50-Ω termination with the proper DC bias level for the receiver. The typical DC bias voltage for LVPECL
receivers is 2 V (See Driving CLKin Pins With a Single-Ended Source). If the companion driver is not used it
must be terminated with either a proper AC or DC termination. This latter example of AC-coupling a single-ended
LVPECL signal can be used to measure single-ended LVPECL performance using a spectrum analyzer or phase
noise analyzer. When using most RF test equipment no DC bias point (0 VDC) is required for safe and proper
operation. The internal 50-Ω termination of the test equipment correctly terminates the LVPECL driver being
measured as shown in Figure 36.
Figure 36. Single-Ended LVPECL Operation, AC Coupling
9.1.4 Frequency Planning With the LMK04816
NOTE
Refer to application note AN-1865 Frequency Synthesis and Planning for PLL
Architectures (SNAA061) for more information on this topic and LCM calculations.
Calculating the value of the output dividers for use with the LMK04816 is simple due to the architecture of the
LMK04816. That is, the VCO divider may be bypassed and the clock output dividers allow for even and odd
output divide values from 2 to 1045. For most applications, TI recommends to bypass the VCO divider.
The procedure for determining the needed LMK04816 device and clock output divider values for a set of clock
output frequencies is straightforward.
1. Calculate the least common multiple (LCM) of the clock output frequencies.
2. Determine which VCO ranges supports the target clock output frequencies given the LCM.
3. Determine the clock output divide values based on VCO frequency.
4. Determine the PLL2 reference frequency doubler mode and PLL2_P, PLL2_N, and PLL2_R divider values
given the OSCin VCXO or crystal frequency and VCO frequency.
For example, given the following target output frequencies: 200 MHz, 120 MHz, and 25 MHz with a VCXO
frequency of 40 MHz:
•First determine the LCM of the three frequencies. LCM(200 MHz, 120 MHz, 25 MHz) = 600 MHz. The LCM
frequency is the lowest frequency for which all of the target output frequencies are integer divisors of the
LCM.
NOTE
If there is one frequency that causes the LCM to be very large, greater than 3 GHz for
example, determine if there is a single frequency requirement which causes this. It may be
possible to select the VCXO/crystal frequency to satisfy this frequency requirement
through OSCout or CLKout6/7/8/9 driven by OSCin. In this way, it is possible to get noninteger related frequencies at the outputs.
•Second, because the LCM is not in a VCO frequency range supported by the LMK04816, multiply the LCM
frequency by an integer which causes it to fall into a valid VCO frequency range of an LMK04816 device. In
this case 600 MHz × 4 = 2400 MHz which is valid for the LMK04816.
•Third, continuing the example by using a VCO frequency of 2400 MHz and the LMK04816, the CLKout
dividers can be calculated by simply dividing the VCO frequency by the output frequency. To output 200 MHz,
120 MHz, and 25 MHz the output dividers are 12, 20, and 96 respectively.
•Fourth, PLL2 must be locked to its input reference. Refer to PLL Programming for more information on this
topic. By programming the clock output dividers and the PLL2 dividers the VCO can lock to the frequency of
2400 MHz and the clock output dividers each divide the VCO frequency down to the target output frequencies
of 200 MHz, 120 MHz, and 25 MHz.
9.1.5 PLL Programming
To lock a PLL the divided reference and divided feedback from VCO or VCXO must result in the same phase
detector frequency. The tables below illustrate how the divides are structured for the reference path (R) and
feedback path (N) depending on the MODE of the device.
Table 110. PLL1 Phase Detector Frequency — Reference Path (R)
MODE(R) PLL1 PDF =
AllCLKinX Frequency / CLKinX_PreR_DIV / PLL1_R
Table 111. PLL1 Phase Detector Frequency — Feedback Path (N)
MODEVCO_MUXOSCout0PLL1 PDF (N) =
Internal VCO Dual PLL
Internal VCO with 0-delay
(1) The actual CLKoutX_Y_DIV used is selected by FEEDBACK_MUX.
—BypassVCXO Frequency / PLL1_N
—DividedVCXO Frequency / OSCin_DIV / PLL1_N
Bypass—VCO Frequency / CLKoutX_Y_DIV / PLL1_N
Divided—VCO Frequency / VCO_DIV / CLKoutX_Y_DIV / PLL1_N
(1)
Table 112. PLL2 Phase Detector Frequency — Reference Path (R)
EN_PLL2_REF_2XPLL2 PDF (R) =
DisabledOSCin Frequency / PLL2_R
EnabledOSCin Frequency * 2 / PLL2_R
(1) For applications in which the OSCin frequency and PLL2 phase detector frequency are equal, the best PLL2 in-band noise can be
achieved when the doubler is enabled (EN_PLL2_REF_2X = 1) and the PLL2 R divide value is 2. Do not use doubler disabled
(EN_PLL2_REF_2X = 0) and PLL2 R divide value of 1.
(1)
(1)
Table 113. PLL2 Phase Detector Frequency — Feedback Path (N)
MODEVCO_MUXPLL2 PDF (N) =
Dual PLL
VCOVCO Frequency / PLL2_P / PLL2_NDual PLL with 0-delay
Single PLL
Dual PLL
VCO DividerVCO Frequency / VCO_DIV / PLL2_P / PLL2_NDual PLL with 0-delay
Single PLL
Dual PLL External VCO
Dual PLL External VCO with 0-delay
Single PLL with 0-delay
—VCO Frequency / VCO_DIV / PLL2_P / PLL2_N
VCOVCO Frequency / CLKoutX_Y_DIV / PLL2_N
VCO DividerVCO Frequency / VCO_DIV / CLKoutX_Y_DIV / PLL2_N
Table 114. PLL2 Phase Detector Frequency — Feedback Path (N) During VCO Frequency Calibration
MODEVCO_MUXPLL2 PDF (N_CAL) =
All Internal VCO Modes
VCOVCO Frequency / PLL2_P / PLL2_N_CAL
VCO DividerVCO Frequency / VCO_DIV / PLL2_P / PLL2_N_CAL
9.1.5.1 Example PLL2 N Divider Programming
To program PLL2 to lock an LMK04816 using Dual PLL mode to a VCO frequency of 2400 MHz using a 40-MHz
VCXO reference, first determine the total PLL2 N divide value. This is VCO Frequency / PLL2 phase detector
frequency. This example assumes the PLL2 reference frequency doubler is enabled and a PLL2 R divide value
of 2 (see Footnote (1) in Table 112) which results in PLL2 phase detector frequency the same as PLL2 reference
frequency (40 MHz). 2400 MHz / 40 MHz = 60, so the total PLL2 N divide value is 60.
The dividers in the PLL2 N feedback path for dual PLL mode include PLL2_P and PLL2_N. PLL2_P can be
programmed from 2 to 8 even and odd. PLL2_N can be programmed from 1 to 263,143 even and odd. Because
the total PLL2 N divide value of 60 contains the factors 2, 3, and 5, it would be allowable to program PLL2_P to
2, 3 or 5. It is simplest to use the smallest divide, so PLL2_P = 2, and PLL2_N = 30 which results in a Total PLL2
N = 60.
For this example and in most cases, PLL2_N_CAL has the same value as PLL2_N. However when using Single
PLL mode with 0-delay, the values differ. When using an external VCO, PLL2_N_CAL value is unused.
9.1.6 Digital Lock Detect Frequency Accuracy
The digital lock detect circuit is used to determine PLL1 locked, PLL2 locked, and holdover exit events. A window
size and lock count register are programmed to set a ppm frequency accuracy of reference to feedback signals
of the PLL for each event to occur. When a PLL digital lock event occurs the digital lock detect of the PLL is
asserted true. When the holdover exit event occurs, the device exits holdover mode.
For a digital lock detect event to occur there must be a lock count number of phase detector cycles of PLLX
during which the time and phase error of the PLLX_R reference and PLLX_N feedback signal edges are within
the user programmable window size. Because there must be at least lock count phase detector events before a
lock event occurs, a minimum digital lock event time can be calculated as lock count / f
where X = 1 for PLL1
PDX
or 2 for PLL2.
By using Equation 8, values for a lock count and window size can be chosen to set the frequency accuracy
required by the system in ppm before the digital lock detect event occurs:
(8)
The effect of the lock count value is that it shortens the effective lock window size by dividing the window size by
lock count.
If at any time the PLLX_R reference and PLLX_N feedback signals are outside the time window set by windowsize, then the lock count value is reset to 0.
9.1.6.1 Minimum Lock Time Calculation Example
To calculate the minimum PLL2 digital lock time given a PLL2 phase detector frequency of 40 MHz and
PLL2_DLD_CNT = 10,000. Then the minimum lock time of PLL2 is 10,000 / 40 MHz = 250 µs.
9.1.7 Calculating Dynamic Digital Delay Values for Any Divide
This section explains how to calculate the dynamic digital delay for any divide value.
Dynamic digital delay allows the time offset between two or more clock outputs to be adjusted with no or minimal
interruption of clock outputs. Because the clock outputs are operating at a known frequency, the time offset can
also be expressed as a phase shift. When dynamically adjusting the digital delay of clock outputs with different
frequencies the phase shift must be expressed in terms of the higher frequency clock. The step size of the
smallest time adjustment possible is equal to half the period of the Clock Distribution Path, which is the VCO
frequency (Equation 6) or the VCO frequency divided by the VCO divider (Equation 7) if not bypassed. The
smallest degree phase adjustment with respect to a clock frequency is 360 × the smallest time adjustment × the
clock frequency. The total number of phase offsets that the LMK04816 is able to achieve using dynamic digital
delay is equal 1 / (higher clock frequency × the smallest phase adjustment).
Equation 9 calculates the digital delay value that must be programmed for a synchronizing clock to achieve a 0
time and phase offset from the qualifying clock. Once this digital delay value is known, it is possible to calculate
the digital delay value for any phase offset. The qualifying clock for dynamic digital delay is selected by the
FEEDBACK_MUX. When dynamic digital delay is engaged with same clock output used for the qualifying clock
and the new synchronized clock, it is termed relative dynamic digital delay because causing another SYNC event
with the same digital delay value offsets the clock by the same phase once again. The important part of relative
dynamic digital delay is that the CLKoutX_Y_HS must be programmed correctly when the SYNC event occurs
(Table 6). This can result in needing to program the device twice. Once to set the new CLKoutX_Y_DDLY with
CLKoutX_Y_HS as required for the SYNC event, and again to set the CLKoutX_Y_HS to its desired value.
Digital delay values are programmed using the CLKoutX_Y_DDLY and CLKoutX_Y_HS registers as shown in
Equation 10. For example, to achieve a digital delay of 13.5, program CLKoutX_Y_DDLY = 14 and
CLKoutX_Y_HS = 1.
SNAS597C –JULY 2012–REVISED JANUARY 2016
(9)
Equation 9 uses the ceiling operator. To find the ceiling of a fractional number round up. An integer remains the
same value.
Digital delay = CLKoutX_Y_DDLY - (0.5 * CLKoutX_Y_HS)(10)
NOTE
Because the digital delay value for 0 time/phase offset is a function of the qualifying
clock's divide value, the resulting digital delay value can be used for any clock output
operating at any frequency to achieve a 0 time/phase offset from the qualifying clock.
Therefore the calculated time shift table also is the same as in Table 115.
9.1.7.1 Example
Consider a system with:
•A VCO frequency of 2400 MHz
•The VCO divider is bypassed, therefore the clock distribution path frequency is 2400 MHz.
•CLKout0_1_DIV = 12 resulting in a 200-MHz frequency on CLKout0
•CLKout2_3_DIV = 24 resulting in a 100-MHz frequency on CLKout2
For this system the minimum time adjustment is 0.21 ns, which is 0.5 / (2000 MHz). Because the higher
frequency is 200 MHz, phase adjustments are calculated with respect to the 200-MHz frequency. The 0.21-ns
minimum time adjustment results in a minimum phase adjustment of 18 degrees, which is 360 degrees / 200
MHz × 0.21 ns.
To calculate the digital delay value to achieve a 0 time/phase shift of CLKout2 when CLKout0 is the qualifying
clock. Solve Equation 9 using the divide value of 10. To solve the equation 16/10 = 1.6, the ceiling of 1.6 is 2.
Then to finish solving the equation solve (2 + 0.5) × 10 – 11.5 = 13.5. A digital delay value of 13.5 is
programmed by setting CLKout2_3_DDLY = 14 and CLKout2_3_HS = 1.
To calculate the digital delay value to achieve a 0 time and phase shift of CLKout0 when CLKout2 is the
qualifying clock, solve Equation 9 using the divide value of CLKout2, which is 20. This results in a digital delay of
18.5 which is programmed as CLKout0_1_DDLY = 19 and CLKout0_1_HS = 1.
Once the 0 time and phase shift digital delay programming value is known a table can be constructed with the
digital delay value to be programmed for any time or phase offset by decrementing or incrementing the digital
delay value by 0.5 for the minimum time and phase adjustment.
A complete filled out table for use of CLKout0 as the qualifying clock is shown in Table 115. It was created by
entering a digital delay of 13.5 for 0 degree phase shift, then decrementing the digital delay down to the minimum
value of 4.5. Because this did not result in all the possible phase shifts, the digital delay was then incremented
from 13.5 to 14.0 to complete all possible phase shifts.
Table 115. Example Digital Delay Calculation
DIGITAL DELAY
4.5–4.50.536
5–4.250.7554
5.5–4.01.072
6–3.751.2590
6.5–3.51.5108
7–3.251.75126
7.5–3.02.0144
8–2.752.25162
8.5–2.52.5180
9–2.252.75198
9.5–2.03.0216
10–1.753.25234
10.5–1.53.5252
11–1.253.75270
11.5–1.04.0288
12–0.754.25306
12.5–0.54.5324
13–0.254.75342
13.5000
140.250.2518
14.50.50.536
CALCULATED TIME SHIFT
(ns)
RELATIVE TIME SHIFT
TO 200 MHz (ns)
PHASE SHIFT OF 200 MHz
(DEGREES)
Observe that the digital delay value of 4.5 and 14.5 achieves the same relative time shift/phase delay. However
programming a digital delay of 14.5 results in a clock off time for the synchronizing clock to achieve the same
phase time shift and phase delay.
Digital delay value is programmed as CLKoutX_Y_DDLY – (0.5 × CLKoutX_Y_HS). So to achieve a digital delay
of 13.5, program CLKoutX_Y_DDLY = 14 and CLKoutX_Y_HS = 1. To achieve a digital delay of 14, program
CLKoutX_Y_DDLY = 14 and CLKoutX_Y_HS = 0.