Wakeup from extended sleep through UART CTS pin
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