cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Contributor

The datasheet says this event is prompted when set configuration. However, I do not know the exact meaninng of setting configuration. Does it mean downloading the firmware into FX3

0 Likes
Reply
1 Solution
Moderator
Moderator

Hello,

Whenever a device is connected to the host, the host issues a set of requests to know about the details of the device. As part of this enumeration process, the host issues a GET_CONFIGURATION request and knows about the configurations of the device. When the configuration descriptor details are valid, the host issues a SET_CONFIGURATION event which is captured by the FX3 as CY_U3P_USB_EVENT_SETCONF. Basically, whenever a device is connected to the host with valid descriptors, it receives a SET_CONFIGURATION event.

Best regards,

Srinath S

View solution in original post

0 Likes
Reply
3 Replies
Moderator
Moderator

Hello,

Whenever a device is connected to the host, the host issues a set of requests to know about the details of the device. As part of this enumeration process, the host issues a GET_CONFIGURATION request and knows about the configurations of the device. When the configuration descriptor details are valid, the host issues a SET_CONFIGURATION event which is captured by the FX3 as CY_U3P_USB_EVENT_SETCONF. Basically, whenever a device is connected to the host with valid descriptors, it receives a SET_CONFIGURATION event.

Best regards,

Srinath S

View solution in original post

0 Likes
Reply
Contributor

Thank you.

If the configuration descriptor is valid, why should host send a set configuration request to FX3?

0 Likes
Reply
Moderator
Moderator

Hello,

It is as per the USB protocol. When the host sends a SET_CONFIGURATION request with the configuration number, it means that the interfaces and the endpoints under that particular configuration are enabled. Please refer to section 9.4.7 of the attached USB Spec for SET_CONFIGURATION request defined by USB-IF.

Best regards,

Srinath S