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

Control coming after coming out of low power mode due to “System ON” mode

Hello,

 

I am using nRF52832, SDK_15.3.0, S132 SoftDevice and Segger for flash the image.

 

In ‘System OFF’ after GPIO interrupt, chip will reset and control will come from main(). But in case of ‘System ON’ where will control go after wake-up from low power mode.

As shown in below example whether control will come to “Do operations after wake-up” or is there any warm start function, where initial control of chip will come.

 

void Test_function(void)

{

              // Do some operations

              // Go to sleep by calling sd_app_evt_wait()

              idle_state_handle();

 

              // Do operations after wake-up

}

 

I am bit confused with the statement “then the execution will return in the application's main thread.” as part of sd_app_evt_wait() function explanation in nrf.soc.h file. What does “Main thread” mean ?

 

Thanks & Regards

Vishnu Beema

Parents Reply Children
No Data
Related