摘要
在微型机与8051单片机构成的控制系统中,单片机与微型机之间的通信没有规范的接口,不能进行通信,要使双机具有通信功能,就需要开发者自行完成设计。为了实现微型机与单片机的通信功能,设计了微型机与单片机的硬件连接,制订了通信协议,利用单片机的串行口完成数据发送与接收,微型机通过输入输出指令,向适配器8250发送命令和数据信息,从而实现微型机与8051单片机之间相互通信的功能。
In the control system of microcomputer and 8051 single chip, lack of a formal communication interface between a microcomputer and single chip, so can't communicate. If one microcomputer communicate to a single chip,the developer must make the designs. In order to communication between microcomputer and single chip, establishes communication protocols, achieving TXD and RXD use of single chip's serial port, microcomputer sends data to 8250 adapter through I/O instruction, the communication between microcomputer and 8051 single chip is implemented.
出处
《北京印刷学院学报》
2006年第1期29-32,共4页
Journal of Beijing Institute of Graphic Communication
关键词
单片机
通信
波特率
奇偶校验
single chip
communication
baud rate
odd and even verify