# 16550 UART

16550 UART是一种通用异步收发器（UART）集成电路，最初由美国国家半导体（National Semiconductor）制造，用于将来自CPU的并行数据转换为串行形式并转换回来；它与前代产品8250和16450的区别在于集成了16字节发送和接收FIFO缓冲器。<sup>[1](https://legacy.redhat.com/pub/redhat/linux/7.2/en/doc/HOWTOS/other-formats/html/Serial-HOWTO-html/Serial-HOWTO-15.html)</sup><sup> • </sup><sup>[2](https://docs-archive.freebsd.org/doc/13.0-RELEASE/usr/local/share/doc/freebsd/en_US.ISO8859-1/articles/serial-uart/index.html)</sup> 修正后的版本NS16550A及其后续型号成为PC行业最流行的UART设计，主要原因是它们能够在中断响应迟缓的操作系统上可靠处理更高的数据速率。<sup>[2](https://docs-archive.freebsd.org/doc/13.0-RELEASE/usr/local/share/doc/freebsd/en_US.ISO8859-1/articles/serial-uart/index.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 系列谱系 | 8250 → 16450 → 16550（FIFO有缺陷）→ 16550A（FIFO已修正）→ PC16550D，D修订版及美国国家半导体最新设计<sup>[2](https://docs-archive.freebsd.org/doc/13.0-RELEASE/usr/local/share/doc/freebsd/en_US.ISO8859-1/articles/serial-uart/index.html)</sup> |
| 缓冲器 | 16字节发送和接收FIFO，接收FIFO中每字节有3位错误状态；8250和16450只有1字节缓冲器<sup>[3](https://media.digikey.com/pdf/Data%20Sheets/Texas%20Instruments%20PDFs/PC16550D.pdf)</sup><sup> • </sup><sup>[1](https://legacy.redhat.com/pub/redhat/linux/7.2/en/doc/HOWTOS/other-formats/html/Serial-HOWTO-html/Serial-HOWTO-15.html)</sup> |
| 波特率发生器 | 将任何从直流到24 MHz的输入时钟除以2到2<sup>16</sup>−1之间的任何除数；输出频率为波特率的16倍，因此除数 = 输入频率 ÷（波特率 × 16）<sup>[3](https://media.digikey.com/pdf/Data%20Sheets/Texas%20Instruments%20PDFs/PC16550D.pdf)</sup> |
| 速度范围 | 可配置支持从直流到1.5兆波特的波特率<sup>[3](https://media.digikey.com/pdf/Data%20Sheets/Texas%20Instruments%20PDFs/PC16550D.pdf)</sup> |
| FIFO触发阈值 | 接收FIFO中断触发由FCR第6–7位设为1、4、8或14字节<sup>[3](https://media.digikey.com/pdf/Data%20Sheets/Texas%20Instruments%20PDFs/PC16550D.pdf)</sup> |
| 中断优先级 | 四级：接收器线路状态（最高）、接收数据可用或字符超时、发送器保持寄存器空、调制解调器状态（最低）<sup>[3](https://media.digikey.com/pdf/Data%20Sheets/Texas%20Instruments%20PDFs/PC16550D.pdf)</sup> |
| 兼容性 | 复位后，所有寄存器与16450寄存器组相同；该芯片可运行所有现有16450软件<sup>[3](https://media.digikey.com/pdf/Data%20Sheets/Texas%20Instruments%20PDFs/PC16550D.pdf)</sup> |

## 为什么FIFO很重要

在无缓冲的8250和16450中，CPU每发送或接收一个字节就会收到一次中断，因为这些芯片只保存一个字节。如果CPU在下一个字符到达之前没有取走数据，就会发生溢出并丢失数据。<sup>[1](https://legacy.redhat.com/pub/redhat/linux/7.2/en/doc/HOWTOS/other-formats/html/Serial-HOWTO-html/Serial-HOWTO-15.html)</sup> 16550的16字节FIFO让处理器每次中断处理多个字符，这正是可靠的高速串行通信在中断处理缓慢的系统上变得可行的原因。<sup>[2](https://docs-archive.freebsd.org/doc/13.0-RELEASE/usr/local/share/doc/freebsd/en_US.ISO8859-1/articles/serial-uart/index.html)</sup>

**A修订版。** 第一代NS16550的缓冲器设计有缺陷，无法可靠使用；NS16550A修正了该问题。PC16550D是该系列的D修订版，是修正了细微缺陷的相同设计，也是美国国家半导体提供的最新设计。美国国家半导体后来重组了产品编号，因此较旧的NS16550AFN改为PC16550DN或PC16550DIN，功能相同。<sup>[2](https://docs-archive.freebsd.org/doc/13.0-RELEASE/usr/local/share/doc/freebsd/en_US.ISO8859-1/articles/serial-uart/index.html)</sup>

## 操作与寄存器

该芯片对来自调制解调器或外围设备的数据执行串行到并行转换，对来自CPU的数据执行并行到串行转换，并报告包括奇偶校验、溢出、帧错误和断线状态在内的状态。<sup>[3](https://media.digikey.com/pdf/Data%20Sheets/Texas%20Instruments%20PDFs/PC16550D.pdf)</sup> 它支持5、6、7或8位字符，1、1.5或2个停止位，以及奇校验、偶校验或无校验。<sup>[3](https://media.digikey.com/pdf/Data%20Sheets/Texas%20Instruments%20PDFs/PC16550D.pdf)</sup>

UART占用八个连续I/O端口地址。在国际商业机器公司（IBM）的PC中，COM1位于0x3f8到0x3ff，通常使用IRQ 4；COM2位于0x2f8到0x2ff，使用IRQ 3；兼容机制造商添加了COM3（0x3e8–0x3ef）和COM4（0x2e8–0x2ef），它们没有标准化的IRQ。<sup>[2](https://docs-archive.freebsd.org/doc/13.0-RELEASE/usr/local/share/doc/freebsd/en_US.ISO8859-1/articles/serial-uart/index.html)</sup> 同一地址被不同寄存器复用：当线路控制寄存器中的除数锁存访问位（DLAB）清零时，偏移0读接收缓冲寄存器并写发送保持寄存器；当DLAB置位时，偏移0和1保存波特率除数的两个字节。<sup>[2](https://docs-archive.freebsd.org/doc/13.0-RELEASE/usr/local/share/doc/freebsd/en_US.ISO8859-1/articles/serial-uart/index.html)</sup>

**FIFO控制。** FIFO控制寄存器（FCR）是一个只写寄存器，与只读的中断标识寄存器共享地址，用于启用和清除FIFO、设置接收FIFO触发阈值，并选择DMA信令类型。向FCR0写1会启用两个FIFO，并且在写其他FCR位时必须置位该位，否则这些位不会被编程。<sup>[3](https://media.digikey.com/pdf/Data%20Sheets/Texas%20Instruments%20PDFs/PC16550D.pdf)</sup> 在FIFO中断模式下，接收数据可用中断在FIFO达到其编程触发阈值时触发，并在FIFO降到该阈值以下时清除；当FIFO中至少有一个字符，并且在连续超过4个字符时间内没有字符被移出或输入时，会发生字符超时中断。<sup>[3](https://media.digikey.com/pdf/Data%20Sheets/Texas%20Instruments%20PDFs/PC16550D.pdf)</sup>

## PC中的历史

原始IBM PC和XT使用8250 UART，16450随后针对更快的CPU总线设计带来改进；IBM在IBM AT中使用了16450。<sup>[2](https://docs-archive.freebsd.org/doc/13.0-RELEASE/usr/local/share/doc/freebsd/en_US.ISO8859-1/articles/serial-uart/index.html)</sup> IBM PS/2是首个配备16550 UART串口的IBM系统，实现了更快的串行通信。<sup>[4](https://www.ibm.com/history/ps-2)</sup> 多年来，8250、8250A、16450和16550已由其他芯片供应商经授权生产或仿制，包括[西部数据](https://www.edgepedia.org/zh/western-digital)（Western Digital）和英特尔（Intel），而标有“16550A”的克隆件在性能上存在差异，有些还存在明显缺陷。<sup>[2](https://docs-archive.freebsd.org/doc/13.0-RELEASE/usr/local/share/doc/freebsd/en_US.ISO8859-1/articles/serial-uart/index.html)</sup>

## 现代衍生型号

16550寄存器组仍是事实上的接口标准。[德州仪器](https://www.edgepedia.org/zh/texas-instruments)（Texas Instruments）销售TL16C550D，这是一种“异步通信元件”，可运行所有现有TL16C450软件，复位后寄存器与TL16C450相同，并增加了可编程的自动RTS和自动CTS硬件流控制，其中接收FIFO内容和阈值控制RTS。<sup>[5](https://www.ti.com/product/TL16C550D)</sup> 其波特率发生器支持24 MHz输入时钟下的1.5兆波特串行速率，TL16C450的两个引脚功能被改作TXRDY和RXRDY，向DMA控制器发信号。<sup>[6](https://www.ti.com/lit/gpn/TL16C550D)</sup>

FPGA和ASIC供应商提供16550兼容内核：超威半导体（AMD）的AXI UART 16550实现PC16550D的硬件和软件功能，可在16450和16550两种模式下工作，具有16位可编程波特率发生器以及软件可启用或禁用的独立16字符发送和接收FIFO。<sup>[7](https://docs.amd.com/r/en-US/pg143-axi-uart16550/Core-Overview)</sup> 微芯科技（Microchip）的Core16550提供与16550器件的软件兼容性，<sup>[8](https://ww1.microchip.com/downloads/aemdocuments/documents/fpga/ProductDocuments/SupportingCollateral/core16550_hb.pdf)</sup> 开源uart16550内核则设计为最大程度兼容NS16550A，尽管它仅支持FIFO操作。<sup>[9](https://uart16550.readthedocs.io/en/latest/uart16550doc.html)</sup>

该接口也保留在x86系统中。英特尔的PCH UART主机控制器仅以32位寻址模式运行，不兼容传统16550调试端口驱动程序，因此该控制器实现16550传统驱动模式，将传统驱动程序的8位寻址访问转换为其支持的32位寻址；此模式仅适用于PIO事务，不支持DMA。<sup>[10](https://edc.intel.com/content/www/us/en/design/products/platforms/processor-and-core-i3-n-series-datasheet-volume-1-of-2/001/16550-8-bit-addressing-debug-driver-compatibility/)</sup>

## References

1. [Serial HOWTO: What Are UARTs? How Do They Affect Performance?](https://legacy.redhat.com/pub/redhat/linux/7.2/en/doc/HOWTOS/other-formats/html/Serial-HOWTO-html/Serial-HOWTO-15.html)
2. [Serial and UART Tutorial, FreeBSD Documentation](https://docs-archive.freebsd.org/doc/13.0-RELEASE/usr/local/share/doc/freebsd/en_US.ISO8859-1/articles/serial-uart/index.html)
3. [PC16550D Universal Asynchronous Receiver-Transmitter with FIFOs datasheet (Rev. C), Texas Instruments](https://media.digikey.com/pdf/Data%20Sheets/Texas%20Instruments%20PDFs/PC16550D.pdf)
4. [The PS/2, IBM History](https://www.ibm.com/history/ps-2)
5. [TL16C550D product page, Texas Instruments](https://www.ti.com/product/TL16C550D)
6. [TL16C550D, TL16C550DI datasheet (Rev. E), Texas Instruments](https://www.ti.com/lit/gpn/TL16C550D)
7. [AXI UART 16550 LogiCORE IP Product Guide (PG143), AMD](https://docs.amd.com/r/en-US/pg143-axi-uart16550/Core-Overview)
8. [Core16550 v3.3 Handbook, Microchip](https://ww1.microchip.com/downloads/aemdocuments/documents/fpga/ProductDocuments/SupportingCollateral/core16550_hb.pdf)
9. [UART16550 Core Technical Manual](https://uart16550.readthedocs.io/en/latest/uart16550doc.html)
10. [16550 8-bit Addressing – Debug Driver Compatibility, Intel Processor and Intel Core i3 N-Series Datasheet](https://edc.intel.com/content/www/us/en/design/products/platforms/processor-and-core-i3-n-series-datasheet-volume-1-of-2/001/16550-8-bit-addressing-debug-driver-compatibility/)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 计算机硬件 › Boards, peripherals & form factors › Peripherals & expansion hardware › Peripheral controller chips

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/16550-uart

English original: https://www.edgepedia.org/16550-uart
