检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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.
分 类 号:TP342.3[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.43