CY_U3P_USB_EVENT_CONNECT trigger timing

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JaYe_3798301
Level 2
Level 2

Hi,

I would like to know the trigger timing of the CY_U3P_USB_EVENT_CONNECT.

Is it triggered right after the USB connectors being plugged in or it is triggered after the enumeration process is done?

Thanks

0 Likes
1 Solution

You can use CY_U3P_USB_EVENT_SETCONF to determine the enumeration is done and device is configured

View solution in original post

0 Likes
3 Replies
KandlaguntaR_36
Moderator
Moderator
Moderator
25 solutions authored 10 solutions authored 5 solutions authored

CY_U3P_USB_EVENT_CONNECT happens on both USB 3.0 connection and USB 2.0 connection.

This event trigger when there is a connection established between host and device, later the enumeration process takes place.

Hence, CY_U3P_USB_EVENT_CONNECT triggers right afetr the USB connector being plugged.

0 Likes

Thanks for the reply.

Is there any event to be used to determine whether the enumeration process is done?

0 Likes

You can use CY_U3P_USB_EVENT_SETCONF to determine the enumeration is done and device is configured

0 Likes