Do not use OE as the boundary of an exact sample count. KDS lists a maximum OE enable/disable time of 115 ns at 220 MHz. For other frequencies it gives 100 ns plus three clock periods. At 312.5 MHz the period is 3.2 ns, yielding a timing budget of about 109.6 ns. That does not mean the device stops after exactly three cycles, or that a specified number of complete output pulses will occur inside the delay.
Why can samples appear after the stop command?
Suppose firmware deasserts OE when the acquisition reaches the intended sample N, but the receiver still treats later incoming edges as valid. Its buffer can retain unintended samples. A log that uses the GPIO write as the end time also omits the time from the command to the physical output response. Do not compensate by deleting the last three samples from every record: the KDS entry does not specify the phase relationship between the command and the last usable edge. Nor does one scope capture establish the sequence for every phase.
Where exactly N samples are required, define validity in the receiver or in qualified synchronous logic, using a sample count, valid signal or approved gating path. Turn off the oscillator output afterward. If a downstream block needs clock cycles to flush a buffer or commit the final frame, preserve that order in the test case.
Capture three signals together
In the approved test setup, log OE at the oscillator, the clock as seen by the receiver and the end-of-valid-data or counter signal. Repeat with different command phases relative to the clock. Report when the Nth accepted sample occurs and when physical output disable occurs as separate results. They represent the application boundary and the output-driver action respectively.
Related selection guide: MERLIN Crystal Timing: Differential oscillators
Resource link: https://www.mecxtal.com.cn/en/products/differential-oscillators.html
