摘要
简要介绍了CAN总线和控制器,针对单片机多机系统主从式通信的缺点,提出利用CAN控制器实现举片机多机系统对等式通信,并对其硬件组成原理、通信程序的设计做了具体分析。该设计采用了PHILIPS公司的82C200为总线芯片,以单片机、CAN控制器和收发器构成每个节点进行数据的收发,并在CAN总线上传输。而软件主要由初始化、发送和接收数据等模块构成。
This paper describes the CAN bus, and gives the hardware interface circuit of CAN controller. Compared with the defects of principal and subordinate communication between microcontrollers, it raises peerto-peer communication between microcontrollers by the CAN controller. We also analyzed the principle of hardware and design of communication programs. The design take 82C200 produced by PHILIPS corporation as the chip of system. It sends and receives data by the module which consists of microcotroller, CAN controller and transceiver. Its software is made up of three modules for initialization, transmission and reception.
出处
《机械科学与技术》
CSCD
北大核心
2003年第S2期84-86,共3页
Mechanical Science and Technology for Aerospace Engineering
关键词
CAN总线
对等式
单片机
通信
CAN bus
Peer-to-peer
Microcontroller
Communication