The issue is that gpio interrupt seems not to be recognized after wake up from deep sleep.
My board can go deep sleep mode well, but it can not call interrupt handler call back function even though I press button.
I made deep sleep mode toggled by button.
After executing hello_sensor_create, it goes to deep sleep . With pressing SW1, it wakes up.
Again pressing SW1 makes board go to deep sleep mode..
Sometimes It can not wake up with button during deep sleep mode.
Sometimes it can wake up from deep sleep but can not go deep sleep mode again.
1 of 1 people found this helpful
I reinstalled IDE and the issue has gone.
I don't understand why, but IDE behaves sometimes wrong.