Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

TI addressed this on their forum a while ago.

> Can you connect a USB 3.0 device and a USB 2.0 device to the same downstream port of a hub? We don't recommend it. The devices will enumerate and traffic will be routed correctly, but as noted above, the two devices would share a single port power control. Also, the USB specification requires all USB 3.0 devices have the ability to drop to USB 2.0 speeds. Since the USB specification does not allow for two different speed devices connected to the same USB port, TI cannot guarantee that all USB drivers / host controller would support that implementation.

https://e2e.ti.com/support/interface-group/interface/f/inter...

Is it gonna work? Usually, but not properly, and it's not an approach I would recommend for any production devices.

If you are okay being non-compliant with the USB spec and hoping for the best, it's an option for some small run stuff you test. For this application it's probably fine because you know how your host controller behaves but it's not a good approach in general, and may stop working at some point in the future as the busses are not independent. They share a power control and the same logical port identifier, and this is not a support configuration per the USB spec.

For the record I do think this is very cool and the only thing I'd change about the blog post is mentioning that the busses are not actually independent and this is not a supported configuration.

 help



yeah thats fair, thanks for the context and the ti link, super helpful to learn about all potential issues w/ this setup! planning to go through everyone's feedback here and updating the post. to be honest this was mostly an experiment, i had medium confidence that i'd even work, still unsure myself if this is a sku thats worth putting out into the world or if i should just go with the slightly higher cost spec compliant bom

Just in case I came off as critical or snarky, this project is really cool, it's a great write-up and I'll be ordering one when available haha.

The TI forum is really good, I was confident the link you posted would be an authoritative reference, and it was. If you ask a very technical question you will often also get follow-up questions that nail down a root cause quickly. Come to think of it, I don't think I've ever asked a question there because whenever I've searched for an error code or seemingly obscure problem, there's already an answer for me with enough detail to know that it also applies to my problem. TI also tends to send engineering samples without much fuss so as an engineer you can essentially bypass your procurement department when doing prototyping. My experience with this is as a grad student in Japan, so they must really have a policy to make engineers fans of the company.

TI's datasheets are also very very good.

I think it's fine for such a niche application when the behaviour of all the hosts (Macs) and targets (Macs, iPhones and iPads) are so consistent and well-known. I've seen the standard abused in much worse ways!

I don't think port power control is even that important in the days of USB-C PD, since ports have to be tolarant to 20+ V and carry current both ways, the inbuilt port protection is way better than the days of USB-A. And even with USB-A, a lot of cheap hubs don't even bother with port power control, they might just have a resettable fuse or something on VBUS on the upstream port and then all the VBUS of the downstream ports are connected together!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: