
COM (communication port)[1][2] is the name of the serial port interface on PC-compatible computers. It can refer to physical ports and to emulated ports, such as ports created by Bluetooth or USB adapters.
History
[edit]COM port came with the original IBM PC. IBM called the four well-defined communication RS-232 ports the "COM" ports, COM1 through COM4. In BASICA and PC DOS these ports can be opened as "COM1:" through "COM4:", and all PC compatibles using MS-DOS used the notation.[citation needed] Most PC-compatible computers in the 1980s and 1990s had one or two COM ports.
By 2007, most computers shipped with one or no physical COM ports. Today, few consumer-grade PC-compatible computers include COM ports,[3] though some include a COM header on the motherboard.[4]
After the RS-232 COM port was omitted from consumer-grade computers, adapters from remaining interfaces such as PCI Express and USB could be used to install a COM port. One supplier chips for external USB-to-UART serial adapter cables is FTDI.[citation needed]
I/O addresses
[edit]The COM ports are interfaced by an integrated circuit such as 16550 UART. This IC has seven internal 8-bit registers that hold information and configuration data about which data is to be sent or was received, the baud rate, interrupt configuration and more. In the case of COM1, these registers can be accessed by writing to or reading from the I/O addresses 0x3F8 to 0x3FF.
If the CPU, for example, wants to output information on COM1, it writes to I/O port 0x3F8, as this I/O port is "connected" to the UART IC register that holds the information.
| Designation | I/O port | IRQ |
|---|---|---|
| COM1 | 0x3F8-0x3FF | 4 |
| COM2 | 0x2F8-0x2FF | 3 |
| COM3 | 0x3E8-0x3EF | 4 |
| COM4 | 0x2E8-0x2EF | 3 |
Implementations
[edit]-
PCI-E card with one 9-pin COM port
-
PCI card with two 9-pin COM ports
-
ISA card with one 25-pin COM port
See also
[edit]References
[edit]- ^ "Configuring a communication port". IBM Lotus Domino and Notes Information Center. August 14, 2008. Archived from the original on 17 September 2013.
- ^ Stephen Byron Cooper. "What Is a Com1 Port?". Retrieved 2021-09-30.
- ^ "Serial port". Retrieved 2020-09-14.
- ^ "Motherboard Port Guide: Solving Your Connector Mystery". Retrieved 2020-09-14.
- ^ "22.2.3. Resources Required by Serial Ports - PC Hardware in a Nutshell, 3rd Edition [Book]". www.oreilly.com. Retrieved 2024-10-15.
Further reading
[edit]- Serial Port Complete: COM Ports, USB Virtual COM Ports, and Ports for Embedded Systems; 2nd Edition; Jan Axelson; Lakeview Research; 380 pages; 2007; ISBN 978-1-931-44806-2.
External links
[edit]- How to Interface Hardware in COM ports at the Wayback Machine (archived 2017-09-13)