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

Why does a DS1374 watchdog never expire with a running 32.768 kHz TXC crystal?

Look for background accesses to the watchdog counter. In the DS1374 watchdog mode, ADI specifies that accessing any of the watchdog counter registers before expiry reloads and restarts the countdown. A read-only diagnostics poll can therefore postpone the actual reset repeatedly. This changes the hardware countdown; it is not a clear-on-read status flag. A stable oscillator cannot prevent this observer effect.

Separate the elapsed-seconds registers from the 24-bit watchdog/alarm counter. For qualification, disable unintentional register dumps and polling while preserving the documented watchdog configuration. Calculate the nominal expected interval using the approximately 1/4096-second countdown tick, then observe the actual output on an independent time base. Confirm whether WDSTR sends the event to RST or INT and check the applicable enables. Do not poll the watchdog bytes to watch the count shrink; those accesses change the result.

On a bench approved for reset, compare intended servicing, no servicing or diagnostic reads, and a controlled active diagnostics case. Align bus transactions with the reset or interrupt waveform. Separately qualify the external crystal against the 6 pF and 45 kΩ specifications. The DS1374C has an integrated crystal and is not the same assembly assumption.

Related selection guide: MERLIN Crystal Timing: ATmega328P Timing Budget: A 4 MHz Main Crystal and an Independent Watchdog Clock

Resource link: https://www.mecxtal.com.cn/en/handbook/avr-watchdog-independent-time.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.