This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

app_timer high current consumption

I'm trying to reduce the power consumption of my custom board with nrf52822.

With this code I get 93 uA:

int main(void)
{
   while(1) {
        __WFE();
        __SEV();
        __WFE();
   }
}

If I enable only the app_timer I get 533 uA:

int main(void)
  {

  nrf_pwr_mgmt_init();
  app_timer_init();
  
   while(1) {
        __WFE();
        __SEV();
        __WFE();
   }
}

I'm using "RC" "..._LF_SRC" in "sdk_config.h".

What I'm doing wrong? 

app_timer is not really required in my appliaction but I found that it is used in "conn_params_init".

Parents
  • Hi

    I suspect you have one of those init functions have the high frequency clock enabled, or that you are in debug mode when running your application. Both of these issues, and a load of other ways to reduce current consumption are described in this post. You could also look at our RTC example, which is a simple example code describing how to use the low frequency clock and the RTC (SDK15.2\examples\peripheral\rtc).

    Best regards,

    Simon

Reply
  • Hi

    I suspect you have one of those init functions have the high frequency clock enabled, or that you are in debug mode when running your application. Both of these issues, and a load of other ways to reduce current consumption are described in this post. You could also look at our RTC example, which is a simple example code describing how to use the low frequency clock and the RTC (SDK15.2\examples\peripheral\rtc).

    Best regards,

    Simon

Children
No Data
Related