cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

AvOm_4629506
New Contributor II

Good day, gentlemen and ladies. I have a problem with USB3 on CX3. I used CyU3PUsbInitEventLog and CyU3PUsbGetEventLogIndex to understand why USB 3 is being disabled and this is what I got:

0x6 CYU3P_USB_LOG_USB3_PHY_ON Indicates that the 3.0 PHY has been turned on

0x10 CYU3P_USB_LOG_USBSS_DISCONNECT Indicates that the USB 3.0 link has been disabled

0x4 CYU3P_USB_LOG_USB3_PHY_OFF Indicates that the 3.0 PHY has been turned off

0x5 CYU3P_USB_LOG_USB2_PHY_ON  Indicates that the 2.0 PHY has been turned on

0x40 CYU3P_USB_LOG_USB2_SUSP  Indicates that a USB 2.0 suspend condition has been detected

0x41 CYU3P_USB_LOG_USB2_RESET Indicates that a USB 2.0 bus reset has been detected

0x51 CYU3P_USB_LOG_USBSS_ENABLE Indicates that a USB 3.0 connection is being attempted again

0x42 CYU3P_USB_LOG_USB2_HSGRANT Indicates that the USB High-Speed handshake has been completed

0x10 CYU3P_USB_LOG_USBSS_DISCONNECT Indicates that the USB 3.0 link has been disabled

0x46 CYU3P_USB_LOG_USB2_SETCONF Indicates that USB configuration has been selected

0x40 CYU3P_USB_LOG_USB2_SUSP  Indicates that a USB 2.0 suspend condition has been detected

0x41 CYU3P_USB_LOG_USB2_RESET Indicates that a USB 2.0 bus reset has been detected

0x51 CYU3P_USB_LOG_USBSS_ENABLE Indicates that a USB 3.0 connection is being attempted again

0x42 CYU3P_USB_LOG_USB2_HSGRANT Indicates that the USB High-Speed handshake has been completed

0x10 CYU3P_USB_LOG_USBSS_DISCONNECT Indicates that the USB 3.0 link has been disabled

0x46 CYU3P_USB_LOG_USB2_SETCONF Indicates that USB configuration has been selected

what can this be related to?

I use exactly the USB 3 Port since I have USB 3 devices and they connect to it normally

#ifdef UVC_APPLICATION

/* Standard Device Descriptor for USB 3 */

const uint8_t CyCx3USB30DeviceDscr[] =

{ 0x12, /* Descriptor size */

CY_U3P_USB_DEVICE_DESCR, /* Device descriptor type */

0x00, 0x03, /* USB 3.0 */

0xEF, /* Device class */

0x02, /* Device Sub-class */

0x01, /* Device protocol */

0x09, /* Maxpacket size for EP0 : 2^9 */

0xB4, 0x04, /* Vendor ID */

0xC3, 0x00, /* Product ID */

0x00, 0x00, /* Device release number */

0x01, /* Manufacture string index */

0x02, /* Product string index */

0x00, /* Serial number string index */

0x01 /* Number of configurations */

};

/* Standard Device Descriptor for USB 2 */

const uint8_t CyCx3USB20DeviceDscr[] =

{ 0x12, /* Descriptor size */

CY_U3P_USB_DEVICE_DESCR, /* Device descriptor type */

0x10, 0x02, /* USB 2.1 */

0xEF, /* Device class */

0x02, /* Device sub-class */

0x01, /* Device protocol */

0x40, /* Maxpacket size for EP0 : 64 bytes */

0xB4, 0x04, /* Vendor ID */

0xC3, 0x00, /* Product ID */

0x00, 0x00, /* Device release number */

0x01, /* Manufacture string index */

0x02, /* Product string index */

0x00, /* Serial number string index */

0x01 /* Number of configurations */

};

/* Binary Device Object Store (BOS) Descriptor */

const uint8_t CyCx3USBBOSDscr[] =

{ 0x05, /* Descriptor size */

CY_U3P_BOS_DESCR, /* Device descriptor type */

0x16, 0x00, /* Length of this descriptor and all sub descriptors */

0x02, /* Number of device capability descriptors */

/* USB 2.0 Extension */

0x07, /* Descriptor size */

CY_U3P_DEVICE_CAPB_DESCR, /* Device capability type descriptor */

CY_U3P_USB2_EXTN_CAPB_TYPE, /* USB 2.1 extension capability type */

0x02, 0x00, 0x00, 0x00, /* Supported device level features - LPM support */

/* SuperSpeed Device Capability */

0x0A, /* Descriptor size */

CY_U3P_DEVICE_CAPB_DESCR, /* Device capability type descriptor */

CY_U3P_SS_USB_CAPB_TYPE, /* SuperSpeed device capability type */

0x00, /* Supported device level features  */

0x0C, 0x00,//0x0E, 0x00, /* Speeds supported by the device : SS, HS and FS */

0x02, /* Functionality support */

0x0A,//0x00, /* U1 device exit latency */

0xFF,0x07//0x00, 0x00 /* U2 device exit latency */

};

0 Likes
1 Solution
AvOm_4629506
New Contributor II

URAAAA Comrades!

USB3 is up !!

it was all about a dead RCLAMP0524J (D14 on the circuit).

Thank you very much for your help

View solution in original post

0 Likes
14 Replies