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

Why can the SAM L11 watchdog miscount in standby with a Pericom 32.768 kHz crystal?

If the watchdog uses the 1024 Hz clock derived from an external 32.768 kHz crystal and its oscillator is not kept on in Standby, check Microchip's silicon errata first. DS80000795G section 2.16.2 says that the 1024 Hz path can develop spikes in affected revisions, resulting in incorrect count behavior in the RTC or watchdog. This is not fixed by ordering a tighter-ppm version of a legacy Pericom-line G8 crystal. Crystal frequency tolerance and the standby behavior of the derived clock are different acceptance questions.

Confirm the derived path, not merely the crystal on the BOM

Identify the silicon revision, the actual power mode, and whether OSCULP32K.ULP32KSW selects that source for the watchdog. If the complaint concerns the RTC, separately verify whether RTCCTRL.RTCSEL is 4. Microchip's workaround sets XOSC32K.RUNSTDBY to 1 and clears XOSC32K.ONDEMAND to 0, keeping the oscillator on in Standby. The 1024 Hz signal is not a second crystal to buy. A correct 32.768 kHz reading on a suitable reference observation point does not clear this erratum.

Reproduce it across repeated standby cycles

Use the same board and the same G8. Record watchdog intervals and reset reasons both while active and after several standby transitions. Then apply the vendor workaround on an authorized bench build and repeat the same conditions. Use an independent time reference rather than timing a possibly affected watchdog with an RTC that may share its affected source. If the symptom disappears only with the standby configuration corrected, address firmware before ordering crystals. If it persists, investigate supply, watchdog service timing and crystal qualification independently. Retest standby current separately because holding the oscillator on changes the product's power conditions.

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.