2.2. RS232和UART之间的对比
其实RS232和UART不是一个东西,是有区别的。下面就来解释RS232和UART的关系。
只不过在多数情况下,都把UART和RS232混在一起说,此时都是指的是串口的意思
UART==Universal Asynchronous Receiver Transmitter
UART,通用,指的是:其可以配置而支持多种不同协议
即,UART的输出是很多bit,这些bit最终可以组成RS232、RS422、RS485等其他协议。
The UART (universal asynchronous receiver transmitter) is the heart of the serial hardware. It is a chip or part of a chip with the purpose to convert between parallel data and serial data. RS-232 UARTs also typically add the necessary start/stop and parity bits when transmitting, and decode this information when receiving.
A UART typically operates entirely on computer logic voltage. Its serial data input/output voltage is the computer logic voltage, not the serial line voltage. They leave the actual line interface to a particular line driver / receiver. This line driver / receiver does not nec