Hello,
I'm seeing higher than expected power consumption when running an RTC peripheral using LFXO as the LFCLK source compared to using the internal RC. Specifically, I'm observing a constant ~40 uA current consumption using the external 32 kHz Xtal as the LFCLK source, compared to ~3.3 uA using the internal 32 kHz RC as the clock source. I was expecting to see only 2-3 uA current consumption using an external 32 kHz LFCLK source.
My hardware setup is a nRF52840 Preview Development Kit, measuring the current consumption with the Power Profiler Kit.
My software is enabling the following peripherals only:
- LFCLK (SRC=Xtal or Rc, BYPASS=0, EXTERNAL=0)
- RTC0 (running at 32 kHz tick rate)
RTC0 is only configured to generate OVRFLW and COMPARE0 interrupts, and COMPARE0 is used to wake up the CPU every 1 second, and then the CPU goes back to sleep with WFI. The average current measurements I stated above were captured while the CPU is asleep, but RTC0 is running using LFCLK.
I am not using any SDK, as I am not using C/C++.
The *only* thing I am changing is the SRC for LFCLK to either Rc or Xtal. I am not explicitly enabling any other peripherals or the HFXO, so I don't understand the large difference in power consumption between the two LFCLK sources.
What could be causing such a high current consumption using the external Xtal compared to the internal Rc oscillator?
edit: corrected hardware setup (I have a Preview DK, not one of the newer DK).