BCM920736 deep sleep (con't)

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi all,

In our application, we want to use a GPIO to force BLE to enter into deep sleep or out of sleep. how to do it. any example for it?

now the GPIO we used in our SCH is P13/P28/A/D, can it work as a interrupt GPIO for waking-up pin? if not, please point out which pin is the right pin.

Thanks,

Lei

0 Likes
1 Solution

"Deep" sleep (HIDOFF), not sleep.  Sleep is primarily controlled by the firmware to save power.

  • Sleep
    • All state information is maintained
    • Can be awaken by GPIO
    • About 2 mS latency to wake up
  • Deep Sleep
    • No state information is maintained.
    • Can be awaken up by GPIO or timer
    • About ~100mS estimated, but there are a lot of factors that go into this calculation
    • Includes ability to wake after configured time
      • With internal clock, can wake anywhere from 64mS to ~36 Hrs.
      • With external 32 KHz xtal, 128mS to ~144 Hrs

The application always has a choice of whether or not to participate in sleep and deep sleep decisions.

Applicable threads:

Wake up time from sleep/deep sleep

Problem with wake up from deep sleep with a timer

These are just a few.

If you go here: WICED Bluetooth Forums , then click the "Sleep Modes" category to the left, you will see a lot more.  Many contain code examples.

View solution in original post

0 Likes
4 Replies
Anonymous
Not applicable

Hi,

two questions about deep sleep. anybody can help me, thanks a lot.

1.wake up by timer or GPIO interrrupt, found the application restart. can it hold not restart while waking up.

2. can ble receive any data while in the deep sleep mode?

Thanks,

Lei

0 Likes

1.

Correct understanding of what will wake the part from Deep Sleep.  Do not understand the second half of the question. The part will re-boot when waking from deep sleep.  This is discussed elsewhere on the forum.

2.

No

0 Likes
Anonymous
Not applicable

it means BLE will restart when wake up from sleep?  could you share me the forum on this topic.

0 Likes

"Deep" sleep (HIDOFF), not sleep.  Sleep is primarily controlled by the firmware to save power.

  • Sleep
    • All state information is maintained
    • Can be awaken by GPIO
    • About 2 mS latency to wake up
  • Deep Sleep
    • No state information is maintained.
    • Can be awaken up by GPIO or timer
    • About ~100mS estimated, but there are a lot of factors that go into this calculation
    • Includes ability to wake after configured time
      • With internal clock, can wake anywhere from 64mS to ~36 Hrs.
      • With external 32 KHz xtal, 128mS to ~144 Hrs

The application always has a choice of whether or not to participate in sleep and deep sleep decisions.

Applicable threads:

Wake up time from sleep/deep sleep

Problem with wake up from deep sleep with a timer

These are just a few.

If you go here: WICED Bluetooth Forums , then click the "Sleep Modes" category to the left, you will see a lot more.  Many contain code examples.

0 Likes