Remix.run Logo
▲ arcticbull an hour ago

> Learning the details of USB-C connectors makes me really appreciate the simplicity of USB-A: just 4 pins/wires achieves up to 480Mbps of half duplex speed, which is more than enough for many use cases.

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.

▲dataflow 41 minutes ago | parent [-]

> Having multiple serial lanes generally doesn't make something a parallel bus.

What does make it a parallel bus?

▲mirmor23 12 minutes ago | parent | next [-]

> What does make it a parallel bus?

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

▲arcticbull 28 minutes ago | parent | prev | next [-]

Generally a parallel bus transmits an entire N-bit message at once, as N separate wires, with a single shared clock.

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.

▲johntb86 23 minutes ago | parent | prev | next [-]

A parallel bus has a single clock and fixed timings between all signals (ideally sampled at the same time, but in practice there's skew compensation nowadays). For multiple serial lanes they each have their own clock, and they're combined together at a higher level.

▲xerxes901 32 minutes ago | parent | prev [-]

At a guess… that the meaning of a high/low level on one of the pins is not independent of the high/low level of the other pins?

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