Splitting USB-C: USB 3 and USB 2 on one port (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
Reversible USB-C is very convenient, but the connector is really complicated and I am always amazed that it is able to transmit 40~120Gbps data while simultaneously conduct up to 240W of power with 24 very tiny pins in tight proximity.
edit: USB-C isn't even serial (the S in USB) anymore with many parallels pairs.
What would be possible with a circular (thus omnidirectional) simple data plug (with a few pins as possible) given modern tech?
Replies (9)
Replies (5)
You can buy an off the shelf solution for this. Several IC vendors sell auto-negotiating power sharing USB-PD source controllers. It's not that hard to implement and it's a feature you never notice when it works correctly.
Mainly this shows up in power banks and higher end AC adapters.
Also, which device is responsible for what. I have a nice chunky battery that I sometimes charge my phone from while away from power. It it runs out of juice during this, it stops, comes back to life because the phone sees a device in its port and advertises itself as a potential power source, then the phone proceeds to drain power back into the external battery.
Replies (3)
Replies (1)
Replies (1)
Continue this thread (1 replies) →
But obviously that'd be a crazy device to carry with me at all times?? But yeah, "charging" vs "charge me" usb-c antics are a bit wild.
Replies (2)
Replies (1)
https://www.amazon.com/dp/B0CRZ6JJ6D
It forces the charging role: The single end is always source, the split ends are always sinks.
It also allows the two sink ends to be at different voltages, which means there must be some ultra-tiny SMPS in the blob, which blows my mind. (Though in my testing, it will pass 20v through to a single laptop, but when I plug in a 5v sink, the cable drops and renegotiates 15v from the source, so the laptop now gets 15v instead of 20. With two laptops connected, both get 20v and the source shows 20v.)
I carry this cable and a single Haribo AC charger when I travel, and it serves every need I've thrown at it.
Replies (1)
This is pretty common and works reasonably well in practice. The main annoyance is usually how well documented it is if you have reason to care about the details.
You're welcome to do that with USB-C, it has the VCC/GND/D+/D- wires and USB 2.0 support as a minimum requirement.
> edit: USB-C isn't even serial (the S in USB) anymore with many parallels pairs.
USB-C is not the same as USB the protocol, it's a connector standard that supports many different transmission methods. It supports USB 2, USB 3, Thunderbolt, DisplayPort, etc.
PCIe is generally considered a serial bus too, yet has many parallel lanes, each of which is hooked up behind a SerDes (serializer/deserializer).
Having multiple serial lanes generally doesn't make something a parallel bus.
Replies (1)
What does make it a parallel bus?
Replies (4)
I.e. you have 8 wires which together give a single number between 0-256 per clock cycle, rather than 8 independent channels each with its own independent stream of 1’s and 0’s on it
PCI has 32 address/data wires, and a whole 32 bit message is output at once on the bus and a clock is toggled when the data is valid along with some contextual information.
PCIe for example has many lanes, each lane has a shift register that turns an N-bit message into N 1-bit messages, which are shifted back in on the other end and turned back into an N-bit message. There's no shared clock, each lane operates essentially independently, and the clock is recovered from the signals on the differential pair. The controller then turns each part of the message each serial lane transmits into one word.
Replies (1)
The basic difference between a parallel and a serial communication channel is the number of electrical conductors used at the physical layer to convey bits. [1]
In usb, each differential pair (dp/dm) is driven by a serial interface engine (sie); and even though it is a pair, it is effectively half duplex and serial. Multiple dp/dm pairs does not make it parallel.
[1] https://en.wikipedia.org/wiki/Parallel_communication
Replies (1)
Replies (2)
It's not clear what your question is trying to imply or query. What does SPI got to do with USB?
https://onlinedocs.microchip.com/oxy/GUID-450989FA-38E4-4D68...
Continue this thread (1 replies) →
Many uses fall within the USB 2.0 data limit (480Mbit/s?) and power reqwuirements. So USB-C wired for USB 2.0 is a fantastic connector. Exceptions are charging Li-Ion batteries quickly, and data storage devices.
Replies (1)
Replies (4)
Replies (2)
Thankfully, no device manufacturers label their products as broken by design... and you usually don't notice until way after the return period.
Replies (2)
I guess you could argue that the more complex a standard is, the higher the chance that somebody will take cheap shortcuts, but I don't really buy that logic, as you could then just as well e.g. blame the USB-A spec for a non-compliant charger exposing 230 V on GND.
Continue this thread (1 replies) →
USB-A is 4 or 9 pins. USB-3 added 5 more for two differential pairs and a signal ground.
> What would be possible with a circular (thus omnidirectional) simple data plug (with a few pins as possible) given modern tech?
Depends on how crazy you want to go. Tip/Ring/Ring/Ring/Sleve is mass produced, so you could have 5 conductors if you want.
TRRS gives you four conductors. If you cut down 40GBase-T to two pair, you should be able to do 20 Gbps on a twisted pair trrs cable... and you can send power over that too. USB 4 Gen 4 does 40 Gbps per pair, but uses one pair per direction. If you wanted just tip and ring, there's 10Gbase-T1 which is single pair, with optional power delivery.
You would need to make special twisted pair cables with the phone jacks. If you use 1/4" jacks, the connectors could probably manage a few amps. But disconnecting is going to be pretty gnarly as the sleeve tends to short across multiple jack connectors as it's pulled out.
Replies (2)
Replies (2)
Replies (1)
Replies (1)
Continue this thread (1 replies) →
Which isn't an issue for current-mode AC coupled differential pairs and the ground connection being the final mate.
The actual issues here are electrical infeasibility at these speeds.
What you are describing is electrically impossible for any USB specified cable length due to capacitance and inductance as a result of poor ground ties. 20Gb/s line rate is barely possible on connectors designed for it.
Maybe with a magical twinaxial cable, but I still doubt it because of the size of the connector contacts.
Replies (1)
USB 4 Gen 3 runs at 20 gbps per pair (unidirectional), and USB 4 2.0 Gen 4 [1] is specced for 40 gbps per pair unidirectional.
Ethernet 10G-base-T is real and works without a shared ground. 40G-base-T doesn't seem to really exist, but I don't think it has a shared ground either.
[1] thanks USB Promoter Group. If ever I have trouble with naming things, I can always say I did better than USB. :P
Replies (1)
Connectors are the issue: you have a 0.5pF capacitance budget. TRRS has massive contacts and a distant shared ground. 0.5pF on a normal 3.5mm TRRS is impossible. Not to mention the impedance discontinuities inherent to that arrangement. The face contact between the plug and receptacle is also extremely imperfect.
> Ethernet 10G-base-T is real and works without a shared ground.
Because it's galvanically isolated via a transformer and the connectors are small and designed for it? I thought we were talking about USB here.
Replies (1)
> What would be possible with a circular (thus omnidirectional) simple data plug (with a few pins as possible) given modern tech?
So I'd assume galvanic isolation is available as it falls under modern tech (although it could also fall under ancient tech :P).
Phono connections have too much capacitance is a good objection --- but I was responding more to the question of lengths.
Continue this thread (1 replies) →
*With an incredibly large, complicated analog PHY
> USB-C isn't even serial (the S in USB) anymore with many parallels pairs
Only one of the pairs (each, for TX/RX) is used except for 2x2 configurations, and both are still serial links (which are then reassembled using an elastic buffer, like PCIe.)
Parallel means "clocked in parallel" - USB-C 2x2 is mesochronously clocked serial, the edges need not land in the same phase.
Reminds me of the old GoPros that could do composite video out of their headphone jack (actually a 2.5mm rather than the standard 3.5). This was a somewhat common arrangement for camcorders from the era.
And theres also the cursed ipod shuffle that CHARGED through its headphone port. It could even do USB 2.0 data over it too.
The connector is complicated, but not from the user's perspective aside from the above limitations. Maybe there could be a bit of colour coding or connector keying for low power and data rate devices to clear things up. But all things considered, usb-c is really good and better than the alternate history where we ended up with 10 different connectors, some of them optical and some not.