CY_U3P_USB_EVENT_RESUME event never triggered | Cypress Semiconductor
CY_U3P_USB_EVENT_RESUME event never triggered
I am currently working on a USB driver and using the Cypress USB FX3 software developement Kit. Thus, I would have a question concerning USB events and more particulary the CY_U3P_USB_EVENT_SUSPEND and CY_U3P_USB_EVENT_RESUME events. Correct me if I am wrong, but as far as I understand, those two events are triggered by the USB bus and its interrupt register.
My question is the following :
I have some traces indicating me that I get several CY_U3P_USB_EVENT_SUSPEND among other USB events but I never receive any CY_U3P_USB_EVENT_RESUME. From your point of view what could be the problem?
I have though about two potential problems but I don't know if they are realistic:
- my SUSPEND management is not good and my USB device still consumes more than the maximum allowed when in SUSPEND mode, so that the USB bus does not consider it as suspended and never send any RESUME.
- the USB bus updates its interrupt register when it suppose to resume, but the Cypress event is not triggered for some reason.
- the USB bus does not work properly...