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

Why Does an nRF5340 Board with a KDS DST1610A Keep Counting After One Core Stops Its Clock Request?

Check whether the other core or a peripheral still requests the low-frequency clock. The KDS DST1610A is a 32.768 kHz passive tuning-fork crystal. On the nRF5340, its clock is not owned exclusively by one core. Nordic documents separate control instances and automatic requests from peripherals such as the RTC or watchdog. Releasing one request does not stop the shared LFCLK while another remains. The clock subsystem selects a source according to the requests still in effect.

Counting can continue without the external crystal remaining selected

Suppose the application core has requested LFXO and a peripheral on the network core has only a default LFRC request. When both requests exist, LFXO takes priority over LFRC. Releasing the application core's request can leave the lower-accuracy LFRC request in effect, so the counter can keep advancing after the crystal source is no longer selected. Nordic lists LFSYNT above LFXO too, so fitting a crystal does not mean it always supplies LFCLK. Nordic also notes that a source switch can lose up to one LFCLK cycle. A one-tick change at the transition is a different observation from long-term frequency drift.

Log the active requests on both cores

In a controlled validation setup, start with both requests present. Release only the application core's request while recording each control instance, requested source and actual selected clock state. Then, if safe for the test configuration, stop the remaining requests and check when the clock really stops. Use a common reference to compare the timing before and after the transition. Do not infer that the DST1610A is still selected based only on an advancing counter or one core's configuration register. If LFXO is demonstrably requested and selected but the board still misbehaves, then verify crystal loading and startup on that board.

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.