Synchronous serial communication

Synchronous serial communication describes a serial communication protocol in which "data is sent in a continuous stream at constant rate."

Synchronous communication requires that the clocks in the transmitting and receiving devices are synchronized – running at the same rate – so the receiver can sample the signal at the same time intervals used by the transmitter. No start or stop bits are required. For this reason "synchronous communication permits more information to be passed over a circuit per unit time" than asynchronous serial communication. Over time the transmitting and receiving clocks will tend to drift apart, requiring resynchronization.

Byte-oriented protocols
Early synchronous protocols were byte-oriented protocols, where synchronization was maintained by transmitting a sequence of synchronous idle characters when the line was not actively transmitting data or transparently within a long transmission block. A certain number of idles were sent prior to each transmission. The IBM Binary Synchronous protocol (Bisync) is still in use, Other examples of byte-oriented protocols are IBM's Synchronous transmit-receive (STR), and Digital Data Communications Message Protocol (DDCMP) from Digital Equipment Corporation. Other computer manufacturers often offered similar protocols, differing mainly in small details.

Bit-oriented protocols
Bit-oriented protocols are synchronous protocols that view the transmitted data as a stream of bits with no semantics, or meaning. Control codes are defined in terms of bit sequences instead of characters. Synchronization is maintained on an idle line by transmitting a predefined sequence of bits. Synchronous Data Link Control (SDLC) specifies that a station continue transmitting a sequence of '1' bits on an idle line. Data to be transmitted on an idle line is prefixed with a special bit sequence '01111110'b, called a flag. SDLC was the first bit-oriented protocol developed, and it was later adopted by the International Organization for Standardization (ISO) as High-Level Data Link Control (HDLC). Other examples of bit-oriented protocols are Logical Link Control (LLC)&mdash;IEEE 802.2, and ANSI Advanced Data Communication Control Procedures (ADCCP).