Part Number: LMK04832
Hi, I'd like to use the LMK04832 (EVM) in external VCO/clock distribution mode but am not sure what I need to program on the CLKinX Control, PLL 1 and 2, and Clock Output pages on TICS Pro. Please see below more details on my application. I am feeding a high frequency input clock to CLKin1 - a 1.25 to 3 GHz sine wave. I will need two device clock outputs from the LMK device - divided down by either 4 or 8, and a SYSREF pulsed signal. It doesn't look like the PLL/VCO is locked as the divided down outputs are not at the correct frequencies. I am also not seeing any SYSREF output - do I need to use the CLKIN0 input for this to work? But I can only provide a high frequency input signal, which will be beyond the normal CLKIN* frequency range.
I have tried a few more things. If I bypass/power down PLL1 and use PLL2, then apply the output from either the internal VCO1 or VCO2 to the Clock distribution network, I see intermittent lock on PLL2 (the onboard LED is flashing), and CLKout/output frequencies are close but not quite correct. So I change the input frequency, the output frequency doesn't actually follow.
Can someone please help? I have tried using the "CLKin1 drives Clock Distribution" mode in the GUI/TICS Pro and programming other settings based on my understanding of the Functional Block Diagram in the datasheet but I am stuck at this point. Thanks!
LMK04832 in distribution mode does not use the internal PLLs, it just sends an external VCO signal from CLKin1 to the SYSREF/CLKout dividers. There is also PLL2 + External VCO configuration, where the internal PLL2 is used and an external VCO is used for feedback. In distribution mode, the PLLs can be disabled (there is no way to lock if the PLL is not used). In PLL2 + external VCO configuration, PLL2 must be enabled at a minimum. I will assume you want distribution mode. See below, note that VCO_MUX is set to CLKin1 for receiving external VCO for distribution (CLKin1 is specially able to take high frequency input > 750 MHz).
To set up the SYSREF path, the following conditions must be met:
From there, the quickest way to check if SYSREF is functioning is to use the SYSREF_MUX to set continuous SYSREF mode. The internal SYSREF generator will begin dividing the clock distribution path signal to generate the SYSREF output.
Outputs should also be configured as desired. Note that SCLKx_y_PD must be set to 0 to enable the SYSREF path on channels x or y, DCLKx_y_PD should be set to 0 to enable the device clock output on channels x or y, and CLKoutx_y_PD should be set to 0 to enable output from CLKoutx or CLKouty. CLKoutX_SRC_MUX and CLKoutY_SRC_MUX can be used to choose device clock divider source or SYSREF divider source for CLKoutX or CLKoutY. As an example, here is a setup which uses 3 GHz VCO input, divides by 8 on CLKout0, and uses SYSREF divide of 300 on CLKout1.
Once you have confirmed the operation of the CLKout channels and the dividers/SYSREF circuit, you can set the SYSREF in pulser mode by setting the SYSREF_MUX:
The SYSREF pulser must also be enabled by setting SYSREF_PLSR_PD = 0. The SYSREF pulser can be triggered by a SPI source (writing to the pulse count register) or by sending a signal on the SYNC pin. This control is selected by the SYNC_MODE register:
Let us know if you need further assistance, we understand that the clocking parts are complex and can have a steep learning curve!
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Derek Payne:
Thank you very much for the detailed response.
I have tried distribution mode before and couldn't get it to work somehow. I just tried again with the settings you provided but the output frequencies are completely off, and the signal looks very unstable - same behavior as before. I will double check this with a different EVM tomorrow.
I'd like to use the PLL2 + External VCO configuration. Can you describe/show me how to set up the PLL 1 and 2 page for this mode?
I noticed that PLL2 wouldn't try to relock after I change its settings (divider, mux selections, etc.) in the GUI. How do I manually trigger a "relock"/re-acquisition? I remember seeing PLL reset buttons on other clock chip GUIs, such as the LMK04610, but could not find this in the LMK04832 GUI.
In reply to Joyce Ng1:
I am not very familiar with this product, but is this issue still unresolved?
In reply to Dean Banerjee:
Thanks for the follow-up. Yes, I still have a number of questions.
And how do I trigger a "relock" on PLL2? I have tried the SYNC pin after enabling PLL2R_SYNC_EN (on the CLKinX control page).
I have not been able to get PLL2 to lock, other than using the default setup/config. What are the valid ranges for OSCin (with External VCXO selected as the OSCin Source) and the PLL2 PD Freq? According to the LMK04832 datasheet, the R2, N2, and N Cal dividers can be set to almost any value. I am trying to use PLL2 with a high frequency input clock to CLKin1 - a 1.25 to 3 GHz sine wave.
I noticed that the Import/Export hex register value functions on the GUI/TICS Pro don't seem to work correctly. If I export all the reg values for a given setup, and then import them after restarting the GUI and resetting the LMK device, not all the settings are preserved. Saving and loading .tcs files seem to be fine but we need a way to load register values back using Python.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.