wakeup GPIO UART

Wakeup from extended sleep through UART CTS pin

Fri, 2020-04-10 09:59--mark.palomer

I am trying to configure the DA14531 to use extended sleep mode, but am running into a problem where upon wakeup, if data was received over UART, the code gets stuck in a loop waiting for uart_is_busy_getf() to return false when UART is re-initialized, and the watchdog timer times out. I am trying to get it to wake up when the CTS line is enabled to prevent this. Currently I have done the following:

defined CFG_EXTERNAL_WAKEUP in da1458x_config_advanced.h so EXT_WAKEUP is defined as 1

Subscribe to RSS - wakeup GPIO UART