Forum Discussion
Altera_Forum
Honored Contributor
11 years agoGenerating 400MHz external clock (Cyclone V)
Hello,
I'm trying to generate a 400MHz clock signal from my Cyclone V in order to drive the clock input for an external ADC, but I'm getting severe attenuation on the clock signal. Details: -I'm using the PLL megacore wizard, with output frequency set to 400MHz, and operation mode set to LVDS. Input clock is 50MHz. -The LVDS PLL output clock is going to diffio_tx_p&n pins (but I've also tried outputting a single-ended clock to a gpio pin and got similar problems). -I'm measuring the output clock using a 1GHz scope and 15pf probes to probe these diffio pins. The output clock works well for lower frequencies such as 60MHz, but attenuates as frequency increases. By the time I hit 400MHz the Vp-p of the out clock is only 100mv but I need it to be >500mv. Question: Are there different pins on this fpga I should be using instead that would drive those 400+MHz frequencies, or what else might I be doing wrong? Thanks14 Replies
- Altera_Forum
Honored Contributor
Dave is quite correct on this point. Look at the worst case jitter specifications for the PLLs in the FPGA and you'll see they're pretty horrendous.
- Altera_Forum
Honored Contributor
--- Quote Start --- The adc requires minimum 500mV swing for its clock ... --- Quote End --- You would not normally clock the ADC from an FPGA PLL output. You would generally design a low-jitter clock source and have that clock source clock both the ADC and FPGA. For example, see the analysis for this 1GHz ADC board; https://www.ovro.caltech.edu/~dwh/carma_board I'm not saying that clocking the ADC from an FPGA will not work, but that it is risky, since the jitter on the FPGA PLL output clock will depend on the logic inside the FPGA, and temperature variation of the FPGA due to signal processing work-load could affect the PLL output phase, which is an issue in some applications, eg. coherent processing using multiple boards. Cheers, Dave - Altera_Forum
Honored Contributor
--- Quote Start --- ah_zhi02 is right. The Cyclone V PLL can support up to 667MHz clock output according to the device datasheet. Thus, there should not be issue achieving 400MHz output. --- Quote End --- That is actually not quite correct. The clock output from the PLL still has to pass through the IO circuitry like any other IO pin, so the IO switching limitations for the speed grade of the device apply (there is a footnote in the datasheet which mentions exactly this). The fastest speed grade (C6) can achieve 420MHz rate, the slower devices are rated at lower than 400MHz speeds. - Altera_Forum
Honored Contributor
Thanks everyone for your suggestions.
Firstly, the scope was set by default to only 250MHz bandwidth so I changed this once realizing it to 500MHz. I also changed to 500MHz rated probes and improved to 320mV p-p @400MHz on the scope. When the datasheet says PLL can support up to 667MHz, at what p-p swing is this supposed to be? I can improve my probing method further with modifications to the board, but would like to know what I can expect for max p-p swing on this. The adc requires minimum 500mV swing for its clock but we don't have it broken out for the fpga, so we can't directly test it - Altera_Forum
Honored Contributor
Thanks everyone for your replies,
Based on what you've said I'm sure my readings can be further be improved via better probing. First off, by switching to a better probe (500MHz rated & 8pF) and realizing the scope was set to default BW of 250MHz then changing this to 500MHz, the p-p swing increased to 300mV @400MHz. My ADC requires minimum 500mV p-p swing for its clock input. When the datasheet says PLL can support 667MHz, at what p-p swing is this? I can't test it cleanly with the ADC yet (need different connectors) but it'd be good to know that >500mV is possible @400MHz. Thanks - Altera_Forum
Honored Contributor
--- Quote Start --- I concur with Dave's observation about scope bandwidth. Also, your 15pf looks like about 26 ohms at 400Mhz, a stiff load for an FPGA output. --- Quote End --- Here is a link to an article discussing this kind of measurements: http://www.eetimes.com/document.asp?doc_id=1272404 We always use this technique to probe our circuits. Regards, Josy - Altera_Forum
Honored Contributor
ah_zhi02 is right. The Cyclone V PLL can support up to 667MHz clock output according to the device datasheet. Thus, there should not be issue achieving 400MHz output.
- Altera_Forum
Honored Contributor
Hi si09ath,
Perhaps you might want to share the screen shot so that everyone could have better idea what you are facing. I don't think there are any hardware limitation on FPGA to output 400Mhz but if you would like to confirm that, instead of output using ALTLVDS. Use the SERDES to output a repeated 10101010 Also I don't think there is anything wrong with a 1 GHz scope unless is setting. Try pressing the AUTO button then let the scope final best setting to probe. Then check the board if there if there are any cap - Altera_Forum
Honored Contributor
So, is the 1GHz the oscilloscope's bandwidth? What is the sampling rate then? Maybe the scope has a "periodic signal" mode, which can improve the sampled waveform in your case.
- Altera_Forum
Honored Contributor
Hi sio9ath,
You can try to boost the LVDS VOD and pre-emphasis settings to see if can help to get higher amplitude or large output eye at your TX.