A driver reports 1 MSPS after switching an ADC128S102 to 16 MHz SCLK. That is aggregate converter throughput. One frame converts one input, and the result must be labeled according to the preceding channel command. Assign the outgoing command to the result in the same frame and two slowly changing signals may still look plausible. The mistake becomes obvious when the signals change together or a reading triggers a control action.
Sixteen clocks buy one conversion opportunity
TI's continuous conversion timing uses 3 SCLK cycles for acquisition and 13 for conversion. At 16 MHz a clock is 62.5 ns, acquisition is about 187.5 ns, and one frame lasts 1 µs. Eight channels in a gapless round robin are individually sampled every 8 µs, or 125 kSPS. An extra 200 ns after every frame makes the frame period 1.2 µs. Aggregate throughput becomes about 833.3 kSPS and the per-channel rate about 104.2 kSPS. Preserve both rates. One governs data movement, while the other governs the sampling interval used for filtering, logging, and event detection.
Doubling SCLK from 8 MHz to 16 MHz halves both the frame and the acquisition window. The three track cycles shrink from 375 ns to 187.5 ns. A high source impedance can prevent the sampling capacitor from settling, especially after a large voltage change between channels. Drive adjacent channels from distinct stable levels using realistic source impedances. Compare repeated conversions on one channel with alternating conversions between them. An error correlated with the preceding voltage points toward TI's input model and driver requirements. Reducing SCLK can help diagnose it. A production setting still has to meet the performance conditions for the chosen device.
Match each result to the preceding command
The interface diagram shows the DIN address going into the control register to select the following sample. Apply distinguishable low, medium and high levels to three inputs and send an asymmetric sequence, such as address 0 twice, then 3, then 6. Capture CS, SCLK, DIN and DOUT and align several frames using the specified edges. Define how to handle the first returned value and how to reestablish frame alignment after a transfer error or driver restart. Do not reuse stale channel labels after losing a DMA frame.
At 16 MHz, check DOUT against the actual controller capture edge. Under TI's stated conditions, the maximum DOUT access delay from the falling SCLK edge is 27 ns. A 50% clock provides 31.25 ns until the opposite edge, leaving about 4.25 ns for remaining round-trip board delay and receiver requirements. A 28 ns low leaves 1 ns. Recalculate for the actual controller edge and capture delay. Distinguish a code assigned to the wrong channel from a bit captured incorrectly. Use the logic capture for labels and an analog trace for edges from the same transaction.
After changing the prescaler or scan list, preserve one trace aligning values by frame number and another comparing conversions around input steps between neighboring channels. They reveal skipped or mislabeled results and acquisition errors respectively. If the driver inserts an extra discarded conversion to allow more settling, include it in the throughput budget. Eight channels then occupy more than eight slots. Acceptance needs the maximum per-channel interval, useful aggregate throughput, worst switching error, and SPI capture margin.
If application tasks occasionally interrupt an otherwise uniform acquisition, preserve timer or chip-select timestamps with the raw data. Assigning a fixed interval later hides gaps. Define whether the timestamp refers to frame start or the transition from tracking to hold. Channels in a scan also do not share one instant. In the gapless example, the first and last inputs are sampled seven frames or 7 µs apart. At 1 kHz this is about 2.52 degrees. Allow for it in the multichannel phase budget.
Record the actual SCLK setting in the quality evidence. A slower diagnostic script cannot qualify the production timing.
