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

Fewer AD7768 DOUT pins? Check whether DCLK can carry all eight channels.

An eight-channel board moves to a smaller FPGA and wants to reduce eight data lines to two or even a single DOUT0. MCLK and conversion rate may still meet the analog requirements while the interface cannot ship every result. Each line must deliver a fixed-length word for every channel assigned to it. Budgeting only the ADC's 24-bit precision misses the header.

Count all 32 bits

The AD7768 data sheet specifies an eight-bit header plus 24 bits of conversion data. FORMAT pins select the data-line allocation when the converter powers up, so firmware cannot dynamically change the wiring mode. ADI calculates minimum DCLK as output data rate times channels per line times bits per result. A supported MCLK divider must generate the actual clock.

With MCLK at 32.768 MHz and eight channels at 256 kSPS, eight DOUT lines each carry one channel and need at least 8.192 MHz, divided by four. Two lines with four channels each need 32.768 MHz, equal to MCLK. One line needs 65.536 MHz and cannot carry all eight at that rate. If the application accepts 128 kSPS per channel, minimum DCLK on one line is 32.768 MHz. Reading only DOUT0 from the two-line configuration silently drops half the channels and does not validate a one-line design.

Bandwidth and electrical timing are different. The period at 32.768 MHz is about 30.52 ns. If the FPGA samples on the other edge, the ideal half-period is 15.26 ns before output delay, trace skew and receiver setup. At 8.192 MHz it is 61.04 ns, at the cost of more pins. Follow the actual device timing diagram and include FPGA input delays and timing constraints. Similar average trace length does not guarantee that every individual line has margin.

A lower DCLK can benefit analog performance

ADI explains that faster DCLK carries results on fewer lines at a cost in offset and offset drift. Its specifications distinguish DCLK conditions. If the system prioritizes zero drift, compare feasible line counts and divider settings and choose a lower clock within the required data rate. Keep analog inputs, conversion mode and MCLK consistent for comparisons at the same output data rate. Retain zero-input codes, temperature and decodable traces. A change in converter power mode can also change modulator and filter behavior. Include actual output loading and board temperature.

On the first assembly, drive distinguishable levels into all eight channels and check the header and channel number on every lane. If periodic CRC is enabled, recognize when it replaces the header instead of treating its byte as a channel number. Then check DRDY against received word count in a continuous capture. Debug output or other bus users can delay data movement long enough to expose buffer overflow. One valid frame verifies decoding but cannot cover sustained acquisition.

Record FORMAT straps, channel-to-line mapping, ODR, DCLK divider and physical capture edge together. Separate FPGA configurations can support a low-rate one-line variant and a faster two-line variant. Specify the actual MCLK and interface requirements for each clock part. Remove pins only after a complete word budget, input timing checks, drift comparisons and a continuous acquisition test.

For channel phase comparisons, define acquisition timestamps around DRDY and the frame number. The first and last multiplexed words arrive many DCLK cycles apart because of serialization. Treating word receipt as analog sampling would create an artificial channel delay. After changing lane count, drive the same waveform into all channels and compare decoded phase using the configured synchronization and filter settings. Also inspect frame alignment for a one-clock receive slip.

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.