Hi,
I am struggling with a high power consumption. It is odd, because I have made several low power applications with nRF52 where I get the consumption below 2µA for the entire system in SYSTEM ON mode, just by disabling unused peripherals and avoid any frequent periodic timers.
But now I cannot even initialize the app_timer module without using a lot of power. E.g.:
int main(void) { bool erase_bonds; ret_code_t err_code; NRF_POWER->DCDCEN = 1; APP_ERROR_CHECK(app_timer_init()); while(1) { __WFE(); __SEV(); __WFE(); } }
This code takes 265µA, and if I omit the app_timer_init, it takes just 1,3µA for the complete system.
The RTC is configured to used the external 32kHz crystal.
I have tried to find out exactly what part of the app_timer initialization that results in high current consumption. It is the configuration of the software interrupt handler. But disabling it again does not help anything.
Is it the High frequency clock that continues to be enabled when software interrupt is configured even when the _SEV is reached? It match the power consumption.
By the way I am using a RayTac MDBT42 module. System running on an CR2032 battery.
Where to look?
Regards
Kasper