I have an Adafruit nRF52832 board, and I'm trying to minimize power consumption by putting it in system off mode. It is attached to a breadboard, and none of the pins are connected to anything.
I have the following code:
int main(void){
NRF_POWER->SYSTEMOFF = 1;
for(;;){}
}
I downloaded this to my board, disconnected it from USB, and connected it to a battery with a multimeter. The current reading gives 0.1 mA, but the nRF52832 spec says that system off mode is supposed to yield a current consumption of 300 nA.
I've also tried enabling the DCDC power regulator with NRF_POWER->DCDCEN = 1; which didn't change the current.
I'm a bit confused as to what could be causing this, as I'm not doing anything outside of the code snippet posted.
Thanks for any help.