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

A SAM E54 Board with a KDS DST1210A Reports Clock Failure. Why Did It Not Switch Clocks?

Check failure detection separately from switch completion. The KDS DST1210A is a 32.768 kHz tuning-fork crystal; the SAM E54 is responsible for clock switching on a board that uses it as the low-frequency reference. Microchip's SAM D5x/E5x errata identifies an issue on revision A silicon: with clock failure detection enabled, an oscillator input stuck high can be detected correctly while the automatic switch to the safe clock fails. A failure interrupt alone does not show that the RTC is receiving a backup clock.

Read switch status as well as failure status

Microchip distinguishes CLKFAIL from CLKSW. If CLKFAIL is set but CLKSW is not, record a detected failure without confirmed changeover. Replacing the quartz with another device at the same frequency is not a substitute for handling this silicon condition. Where firmware can still run from an independent clock, the errata describes manually selecting a different source for affected generic clock generators. If the main CPU clock depends on the affected source, do not assume an interrupt handler can execute. Verify the watchdog reset and firmware source-selection path described by Microchip for that design.

Verify that a backup clock actually reaches the destination

Identify the silicon revision first and test normal crystal startup separately from recovery. Use an approved simulation or isolated fixture for the stuck-high failure case rather than shorting an installed passive crystal. Record failure status, switch status, actual clock output and recovery time, including whether firmware can still read the intended status. State whether recovery was automatic, required a software switch, or occurred only after reset. Keep crystal frequency, load and startup acceptance separate from the MCU failure-response test.

Related selection guide: MERLIN Crystal Timing: Choosing a 32.768 kHz Crystal, Oscillator or RTC Module by Backup Current and Temperature Accuracy

Resource link: https://www.mecxtal.com.cn/en/guides/rtc-timekeeping.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.