Synchronous serial communication

Last updated

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

Contents

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" [2] than asynchronous serial communication. Over time the transmitting and receiving clocks will tend to drift apart, requiring resynchronization.

Synchronous RS-232 used additional pins on the DB-25 cable: the DCE (generally the modem or other peripheral) provided two clock signals to the DTE (generally the host computer or terminal), transmitter clock (pin 15, TCK) and receiver clock (pin 17, RCK). Some systems supported an alternative mode of operation in which the transmitter clock signal was provided by the DTE instead, called transmitter timing (pin 24, TT). [3] Note the smaller DE-9 connector commonly adopted in later systems does not have these additional signal lines, and hence cannot be used with synchronous RS-232.

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. [4] 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) IEEE 802.2, and ANSI Advanced Data Communication Control Procedures (ADCCP).

Related Research Articles

In telecommunications, asynchronous communication is transmission of data, generally without the use of an external clock signal, where data can be transmitted intermittently rather than in a steady stream. Any timing required to recover data from the communication symbols is encoded within the symbols.

<span class="mw-page-title-main">RS-232</span> Standard for serial communication

In telecommunications, RS-232 or Recommended Standard 232 is a standard originally introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a DTE such as a computer terminal or PC, and a DCE, such as a modem. The standard defines the electrical characteristics and timing of signals, the meaning of signals, and the physical size and pinout of connectors. The current version of the standard is TIA-232-F Interface Between Data Terminal Equipment and Data Circuit-Terminating Equipment Employing Serial Binary Data Interchange, issued in 1997.

<span class="mw-page-title-main">Non-return-to-zero</span> Telecommunications coding technique

In telecommunications, a non-return-to-zero (NRZ) line code is a binary code in which ones are represented by one significant condition, usually a positive voltage, while zeros are represented by some other significant condition, usually a negative voltage, with no other neutral or rest condition.

A bitstream, also known as binary sequence, is a sequence of bits. A bytestream is a sequence of bytes. Typically, each byte is an 8-bit quantity, and so the term octet stream is sometimes used interchangeably. An octet may be encoded as a sequence of 8 bits in multiple different ways so there is no unique and direct translation between bytestreams and bitstreams.

<span class="mw-page-title-main">Data terminal equipment</span> Communications system equipment

Data terminal equipment (DTE) is an end instrument that converts user information into signals or reconverts received signals. It is also called data processing terminal equipment or tail circuit. A DTE device communicates with the data circuit-terminating equipment (DCE), such as a modem. The DTE/DCE classification was introduced by IBM.

<span class="mw-page-title-main">Universal asynchronous receiver-transmitter</span> Computer hardware device

A universal asynchronous receiver-transmitter is a peripheral device for asynchronous serial communication in which the data format and transmission speeds are configurable. It sends data bits one by one, from the least significant to the most significant, framed by start and stop bits so that precise timing is handled by the communication channel. The electric signaling levels are handled by a driver circuit external to the UART. Common signal levels are RS-232, RS-485, and raw TTL for short debugging links. Early teletypewriters used current loops.

<span class="mw-page-title-main">Serial port</span> Communication interface transmitting information sequentially

A serial port is a serial communication interface through which information transfers in or out sequentially one bit at a time. This is in contrast to a parallel port, which communicates multiple bits simultaneously in parallel. Throughout most of the history of personal computers, data has been transferred through serial ports to devices such as modems, terminals, various peripherals, and directly between computers.

High-Level Data Link Control (HDLC) is a communication protocol used for transmitting data between devices in telecommunication and networking. Developed by the International Organization for Standardization (ISO), it is defined in the standard ISO/IEC 13239:2002.

<span class="mw-page-title-main">Serial communication</span> Type of data transfer

In telecommunication and data transmission, serial communication is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus. This is in contrast to parallel communication, where several bits are sent as a whole, on a link with several parallel channels.

