Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Question: If WAKEUP# is tied to ground and suspend mode is inhibited, is there any way to be notified when inactivity is detected on the USB bus? Or is there a register to check to see if the line is inactive?
For the EZUSB, there's no register that flags the user if no bus activity is detected. A suspend interrupt is generated by the core if it detects no bus activity for 3ms (note that if WAKEUP# is tied to ground, you won't get this suspend interrupt).One way you can get around this is to leave WAKEUP# high so that the processor gets a suspend interrupt if it sees no bus activities in 3ms. In the suspend ISR, firmware just doesn't suspend the micro controller(not setting PCON.0).