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

nRF52 Timer power consumption

I run the below code on nRF52DK and measure the power consumption of the chip (using nRF current measurement jumpers). The current consumption is 0.47 mA which is a lot just for a timer in my application.

1- Would you please confirm my measurement with the same code?

2- Could you please let me know a way to use the timer with 16Mhz clock source and reduce the power consumption?

Thanks.

void timer_handler(nrf_timer_event_t event_type, void * p_context) {}

int main(void)
{   
   nrf_drv_timer_config_t timer_cfg = NRF_DRV_TIMER_DEFAULT_CONFIG;    
   nrf_drv_timer_init(&m_timer, &timer_cfg, timer_handler); 
   nrf_drv_timer_enable(&m_timer);
    
   while (1)
   {
        __WFE();
        __SEV();
        __WFE();
   }

}
Parents Reply Children
Related