Strange current consumption events during sleep using iBeacon example

Hi,

I am compiling the iBeacon example from Zephyr (nrf-sdk 1.9.0), with only one modification to increase the advertising interval to 5000-6000ms. I have a custom nrf52811 board that has no semiconductors other than the nrf52811, and I am measuring the power using the PPK2. The floor current (at 3.3V) is 2-3uA as expected, and I get a spike up to ~15mA every 5 seconds which is also expected. However, there are strange multi-second events where the device is drawing many hundreds of uA, and I can't work out what they are from. I have attached a screenshot of the PPK2 output:

I have disconnected the programmer by unplugging it.

Could you please help me understand what these events are? I have attached my code.

nrf52811_test_beacon.zip

Thanks,

Jeremy

Parents Reply
  • jeremyherbert said:
    then the events go away on the nrf52840dk_nrf52811. So it seems like this is probably the RC oscillator calibration loop, except it is taking way too long to calibrate or not returning to sleep correctly after calibration

    It seems like the calibration of the RC is taking much longer than expected. We have seen this on devices that have a wrong PPM setting given to the calibrating module, But if you already have an XTAL on your device, why use RC?

Children
Related