T4.1 USB host - dual port?

snowsh

Well-known member
In this thread https://forum.pjrc.com/threads/64122-Connecting-a-USB-active-HUB-to-the-Teensy-4-1 paul says yes, you can use a hub on the usb host....

Because I would like to hook up a midi controller and a QWERTY keyboard, I would like to use a dual connector like this in my next PCB.
usb 2 port a connector.jpg

How would I go about using this with the teensy 4.1?
 
Indeed, a hub on USB host is supported, and if powered allows more and high current devices.

Not sure what those USB parts shown are? Looks like they are just two USB device sockets wired with connections for each?
 
I might be wrong, but as far as I know the T4.1 does not have a built in USB HUB which is what you would need to use those connectors. As @defragster stated above you just need an external USB HUB connected to the T4.1 USB host port...
 
Like the others, I am pretty sure that is simply two connectors. that is there are 2 groups of 4 pins, which probably match the 4 pins of our one connector where then the 5th pin would connect up the shield...

If you wanted to use something like that you would probably need to add in a USB hub IC and supporting hardware that then hooked up.
I see a few DIY USB HUB web pages, that show making your own, like: https://circuitdigest.com/electronic-circuits/diy-hub-port-extender

Both Digikey and Mouser carry some different USB HUB controller chips, like: https://www.digikey.com/en/products/detail/texas-instruments/TUSB2036VFR/1910069
https://www.mouser.com/ProductDetai...B3803CI-1-GL-TR?qs=pA5MXup5wxHHrcj%2BhXiELw==

But I personally have never tried to build my own, so have no clue whare is the best way to go. Also some of the Datasheets imply that their chip may only work at: Low speed and Full speed, but
not High Speed.

So if you try to go this route, and you want High speed, you should check the datasheets.
 
In today's market you're probably not going to find many of the older pre-USB3 hub chips from major semiconductor companies like Texas Instruments. Even though the parts are still shown on their websites as if they were normal actively produced parts, the reality of the recent semiconductor shortages is all those parts are effectively gone.

Your 2 realistic options to making your own USB hub are to use a USB3 chip and just leave the superspeed wires unused, or to get a USB2-only chip from a less-well-known Chinese company. Terminus Tech is probably the most readily available. Here's a few links.

https://www.lcsc.com/product-detail/USB-ICs_Terminus-Tech-FE1-1S-BSOP28BCN_C9359.html

https://www.lcsc.com/product-detail/USB-ICs_Terminus-Tech-FE2-1-CQFP48A_C39693.html

https://www.aliexpress.us/item/3256804629251294.html
 
I would definitely go more by what Paul says here, but earlier I did query on Digikey and Mouser and found what looked like sevaral available.
In the last search I restricted my search to TQFP type as the other types I personally have hard time soldering by hand. Actually, these might not be easy either.
But:
https://www.mouser.com/c/semiconduc...nterface-ics/usb-interface-ic|~Package / Case

The one of these I (who knows less than zero) would try is: https://www.mouser.com/ProductDetai...s/CY7C65634-48AXC?qs=3YAjQa1E1OldLXpkvyEuug==
Mainly because it has fewer pins (easier for me to solder) and because Mouser syas they have > 15K of them available.

But that would also depend on things like what other parts they need...

And side note my first posting, there was a site where they made their own HUB, where they preferred the chip: GL850G Genesys Logic’s

But, use my lack of knowledge at your own risk ;)
 
Back
Top