• diaphragmwp@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    2 days ago

    AFAIK no, at least not in Type-A/B.

    Typical UART: tx, rx, gnd

    USB2: d+/d- (combined tx/rx), gnd, 5v

    USB3: tx-, tx+, rx-, rx+, gnd, 5v (2.0 data either unused or used separately in a hub)

    Looks serial to me, they just made it twisted pair. Not sure exactly what’s going on in Type-C land, sounds like since 3.2 they made it possible to use both sides of the connector at once. Well, it’s technically two serial ports tunneled as one. That’s right, USB 3.2 isn’t real. It’s just an abstraction.

    • 🇨🇦 tunetardis@piefed.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      Ah good catch. So you’re essentially saying USB3 in and of itself is full duplex but still considered serial? Like you can transmit and receive in parallel which USB2 couldn’t do.

      But USB-C does seem ton allow for 2 bonafide full duplex serial connections running in parallel. One might even argue that there are 3 parallel connections, since USB2 gets its own pins. I feel like at some point one has to concede that this is no longer a serial connection by any definition?

      • diaphragmwp@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 days ago

        Ah good catch. So you’re essentially saying USB3 in and of itself is full duplex but still considered serial? Like you can transmit and receive in parallel which USB2 couldn’t do.

        De-facto UART is full duplex and serial. The literal serial port (RS-232, DE-9) is full duplex and serial.

        {…} 2 {…} connections running in parallel. {…} I feel like at some point one has to concede that this is no longer a serial connection by any definition?

        Depends on if you consider the tunneled whole rather than just the individual lanes. In a way, TCP is serial.

        • 🇨🇦 tunetardis@piefed.ca
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          I guess the thing with USB is the hardware has come along enough that you’re just throwing packets at it without having to worry about how they actually get relayed and whether or not that’s done in a serial or parallel sort of way? Like it’s up to the controller to sort that out.

          I’m old enough to remember writing a driver for a SCSI device back in the day, and that was certainly parallel in that you drove/cleared 8 pins to send a byte at a time and actually had to write those pins directly in software. SCSI itself still lives on, but as a higher level protocol that can use whatever behind the scenes to handle the actual I/O in serial or parallel. It doesn’t really matter anymore.