CAN Bus - Bit Stuffing

Bit Stuffing

In CAN frames, a bit of opposite polarity is inserted after five consecutive bits of the same polarity. This practice is called bit stuffing, and is due to the non-return to zero (NRZ) coding adopted. The stuffed data frames are destuffed by the receiver. Since bit stuffing is used, six consecutive bits of the same type (111111 or 000000) are considered an error.

Bit stuffing implies that sent data frames could be larger than one would expect by simply enumerating the bits shown in the tables above.

Read more about this topic:  CAN Bus

Famous quotes containing the word bit:

    One has to completely humiliate oneself to be what the Beatles were, and that’s what I resent. I didn’t know, I didn’t foresee. It happened bit by bit, gradually, until this complete craziness is surrounding you, and you’re doing exactly what you don’t want to do with people you can’t stand—the people you hated when you were ten.
    John Lennon (1940–1980)