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

Why AD5940 wake intervals can drift with an accurate 16 MHz Epson crystal

An accurate 16 MHz crystal establishes a useful reference for measuring the AD5940's low-frequency oscillator, but it does not directly clock all low-power wake intervals. The sleep and wake timer uses the separate nominal 32 kHz LFOSC. Analog Devices measures LFOSC against the known system clock and uses the measured result in the wake-timing calculation. An application that still assumes exactly 32,000 Hz will not become accurate merely because the MHz crystal is tight.

For example, suppose calibration finds an LFOSC frequency of 31,200 Hz. A delay based on 320,000 low-frequency cycles takes about 10.256 seconds, not 10 seconds. About 312,000 actual cycles correspond to ten seconds. This is a physical count calculation, not a claim that the resulting number can be written to any single timer register. Apply the documented count conventions and distinguish the wake interval from the time consumed by the measurement and reporting sequence.

Confirm that the selected 16 MHz Epson FA-238 crystal and its circuit meet the host oscillator requirements and that firmware actually uses the intended reference. Supply the real system frequency when using the manufacturer's AD5940_LFOSCMeasure procedure. Its sequence uses timer readings to account for register-read overhead. Do not replace that procedure with a one-off stopwatch reading. The manufacturer's example recommends approximately a one-second measurement window; characterize the full operating conditions if tighter accuracy matters.

Compare multiple wake events using an independent timebase, first with the nominal assumption and then with the measured LFOSC value. Keep the sequence and data-reporting path fixed, and capture a wake event rather than only the eventual report. A temperature- or supply-dependent drift calls for examining the low-frequency calibration policy, not only the primary crystal tolerance.

Related selection guide: MERLIN Crystal Timing: Calculating AD5940 FIFO Throughput From ADC Rate and Decimation With a 16 MHz Crystal

Resource link: https://www.mecxtal.com.cn/en/handbook/16mhz-crystal-ad5940-sinc2-fifo-rate.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.