cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Smart Bluetooth

LeCa_2156671
New Contributor II

Hi, boontmwf_mmfae

   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@

0 Likes
1 Solution
3 Replies
BoonT_56
Employee

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?

0 Likes
LeCa_2156671
New Contributor II

If we do not need P0 to wake up BMC20736, could we disable this P0 ?

tks

0 Likes