Asynchronous serial communication is a form of serial communication in which the communicating endpoints' interfaces are not continuously synchronized by a common clock signal. Instead of a common synchronization signal, the data stream contains synchronization information in form of start and stop signals, before and after each unit of transmission, respectively. The start signal prepares the receiver for arrival of data and the stop signal resets its state to enable triggering of a new sequence.

Synchronous Data Link Control (SDLC) is a computer serial communications protocol first introduced by IBM as part of its Systems Network Architecture (SNA). SDLC is used as layer 2, the data link layer, in the SNA protocol stack. It supports multipoint links as well as error correction. It also runs under the assumption that an SNA header is present after the SDLC header. SDLC was mainly used by IBM mainframe and midrange systems; however, implementations exist on many platforms from many vendors. In the United States and Canada, SDLC can be found in traffic control cabinets. SDLC was released in 1975, based on work done for IBM in the early 1970s.

Throughput of a network can be measured using various tools available on different platforms. This page explains the theory behind what these tools set out to measure and the issues regarding these measurements.

Synchronous and asynchronous transmissions are two different methods of transmission synchronization. Synchronous transmissions are synchronized by an external clock, while asynchronous transmissions are synchronized by special signals along the transmission medium.

<span class="mw-page-title-main">Universal synchronous and asynchronous receiver-transmitter</span>

A universal synchronous and asynchronous receiver-transmitter is a type of a serial interface device that can be programmed to communicate asynchronously or synchronously. See universal asynchronous receiver-transmitter (UART) for a discussion of the asynchronous capabilities of these devices.

<span class="mw-page-title-main">8250 UART</span>

The 8250 UART is an integrated circuit designed for implementing the interface for serial communications. The part was originally manufactured by the National Semiconductor Corporation. It was commonly used in PCs and related equipment such as printers or modems. The 8250 included an on-chip programmable bit rate generator, allowing use for both common and special-purpose bit rates which could be accurately derived from an arbitrary crystal oscillator reference frequency.

Binary Synchronous Communication is an IBM character-oriented, half-duplex link protocol, announced in 1967 after the introduction of System/360. It replaced the synchronous transmit-receive (STR) protocol used with second generation computers. The intent was that common link management rules could be used with three different character encodings for messages.

<span class="mw-page-title-main">IBM 3767</span>

IBM 3767 Communication Terminal is a serial printer terminal that employed dot matrix print-head technology and, for the first time, the Synchronous Data Link Control (SDLC) communications protocol set under IBM's Systems Network Architecture (SNA). It was introduced in 1974 and was used widely during the late 1970s to 1990s, for attachment to IBM System/360 and System/370 mainframe computers and IBM System/7 as an alternative to a 2741 typewriter terminal.

<span class="mw-page-title-main">Zilog SCC</span> Family of serial port driver integrated circuits made by Zilog

The SCC, short for Serial Communication Controller, is a family of serial port driver integrated circuits made by Zilog. The primary members of the family are the Z8030/Z8530, and the Z85233.

In data networking, telecommunications, and computer buses, an acknowledgement (ACK) is a signal that is passed between communicating processes, computers, or devices to signify acknowledgment, or receipt of message, as part of a communications protocol. Correspondingly a negative-acknowledgement is a signal that is sent to reject a previously received message or to indicate some kind of error. Acknowledgments and negative acknowledgments inform a sender of the receiver's state so that it can adjust its own state accordingly.

Synchronous transmit-receive (STR) was an early IBM character-oriented communications protocol which preceded Bisync. STR was point-to-point only, and employed a four-of-eight transmission code, communicating at up to 5100 characters per second over half-duplex or full-duplex communication lines.

References

  1. Cowley, John (2007). Communications and Networking: An Introduction. Springer. ISBN   9781846286452.
  2. IBM Corporation. Data Communications Primer (PDF).
  3. Kasperek, Gabriel (September 1983). "Modems: simple techniques for isolating common faults". Data Communications. McGraw-Hill: 107.
  4. IBM Corporation (1979). IBM Synchronous Data Link Control General Information (PDF).

See also