- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you.
If the configuration descriptor is valid, why should host send a set configuration request to FX3?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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