Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 8 of 8

Thread: T4.1 USB host - dual port?

  1. #1

    T4.1 USB host - dual port?

    In this thread https://forum.pjrc.com/threads/64122...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.
    Click image for larger version. 

Name:	usb 2 port a connector.jpg 
Views:	13 
Size:	56.9 KB 
ID:	30244

    How would I go about using this with the teensy 4.1?

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    17,145
    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?

  3. #3
    Senior Member wwatson's Avatar
    Join Date
    Aug 2017
    Posts
    876
    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...

  4. #4
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    11,659
    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...-port-extender

    Both Digikey and Mouser carry some different USB HUB controller chips, like: https://www.digikey.com/en/products/...036VFR/1910069
    https://www.mouser.com/ProductDetail...2BhXiELw%3D%3D

    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.

  5. #5
    I really should stop posting late at night...

    My question was a bit vague at best...

    Yes I know this connector is not a hub and I do realise I am going to need some extra hardware to do this. Does anyone have any ideas of where to start?

    maybe somthing like this:
    https://www.ti.com/lit/ds/symlink/tu...oogle.com%252F

    ideas?

  6. #6
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    28,000
    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/...BCN_C9359.html

    https://www.lcsc.com/product-detail/...8A_C39693.html

    https://www.aliexpress.us/item/3256804629251294.html

  7. #7
    Thanks Paul, that gets me on the path.... lcsc good as I will use jlcpcb anyway

  8. #8
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    11,659
    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/semiconduct...e%20%2F%20Case

    The one of these I (who knows less than zero) would try is: https://www.mouser.com/ProductDetail...pkvyEuug%3D%3D
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •