RS-232 - Conventions

Conventions

For functional communication through a serial port interface, conventions of bit rate, character framing, communications protocol, character encoding, data compression, and error detection, not defined in RS 232, must be agreed to by both sending and receiving equipment. For example, consider the serial ports of the original IBM PC. This implementation used an 8250 UART using asynchronous start-stop character formatting with 7 or 8 data bits per frame, usually ASCII character coding, and data rates programmable between 75 bits per second and 115,200 bits per second. Data rates above 20,000 bits per second are out of the scope of the standard, although higher data rates are sometimes used by commercially manufactured equipment. Since most RS-232 devices do not have automatic baud rate detection, users must manually set the baud rate (and all other parameters) at both ends of the RS-232 connection.

In the particular case of the IBM PC, as with most UART chips including the 8250 UART used by the IBM PC, baud rates were programmable with arbitrary values. This allowed a PC to be connected to devices not using the rates typically used with modems. Not all baud rates can be programmed, due to the clock frequency of the 8250 UART in the PC, and the granularity of the baud rate setting. This includes the baud rate of MIDI, 31,250 bits per second, which is generally not achievable by a standard IBM PC serial port. MIDI-to-RS-232 interfaces designed for the IBM PC include baud rate translation hardware to adjust the baud rate of the MIDI data to something that the IBM PC can support, for example 19,200 or 38,400 bits per second.

Read more about this topic:  RS-232

Famous quotes containing the word conventions:

    Art, it seems to me, should simplify. That, indeed, is very nearly the whole of the higher artistic process; finding what conventions of form and what detail one can do without and yet preserve the spirit of the whole—so that all that one has suppressed and cut away is there to the reader’s consciousness as much as if it were in type on the page.
    Willa Cather (1873–1947)

    It is not human nature we should accuse but the despicable conventions that pervert it.
    Denis Diderot (1713–1784)

    Languages exist by arbitrary institutions and conventions among peoples; words, as the dialecticians tell us, do not signify naturally, but at our pleasure.
    François Rabelais (1494–1553)