检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]苏州职业大学电子信息工程系,江苏省苏州市215104
出 处:《电子工程师》2006年第9期52-55,共4页Electronic Engineer
摘 要:介绍了PC机与单片机采用RS-232C进行串行通信的接口方法。对于硬件接口电路中常用的一些方法进行了简要的比较,并介绍了电平转换芯片MAX232及其应用方法。在通信程序的设计中,数据传输的校验方法采用反馈-确认法,即每传送一个数据就反馈一次,由发送方确认,相当于每次都有握手信号,大大提高了数据传输的可靠性。给出了完整的PC机与单片机点对点双机通信程序。This paper introduces an interfacing method of IBM-PC serially communicating with single-chip microcomputer with RS-232C. It gives comparison among some methodes which are often adopted in the interfacing circuit, and introduces a chip MAX232 of level translation and its application method in detail. In the design of communication program, "feedback-confirm" is used as a check method in data transmission, namely data are always fed back and confirmed by sending-side whenever it is transmitted, which is equivalent to signal shaking hand every time. Therefore, the reliability of data transmission is greatly improved. The paper presents the whole program of IBM-PC communicating with single-chip microcomputer from point to point.
分 类 号:TP334.7[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.31