2 posts / 0 new
Last post
Liviu
Offline
Last seen:6 years 3 months ago
Expert
Joined:2014-04-01 15:05
Bluetooth wake-up

你好,对话框,

We are experiencing this issue where the device never exits the BLE_WAKEUP_LP_Handler because it is waits forever in the loop:
while ( GetBits32(BLE_CNTL2_REG, WAKEUPLPSTAT) || !GetBits32(BLE_INTSTAT_REG, SLPINTSTAT))
The issue might be because we are attempting to request wake-up of the Bluetooth from the WKUP interrupt handler. While most of the time works fine, some times it freezes.

We have a few questions regarding this issue:
1. What could be possible causes for this issue?
2. How do we properly wake up the Bluetooth module? What is the difference and when should the following be used:
位BLE_WAKEUP_REQ register GP_CONTROL_REG;
- Bit SOFT_WAKEUP_REQ from the register BLE_DEEPSLCNTL_REG;

Any help would be greatly appreciated. Thank you.

Best regards,
Liviu

Liviu
Offline
Last seen:6 years 3 months ago
Expert
Joined:2014-04-01 15:05
Update,

Update,

Seems like mostly the problem is that the SLPINTSTAT is not coming on.