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

Can an ADS1256 with a 7.68 MHz crystal reach its nominal sample rate on each of four scanned inputs?

A four-sensor acquisition board is being quoted around the ADS1256. The requirement is at least 1,000 usable samples per second per channel. Dividing the headline 30,000 samples per second by four suggests 7,500 per channel. That arithmetic applies the fixed-channel data rate to a different operation. The ADS1256 multiplexes several inputs into one converter, and each switch needs a new settled result. Use the manufacturer's cycling table to screen the design before asking for production captures.

Track the conversion that produced each result

Figure 19 of the Texas Instruments Revision K data sheet shows how to cycle the multiplexer. Once DRDY goes low, write the next channel into MUX. Issue SYNC and WAKEUP to start the new conversion. Then use RDATA to retrieve the result that was already ready from the previous channel. Updating MUX first lets the device begin work on the new input while the host retrieves the prior result. Maintain separate fields for the channel that produced the completed conversion and the one just configured. A single variable can shift every channel label by one position without producing obviously corrupted numbers.

With the documented synchronization sequence and input conditions, the next DRDY occurs after the converter has produced a settled digital-filter result. Measure that interval at the points defined in the timing diagram. Changing an input during continuous operation without synchronization follows a different settling case in the data sheet. The external analog circuit also has to settle. If the source impedance is high or an external switch drives a slow RC network, the input voltage can still be moving even when the converter has completed its documented internal sequence.

Calculate a four-channel rate from actual cycling throughput

Table 14 assumes a 7.68 MHz master clock, SCLK at one quarter of that value, and a three-byte WREG sequence to update MUX. Under those conditions, a 30,000 samples per second setting gives about 4,374 individual cycling results per second. Divided equally among four inputs, that is about 1,093.5 samples per second per channel. The round takes about 4 ÷ 4,374 seconds, or 914.5 µs. The 0.21 ms settling time in Table 13 is for the digital conversion at that setting. It is neither the full duration of a four-channel round nor an additional delay to stack on top of each complete cycle in Table 14.

Data rate settingTable 14 total cycling rateAverage with four equal channels
30,000 SPS4,374 results/sAbout 1,093.5 SPS per channel
15,000 SPS3,817 results/sAbout 954.25 SPS per channel
1,000 SPS837 results/sAbout 209.25 SPS per channel

The 1,000 SPS requirement gives each complete round one millisecond, or an average of 250 µs per channel. At the higher setting the table implies about 228.6 µs per result, leaving about 21.4 µs per channel. Suppose the driver and board add another 25 µs per channel. The round then takes about 1.0145 ms and each channel delivers roughly 985.7 samples per second. This is a timing-budget example. For an actual module, use the timestamps measured with its serial clock, firmware scheduling and analog input network.

Test result ownership and the longest real gap

Start with two stable and clearly different input levels within the allowed signal and common-mode ranges. Log DRDY time, the value written to MUX, the raw 24-bit result and its expected channel. Confirm that the high and low settings appear under the channel that generated each result, then expand the test to four. Include transitions between levels near the expected extremes. Compare each first result after a switch with a fixed-channel baseline. If the deviation changes with the previous channel's level, inspect analog settling, feedthrough and command order.

When the sensor source impedances differ substantially, reverse their scanning order without changing the input levels. If a channel deviates from its fixed-input baseline only after a large step on the preceding channel, record both source impedances and the actual switch-to-sync delay. A buffer or an additional analog settling interval may help, but the channel-rate budget must then be checked again.

Calculate the interval between adjacent valid results on each channel separately. Retain the largest gaps in a run that includes display updates, storage activity and other users of the SPI bus. An equal average rate can hide a long individual gap. If the application compares channel phase, the four readings in a round are sequential. At about 228.6 µs per result, the first and last channels are about 686 µs apart. Specify a permitted time offset or evaluate simultaneous sampling if the signals must be observed at the same instant.

Agree how to log missed results before counting usable points. Give each DRDY event and each queued result an increasing sequence number. If the event is present but the corresponding result never reaches the recorder, look at bus service, buffering and delivery. If DRDY itself comes late, go back to the previous synchronization command and clock timing. Either fault can leave the host short of a sample, but the remedies differ.

A buying specification can state the fitted reference, the four-channel operating mode, the minimum usable per-channel rate and the maximum interval allowed between valid samples. Ask for the source conditions, synchronization order and raw time records under load. That gives engineering enough evidence to distinguish inadequate total throughput, slow analog settling and a requirement for simultaneous sampling before choosing a different configuration or converter.

Manufacturer reference · Texas Instruments ADS1255/ADS1256 Rev. K, Tables 13–15 and Figure 19

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.