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

Why take four AD7124-8 clock-counter reads with a valid 2.4576 MHz KDS oscillator?

Count updates and register reads are asynchronous. A read that overlaps an update can be invalid, so ADI recommends taking four consecutive reads at each end of the timing window to identify valid endpoint values. A decrease between valid endpoints can still be normal rollover, not proof that the oscillator stopped. With MCLK_CNT_EN enabled, the AD7124-8 increments its eight-bit MCLK_COUNT register once per 131 internal sampling-clock cycles. After 255, the count wraps to zero. In the full-power example with a 2.4576 MHz external clock and divide-by-four selection, the internal clock is 614.4 kHz, giving a full count cycle of about 54.58 ms. Two readings taken 100 ms apart cannot identify how many complete count cycles elapsed.

Once the mode and clock are stable, use an independent timebase to separate the validated endpoint groups by about 10 ms. Expect about 47 increments in this example, with adjacent integer results possible depending on the starting phase. A read of 240 followed by 31 represents 47 increments when the interval guarantees fewer than 256 increments. Apply a modulo-256 difference only with that guarantee. If software can stall for a full count cycle, flag the capture as ambiguous or shorten the interval rather than assuming there was exactly one wrap.

Keep the raw register reads, timestamps, selected clock source and power mode in the same record. A change of power mode can change the sampling clock behind the counter, so do not use the full-power count as a universal pass threshold. The counter helps distinguish normal rollover and delayed polling from a clock-path problem. It does not replace a separate reference and input measurement for a precision oscillator check; one increment in a short observation window is too coarse for a specification measured in tens of parts per million.

Related selection guide: MERLIN Crystal Timing: Can the AD7124-8 use a 2.4576 MHz oscillator? Select the divide-by-four clock path

Resource link: https://www.mecxtal.com.cn/en/handbook/new-0863.html

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.