Sep 04, 2018
07:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 04, 2018
07:31 AM
I see that my device wakes up from sleep before the WDT interrupt.
how can i determine the source of the interrupt that caused the wakeup?
I used CyBle_Stop(); before entering sleep. So i guess it is not BLE, or can psoc fail enetering sleep even if BLE has stopped?
thanks.
Solved! Go to Solution.
1 Solution
Sep 18, 2018
06:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 18, 2018
06:09 AM
Hello,
In the firmware, if we set a flag in the different interrupt ISR handler functions then we can get to know which interrupt wakes up the device.
CyBle_Stop() function stops any ongoing operation in the BLE Stack and forces the BLE Stack to shut down. So if we stop the BLE before entering into sleep then BLE interrupt won't be produced.
Thanks,
P Yugandhar.
2 Replies