论文部分内容阅读
MCS—51系列单片机有一个全双工的串行通讯口,可以同时发送、接收数据,通讯效率较高,目前绝大多数多机系统都采用两根电缆的全双工连接方式。通过对多机系统通讯过程的分析发现,许多全双工连接方式的多机系统实际工作于半双工方式,还有一些全双工方式工作的多机系统的通讯任务也完全可由半双工方式完成。因而,为简化系统,提高通讯可靠性,本文介绍了一种采用单电缆的半双工连接方式的多机系统。该系统的通讯方式适台于多机系统规模较小,各单片机间信息交换量不大的场合。
MCS-51 series microcontrollers have a full-duplex serial communication port, which can send and receive data at the same time with high communication efficiency. At present, most multi-machine systems use full-duplex connection with two cables. Through the analysis of the communication process of the multi-machine system, it is found that many multi-machine systems with full-duplex connection actually work in the half-duplex mode. In addition, the communication tasks of the multi-machine system working in full duplex mode are also completely controlled by half-duplex Way to finish Therefore, in order to simplify the system and improve the communication reliability, this paper introduces a multi-machine system with single-cable half-duplex connection. The communication system of the system is suitable for multi-machine system smaller, the exchange of information between the single chip is not the occasion.