bitstuffing
Bit stuffing is a technique used in data communications to insert non-information bits into a data stream to ensure synchronization and delimitation of frames. It is employed in certain synchronous protocols and some bus standards.
Mechanism: After a run of five consecutive bits of the same value (either five 1s or five
This method helps maintain clock recovery and prevents false frame boundaries, especially with fixed flag sequences
Common implementations: bit stuffing is used in HDLC and PPP frame formats, and in CAN bus communications,
Limitations and notes: bit stuffing adds overhead, since stuffed bits are not part of the user payload;