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

Why can AD5791 writes pass at 30 MHz while readback fails?

The AD5791 has different SCLK limits for writes and readback. Analog Devices lists 35 MHz maximum for write mode and 16 MHz maximum for readback. A crystal-timed host can therefore write successfully at 30 MHz while reading outside specification at the same rate. A bad returned word does not by itself mean the DAC write failed or the Epson reference is inaccurate. Also account for the following frame needed to shift out the selected register.

At 30 MHz, shifting a 24-bit frame takes about 0.8 µs. At 15 MHz, one frame takes 1.6 µs. An address frame and a following 24-clock readout need about 3.2 µs of raw shifting, before chip-select gaps and firmware waits. This does not require slowing every compliant write. Set a separate speed for the full read transaction and confirm the receiver samples SDO at the correct point. A board that happens to read at 18 MHz does not change the documented limit.

Write a recognizable valid code and check the output trend separately from SPI readback. Capture SYNC, SCLK, SDIN and SDO. Compare the address and response frames at both clock settings; do not mistake whatever is shifted during the request for the requested data. If the slower read works, correct the driver rate and test settings. If it still fails, check frame count, SDO enable and wiring. Record write and read rates separately rather than qualifying a single undifferentiated SPI maximum.

Related selection guide: MERLIN Crystal Timing: Using code transitions to verify AD9744 setup and hold against a 125 MHz update clock

Resource link: https://www.mecxtal.com.cn/en/handbook/125mhz-xo-ad9744-parallel-data-window.html

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.