Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I am working to create firmware for USB Video class, and I am using the USB VideoClassBulk and the HD example to send uncompressed data. So far, I seem to be succesful in transmitting test patterns (using the DMA as the source), but when I use USB Device Viewer (from Visual Studio) to view the USB descriptors, I see some errors related to the Endpoint compansion descriptor. Here is the suspect code:
/* Video control status interrupt endpoint descriptor */ 0x07, /* Descriptor size */ CY_U3P_USB_ENDPNT_DESCR, /* Endpoint descriptor type */ CY_FX_EP_CONTROL_STATUS, /* Endpoint address and description */ CY_U3P_USB_EP_INTR, /* Interrupt end point type */ 0x00,0x04, /* Max packet size = 1024 bytes */ 0x01, /* Servicing interval */
/* Super speed endpoint companion descriptor */ 0x06, /* Descriptor size */ CY_U3P_SS_EP_COMPN_DESCR, /* SS endpoint companion descriptor type */ 0x00, /* Max no. of packets in a Burst : 1 */ 0x00, /* Mult.: Max number of packets : 1 */ 0x00,0x04, /* Bytes per interval : 1024 */
This is what USB Device Viewer shows:
===>Endpoint Descriptor<=== bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x82 -> Direction: IN - EndpointID: 2 bmAttributes: 0x03 -> Interrupt Transfer Type, Usage Type = Periodic
I think I found the issue. USBView (a MS Windows product) is still catching up to Superspeed 3.0, and I don't think it knows what to do with endpoint companion descriptors. Looking that the configuration view in USB control center (supplied by Cypress in FDK) for the same code above, and everything looks fine. Will try to confirm with MS.