Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

JaYe_3798301
New Contributor

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
KandlaguntaR_36
Moderator
Moderator

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

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
JaYe_3798301
New Contributor

Thanks for the reply.

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

0 Likes
KandlaguntaR_36
Moderator
Moderator

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