nRF54L15: ~200 µA extra System ON idle current after power-on reset, caused by LFXO INTCAP being written after the GRTC has started the LFXO

HI.

We have experienced an additional power consumption of ~200uA @ 1.8V on our board when booting from PowerOnReset compared to a Warm reset.
Searching for the root cause, we found that the OSCILLATORS->XOSC32KI.INTCAP update order matters.
- on PoR the INTCAP value (computed from  lfxo dts node) is updated after the LFXO startup
- on warm reset, the INTCAP is already written from previous boot and is indeed not updated.
- updating INTCAP early during the boot (in our board init) with the final expected value fix the issue.

Arnaud


The following is more details summary written by IA, but they are relevant:

SDK: nRF Connect SDK v3.2.3 (sdk-zephyr 4.2.99), nrfx 4.0.1
SoC: nRF54L15, application core, secure build (no TF-M), MCUboot + application
Relevant configuration:
- CONFIG_NRF_GRTC_TIMER=y, CONFIG_NRF_GRTC_START_SYSCOUNTER=y, CONFIG_NRF_GRTC_TIMER_SOURCE_LFXO=y (default when lfxo is enabled)
- CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=y
- DTS: &lfxo { load-capacitors = "internal"; load-capacitance-femtofarad = <18000>; };
- &vregmain { regulator-initial-mode = <NRF5X_REG_MODE_DCDC>; };

Root cause

During boot, the init order is:

1. EARLY: sys_clock_driver_init() (drivers/timer/nrf_grtc_timer.c). It selects the LFXO as the GRTC clock source (nrfx_grtc_clock_source_set(NRF_GRTC_CLKSEL_LFXO)) and starts the SYSCOUNTER, so the LFXO is requested at this point.
2. PRE_KERNEL_1: nordicsemi_nrf54l_init() (soc/nordic/nrf54l/soc.c). Only here is OSCILLATORS->XOSC32KI.INTCAP written with the value computed from the DTS load capacitance.

After a power-on reset, the LFXO is therefore started with the INTCAP reset value (0x17), and INTCAP is then changed while the LFXO is running. After that, the idle current is about 190 µA higher.

After a soft reset, the GRTC (and so the LFXO) keeps running with the INTCAP already configured by the previous boot. INTCAP is rewritten with the same value, and the current is normal.

- Fix validated: writing the LFXO INTCAP before the GRTC init removes the issue. After POR we now measure 42 µA with MCUboot alone and 16 µA with the application. We currently apply it in our board code: a SYS_INIT(..., EARLY, 0) that writes INTCAP, plus CONFIG_SYSTEM_CLOCK_INIT_PRIORITY=1.

We are aware of erratum [37] (increased current after pin reset or power cycle). Its workaround is already applied by SystemInit() in this SDK version. The behavior here is specific to the LFXO INTCAP being written while the LFXO is running, and depends on the init order.

Related