AnsweredAssumed Answered

Distinguish between disconnect and suspend events on i.MX28 in USB Device mode

Question asked by Fredrik Moller on Jan 21, 2016
Latest reply on Jan 21, 2016 by Fredrik Moller

When the USB cable is removed from the i.MX28 EVK board, an interrupt is triggered. The HW_USBCTRL_USBSTS register in the USB controller block indicates that it is the SLI interrupt (DC Suspend). When a Suspend is received from host, the same interrupt is generated. How do I distinguish between these two kinds of events?


I'm not using Linux.