- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My goal, Some info:
I am running my device as slave, and I will be sending the device to deep sleep only when it is Advertising.
Furthermore, i don't have an external clock, and i will be trying to send the device to DEEP_SLEEP and wake it up using a WDT.
My WDT is configured to interrupt every 1 sec.
How do i configure the Advertising to not interfere with sleep?
Or what do i need to do before entering deep sleep to be sure BLE Advertisemnt won't wake me up (only the WDT) ?
How can i switch off or pause advertisement before sleep?
How can i turn back Advertisement on after WDT isr?
I dont wont to stop ble and then start stack again.
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
According to the BLE stack implementation at every advertising and connection interval one Bless interrupt triggers which wakes up the BLESS hardware as well system (PSoC) from the Low Power Mode (DeepSleep).
So, if you set your advertising interval at 1 Sec and use the Low Power Modes , your device will wake up at every 1 sec ,will advertise and will sleep again and continue....
Please refer the Application Note - http://www.cypress.com/file/140991/download for more details.
-Gyan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
According to the BLE stack implementation at every advertising and connection interval one Bless interrupt triggers which wakes up the BLESS hardware as well system (PSoC) from the Low Power Mode (DeepSleep).
So, if you set your advertising interval at 1 Sec and use the Low Power Modes , your device will wake up at every 1 sec ,will advertise and will sleep again and continue....
Please refer the Application Note - http://www.cypress.com/file/140991/download for more details.
-Gyan