- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have a question about BCM20736S enter deep sleep.
In APP of "RTC", when enter deep sleep, there is one configuration to P0 as below:
// Demo going into deep sleep with wake after 5s.
if (num_timeouts_since_boot++ >= 10)
{
// If its been ~10s of ADV, configure timed wake and
// enter deep sleep right now.
ble_trace0("Entering deep sleep.");
gpio_configurePin(0, 0, 0x100, 0);
// Configure the low power manager to enter deep sleep.
devLpmConfig.disconnectedLowPowerMode = DEV_LPM_DISC_LOW_POWER_MODES_HID_OFF;
...
....}
The P0 is must configured before enter deep sleep ? or not ?
Why ??
tks@
Solved! Go to Solution.
- Labels:
-
GPIO
-
Sleep Modes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
P0 is usually configured as an input pin to a toggle switch/button to wake up from sleeping. This is done before entering sleep mode. What is the issue you are facing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If we do not need P0 to wake up BMC20736, could we disable this P0 ?
tks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes you may.