Serial Ports: Difference between revisions

Rewrote the introductory paragraph to give a wider and more informative overview of serial ports and their uses
[unchecked revision][unchecked revision]
(Add information on the Line Status Register)
(Rewrote the introductory paragraph to give a wider and more informative overview of serial ports and their uses)
Line 1:
Serial ports are a legacy communications port whichcommon hason IBM-PC compatible computers. Use of serial ports for connecting prettyperipherals muchhas largely been succeededdeprecated byin favor of [[USB]] and other modern communicationsperipheral technology. Howeverinterfaces, it is much easier to program than USB, andhowever it is still foundcommonly used in acertain lotindustries offor computersinterfacing (especiallywith olderindustrial oneshardware such as theCNC onesmachines theor financiallycommercial limiteddevices amateursuch OSas writerPOS mightterminals. useHistorically forit [[Testing|testing]]).was Also,common afor lotmany of phonedial-up modems connectto viabe theconnected serialvia interface.a Furthermore, it is possible to use thecomputer's serial ports for debuggingport, sinceand athe lotdesign of emulators allow the redirectionunderlying of[[UART]] theirhardware outputitself into areflects filethis.
 
Serial ports are typically controlled by [[UART]] hardware. This is the hardware chip responsible for encoding and decoding the data sent over the serial interface. Modern serial ports typically implement the [[wikipedia:RS-232|RS-232]] standard, and can use a variety of different connector interfaces. The DE-9 interface is the one most commonly used connector for serial ports in modern systems.
 
Serial ports are of particular interest to operating-system developers since they are much easier to implement drivers for than USB, and are still commonly found in many x86 systems. It is common for operating-system developers to use a system's serial ports for debugging purposes, since they do not require sophisticated hardware setups and are useful for transmitting information in the early stages of an operating-system's initialization. Many emulators such as [[QEMU]] and [[Bochs]] allow the redirection of serial output to either stdio or a file on the host computer.
 
== Wires, Pins, Connectors and the like ==
Anonymous user