I am using nRF51422 with a 16MHz crsytal, HMC5893, LED and MPU6500. I have noticed that the power consumption in IDLE mode is approx 1.2mA. This was originally at 6mA. I call the function sd_power_system_off() within my main program. This reduced the power consumption to 1.8mA. In IDLE mode HMC5983, MPU6500 and BLE/ANT stack are disabled.
I believe a peripheral is still enabled on the nRF chip which is driven by the 16MHz crystal. I have tried to located which peripheral is active without much success. By trial, I disabled one of the GPIO pins driving an LED to reduce the current to 1.2mA.
Question: Is there a definite and concrete way of determining which peripherals are active in IDLE mode and how to turn them off? Can someone please provide any code to force turn off all the peripherals in IDLE mode.
Thank you