嵌入式通信总线协议和通信电平
参考链接:https://blog.csdn.net/qq_21104377/article/details/107058919
https://zhuanlan.zhihu.com/p/682103640
1. 搞清楚同步和异步:
同步(synchronous):
异步(Asynchronous):
2. 通信电平分类:TTL电平:逻辑1:2.4v-5v,逻辑0:0v-0.5v
CMOS电平:
232电平:逻辑1的电平为:-15v到-5v,逻辑0的电平为:+5v到+15v
485电平:使用差分电平
3. 常用的通信总线协议:
UART(Universal Asynchronous Receiver/Transmitter,通用异步收发器):
IIC:
SPI(Serial Peripheral Interface,串行外设接口):https://www.cnblogs.com/deng-tao/p/6004280.html
RS232:
RS485:
注:RS232和RS485其实是电平种类,都是使用UART
CAN: