Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / Passive Crystals and Oscillator Circuits

Why can Spartan-7 input delays fail to calibrate with an accurate 50 MHz oscillator?

A capture board clocks its FPGA with an active 50 MHz oscillator. Simulation receives the data, yet the first few frames can fail on hardware. The board clock measures correctly and an internal PLL lock flag appears. Check the delay controller's reference, reset and ready signal as separate events. The board oscillator, delay calibration reference and actual data edges belong to different parts of the timing path.

Follow the board clock to the calibration controller

AMD's 7 Series SelectIO guide describes IDELAYCTRL as the continuous calibration block for programmable delay resources in its region. Its REFCLK must meet the documented frequency and routing conditions. An allowed external reference or an MMCM can supply it. In a design requiring 200 MHz, an active 50 MHz oscillator implies a nominal ratio of four. An MMCM also has feedback, division and allowed VCO conditions. Check the intended settings for the actual device, speed grade and implementation rather than treating four as a single universal setting.

A 200 MHz test observation does not show that each region receives that clock. Check implementation and mapping for the documented global or horizontal clock buffer and the corresponding delay-controller region. If only one I/O group fails at startup, retain readiness and error observations by region instead of relying on one board-clock trace.

Check reset and ready separately from PLL lock

AMD requires resetting IDELAYCTRL after configuration and after the reference is stable. UG953 gives an active-high reset of at least 50 ns. At 200 MHz ten complete periods total 50 ns. At a continuously running 50 MHz control clock, three complete periods nominally total 60 ns. These are time conversions, not universal reset circuits. Account for synchronization, startup and the actual clock limits when specifying the pulse and release.

MMCM lock can be evidence that the reference is running. IDELAYCTRL RDY indicates delay calibration readiness. The first can appear before the second. Synchronize the status into the consuming domain when gating valid data. AMD also states that RDY deasserts when REFCLK remains at one level for long enough, and the controller then requires reset. Verify cold start, reconfiguration and a permitted clock restart separately.

Record the board reference, lock indication, controller reset and RDY with a first-frame validity marker. If logic starts accepting frames immediately after lock and RDY follows 20 microseconds later, investigate samples captured during that interval. The interval is an example, not a fixed wait specification. Verify that the actual conditions repeat at specified voltage, temperature and startup modes.

Verify timing margin after initialization

Spartan-7 specifications list an average delay step near 78 ps with a 200 MHz reference. Eight such nominal steps would amount to about 624 ps. Real sampling margin includes tap variation, signal edge and routing effects. Confirm calibration first. Sweep the delay range with an appropriate training pattern on a controlled bench and record the stable capture window. Keep startup recovery out of steady-state error counts.

A hypothetical 25 ppm error at 50 MHz gives 5 kHz at a nominal 200 MHz after ideal fixed multiplication. The fractional error stays 25 ppm. The calculation does not give output jitter. Review the reference accuracy, jitter definition and signal conditions separately using the applicable data sheet. Start-up failures and steady-state timing errors also need distinct records.

During the margin test, retain results for a tap near a capture boundary and one nearer the middle. Record the selected taps and reference at each temperature. If all settings fail only during the first batch after restart, review readiness and synchronization by I/O region. Avoid applying one region’s calibration result to another.

Procurement can keep the complete active 50 MHz oscillator part number, supply, output logic and loading. A passive 50 MHz crystal requires a suitable oscillator circuit. Engineering can retain the MMCM settings, clock buffers, reset timing, readiness and measured data window. If readiness explains the first errors, inspect the FPGA sequence. If the reference never reaches its valid conditions, verify the oscillator, power and distribution.

References

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.