• wetbeardhairs@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    45
    ·
    2 days ago

    Lesson #3 on why Baud/s != Bit/s

    Lots of serial protocols use stuff bits at the data link layer. The data itself is the clock and if there is no change in the data, the clock is lost. So they after every 4 or so consecutive 0s it adds a fictitious 1 to make sure the recipient’s clock is synchronized.

    • Hugin@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      2 days ago

      Doesn’t USB use manchester encoding like ethernet? So you have a consistent clock frequency it’s just weather the data edge is before or after the midpoint.

      • wetbeardhairs@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        7
        ·
        2 days ago

        Beats me. I just know that serial protocols do all kindsa fun stuff at the data link layer to maintain data integrity. Stuff bits, optional parity bits, weird timing changes.