| FORUM

FEDEVEL
Platform forum

USE DISCOUNT CODE
EXPERT30
TO SAVE $30 USD

Usb hub

, 03-07-2024, 04:03 PM
Hp connect with both, Dell didn't do nothing
QDrives , 03-07-2024, 04:04 PM
But do you have an oscilloscope? Even if it is not specific for USB(3) I would still connect one to see what is happening. It is not helpful to certify correct operation, but may be helpful in diagnosing your problem.
Robert Feranec , 03-07-2024, 04:05 PM
I agree with @QDrives , you should be able to see something even with a cheap osciloscope, at least on USB2
, 03-07-2024, 04:05 PM
I have. This one: Picoscope 2206B
, 03-07-2024, 04:08 PM
Give me quick guide how to measure/connect probe to differential pair
QDrives , 03-07-2024, 04:08 PM
Picoscope = 2 channel, 50MHz for those who do not want to look it up.
Better than nothing.
I would start checking the PD power.
Followed by USB2.
, 03-07-2024, 04:08 PM
What you mean with "checking the PD power"?
QDrives , 03-07-2024, 04:09 PM
Use two probes to make sure the differential signal is differential. After that, you just measure single ended.
QDrives , 03-07-2024, 04:11 PM
If you power / PD (MAX25432) is working as expected and drives the mux correctly.
, 03-07-2024, 04:13 PM
Ou I forgot to say... For now, I have fixed set the MUX for example for TX1/RX1
, 03-07-2024, 04:14 PM
I rotate usbC connector on my board
, 03-07-2024, 04:14 PM
I don't have own software for max25432b yet. I am using for max25432b configuration hex file from Maxim
, 03-07-2024, 04:15 PM
Or I can trigger the mux_select_pin manually with jumper
, 03-07-2024, 04:15 PM
This might be a problem?
QDrives , 03-07-2024, 08:07 PM
Can your HP system be powered from the USB port?
As you mention, with the Dell you have a docking station, so power can go in and out.
I would start making sure your PD settings and communication are correct.
, 03-07-2024, 09:02 PM
Yes, it can be. My HP have dual role UsbC - sink/source
, 03-07-2024, 09:02 PM
Same Dell.
, 03-07-2024, 09:09 PM
If you look into datasheet of usb5744 you could see that chip have port control pins for downstream "load switches".
Dell have two usbC. When I plug my hub to left usbC nothing happened and load switches are OFF.
When I plug my hub to right usbC cominication still not working, but load switches are enabled. I measured 5v on downstream usbA
, 03-07-2024, 09:09 PM
, 03-07-2024, 10:13 PM
I wondered...
I am using internal config of usb5744. I don't have any external flash or SMBUS config.
Could the internal hub config be bad?
QDrives , 03-08-2024, 04:57 PM
I have seen so much problems with Dell's dual USB-C docking station and ports.
On the system I worked on, it started working correctly. Then at one point, it would no longer accept both. A single will trigger the message that a slow charger is used. Had to use the power port and a single USB connection.

