摘要
随着人们对总线各方面要求的不断提高,总线上的系统数量越来越多,随之产生诸如电路复杂性增加、可靠性下降、生产成本增加等问题。为解决上述问题文中提出了一种低成本的CAN总线通信接口的设计方案。在器件选型上采用了ATMEL的典型芯片AT89S52作为主控单片机,分别从硬件电路设计和软件初始化、发送、接收设计分析,给出了部分C语言设计代码,以CAN2.0B协议来执行,既实现了应有的网络控制功能,又降低了系统的开发、生产和服务成本,具有较高的实用性。
Nowadays, bus- mastering used are greatly increased because of the people's increasing demands for a higher quality.therefore it brings many problems, such as the raising complexity of the eleetroncircuit, the decreasing dependability and the increasing cost of the product. Solving the problems mentioned above, a new modern and tow cost CAN-bus communication interface is designed. The chips used in the design choose the typical chips of ATMEL: AT89S52. The hardware principle and the programming methods for initiation, transmitting and receiving modules are analyzed. And a part of software codes are introduced. The design not only can perform the control function, but also can reduce the cost of the development and production of the product and the services as well. It is a practical design.
出处
《计算机技术与发展》
2006年第12期190-192,共3页
Computer Technology and Development
基金
江苏省普通高校自然科学研究计划资助项目(05KJD510213)