cancel
Showing results for 
Search instead for 
Did you mean: 

USB2514 USB HUB can't connect high-speed devices.

ASkri.1
Senior

Hi, everybody!

Referring to this topic, I'm still have issue with USB2514 USB HUB:

https://community.st.com/s/question/0D53W000015a2V8SAI/-120369992-dwc2-49000000usbotg-overcurrent-change-detected

The description of the problem changed a lot. Currently I'm have two same board with same components and schematic and same images loaded.

One of the board have no problem with USB HUB. All working fine, second board have problem with high speed USB devices:

Here are dmesg's:

keyboard/mouse (full speed):

[ 1449.719724] usb 1-1.1: new full-speed USB device number 11 using ehci-platform

[ 1449.882209] input: Logitech USB Receiver as /devices/platform/soc/5800d000.usbh-ehci/usb1/1-1/1-1.1/1-1.1:1.0/0003:046D:C534.0001/input/input1

[ 1449.961800] hid-generic 0003:046D:C534.0001: input: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-5800d000.usbh-ehci-1.1/input0

[ 1449.987711] input: Logitech USB Receiver Mouse as /devices/platform/soc/5800d000.usbh-ehci/usb1/1-1/1-1.1/1-1.1:1.1/0003:046D:C534.0002/input/input2

[ 1450.000588] input: Logitech USB Receiver Consumer Control as /devices/platform/soc/5800d000.usbh-ehci/usb1/1-1/1-1.1/1-1.1:1.1/0003:046D:C534.0002/input/input3

[ 1450.090891] input: Logitech USB Receiver System Control as /devices/platform/soc/5800d000.usbh-ehci/usb1/1-1/1-1.1/1-1.1:1.1/0003:046D:C534.0002/input/input4

[ 1450.104322] hid-generic 0003:046D:C534.0002: input: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-5800d000.usbh-ehci-1.1/input1

USB flash:

[ 1451.030141] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?

[ 1451.940010] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?

[ 1451.945265] usb 1-1-port2: attempt power cycle

[ 1453.200258] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?

[ 1454.110142] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?

[ 1454.115398] usb 1-1-port2: unable to enumerate USB device

Looks, that this HUB can't start in USB HS, but I have no any ideas - why.

For example, another board (same image and DT) :

Flash inserted (high-speed):

[  25.479763] usb 1-1.2: new high-speed USB device number 3 using ehci-platform

[  25.645734] usb-storage 1-1.2:1.0: USB Mass Storage device detected

[  25.671473] scsi host0: usb-storage 1-1.2:1.0

[  26.240027] usbcore: registered new interface driver uas

[  26.730883] scsi 0:0:0:0: Direct-Access   Kingston DataTraveler II+ PMAP PQ: 0 ANSI: 0 CCS

[  26.762085] sd 0:0:0:0: Attached scsi generic sg0 type 0

[  26.887486] sd 0:0:0:0: [sda] 8059904 512-byte logical blocks: (4.13 GB/3.84 GiB)

[  26.900466] sd 0:0:0:0: [sda] Write Protect is off

[  26.904557] sd 0:0:0:0: [sda] No Caching mode page found

[  26.909134] sd 0:0:0:0: [sda] Assuming drive cache: write through

[  26.995371] sda: sda1

[  27.021470] sd 0:0:0:0: [sda] Attached SCSI removable disk

Could anybody suggest me which way to debug and what is the most possible reason - SW or HW?...

Thank you in advance

Looking forward for your reply

1 ACCEPTED SOLUTION

Accepted Solutions
ASkri.1
Senior

Hi, Patrick!

Finally I found problem. Guys soldered 10e Rbias resistor instead of 12k. After replacing all working fine 🙂

Sorry disturbing you with such questions....

View solution in original post

3 REPLIES 3
PatrickF
ST Employee

Hi,

Have you tried with another USB Flash brand/model ?

I will focus on HW (just because I'm not expert in SW)

Maybe your USB Flash consumption during their startup phase is slightly above some circuit protection which could explain the different board behavior.

On our development boards, the limit is set by the HW (STMPS2252) to around 500mA (trip point is between 600 and 1000mA), but USB3.0 flash are allowed to sink up to 900mA.

Maybe VBUS is limited by other circuitry and fall below allowed voltage.

Did you use STMPS2252 to protect VBUS going to Type-A socket ?

From where the 5V is sourced ? Did you double check the VBUS voltage ?

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
ASkri.1
Senior

Hi, Patrick!

Yes, we are using STMPS2252 switches in our design. There are several ways to 5V power STMPS2252. Most reliable for now is direct 5V from power supplier.

Yes, I'm trying different kind of USB flash. All USB2.0 all same result. Also have different HS USB devices like -serial-to-usb adapters. All same result.

Truth said, I'm suspect, that USB2514 is damaged, may be strap pins reads incorrectly during startup. But before replace it I want to be sure, that there

are no any other reasons.

Thank you in advance

Looking forward for your reply

ASkri.1
Senior

Hi, Patrick!

Finally I found problem. Guys soldered 10e Rbias resistor instead of 12k. After replacing all working fine 🙂

Sorry disturbing you with such questions....