Hi,
i am currently working with the LMk05028EVM and i have big problems on every step on my way.
After the 10MHz-output generation from 10MHz-input works (https://e2e.ti.com/support/clock-and-timing/f/48/t/763082, i now want to try to throw a GPS 1PPS signal into the mix.
First some observations: for 1 PPS i guessed i needed a lower PLL bandwidth than 4Hz.
However the PLL fails to lock at bandwidths below 4Hz. Anlan O., who helped me with the previous problem, clearly had some reason why he chose 4Hz bandwidth. In order to get e.g. 3Hz working, i have to increase the TCXO LBW from Auto (150Hz) to e.g. 600Hz. Then the PLL locks. In fact with the manually chosen 600Hz TCXO LBW i can set the DPLL lBW down to 0.01Hz and everything works fine. The PLL is incapable of reacting to fast thermal transients on the XCO (my finger) which is expected behavior.
With 0.01Hz Bandwidth i now would like to try to go 1PPS. So i disconnect the 10MHz and connect the 1PPS to IN2:
Problem! Putting a "1" for IN2 next to three 10e6 (for the other channels) into the "Step2: Clock-Inputs" field does throw a warning in the script.
In gcd (line 64)
In extract_dennum (line 24)
In LMK05028_DPLL/UpdateNumDen (line 851)
In LMK05028_DPLL/GenerateDPLLFilter (line 454)
In LMK05028_ROM_Gen (line 39)
My fault? Maybe. I dont know. I was desperate, so i choose IN0 as my 1PPS victim. (all other channels 10e6 even if they are ignored)
..this time it works. In fact the script works only if the 1PPS is at IN0.
But does the script actually work at this point?
Just having the 1PPS at IN0 configured (but as PLL input ignored) the PLL does not lock anymore. It kind of frequency locks, but gives up the phase lock after it lost around 720° (measured at the output). This behavior persists even at 4Hz loop bandwidth. Strange because literally i change is setting an ignored clock at IN0 from 10e6 to 1.
Not locking to In1 because In0 has an ignored 1PPS config: NotLockingToIn1.7z
The behavior is also observed, if the (ignored!) 1PPS is configured at IN2 or IN3, but the Script gives a warning in those instances.
Now configuring 1PPS on all inputs (but only IN2 really has one): No warnings in the script.
Still the same not-locking behavior that is observed.. (it kind of frequency locks, but gives up the phase lock after it lost around 720° (measured at the output))
But in all honesty, if i enable the 6.3us Jitter threshold the GPS signal source is rejected as an input. REF2VALSTAT does not become 1. Unfortunately the threshold cannot be set higher.
A summary of my goal (why i did all this)
I want to have a 1PPS clock or a 10MHz clock generatig 10MHz at all outputs. The output clock frequency is currently just a placeholder and convenient for lock detection.
If the 1PPS is missing, the 10MHz clock shall be used, if that is missing holdover is fine.
I would welcome any help!
convenient