常用串口数据异步通信协议的深度探究  被引量:3

In-depth Exploration of Common Serial Data Asynchronous Communication Protocols

在线阅读下载全文

作  者:石建民[1] Shi Jianmin(Xi’an Jiaotong University,Xi’an 710049,China)

机构地区:[1]西安交通大学,西安710049

出  处:《单片机与嵌入式系统应用》2022年第7期26-29,共4页Microcontrollers & Embedded Systems

摘  要:最常用的两种串口异步通信协议就是8位数据模式与9位数据模式,本文对这两种通信协议做了详细分析,对不同协议之间能否正常通信也进行了分析,尤其是9位模式发送数据、8位模式接收数据的可行性,对于这种方式从协议上进行了分析,并进行了实验验证。在实际应用中出现通信错误时,从通信波形进行通信协议分析,用接收数据中转的方法来查找与确认是否为通信协议设置的问题。The two most commonly used serial asynchronous communication protocols are 8bit data mode and 9bit data mode.This paper makes a detailed analysis of these two communication protocols.It also analyzes whether the different protocols can communicate normally,especially the feasibility of sending data in 9bit mode and receiving data in 8bit mode.This method has been analyzed from the protocol and verified by experiments.This paper also gives the method of how to analyze the communication protocol from the source of the communication waveform when communication errors occur in practical applications,and how to find and confirm whether it is the problem of the communication protocol setting by using the method of receiving data transfer.

关 键 词:串口通信 串口通信协议 MCU GPS校时 

分 类 号:TP399[自动化与计算机技术—计算机应用技术] TN915[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象