Tutorials
AD7606 Channel Order and FRSTDATA: Verify Every Word Before Plotting
Published · Updated
A smooth waveform can still belong to the wrong input. Validate channel identity with distinct DC levels before using sine waves, FFTs or an application display. The test should identify physical input, serial lane, word position and final array index separately.
Device scope: Original eight-channel AD7606; other family members require their own timing and channel definitions.
Give each channel an identifiable signature

Begin with one nonzero input and the others tied as recommended for unused channels. Move that same source from V1 through V8, logging the array index that responds at each step. This avoids depending on eight accurately matched voltage sources and reveals a swapped connector or lane merger immediately.
Use a stable source inside the selected range and verify it at the board. Wait for analog settling after each move. The original AD7606 still converts unused channels; omitting their words changes framing rather than removing those channels from the conversion.
For a second test, apply two different levels to channels in different halves of the converter. A single-source sweep checks the map; a two-source test checks that the two serial lanes belong to the same conversion. Keep the conversion ID in the testbench and frame counter in the capture log.
Plan signal visibility during bring-up.
Map the serial lanes before merging them
For the original eight-channel AD7606, the first four words on DOUTA are V1 through V4, while DOUTB supplies V5 through V8. Reading both lanes for 64 clocks therefore gives four word pairs. A merger that simply appends each pair creates V1,V5,V2,V6,V3,V7,V4,V8, which is not the usual channel-major array.
With DOUTA alone, 128 clocks retrieve V1 through V8 in ascending order. With DOUTB alone the order begins with V5. Do not reuse this eight-channel mapping for AD7606-4 or AD7606-6; their split points differ.
Store the lane words in named temporary positions, then perform an explicit mapping to the output frame. Test the mapping with distinguishable synthetic words such as 0x1001 through 0x1008. These are simulation tags, not voltage calibration values. A correct output is the original ordered tag list, independent of how words arrived.
Review the external capture timing.
Check FRSTDATA while its meaning is valid
FRSTDATA marks the first word associated with V1 on DOUTA. In serial mode it returns low after the sixteenth falling SCLK edge. Checking it only after completing that word can therefore report a false framing error. A Linux driver patch documents this exact class of serial-versus-parallel mismatch.
Treat the marker as a timed observation, not a permanently asserted “channel one” flag. Capture CS, SCLK, FRSTDATA and the data lanes together. In a parallel implementation, verify the marker with the relevant read access rather than importing the serial timing rule.
After each reset or interrupted read, invalidate the partial frame and re-establish the documented read sequence. For acceptance, require the one-input sweep to map all eight channels correctly, the two-lane synthetic test to preserve one conversion ID, and the marker check to pass at the intended edge. A plotted waveform alone satisfies none of these conditions.
Keep the acquisition workload explicit.
Track the firmware/bitstream used for mapping.
Check your interpretation
After reading the first serial word, FRSTDATA is low. Must the ADC be reset?
No. It normally returns low after the sixteenth falling SCLK edge. Inspect the marker during the specified first-word interval.
Replay the task sequence

Pair 0: V1 and V5 → Pair 1: V2 and V6 → Pair 2: V3 and V7 → Pair 3: V4 and V8
Review packet: Save the eight-step channel sweep and the explicit lane-to-array map before requesting a framing review. Open the engineering review page. Opening this page does not transmit your traces.
Sources and limits
- AD7606 / AD7606-6 / AD7606-4 data sheet, Rev. G
- Linux driver author: serial FRSTDATA check correction
- ADI Linux AD7606 driver documentation
Documentation checked 20 November 2026. Calculated examples and proposed tests are identified above; no board measurement or timing-closure result is claimed.
Back to Tutorials