This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TUSB8041: it could recognize the upstream device but the downstream device couldn't

Part Number: TUSB8041

Hello,

 One customer used TUSB8041 for his application, but it could recognize the downstream device, the power up sequence is as following:

He removed the TUSB8041 and read the log is:

oot@FHD3:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

If he flies the wire and it could recognize the USB2.0 and USB3.0 device, it indicates that TUSB8041 couldn't work normally.

Best regards

kailyn

  • Hi Kailyn:

        First please remove R363 on SMBUS/SS_suspend and try again.

       2: how do you get Vbus for downstream port?

        :  

        3: Can you send full schematic for review?

    Regards

    Brian

  • Hi Brian,

    Thank you very much for your reply.

    As the customer's feedback, the TUSB8041 couldn't be recognized too even though it didn't connect any device.

    root@FHD3:~# lsusb
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    how do you get Vbus for downstream port?

    The downstream port is form VDD_5V.

    Best regards

    Kailyn

  • Hi Kailyn:

        Can customer check if vbus for doswnstream ports is on (5v).?

        Did they try to remove R363 on SMBUS/SS_suspend?

    Regards

    Brian

  • Hi Brian, 

    Thank you very much for your reply. According to the customer feedback:

    1: Remove R363

    2. After Soc uboot, then TUSB8041 power up again.

    He found that some boards are recognized, but some could recognize one of the downstream port ,while some could recognize two ports, the logs are different:

    Recognized: Port 1: 0000.06a0 Unknown Speed power Rx.Detect

    Unrecognized: Port 2: 0008.04a0 C_OC Unknown Speed Rx.Detect

    The detailed logs are as following:

    root@FHD3:~# lsusb -v

    Bus 002 Device 002: ID 0451:8140 Texas Instruments, Inc. TUSB8041 4-Port Hub
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 3.00
    bDeviceClass 9 Hub
    bDeviceSubClass 0
    bDeviceProtocol 3
    bMaxPacketSize0 9
    idVendor 0x0451 Texas Instruments, Inc.
    idProduct 0x8140 TUSB8041 4-Port Hub
    bcdDevice 1.00
    iManufacturer 0
    iProduct 0
    iSerial 0
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 0x001f
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
    Self Powered
    Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 9 Hub
    bInterfaceSubClass 0
    bInterfaceProtocol 0 Full speed (or root) hub
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 19
    Transfer Type Interrupt
    Synch Type None
    Usage Type Feedback
    wMaxPacketSize 0x0002 1x 2 bytes
    bInterval 8
    bMaxBurst 0
    Hub Descriptor:
    bLength 12
    bDescriptorType 42
    nNbrPorts 4
    wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    bPwrOn2PwrGood 50 * 2 milli seconds
    bHubContrCurrent 0 milli Ampere
    bHubDecLat 0.3 micro seconds
    wHubDelay 3043 nano seconds
    DeviceRemovable 0x00
    Hub Port Status:
    Port 1: 0000.06a0 Unknown Speed power Rx.Detect
    Port 2: 0008.04a0 C_OC Unknown Speed Rx.Detect
    Port 3: 0000.06a0 Unknown Speed power Rx.Detect
    Port 4: 0000.06a0 Unknown Speed power Rx.Detect
    Binary Object Store Descriptor:
    bLength 5
    bDescriptorType 15
    wTotalLength 0x002a
    bNumDeviceCaps 3
    USB 2.0 Extension Device Capability:
    bLength 7
    bDescriptorType 16
    bDevCapabilityType 2
    bmAttributes 0x00000006
    BESL Link Power Management (LPM) Supported
    SuperSpeed USB Device Capability:
    bLength 10
    bDescriptorType 16
    bDevCapabilityType 3
    bmAttributes 0x00
    wSpeedsSupported 0x000e
    Device can operate at Full Speed (12Mbps)
    Device can operate at High Speed (480Mbps)
    Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport 1
    Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat 10 micro seconds
    bU2DevExitLat 2047 micro seconds
    Container ID Device Capability:
    bLength 20
    bDescriptorType 16
    bDevCapabilityType 4
    bReserved 0
    ContainerID {8200c002-4c80-0ae7-ab18-8fc2b6c9d000}
    Device Status: 0x0001
    Self Powered

    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 3.00
    bDeviceClass 9 Hub
    bDeviceSubClass 0
    bDeviceProtocol 3
    bMaxPacketSize0 9
    idVendor 0x1d6b Linux Foundation
    idProduct 0x0003 3.0 root hub
    bcdDevice 5.10
    iManufacturer 3 Linux 5.10.0 xhci-hcd
    iProduct 2 xHCI Host Controller
    iSerial 1 xhci-hcd.0.auto
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 0x001f
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
    Self Powered
    Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 9 Hub
    bInterfaceSubClass 0
    bInterfaceProtocol 0 Full speed (or root) hub
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0004 1x 4 bytes
    bInterval 12
    bMaxBurst 0
    Hub Descriptor:
    bLength 12
    bDescriptorType 42
    nNbrPorts 1
    wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    bPwrOn2PwrGood 50 * 2 milli seconds
    bHubContrCurrent 0 milli Ampere
    bHubDecLat 0.0 micro seconds
    wHubDelay 0 nano seconds
    DeviceRemovable 0x00
    Hub Port Status:
    Port 1: 0000.0203 5Gbps power U0 enable connect
    Binary Object Store Descriptor:
    bLength 5
    bDescriptorType 15
    wTotalLength 0x000f
    bNumDeviceCaps 1
    SuperSpeed USB Device Capability:
    bLength 10
    bDescriptorType 16
    bDevCapabilityType 3
    bmAttributes 0x02
    Latency Tolerance Messages (LTM) Supported
    wSpeedsSupported 0x0008
    Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport 3
    Lowest fully-functional device speed is SuperSpeed (5Gbps)
    bU1DevExitLat 0 micro seconds
    bU2DevExitLat 0 micro seconds
    Device Status: 0x0001
    Self Powered

    Bus 001 Device 002: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.10
    bDeviceClass 9 Hub
    bDeviceSubClass 0
    bDeviceProtocol 2 TT per port
    bMaxPacketSize0 64
    idVendor 0x0451 Texas Instruments, Inc.
    idProduct 0x8142 TUSB8041 4-Port Hub
    bcdDevice 1.00
    iManufacturer 0
    iProduct 0
    iSerial 1 280A08591EA6
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 0x0029
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
    Self Powered
    Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 9 Hub
    bInterfaceSubClass 0
    bInterfaceProtocol 1 Single TT
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0001 1x 1 bytes
    bInterval 12
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 1
    bNumEndpoints 1
    bInterfaceClass 9 Hub
    bInterfaceSubClass 0
    bInterfaceProtocol 2 TT per port
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0001 1x 1 bytes
    bInterval 12
    Hub Descriptor:
    bLength 9
    bDescriptorType 41
    nNbrPorts 4
    wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
    bPwrOn2PwrGood 50 * 2 milli seconds
    bHubContrCurrent 0 milli Ampere
    DeviceRemovable 0x00
    PortPwrCtrlMask 0xff
    Hub Port Status:
    Port 1: 0000.0100 power
    Port 2: 0008.0000 C_OC
    Port 3: 0000.0100 power
    Port 4: 0000.0100 power
    Binary Object Store Descriptor:
    bLength 5
    bDescriptorType 15
    wTotalLength 0x002a
    bNumDeviceCaps 3
    USB 2.0 Extension Device Capability:
    bLength 7
    bDescriptorType 16
    bDevCapabilityType 2
    bmAttributes 0x00000006
    BESL Link Power Management (LPM) Supported
    SuperSpeed USB Device Capability:
    bLength 10
    bDescriptorType 16
    bDevCapabilityType 3
    bmAttributes 0x00
    wSpeedsSupported 0x000e
    Device can operate at Full Speed (12Mbps)
    Device can operate at High Speed (480Mbps)
    Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport 1
    Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat 10 micro seconds
    bU2DevExitLat 10 micro seconds
    Container ID Device Capability:
    bLength 20
    bDescriptorType 16
    bDevCapabilityType 4
    bReserved 0
    ContainerID {8200c002-4c80-0ae7-ab18-8fc2b6c9d000}
    Device Status: 0x0001
    Self Powered

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 9 Hub
    bDeviceSubClass 0
    bDeviceProtocol 1 Single TT
    bMaxPacketSize0 64
    idVendor 0x1d6b Linux Foundation
    idProduct 0x0002 2.0 root hub
    bcdDevice 5.10
    iManufacturer 3 Linux 5.10.0 xhci-hcd
    iProduct 2 xHCI Host Controller
    iSerial 1 xhci-hcd.0.auto
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 0x0019
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
    Self Powered
    Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 9 Hub
    bInterfaceSubClass 0
    bInterfaceProtocol 0 Full speed (or root) hub
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0004 1x 4 bytes
    bInterval 12
    Hub Descriptor:
    bLength 9
    bDescriptorType 41
    nNbrPorts 1
    wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
    bPwrOn2PwrGood 10 * 2 milli seconds
    bHubContrCurrent 0 milli Ampere
    DeviceRemovable 0x00
    PortPwrCtrlMask 0xff
    Hub Port Status:
    Port 1: 0000.0503 highspeed power enable connect
    Device Status: 0x0001
    Self Powered

    Best regards

    Kailyn

  • Hi Kailyn:

        it looks hub TUSB8041 is recognized by host as 4 ports hub.

        What device were connected to downstream ports ? did they see VBus is on form downstream port?

        Maybe we can have a call to speed up debug.

    Regards

    Brian

  • Hi Brian,

    Thank you very much for your reply.

    The problem has resolved due to the U port has overcurrent.

    Best regards

    Kailyn