Skip to main content
Associate III
Oct 29, 2026 9:13 PM UTC
Solved

USB Hub over current event

Greetings All,

I am running ThreadX, USBX, and FileX middleware, as a USB Host, on an STM32H573. 
I have a USB Hub (TUSB4041) attached to the STM32 USB FS port.

The Hub correctly enumerates, as do flash drives plugged into the Hub.
I can also use FileX to create, read and write files on the flash drives.

I know that ST does not support assisting in debugging USB Hubs, but thought
I would throw out my issue, and see if anyone has seen this, and maybe has
a solution?

We are testing Over-Current on a single USB port, and expect that only
the over current port is affected, and the other ports still function.

We have two flash drives plugged into the hub, Port-A and Port-B, and can
successfully test access to the flash drives (FileX file create/write/read/verify)
when there are no over currents.

- We introduce an over current event on USB Port-A
- A USB power-switch in front of the TUSB4041 detects the over current, and
  asserts a fault signal to the Hub.
- The Hub in turn, disables the 5V's on Port-A, and notifies the USBX software
  of the overcurrent.
- We then re-test Port-A and Port-B, and they both fail? Expected that Port-B
  would still be functional?

We are of course in discussion with TI also.

Thanks for any advice,
Ken
 

FBLBest answer
ST Technical Moderator
Nov 5, 2026 9:04 AM UTC

Hi ​@microcoder 

To narrow down the issue whether Port B failure is caused by the hub, the power circuitry, USBX or the application’s recovery handling:

Could you check whether Port B remains powered and enumerated after the over current on Port A or whether it disconnects or resets?

It would be useful to confirm whether PortA and PortB have independent power switches and power paths.

If available, a USB protocol analyzer would be helpful to capture the hub and PortB events around the fault. Also check the hub’s port status and measure VBUS on both ports during the event.

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL

3 replies

FBLBest answer
ST Technical Moderator
Nov 5, 2026 9:04 AM UTC

Hi ​@microcoder 

To narrow down the issue whether Port B failure is caused by the hub, the power circuitry, USBX or the application’s recovery handling:

Could you check whether Port B remains powered and enumerated after the over current on Port A or whether it disconnects or resets?

It would be useful to confirm whether PortA and PortB have independent power switches and power paths.

If available, a USB protocol analyzer would be helpful to capture the hub and PortB events around the fault. Also check the hub’s port status and measure VBUS on both ports during the event.

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
Associate III
Nov 5, 2026 7:37 PM UTC

Thanks you, very good suggestions.

 

 

mƎALLEm
ST Technical Moderator
Nov 5, 2026 8:29 PM UTC

Hello  ​@microcoder ,

If your question has been answred by ​@FBL please mark his post as Best Answer.

Thank you.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.