__disable_irq() is not working

nRF52832, SDK 13.0, no Softdevice

I had a possible power leakage issue and tried to debug it with Segger Embedded studio.

Please refer to below. 

int main(void)
{
  while(1)
  {
    __disable_irq();
    __WFI();
  };

}

As you can see, there is nothing the CPU is doing. But, I see current of 50~60mA on 4V.

I used Segger Embedded Studio. Is it a project configuration issue? Or, possible HW issue?

Please assist.

Parents Reply Children
No Data
Related