This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220SF: Long Press Wake-Up Method

Part Number: CC3220SF

Hi,

Is there any methods to implement the "long press wake-up"? Pressing the button for 4 seconds to let device enter sleep mode and pressing the same button for 4 seconds to wake it up. Sleep mode could be done with timer capture mode but long-press wake-up mode is critical at this point. Is there any API function or suggestions to solve this issue?

thanks.

  • Hi,

    CC3220 hardware does not have such functionality for delay wake-up from hibernation. But there are multiple ways how this can be done:

    • Connect button to pin configured as wake-up source. After device will be woken from hibernation you can check state of button inside your code. If you not detect that button is still pressed you can go to sleep again.
    • You can use some other hardware for detection of long button press. For example with 555 timer, etc.

    Jan