I am having issues using a keypad to wakeup an nrf52840 and am unclear on if the GPIO sample is relevant if using a kbd_matrix device definition.
I would like to use "sys_poweroff()" for power savings but have not been able to wake it up again. Is it possible to use this device? Do I need to change to a GPIO interrupt or something?
Currently, a callback is registered for the keypad events:
I have added "wakeup-source" to the device tree and the definition is: