Forum Discussion
Clock switchover on CycloneV PLL
Hello all,
In a cyclone V device, I'm using a PLL supporting the automatic switchover with manual override.
On the 2x clock output, I observe a jump of 2 clock cycles whenever there's a switchover (as if a clock cycle of the 1x input clock is lost).
I think this is expected, but I would like to know if there's a ay to overcome this behavior.
I tried configuring the PLL as Low Bandwidth, but it didn't help.
Any idea?
Thanks a lot in advance for your support!
Yes, if based on this internal message:
It would take 2-3 clock cycles to detect the stopped clock , another 2-3
clock cycles to complete the switch and a couple of cycles extra until the PLL achieves lock.
7 Replies
- ShengN_altera
Super Contributor
[Deleted]
- ShengN_altera
Super Contributor
Please ignore previous post, check this link the PLL circuitry monitors the selected reference clock. If one clock stops, the circuit automatically switches to the backup clock in a few clock cycles and updates the status signals, clkbad and activeclk.
Based on the internal message, those few clock cycles can't be avoided and usually take about 2-3 cycles.
- ShengN_altera
Super Contributor
Let me know if further assistance is needed for this thread?
- aerdna
New Contributor
Hi ShengN_altera thanks for your reply.
"...the circuit automatically switches to the backup clock in a few clock cycles and updates the status signals, clkbad and activeclk"
This means that input circuit needs some clock cycles to detect that one of the input is now missing: fine. In consequence of that event, do the PLL outputs also stops working for the same amount of clock cycles?
For better understanding, the two input clocks have the same frequency.
- ShengN_altera
Super Contributor
Yes, if based on this internal message:
It would take 2-3 clock cycles to detect the stopped clock , another 2-3
clock cycles to complete the switch and a couple of cycles extra until the PLL achieves lock.- aerdna
New Contributor
ShengN_altera : thanks for the clarification, is there any documentation clarifying all this information? (also about the locked behavior)
Does the locked signal from the PLL behave accordingly?