Serial interface
The serial interface is a slang term for an interface for data transmission between two devices, in which individual bits are transmitted one after the other ( serial data transmission ). The term is used to distinguish it from a parallel interface in which several bits are transmitted simultaneously on several electrical circuits . Both terms are imprecise and are used for a large number of different interface definitions.
Compared to parallel interfaces, the serial interface requires fewer circuits and consequently less cabling, which is particularly important over longer distances. Parallel interfaces historically offered higher transmission speeds and were therefore preferred for applications in which large amounts of data had to be transmitted over short distances, where cable costs did not dominate. However, this argument is now obsolete; the technical development of serial interfaces has overtaken that of parallel interfaces.
In the closer environment of personal computers , the serial interface usually means an interface according to EIA - RS-232 , usually using a 9-pin D-Sub connector. It is traditionally used there to connect peripheral devices to the PC that get by with comparatively moderate transmission speeds, such as B. keyboards , mice , printers , dial-up devices, etc., but has now largely been replaced by the more universal USB interface. The USB interface also works serially, but is usually not meant colloquially when one speaks of "the serial interface". There are inexpensive adapters between USB and RS-232, so that most PC manufacturers have switched to doing without the RS-232 interface in the basic device.
Serial interfaces in the broader sense are very widespread and exist in very many forms and variants. In addition to point-to-point connections such as RS-232 and RS-422, this also includes network and bus interfaces such as B. Ethernet , CAN bus or RS-485 . Data rates, possible transmission distances and other properties differ e.g. Sometimes considerable, there is a suitable interface definition for almost every area of application. See the list below.
Serial interfaces differ not only in the connector used and the electrical transmission parameters, they also use different methods for transmission control, data flow control and synchronization (see also communication protocol ). You can work in one direction ("simplex") or in both directions ("duplex"), the latter either alternately ("half-duplex") or simultaneously ("full-duplex") (see also duplex (communications engineering) ).
development
RS-232 was originally developed in the 1960s as an interface for data transmission to terminals, which consisted of a tape reader and punch as well as an input device that was very similar to a teleprinter . Screen terminals did not exist until much later, but continued well into the 1980s, as computers generally had no screen output.
The serial RS-232 interface also served modems that converted messages to be transmitted on telephone lines. This interface for networking terminals (e.g. VT100 ) with host computers, especially those from DEC , achieved great popularity . The RS-232 interface was also used in CAD systems to connect graphic terminals (Tektronix) with fast mainframes.
Since in the 1980s only telephone lines were available for long-distance transmission of data (e.g. with BTX ), the transmission rate of which was limited to 1200 in the receiving direction and to 75 bits per second in the sending direction (upper limit frequency around 3500 Hz ), RS-232 was used tailored accordingly. The adjustable data rates were between 110 and 19200 bits per second. It was only when it was used as a terminal interface that the need for higher data rates grew. Today 19200 bits per second are usually specified. With this moderate transmission speed, the handshake lines can be dispensed with and the XON / XOFF protocol (see data flow control ) can be used, which minimizes the cabling effort between the data transmission device (DÜE) and data receiving device (DEE).
While the original interface definition provided for 25-pin plugs or sockets (because of the many handshake signals), the 9-pin interface was implemented in the 1990s (especially for PCs ). The cables that were necessary for synchronous data transmission were dispensed with, as this type of transmission was not supported by the frequently used UART of the type i82c50 (and its better-known derivatives NS16c550).
For the transmission of high data rates over short distances, however, the parallel interface ( Centronics , ECP , EPP ) prevailed before serial and parallel interfaces were largely replaced by USB .
Standards
There are several standards that specify the types of serial transmission. This includes:
- Original interface standards:
- EIA-232 (RS-232, V.10) - serial interface introduced in 1962
- EIA-422 (RS-422, V.11) - differential transmitter and receiver
- EIA-423 (RS-423, V.10) - asymmetrical interface similar to RS232
- EIA-485 (RS-485, V.11) - differential transceiver (also incorrectly called partyline)
- Partyline - differential transmitter and receiver, each with an additional ground line (6-wire)
- Low Voltage Differential Signaling (LVDS, EIA-644) - cf. RS-422
- TTY interface (current loop)
- Communication mainly on board level:
- I²C -Bus - For communication within a device, with one data and one clock signal, e.g. B. with phone cards
- I²S bus - for the exchange of audio data ( Inter-IC sound interface ) e.g. B. ADC → Signal Processor → DAC
- Serial Peripheral Interface (SPI) - For communication within a device, with data and clock signals e.g. B. Serial Flash Memory
- 1-Wire -Bus - For communication within a device or between several proprietary devices via a data line (e.g. MDE, PDA and battery)
- Communication within a device:
- Serial ATA (S-ATA) - for connection to the PC hard drive
- Serial Attached SCSI (SAS) - for connection to SAS hard drives
- M.2 connection for mini SSDs on motherboards
- PCI-Express - new PC standard, replaces the parallel data buses AGP and PCI
- Communication in the order of 1 to 10 meters:
- FireWire (i.LINK or IEEE 1394 ) - e.g. B. for hard drive, audio and video data
- Universal Serial Bus (USB)
- PS / 2 - Mini-Din connection (formerly DIN) for mouse and keyboard on PCs
- CBM bus - a bit-serial adapted bus based on the IEC-625 bus by Commodore Business Machines
- Digital Visual Interface (DVI) - transmission of video data
- High Definition Multimedia Interface (HDMI) - digital transmission of audio and video data
- RC5 code - infrared transmission standard for remote controls
- Infrared Data Association (IrDA) - standard for IR communication between laptops, cell phones, etc.
- Bluetooth - radio network standard for smaller distances for headset, cell phone, laptop
- Unilink - proprietary vehicle infotainment interface developed by Sony
- MIDI - for musical instruments
- Distance up to 100 meters:
- S / PDIF - for audio and musical instruments
- To Host - see also MIDI, MP3
- DMX - stage technology, lighting
- Sony / Philips Digital Interface (S / PDIF, TOSLINK) - for audio data in the consumer area
- AES / EBU (AES3) - for audio data in the studio, see also S / PDIF
- LIN bus (Local Interconnect Network) for networking sensors and actuators
- More robust bus systems:
- Controller Area Network (CAN bus) - control technology, vehicle technology
- Profibus - industrial bus for automation technology from Siemens
- Profinet - industrial bus based on Ethernet for automation technology from Siemens
- DIN measurement bus - field bus for automation technology
- Multi Point Interface (MPI) - for automation technology from Siemens
- Interbus -S - fieldbus for automation technology from Phoenix Contact
- BITBUS - fieldbus IEEE 1118
- Modbus - fieldbus between devices
- Partyline - fieldbus for terminals for production data acquisition from INCA
- Local Operating Network (LON) - also automation technology
- S0 bus - terminal device interface for ISDN (digital wide area network; telephony)
- Ethernet networks, internet
- Wireless LAN (WLAN) - local radio network IEEE 802.11
- FlexRay - vehicle technology
- AS-Interface - fieldbus for connecting actuators and sensors
- EtherCAT - fieldbus for automation technology ( initiated by Beckhoff )
- Data buses in the avionics sector :
- ARINC 429 (Aeronautical Radio Incorporated) - Classic data bus for commercial aircraft
- ARINC 629 : Data bus for civil aircraft (Boeing 777), further development of ARINC 429
- ARINC 664 : Ethernet protocol AFDX for aircraft
- ARINC 825 : CAN- based data bus for Airbus and Boeing
- AS6003: Time-Triggered Protocol implements fault-tolerant time-controlled communication
- AS6802: TTEthernet (Time-Triggered Ethernet) time-controlled communication based on Ethernet
literature
- Prof. Dr. Friedrich Wittgruber - Digital interfaces and bus systems, Verlag Otto Mildenberger, Springer-Viehweg-Teubner 2002, ISSN 978-3-663-01615-1, ISBN 978-3-528-17436-1
Web links
- Various serial interfaces ( Memento from July 27, 2003 in the Internet Archive )