android rs232串口协议,RS232串口协议详解

本文详细解析了UART与RS232的区别,指出UART是一种通用串行接口,可配置支持多种协议,而RS232是电气接口规范。UART负责将并行数据转换为串行数据进行传输,不依赖特殊时钟信号,使用起始/停止位同步。UART通常连接到波特率发生器,并包含接收和发送缓冲区。RS232则定义了电气特性,如电压标准。
摘要由CSDN通过智能技术生成

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值