Hi,
I am trying to use BSP button event to take the system into sleep mode. A long push turns off IO and calls power management shutdown and the same button is configured for wakeup. However the system immediately restarts after entering system off mode. It is in system off as long the button is held. A release of the button triggers restart. Is there a way to ignore the release event or should the release event be used to enter system off mode as the hardware has only one button?
I see that there was a similar question on the forum about the same. But it is unclear how the situation was resolved.
Thanks.