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

power consumption in Idle

Hi, 

We are starting to measure the power of our nrf52840 based design.

I'd like to establish the power number for Idle() , since system will be in Idle() most of the time. 

For that , I have used the following code, invoked from CLI : 

__disable_irq();
sd_app_evt_wait();

1. Is this code correct for keeping system in Idle() ? 

2. What Is the estimated nrf52840 SoC current consumption in this mode ?  

3. Our code is based on UART example

Thanks, 

Ran

Parents
  • Hi Ran

    Are you using FreeRTOS? If not you won't have to worry about this. In any case, this is an issue in a few build codes of the nRF52832, so seeing as you use an nRF52840 this should not apply in any case.

    You should not have to configure SPI/I2C when your device stays in system ON mode. Also, why would you have to disable interrupts to go to idle mode?

    Best regards,

    Simon

  • Simon 

    I am using embOS (by Segger) with tickless impl. (ported from freetos example) 

    I have disabled interrupt before Idle for test purposes only - So HW guys can measure the "floor" . ( I've added a "sleep" command to our CLI ) 

    Also, I've noticed that in "freetos" examples, the following line is being used  :

    "SCB->SCR |= SCB_SCR_SLEEPDEEP_Msk"  ( set Cortex-M0 sleep mode ) . 

    But it is not used in any non-freetos example ? why is that ? 

Reply
  • Simon 

    I am using embOS (by Segger) with tickless impl. (ported from freetos example) 

    I have disabled interrupt before Idle for test purposes only - So HW guys can measure the "floor" . ( I've added a "sleep" command to our CLI ) 

    Also, I've noticed that in "freetos" examples, the following line is being used  :

    "SCB->SCR |= SCB_SCR_SLEEPDEEP_Msk"  ( set Cortex-M0 sleep mode ) . 

    But it is not used in any non-freetos example ? why is that ? 

Children
No Data
Related