Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

Why a half-cycle FRAME pulse can miss AD9122 FIFO reset

An AD9122 test instrument generates two calibration waveforms. A 156.25 MHz LVDS oscillator supplies the sampling clock. Continuous data works, but after restart the output markers sometimes move by an update. Capture FRAME and data clock at the device and check the duration needed for relative FIFO reset. Double-edge logic can label a half-cycle event as one tick even though the waveform has not covered both input channels.

Count a complete I and Q pair

The data sheet distinguishes DAC sample clock, data input clock and FRAME. In word mode a 16-bit bus carries I data with DCI high and Q data with DCI low. A complete DCI period covers both. FRAME must stay high long enough to load a complete I and Q group for relative FIFO reset. The corresponding requirements are one DCI period in word mode, two in byte mode and four in nibble mode. A fixed pulse script can stop meeting the requirement after an interface change.

This example uses FRAME-initiated relative reset in data rate mode. After FRAME is accepted, the write pointer is set to the default or programmed start level at the next zero of the read pointer. Do not equate the FRAME edge with a fixed analog latency. Save FIFO state and an identifiable output marker if the system depends on the request.

Calculate width from the real DCI and mode

This board feeds DACCLK from a 156.25 MHz LVDS oscillator through a suitable input circuit, with the PLL disabled. It uses word mode without interpolation. Under that combination DCI matches the DAC sample clock, subject to board verification. One DCI period is 6.4 ns. A half-cycle pulse is about 3.2 ns and does not satisfy the rule. A two-cycle trial gives 12.8 ns nominally. Verify alignment with clock and data as specified.

A different interface or interpolation mode need not have the same DCI. Determine the actual data input clock and apply the number of cycles for the active mode. Check the electrical requirements separately. The source and termination for sample clock can differ from those of the transmitter's DCI and FRAME. Measure each near its intended receiver.

Verify data first, then compare FIFO requests

Use distinct safe step patterns on the two channels. Confirm steady data and output. At otherwise identical settings, compare the original short pulse and a compliant pulse. Check start markers, FIFO warning and alignment. If extra duration does not help, verify mode selection and the waveform at the pins. Analog activity alone does not establish that a particular request was accepted.

Use a common trigger and hold the analog filter and load constant. Compare FIFO and data markers first, then measure product end-to-end timing. The analog path can move an observed edge even with unchanged digital timing. Include the actual application trigger if it starts at a different boundary.

Check captured width and sampled span separately. Board skew can change whether FRAME reaches the DAC before or after a clock crossing. Pulses of the same width can have different positions relative to data. Keep width fixed and confirm setup and hold at the receiver for the intended I/Q pair. Save a known-good capture to compare against.

Document how FRAME is used in normal streaming and initialization. The modes assign different meaning to it. Test each steady configuration before exercising a live mode change. Mark when data is declared valid and capture the first identifiable pattern on both channels. That reveals residual data from the earlier mode.

Define success before counting restarts. Use known two-channel pattern order to identify a missing group. Keep timing, warning and output records together.

Record the 156.25 MHz LVDS oscillator supply and input circuit. For each interface mode, add DCI, cycles per pair, clean FRAME width and repeated startup results. Recalculate after changes to clock, interpolation or bus width. Continuous DACCLK proves the local reference is present. FRAME still needs independent timing evidence.

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.