- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi~
I am using a Psoc4 BLE component,I read the comment about the function "CyBle_ProcessEvens()",it should be called at least once in every interval,but there is something works not good,it will stopped at a "CySysPmSleep()"function when called the function "CyBle_ProcessEvens()" sometimes.I uploaded a image to show you the situation.
Hope someone could help me! Thank you!
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you call the CySysPmSleep() function when the BLESS isn't in sleep or deep sleep mode, then it will cause issues.
Based on the callstack, it looks like the BLESS is waking up or something, and is being prevented from waking up (something wrong with interrupts possibly). If you have global interrupts disabled, then that is probably the cause of the freeze.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you call the CySysPmSleep() function when the BLESS isn't in sleep or deep sleep mode, then it will cause issues.
Based on the callstack, it looks like the BLESS is waking up or something, and is being prevented from waking up (something wrong with interrupts possibly). If you have global interrupts disabled, then that is probably the cause of the freeze.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you so much!
Your are right,I modified my code and the problem has been solved.