Asynchronous serial communication

Asynchronous serial communication

Asynchronous serial communication describes an asynchronous, serial transmission protocol in which a start signal is sent prior to each byte, character or code word and a stop signal is sent after each code word. The start signal serves to prepare the receiving mechanism for the reception and registration of a symbol and the stop signal serves to bring the receiving mechanism to rest in preparation for the reception of the next symbol. A common kind of start-stop transmission is ASCII over RS-232, for example for use in teletypewriter operation.

In the diagram, a start bit is sent, followed by eight data bits, no parity bit and one stop bit, for a 10-bit character frame. The number of data and formatting bits, and the transmission speed, must be pre-agreed by the communicating parties.

After the stop bit, the line "may" remain idle indefinitely, or another character may immediately be started.

The minimum stop bit length required by the system can be larger than a "bit". In fact, old electromechanical teletypewriters could demand 2 stop bits to allow mechanical impression without buffering, and RTTY amateur radio is known to historically require 1.5 stop bits. New hardware that doesn't support fractional stop bits can be configured to send 2 stop bits when transmitting and requiring 1 stop bit when receiving.

Origins with teletypewriters

The format is derived directly from the design of the teletypewriter, which was designed this way because the electromechanical technology of its day was not precise enough for synchronous operation: thus the systems needed to be re-synchronized at the start of each character. Having been re-synchronized, the technology of the day was good enough to preserve bit-sync for the remainder of the character. The stop bits gave the system time to recover before the next start bit. Early teleprinter systems used five data bits, typically with some variant of the Baudot code.

Very early experimental printing telegraph devices used only a start bit and required manual adjustment of the receiver mechanism speed to reliably decode characters. Automatic synchronization was required to keep the transmitting and receiving units "in step". This was finally achieved by Howard Krum, (an electrical engineer and son of Charles Krum) who patented the start-stop method of synchronization Patent|US|1199011, granted September 19, 1916 then Patent|US|1286351, granted December 3, 1918. Shortly afterward a practical teleprinter was patented Patent|US|1232045 July 3, 1917.

Asynchronous start/stop operation

Before signalling will work, the sender and receiver must agree on the signalling parameters:
* full or half-duplex operation
* the number of bits per character
* the speed or Baud of the line
* both sides must agree to use or not use parity
* if parity is used, both sides must agree on using odd or even parity
* the number of stop bits sent must be chosen (the number sent must be at least what the receiver needs)
* Mark and space symbols (current directions in early telegraphy, later voltage polarities in EIA RS-232 etc, frequency shift polarities in frequency shift keying, etc.

Asynchronous start-stop signalling was widely used for dial-up modem access to time-sharing computers and BBS systems. These systems used either seven or eight data bits.

Between computers, the most common configuration used was "8N1": eight bit characters, with one stop bit and no parity bit. Thus 10 Baud times are used to send a single character, which has the nice side-effect that dividing the signalling bit-rate by ten results in the overall transmission speed in characters per second.

Asynchronous start-stop is the physical layer used to connect computers to modems for many dial-up Internet access applications, using a data link framing protocol such as PPP to create packets made up out of asynchronous serial characters. The performance loss relative to synchronous access is negligible, as most modern modems will use a private synchronous protocol to send the data between themselves, and the asynchronous links at each end are operated faster than this data link, with flow control being used to throttle the data rate to prevent overrun.

See comparison of synchronous and asynchronous signalling for alternatives to asynchronous start/stop operation.

ee also

* Universal asynchronous receiver/transmitter
* Modem
* degree of start-stop distortion

References

* [http://www.rtty.com/history/nelson.htm Nelson, R. A. and Lovitt, K. M. "History of Teletypewriter Development" (October 1963), Teletype Corporation, retrieved April 14, 2005]
* [http://www.nadcomm.com/fiveunit/fiveunits.htm Hobbs, Allan G. (1999) "Five-unit codes", accessed 2007-12-20]


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Asynchronous serial interface — Asynchronous Serial Interface, or ASI, is streaming data format which often carries an MPEG Transport Stream (MPEG TS).It is electrically identical to an SDI signal and is always 270Mbit/s. There are two transmission formats commonly used by the… …   Wikipedia

  • Serial communication — In telecommunication and computer science, serial communication is the process of sending data one bit at one time, sequentially, over a communication channel or computer bus. This is in contrast to parallel communication, where several bits are… …   Wikipedia

  • Asynchronous communication — In telecommunications, Asynchronous communication is transmission of data without the use of an external clock signal. Any timing required to recover data from the communication symbols is encoded within the symbols. The most significant aspect… …   Wikipedia

  • Serial port — A male DE 9 connector used for a serial port on a IBM PC compatible computer. (Pinout) …   Wikipedia

  • Universal asynchronous receiver/transmitter — A universal asynchronous receiver/transmitter (usually abbreviated UART and pronEng|ˈjuːɑrt) is a type of asynchronous receiver/transmitter , a piece of computer hardware that translates data between parallel and serial forms. UARTs are commonly… …   Wikipedia

  • serial communications —    The transmission of information from computer to computer or from computer to peripheral device one bit at a time.    Serial communications can be synchronous and controlled by a clock, or they can be asynchronous and coordinated by start and… …   Dictionary of networking

  • Parallel communication — In telecommunication and computer science, parallel communication is a method of sending several data signals simultaneously over a communication link (comprising of several wired channels in parallel) at one time. It contrasts with serial… …   Wikipedia

  • Comparison of synchronous and asynchronous signalling — 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… …   Wikipedia

  • Asynchrony — Asynchrony, in the general meaning, is the state of not being synchronized. * Asynchronous learning * Collaborative editing systemsIn specific terms of digital logic and physical layer of communication, an asynchronous process does not require a… …   Wikipedia

  • High-Level Data Link Control — (HDLC) is a bit oriented synchronous data link layer protocol developed by the International Organization for Standardization (ISO). The original ISO standards for HDLC were: *ISO 3309 mdash; Frame Structure *ISO 4335 mdash; Elements of Procedure …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”