- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have an example to wake up using GPIO interrupt? Can "blecm_connectionEventNotifiationEnable" be used for wake up from Sleep or Deep Sleep? Can you share an example using this function.
Solved! Go to Solution.
- Tags:
- sleep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe that i2c_temperature_sensor provides an example of this very thing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello rgtech,
Have you seen this post:
How can I make bcm20732s sleep and wake it up by GPIO interrupt?
Let me know if this helps
Thanks
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi JT,
Thanks for the reply...!
I am trying to run a simple sleep and wake up demo. Below are sequence of steps that I follow
1. Initialize sleep, GPIO pin and GPIO callback and comment out ble profile or connection related function(for this test) in app_create().
2. Put the radio to sleep / deep sleep in app_create()
3. Wake up the processor using external GPIO interrupt
The device fails to enter defined GPIO callback and neither goes to sleep again.
Is there a dependency of callback function to ble profile function?
Any info on using - "blecm_connectionEventNotifiationEnable" function.
RG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe that i2c_temperature_sensor provides an example of this very thing.