首页 | 本学科首页   官方微博 | 高级检索  
     检索      

CAN总线与LPT通信接口设计的与实现
引用本文:朱兆优,林刚勇,王海涛.CAN总线与LPT通信接口设计的与实现[J].华东地质学院学报,2006,29(2):185-188.
作者姓名:朱兆优  林刚勇  王海涛
作者单位:东华理工学院电子与机械工程学院 江西抚州344000
摘    要:现场总线是用于自动化系统最底层的现场设备或仪表互联的通信网络。CAN是现场总线中的一种,具有较高的性价比和较强的实时处理能力。微机LPT并行口具有增强工作方式(EPP),可以进行双向快速数据传输。用CAN控制器SJA1000设计实现计算机并口LPT与CAN总线通信,介绍了并行口EPP方式的信号定义,寄存器工作时序及利用EPP模式进行数据快速双向传输的方法。给出了通信接口电路的设计方法和CAN总线与并行口EPP模式的通信程序,并对通信程序进行了的调试与验证。

关 键 词:单片机  LPT并行口  CAN总线  通信
文章编号:1000-2251(2006)02-185-04
收稿时间:2004-05-18
修稿时间:2004年5月18日

Design and Implementation of the Communication Interface of CAN Bus and LPT
ZHU Zhao-you,LIN Gang-yong,WANG Hai-tao.Design and Implementation of the Communication Interface of CAN Bus and LPT[J].Journal of East China Geological Institute,2006,29(2):185-188.
Authors:ZHU Zhao-you  LIN Gang-yong  WANG Hai-tao
Institution:Faculty of Electronic and Mechanical Engineering, East China Institute of Technology, Fuzhou, JX 344000, China
Abstract:Field bus is a net work via which all field equipments and meters intercommunicate in a roboticized system.It is derived from the network of computer which is applied in the automatically controlled system.The CAN is a kind of field bus which has higher ratio of capability and price,and more effective capability of real time process.Extend parallel port of computer can fast data bi-directional transfer.This paper introduces the communication between CAN bus and LPT with SJA1000 CAN controller,The signals' resigister and work time sequence of EPP mode and data are introduced.The designing scheme of communication interface circuit and communication program are provided,and its result shows that above-mentioned measures are feasible.
Keywords:MCU  LPT paralleled port  CAN Bus  communication
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号