Hello,
I am using an nRF52840 on a custom board running the BLE stack from SDK16.0.0. I have an application that periodically advertises for 10s and is idle in between these advertising events. During this idle period I measure very large current spikes (up to ~15mA) which occur at 1Hz. The WDT is enabled with a reload value of 2000, and set to CONFIG_BEHAVIOUR 8 (Pause in SLEEP, Run in HALT). Captures of the current waveform are provided below.


Curiously, I modified the CONFIG_BEHAVIOUR to 0 (Pause in SLEEP and HALT), and the current spikes were still present but with reduced peak values (up to ~5mA).


I also went through and stepped through each part of initialization, and found that these spikes do not occur until I enabled the softdevice before going idle. Completely disabling the watchdog does not yield any further reductions. This leads me to believe the softdevice is responsible for this behavior, but I have not had luck at figuring how to fix this. Any suggestions would be appreciated, thank you!