基于CAN总线的某通信系统应用层协议的设计与实现  被引量:4

Design and Implementation of a Communication System CAN Protocol Application Layer

在线阅读下载全文

作  者:陈春艳[1] 曾超[1] 

机构地区:[1]中国工程物理研究院电子工程研究所,四川省绵阳市621900

出  处:《电子工程师》2006年第3期14-17,共4页Electronic Engineer

摘  要:以CAN2.0A为基础,通过安装在PC机上的内置SJA1000 CAN(控制器局域网)控制器的CAN总线通信接口卡实现CAN总线与PC机的通信,通过CAN总线通信接口卡函数实现自己制定的应用层协议。该协议根据某通信系统需要及CAN滤波方式,确定了信息ID(标识符)的分配,定义了报文传输格式。文中分析了单双滤波对本系统报文接收的影响,验证了本协议的可行性及合理性,最后给出本协议多帧数据传输的编程实现。Based on CAN2.0A, this paper realizes communication between CAN bus and a computer through a CAN bus communication card embedded SJA1000, which is installed on PC. With interface functions provided by the CAN bus communication card, this paper presents the implementation of CAN protocol of application layer. Considering the communication system need and CAN filter modes, the protocol defines information identifier and message transmission format. This paper also analyzes the influence of filter modes on the message acceptance and validates the protocol feasibility and rationality. At last, this paper shows the program implementation of multi-frame data transfer.

关 键 词:CAN总线 应用层协议 标识符 单滤波 双滤波 多帧 

分 类 号:TN915.04[电子电信—通信与信息系统]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象