A punctual read is not a punctual conversion
Replacing the host clock cannot lock the ADS1115 conversion rate to 860 SPS. The ADC runs from its own nominal 1 MHz internal oscillator and does not accept an external conversion clock. A host crystal or powered oscillator can improve the host's scheduling or time reference. It cannot replace the ADC oscillator. I²C SCL clocks serial communication, not sampling.
Three clocks are easy to conflate: a host timer starts software tasks, I²C transfers bits, and the ADC completes conversions on its own clock. A successful transfer shows a register can be read. Executing 860 reads per second shows only how fast the host reads. Agree which quantity the product is supposed to guarantee. A trend logger and a synchronized measurement system may need different devices.
What does the allowed rate range mean in milliseconds?
The Config register selects an output data rate, with 860 SPS the highest nominal setting. Within the specified electrical conditions, the rate variation is −10% to +10%. That gives 774 to 946 SPS at the 860 setting, or about 1.292 ms at the slow end, 1.057 ms at the fast end and 1.163 ms nominal. Invert the rates rather than applying the same percentages directly to the nominal period.
| Quantity | Where to measure | Question answered |
|---|---|---|
| Host timer cadence | Timer output versus independent reference | Is host scheduling drifting? |
| SCL transfer time | SCL edges and transactions | Are reads finishing in time? |
| Conversion completion interval | ALERT/RDY edges | At what rate is the ADC producing results? |
| Software timestamps | Edge capture, queue and logs | Does each timestamp belong to the right result? |
A common timing-budget mistake
Waiting 1.17 ms is slightly longer than nominal but roughly 0.122 ms short of the slow-end conversion time, before single-shot startup, bus or software delays. In continuous mode, the conversion register contains the latest completed result. Reading early may repeat the previous result, while reading too slowly cannot recover intermediate results from that one register. Equal consecutive codes are not proof of a duplicate: a steady input can give identical new measurements.
How should a logger timestamp readings?
Use ALERT/RDY as a conversion-ready output if available. Capture its edge with an interrupt or hardware timer, then read results in order and account for the number of edges and reads. Enable the ready function by setting the most significant high-threshold bit, clearing the most significant low-threshold bit and avoiding the disabled comparator queue setting. Provide the correct pull-up and verify polarity. Continuous conversion produces a pulse of about 8 µs. A slow polling loop can miss it; check actual capture rather than the apparent refresh rate of a terminal log.
Without a ready pin, use single-shot mode and poll conversion status before assigning the result to that acquisition. Distinguish the completion of the start write, the conversion-ready event and completion of the read. Define which one the timestamp represents. An edge announcing a digital result does not necessarily identify an instantaneous analog sampling point. Phase-sensitive systems should separately verify conversion and filter delay using a known input.
Where a better host oscillator still helps
A better host reference can improve the time axis used to compare independent loggers. Epson's SG-210STF is a CMOS oscillator family to consider for a host with a compatible external clock input. It is not an external timing source for the ADS1115, SCL or an analog input. Check host frequency, voltage, thresholds, temperature range and input mode. A family listing cannot establish every ordering combination. Mark the host clock net and reference designator on the bill of materials.
Test the two timing domains independently
With a steady single input and fixed settings, record a host one-second marker, SCL transactions and ADC ready edges at room temperature. Repeat within the product's supply and temperature envelope. Measure them with an independent reference, not the host under evaluation. If host timing improves but ready intervals still vary, that is consistent with separate clocks. If edge and queued sample counts diverge, check short-pulse capture and whether reads run past the next conversion.
Apply a slow ramp or known safe test signal to confirm sample order and observable phase. Log trigger, ready, read-complete and sequence together. If temperature tests show jumps only in read-complete times, check scheduling and bus contention first. The calculated extremes are design limits, not measured results from your board.
Keep this ADC or choose a synchronous design?
For a system that stores a fixed number of points per second, allow enough conversion headroom, capture real new samples, and decide explicitly whether downsampling or interpolation is acceptable. Interpolated values are estimates, not conversions made at the labeled instant. A host timer can schedule single-shot commands, but allow for slow conversions and communication. Stable command delivery does not phase-lock the internal conversion process or completion edge.
If the contract requires multiple converters to run from the same reference or guarantees interchannel phase, choose an ADC with an external conversion clock or hardware synchronization. Verify acquisition timing, filtering delay, rates and temperature before committing. Recording the timing domains and the three events separately makes the acceptance criteria more useful than a nominal samples-per-second number.
For example, the slow-end limit of 774 SPS falls below a guarantee of 800 distinct results per second before allowing for bus overhead. Duplicate reads or inserted estimates cannot close that gap. If acceptance is based only on average throughput, specify the measurement window and whether short dropouts are permitted.
