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

A 40 MHz oscillator feeds ADS127L11 through a divider. Why is the first result late after synchronization?

A monitor uses a 40 MHz oscillator as a common reference for logic and acquisition. The ADC receives a divided clock. The first result after START takes much longer than a normal interval between samples. The driver uses steady cadence as a timeout and reports an error before a valid first result would arrive. Establish the clock at the ADC input, the modulator rate, normal data rate and post-synchronization latency separately.

Put the 40 MHz reference upstream of the divider

TI specifies a 26.2 MHz maximum external clock in ADS127L11 high-speed mode, with 25.6 MHz nominal. The low-speed mode has a different range. In this example, an external divide-by-two converts the 40 MHz LVCMOS oscillator to 20 MHz at the ADC in high-speed external-clock mode. Verify actual levels, edges and pulse widths and confirm that no extra low-speed divider is applied. The modulator runs at half the effective fCLK, or 10 MHz in this example.

With wideband filtering and an oversampling ratio of 128, the steady output rate is 10 MHz divided by 128, or 78,125 samples per second. The interval is about 12.8 µs. The 100 kSPS entry in the data sheet for the same oversampling setting uses its nominal 25.6 MHz clock. Applying identical register values to a 20 MHz input does not reproduce that rate. Capture source and ADC clock together. Their common origin does not establish identical startup.

A synchronized first result is settled and arrives later

TI explains that the ADC suppresses unsettled results after synchronization. The first new result is settled but incurs filter latency. With the wideband filter, 25.6 MHz clock, and OSR 128, the table gives 680.6 µs latency even though the steady data interval is 10 µs. A timeout of one data period can be far too short. At 20 MHz a period-scaled first estimate is on the order of 870 µs. Recheck fixed overhead, buffers, the selected mode and external settling before using an actual deadline. The estimate is not a specified limit at the other frequency.

Compare other filters with the same objective. TI's single-stage sinc4 example at 25.6 MHz and OSR 128 also delivers 100 kSPS but gives a 40.63 µs latency entry. It has a different response. A shorter first result does not preserve bandwidth and noise behavior automatically. Document first-result deadline, steady update rate, input passband and analog anti-alias requirements separately. If reference or input selection changes, add analogue settling to the timeline.

Capture the first and later data-ready edges

Use a verified external clock and capture START, CLK, DRDY and host readout on cold startup and runtime synchronization. Measure to the first valid result, then verify the cadence of later DRDY events. Apply a repeatable input change with and without synchronization. TI describes partially settled data after an asynchronous step without synchronization. Merely removing the startup timeout does not establish how valid that second path is.

Check for repeated START while software waits. If each pulse causes a genuine resynchronization, it restarts the filter delay. Device modes govern which edges do that. Test one trigger, then the supported repeating sequence and recovery from error. Keep the oscillator level and load in the purchasing record. Board acceptance calls for a valid divided input, a defensible timeout, and proper steady acquisition and filter response.

In synchronized control mode, a repeat-trigger test can have two clear outcomes. TI says the next START rising edge retains synchronization if it lands within one CLK period of an integer number of conversion periods. At a 20 MHz input, one clock period is 50 ns, and two steady conversion periods total 25.6 microseconds. First space two START edges by 25.6 microseconds and verify that DRDY keeps its cadence. Then use a gap clearly outside the 50 ns window and check for another filter delay. Give the pulse generator and ADC a sufficiently controlled phase relationship. Capture register writes during retry handling as well. TI says a write to any register from 04h through 0Eh restarts conversion.

Test fallback if the driver can change from external to internal clocking. TI requires at least four more external clock cycles after the SPI write that changes the mode, equivalent to 200 ns in this example. The ADC ignores START and RESET for 150 microseconds after the change. If the host sends a pulse during that interval and waits indefinitely, establish when the device could accept the command. Mark the clock-switch interval, any programmed conversion-start delay, and the digital filter delay on the same timeline so that a missed trigger can be told apart from a late result.

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.