Hi!
We're having a system consisting of AM3352 and Wilink 18xx, among other things.
What works:
- Going to deepsleep0 (DS0) and waking up by (physical) GPIO keys. Multiple times.
- Activating Wake-on-WLAN (WoWLAN) and waking up by wlan traffic. Once.
After waking up by WoWLAN it's impossible to go to DS0 again, the system immediately wakes up. Even if WoWLAN is disabled.
According to http://processors.wiki.ti.com/index.php/AM335x_StarterWare_Power_management the wake sources have to be reset upon resume.
If we have understood this correctly, this reset is done in extint34_handler() in ext_intr_handlers.c (m3). However, we suspect that the IRQ clearing doesn't work as expected. If we add a check directly after the clearing it seems like there are still pending interrupts.
Can someone please comment on this?