• marcos@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    6 hours ago

    Turns out serial buses have an intrinsic bandwidth limitation.

    But the one mystery standing up to today is… why does a serial connector need that many pins?

    • jason@discuss.online
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 hours ago

      In case you’re serious, it’s because it’s a different protocol. Serial is a super overloaded term in the low level world. Old school serial DB9 connectors have specific jobs for each pin. Old school serial minimally needs power, ground, rx, tx. There are also some GPIO lines that aren’t as common anymore that are used for “flow control.” These are used to let the other device know if it’s okay to send or receive in case one of the devices falls behind. Today, it’s less common because CPUs are so fast today that falling behind something running at 115200Hz is kind of hard.

      Also, a neat little tid bit for the tinkerers out there. You can drive those GPIO pins of a serial connector from user space on your computer.