摘要
PC机与单片机的通信不仅可用串行方式,也可用PC机并口实现并行通信。不需增加额外硬件就能实现数据的双向传输功能,且具有简单可靠、速度快、成本低的优点。详细介绍了PC机与单片机并行通信的电路设计,给出了合理、严谨的通信协议和访问方式流程图,此通信协议在实际应用中得到了验证,数据传输的稳定性和可靠性得到了保证,取得了预期的效果。
Serial communication is not the only way to be used between PC and single chip computer, in reality the parallel communication can also be adopted through the parallel port of PC. It is not necessary to use additional hardware to realize the function of the bi-directional data communication. It possesses the advantage of easy and reliable to run ,high speed and low cost. The circuit design of parallel communication in PC and single chip computer is particularly introduced. The reasonable and precise communication protocol and flowchart of access method are proposed. These have been proven in practical application with ideal effects of excellent stability and reliability of data transmission. The antici- pated effect is attained.
出处
《自动化仪表》
CAS
2006年第2期28-31,共4页
Process Automation Instrumentation
关键词
并行通信
单片机
通信协议
Parallel communication Single chip computer Communication protocol