Skip to main content
MTerp.1
Associate II
November 8, 2021
Question

How to pause BlueNRG radio operations in deep sleep state (standby)?

  • November 8, 2021
  • 1 reply
  • 1016 views

I have a BLE application running on BlueNRG chip. In one moment I want to pause Bluetooth communication and put the device in the deep sleep. It should wake only by GPIO interrupt. Then, the BLE stack should be active again. Unfortunately, if I call BlueNRG_Sleep(SLEEPMODE_NOTIMER) then it always wakes after a moment. Only if the BLE stack is not initialized yet, then the device may be put to sleep indefinitely.

One of workarounds I came up with is to reset the whole system, and only then call the sleep API. The Bluetooth would be initialized again after wake up. Are there other alternatives?

This topic has been closed for replies.

1 reply

AndyR1
Senior
February 9, 2024

Hello,

Did you find any tips please ?