I'm trying to wake up the i.MX6SX from stop mode when I plug in USB.
The USB is configured as a device and I want the i.MX6 to wake up when I plug it to a host.
Is there a way to do this with the i.MX6SX?
I tried to configure the USB PHY so a wake up IRQ triggers once activity is detected on DP/DM lines, but the SoC never wakes up when I plug the USB to a Host. Maybe I'm missing something in clocks and/or power configuration before entering stop mode. I didn't find any information on Stop mode exit in the USB PHY chapter in the i.MX6SX reference manual.