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.

TUSB2046B: USB connection sporadically stops working sometimes, Other USB-Hubs connected to the IC are not recognised

Part Number: TUSB2046B

Hello there,

I got the following problems:

1) The IC does not recognise any externally connected USB-Hubs. Mouse, keyboard etc. is still functional on that port (Port 2). The HUB is connected to a computer via port 0. Data transfer speeds seem to be fine.

2) Sometimes, not really reproducible, the hub suddenly stops working and the only way to get the HUB back to work normally is to cut the power for a second.

I would really appreciate any hint. Thank you!

Kind regards

Andre

  • Hello Andre, 

    Can you use a 15kOhm resistor and a .1uF capacitor for the RC circuit in the reset terminal?

    Please the usbview utility to get more details on the hub and the cameras. You can load usbview.exe (it is a debug application available for free from Microsoft). Install the utility, select the hub in the left hand window, select the Options > Config Descriptor, and then Options -> Auto refresh and then hit F5. You should be able to see most descriptors reported by the hub in the right hand window.

    Regards

  • Hello Joel,

    Thanks a lot for your advice. I will change the parts and use the USB tool to examine it on Monday, when I am back at work. Could that really be the problem that sometimes it stops working? I mean it is not that it would not initialise. In fact, it works well for hours/days and then suddenly it stops. Nothing plugged or unplugged during this time. All devices connected to it stay untouched.

    Kind regards

  • Hello afkiwerks,
    I'd recommend monitoring Vcc and RESET terminals in order to detect any drop or noise affecting the rail.
    Regards
  • Hello Joel,

    we changed the RC part to 15kOhm, 0.1uF -> No changes, the device still stops working sometimes. As said before, we haven't had a problem with not initialising correctly. It always happens while it is working just fine for a while.

    I monitored Vcc and RESET terminals -> All signals very stable, no ripples or dips.

    I disconnected the pins from Port 4 and attached an USB-cable but same phenomenon -> Mouse or Keyboard are no problems, they work just fine. USB-sticks or DVBT sticks or HUBs are not properly recognised and fail.

    I added serial resistors just in case -> did not change anything! I also double-checked the trace length which difference is dl < 150 um.

    The traces using USBTreeview.exe.

    General trace without malfunctioning device:

    5618.Generic USB Hub on MIOM2419.txt

    Single trace of not recognised device:

    6052.Unknown Device.txt
        =========================== USB Port2 ===========================
    
    Connection Status        : 0x02 (Device failed enumeration)
    Port Chain               : 1-1-4-3-2
    Properties               : 0x01
     IsUserConnectable       : yes
     PortIsDebugCapable      : no
     PortHasMultiCompanions  : no
     PortConnectorIsTypeC    : no
    
          ======================== USB Device ========================
    
            +++++++++++++++++ Device Information ++++++++++++++++++
    Device Description       : Unbekanntes USB-Gerät (Fehler beim Anfordern einer Gerätebeschreibung.)
    Device Path              : \\.\usb#vid_0000&pid_0002#8&21d97485&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
    Device ID                : USB\VID_0000&PID_0002\8&21D97485&0&2
    Hardware IDs             : USB\DEVICE_DESCRIPTOR_FAILURE
    Driver KeyName           : {36fc9e60-c465-11cf-8056-444553540000}\0025 (GUID_DEVCLASS_USB)
    Driver Inf               : C:\WINDOWS\inf\usb.inf
    Legacy BusType           : PNPBus
    Class                    : USB
    Class GUID               : {36fc9e60-c465-11cf-8056-444553540000} (GUID_DEVCLASS_USB)
    Interface GUID           : {a5dcbf10-6530-11d2-901f-00c04fb951ed} (GUID_DEVINTERFACE_USB_DEVICE)
    Enumerator               : USB
    Location Info            : Port_#0002.Hub_#0010
    Manufacturer Info        : (Standard-USB-Hostcontroller)
    Capabilities             : 0x44 (Removable, RawDeviceOK)
    Status                   : 0x01806400 (DN_HAS_PROBLEM, DN_DISABLEABLE, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER)
    Problem Code             : 43 (CM_PROB_FAILED_POST_START)
    Address                  : 2
    Power State              : D3 (supported: D0, D2, D3, wake from D0, wake from D2)
    
            ---------------- Connection Information ---------------
    Connection Index         : 0x02 (2)
    Connection Status        : 0x02 (DeviceFailedEnumeration)
    Current Config Value     : 0x00
    Device Address           : 0x00 (0)
    Is Hub                   : 0x00 (no)
    Number Of Open Pipes     : 0x00 (0)
    Device Bus Speed         : 0x00 (Low-Speed)
    
            --------------- Connection Information V2 -------------
    Connection Index         : 0x02 (2)
    Length                   : 0x10 (16 bytes)
    SupportedUsbProtocols    : 0x01
     Usb110                  : 1 (yes)
     Usb200                  : 0 (no)
     Usb300                  : 0 (no)
     ReservedMBZ             : 0x00
    Flags                    : 0x00
     DevIsOpAtSsOrHigher     : 0 (Is not operating at SuperSpeed or higher)
     DevIsSsCapOrHigher      : 0 (Is not SuperSpeed capable or higher)
     DevIsOpAtSsPlusOrHigher : 0 (Is not operating at SuperSpeedPlus or higher)
     DevIsSsPlusCapOrHigher  : 0 (Is not SuperSpeedPlus capable or higher)
     ReservedMBZ             : 0x00
    
        ---------------------- Device Descriptor ----------------------
    bLength                  : 0x00 (0 bytes)
    
          -------------------- String Descriptors -------------------
    String descriptors are not available  (because the device has problem code CM_PROB_FAILED_POST_START)
    

  • Hello,

    Could you please clarify the following points from your schematics?

    1.- 1.5kOhm pull-up resistor in DP0.
    2.- 10kOhm pull-down resistor in used downstream ports (D+/-).

    Regards
  • Hello Joel,

    The 1k5 Ohm resistor is realised using the STF202-22T1G. Therefore, yes.

    Yes the DP+- of each individual port are connected together and tied to ground. These are ports D1  and D3

    Joel Jimenez0 said:
    Hello,

    Could you please clarify the following points from your schematics?

    1.- 1.5kOhm pull-up resistor in DP0.
    2.- 10kOhm pull-down resistor in used downstream ports (D+/-).

    Regards

    Kind regards,

    Andre

  • Hello Andre,
    Thanks for the details. Could you please clarify the following?
    When the issue occurs is the SUSPEND pin asserted? What is the status of the PWRON pins?
    Are you able to monitor the Vcc and RST terminals to detect any discontinuity when this issue happens?
    Do you have access to a USB protocol analyzer? We would need to get some captures before the issue is detected.
    Regards
  • Hello Joel,

    Currently we do not have a USB protocol analyser. I will try to get one. I will come back to you once I have new information. Unfortunately, the error is very unpredictable which means, it might take a while.

    Kind regards

  • Hello,
    We can take a look at your layout and provide comments and new assumptions.
    How many boards have this problem? Have you tried with a different unit?

    Regards,
    Joel
  • Hello Joel,

    what exactly do you need? Can you handle Altium files?

    Kind regards,

    Andre

  • Hi And

    Are there 15K pulldown resistors on Port 2, as shown in Figure 11 in the TUSB2046 datasheet? That may explain why the hub is able to recognize full speed or low speed devices like mice and keyboards, but no high speed devices like USB drives or USB hubs.

    Regards,
    JMMN
  • Hi Andre,

    Is there any update? Are the 15K pulldown installed? Or does adding them improve performance?

    Regards,
    JMMN
  • Hi JMMM,

    I haven't had access to the prototype yet. Once it is back from field testing I will give it a go.

    Thank you very much for the hint! I'll keep you posted!

    Kind regards,
    Andre

  • Hi Andre,

    We are closing this thread until you have an update. Please feel free to repost to this thread or open a new one if the issue is not resolved.

    Regards,
    JMMN