I'm trying to ensure my firmware goes into power off when it should, and that current consumption is as expected when in power off. However, using PPK2 to measure current on the nRF52 DK, I'm having difficulty getting a low power consumption even with an example project.
Is there an example which specifically demonstrates the lowest possible power consumption in power off? If I edit examples/peripheral/template_project/main.c and add NRF_POWER->SYSTEMOFF = 1; at the start of main, the current consumption is between 2.5 and 15ma. What else do I need to add to that example to get to the 0.3uA specified in the data sheet?