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.

TUSB4041I: error -32, connecting the device to hub

Part Number: TUSB4041I
Other Parts Discussed in Thread: TPS2561, TPS2001C

Dear,

My TUSBHUB4041 is recognized by Linux OS , however when trying to connect a USB device I get  the following error.

[   96.606325] usb 1-1.1: new full-speed USB device number 9 using ci_hdrc
[   96.690232] usb 1-1.1: device no response, device descriptor read/64, error -32
[   96.882291] usb 1-1.1: device no response, device descriptor read/64, error -32
[   96.994541] usb 1-1-port1: attempt power cycle

My assumption is that it has to do something with the  current monitoring.

I'm using external power supply and I did not implemented VBUS Power Switch (TPS2561).

Therefore I left the OVERCUR pins floating.

Can someone explain me what might be wrong?

Thanks,

Marin

  • Hi Marin,

    Unfortunately Linux debug statements aren't too helpful when debugging hub issues.  What type of device are you connecting?  Have you tried other devices or other ports?  Can you share a schematic?  Can you check the behavior on the DP/DM lines?

    Thanks,

    JMMN

  • Hi JMMN,

    Thanks for fast reply.

    Just to get my suspicion straight.
    I have an external  +5V which is connected directly to  VBUS of a downstream port device.
    On the EVL board, +5V is controlled by the TUSB4041 thorugh the TPS2001C chip. Can this be a problem ??

    When I connect a device to the hub, host computer does recognised that a new device is trying to connect to the TUSB4041 but it fails in doing so.
    Since downstream port connection is recognised, it gave me indication that data transfer is not a problem, so I didn't checked the DP/DM lines.

    I'v tried connecting USB flash and  wired mouse.

    Sending you schematics.

    Thanks,
    Marin
     

  • Hi Marin,

    Hubs are not required to implement power switching, so that part of your application is fine.  Can you send me the linux logs of when the hub is recognized?  Are the caps on the crystal circuit grounded?  I would expected them to be.

    Other things to check:  check the clock is running when downstream devices are attached (it will turn off when the hub is suspended), check for voltage droop on 5V, 3.3V and 1.1V when downstream devices are connected.  Also, DP, DM traffic if you are able to capture it.

    Thanks,

    JMMN

  • Hi JMMN,

    Crystal capactiros were not grounded, it was a  mistake in a design. However, after grounding them it was still not working. I would get the message I posted up in my first post.

    Further debugging I realised that I switched D+/D- on the downstream port.  Now it works and I feel like idiot :) .

    I guess I was too concetrated on thinking the problem was in power switching.

    Best,

  • Hi Marin,

    Ok, that's a pretty common mistake.  Glad you got it working!

    Regards,

    JMMN