基于MCP2515 CAN控制器的多字节数据通信方法  被引量:2

A multibyte data communication method based on MCP2515 CAN controller

在线阅读下载全文

作  者:李周利[1] 刘鹏[1] 李雯[1] 

机构地区:[1]西安石油大学电子工程学院,陕西西安710065

出  处:《西安石油大学学报(自然科学版)》2014年第5期97-100,10,共4页Journal of Xi’an Shiyou University(Natural Science Edition)

基  金:国家自然科学基金资助项目(编号:61301135)

摘  要:提出了一种基于MCP2515 CAN控制器的多字节数据通信方法:应用扩展数据帧的仲裁域,提供了额外的2个字节数据,一个作为目的节点号,另一个作为命令字,数据域长度仍为可选的0~8B;利用MCP2515提供的对仲裁域按位屏蔽和滤波功能实现对目的节点号的滤波,减少了MCU的开销,提高了MCU的工作效率,同时解决了通过一个CAN节点管理多个子节点的问题。A multi-byte data communication method based on the MCP2515 CAN controller is proposed. In it,two additional bytes of data are provided by using the arbitration field of the extended data frame,one is used as destination node number,and another is used as command word. The data field length is still 0 ~ 8 bytes. The filtering of the destination node number is finished by the bit mask and filtering functions of MCP2515,which reduces the overhead of MCU and improves the efficiency of MCU,at the same time,which also realizes that one CAN node manages several subnodes.

关 键 词:数据通信 CAN总线 MCP2515 

分 类 号:TP342.3[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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