Hi all!
My central must do 2 types of activity:
- scanning, communication and disconnection after transmitting data to device or in case of timeout. It must be done after request from my application.
- periodical activity (for example every 100ms) using timer(created by app_easy_timer).
My app is based on DSPS host. Most of the time BLE should be powered down.
The problem is that if I exclude user_scan_start() (for example in user_on_scanning_completed callback function) my code freezes on line while(!ble_deep_sleep_stat_getf()); inside rwip_sleep function.
What should I do to power down BLE in the central role?
app_default_sleep_mode = ARCH_EXT_SLEEP_ON
Device:

I've found the problem. It was non-working XTAL32K. Switching to RC clock fixed issue.