Hi,
This is about BSP button events to manage system sleep/wakeup. In the power management example in the SDK what is the difference between BSP_EVENT_SYSOFF and BSP_EVENT_SLEEP? Doesn't system off mean shutdown as per the comment in bsp.h?
Hi,
This is about BSP button events to manage system sleep/wakeup. In the power management example in the SDK what is the difference between BSP_EVENT_SYSOFF and BSP_EVENT_SLEEP? Doesn't system off mean shutdown as per the comment in bsp.h?
Hi,
The BSP provides standardized ways to SDK examples for taking commands from buttons and signalling states via LED's. However, some examples handles the signals a bit differently. Therefor, you should consider the BSP documentation the normal/default intention of each event, but you should refer to example documentation (or code itself) to see the specific exact meaning in that example/context.
In this case, the Power Management Example use the signals in a special way, as indicated by the documentation:
Thanks for the reply. So, in the second scenario the system never wakes up because the m_stay_in_sysoff is true not because there is no wakeup button config?
Also, I am observing that my system wakes up on button press even though button isn't configured to do so. Could this be due to some settings in GPIOTE for the button?
Thanks for the reply. So, in the second scenario the system never wakes up because the m_stay_in_sysoff is true not because there is no wakeup button config?
Also, I am observing that my system wakes up on button press even though button isn't configured to do so. Could this be due to some settings in GPIOTE for the button?
Hi,
the same for me. Did you menage to understand why?