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.

AM335x WEC7: How to identify wake-up source?

We are seeing inconsistent suspend/wake-up behavior on our AM335x WEC7 device. So would like to debug what module or interrupt triggered unexpected wake-up after we suspend.

I have tried using KernelIoControl(IOCTL_HAL_GET_WAKE_SOURCE, .... .

But this is always returning SYSWAKE_UNKNOWN.

Is there an alternative method I can use that is properly supported in the AM335x WEC 7 BSP? Thanks