Should the standard configuration be 'correct' for your board?
, 03-08-2024, 08:24 PM
I don't know. I am going to read again all appnotes and design document for usb5744.
, 03-10-2024, 08:27 PM
Hey Guys, I found this on USB5744 website. Any opinions? I download it and thinking if to try flash throught MPLAB connect some different patch to hub chip
QDrives , 03-11-2024, 04:27 PM
It may help to update.
Kalaslas , 03-11-2024, 07:05 PM
We have the USB5744 in a design at my company too, haven't had any issues with it like that. But I remember when I looked into the support tools for the USB5744 that there were quite a few different tools like the MPLAB that you could use to configure it, and it was NOT clear which one was the correct/best tool to use.
, 03-12-2024, 06:28 AM
Hi, @Kalaslas . Thank you for your answer.
Do you use internal config of hub chip or you make own config via SMBUS or SPI flash?
Could we make a call? Will you have time to check my schematic with me? Maybe compare with your design...
, 03-12-2024, 06:54 AM
And in your application, upstream port is UsbC or usbB?
, 03-12-2024, 07:38 AM
Heyy.. Update. I did test with same HP as mine but G5 (older generation). Hub connected without problem usb2 and usb3
Kalaslas , 03-12-2024, 07:46 AM
Our design is straight up copied from the schematic of this eval board design: https://www.microchip.com/en-us/development-tool/evb-usb5744
Kalaslas , 03-12-2024, 07:47 AM
It worked out of the box for us, with a Raspberry Pi upstream and various devices & laptops downstream.
, 03-12-2024, 08:19 AM
In my design I have usbC as upstream connector
, 03-12-2024, 08:19 AM
But I copied design from eval boad too
, 03-12-2024, 09:01 PM
What about XHCI? Anybody know something about it?
QDrives , 03-12-2024, 10:38 PM
A hub does not have XHCI does it?
, 03-13-2024, 06:54 AM
I think no. XHCI is a technical specification a "part of" computer... Host controller for USB
Robert Feranec , 03-13-2024, 10:51 AM
that is good to know ... interesting
, 03-13-2024, 12:31 PM
Hi @Robert Feranec .. I did test with more laptops.
Mac book with ARM M1 procesor not connect the hub.
Dell latitude with 8th gen i5 (don't know model yet), HP Zbook fury 16 G9 and thinkpad P53 connect only usb2.
Lenovo Legion and thinkpad E15 gen 4 connect the hub without problems in usb2 and usb3.
, 03-13-2024, 12:35 PM
There must be some problem with compatibility?
Or some communication about usbC configuration not happen correctly on the "not working laptops"?
, 03-13-2024, 12:40 PM
Is it possible that there is some problem with UFP/DFP role setting? I am not 100% sure how this working.
I know that power delivery set roles sink&source based on which device pullup the CC pins and the other pulldown the cc line.
Robert Feranec , 03-13-2024, 02:02 PM
and if you connect your board to devices which only can be host (which can only deliver power e.g. different PCs, USB3 hubs, etc ....), does it always work? just to find out if the problem is only with ports which can do both - deliver and sink power.
, 03-13-2024, 02:07 PM
I will try to find out some device with only source+data usbC.
All the tested laptops had DRP (dual role port)
, 03-13-2024, 06:17 PM
Hi folks, I have quiet good news.
I did what Robert wrote in his latest post. I connected my board (PD+HUB) through another usbC hub (from shop) and that hub I connect to laptop (Dell latitude 5540, where my board not working).
And this WORKS. Laptop succesfully connect usb2 and usb3 lines of my hub.
So, what's might be a problem? UsbC? PD/TCPC controller in max25432b?
QDrives , 03-13-2024, 07:51 PM
That is why I stated to start with the PD first. It could be that some systems have the CC's wrong.
Have you tested with a USB A to C cable too?
, 03-13-2024, 09:01 PM
Not now. A-C cable is not aceptable by usb PD.
But tomorow I test one idea.. I turn off the PD, pulldown the CC pins to set power role of my board as SINK. (to this day, still have PD turned on, so my board was SOURCE)
, 03-14-2024, 03:52 PM
Important update! @QDrives @Robert Feranec
There is something bad with max25432b and his TCPC or I don't know. I am going to do own config via i2c. To this day I was using hex config file from analog devices.
I did test which I wrote in my latest post.
I configured my board as SINK. I turn off the max25432b via EN pin and pulldown CC pins. Hub WORKS on "not working dell". Dell connect usb2 and usb3
, 03-14-2024, 03:58 PM
So, there is something bad between my TCPC chip and laptop TCPC chip.
I think laptop chip wont control his MUXes correctly. This happened that for example usb3 is not connected
, 03-14-2024, 04:00 PM
Maybe I found a problem. I don't know which value Analog devices set in this register so, I am going to write own i2c config
QDrives , 03-14-2024, 04:45 PM
"A-C cable is not aceptable by usb PD." -- Hence my question of using such cable for a test.
QDrives , 03-14-2024, 04:47 PM
"But tomorow I test one idea.. I turn off the PD, pulldown the CC pins to set power role of my board as SINK. (to this day, still have PD turned on, so my board was SOURCE)" --- You are a HUB right? Then you sink. A source is for a docking station or power adapter.
, 03-14-2024, 06:01 PM
To this day my board was PD source +HUB like docking station. But I don't know what analog devices v configure in DATA_ROLE register.

I need config source + UFP
Use our interactive Discord forum to reply or ask new questions.
Discord invite
Discord forum link (after invitation)

Didn't find what you were looking for?