检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:尹加豹[1] 朱涛 崔凯华 YIN Jiabao;ZHU Tao;CUI Kaihua(Jiangsu Automation Research Institute,Lianyungang,Jiangsu 222061,China)
出 处:《计算机工程》2020年第3期192-197,共6页Computer Engineering
基 金:“十三五”全军共用信息系统装备专用技术预先研究项目(31511020401)。
摘 要:为在VxWorks系统下实现龙芯3A3000主板的控制器局域网(CAN)总线通信,采用SJA1000T设计基于PCI总线的8通道CAN通信板,并提出相应的驱动设计和优化方案。对龙芯3A3000处理器的驱动进行优化,在发送数据时禁用CAN而使用查询方式发送,在接收数据时中断服务程序对所有通道进行遍历查询,以提高中断利用率,在创建设备函数时根据PCI总线信息识别每个CAN通信板,以确保系统中不同CAN通道拥有唯一的通道号。实验结果表明,该驱动方案运行稳定,数据传输安全可靠,经优化后能够有效降低CAN通信板的中断次数,提高CAN总线的通信速率,避免多板环境下故障板卡干扰正常板卡,提高了系统的健壮性。In order to realize the Controller Area Network(CAN)bus communication of Loongson 3A3000 motherboard under VxWorks,an eight-channel CAN communication board based on PCI bus is designed by using SJA1000T,and the corresponding driver design and optimization scheme are proposed.The design optimizes the driver of the Loongson 3A3000 processor by disabling CAN and using the query mode to send data,and traversing all channels in the interrupt service routine when receiving data,so as to improve the utilization of interrupts.When creating a device function,each CAN communication board is identified based on the PCI bus information to ensure that different CAN channels in the system have their unique channel numbers.Experimental results show that the driving scheme runs stably,and the data transmission is safe and reliable.After optimization,it can effectively reduce the number of interrupts of the CAN communication board,improve the communication speed of CAN bus,and prevent the normal board from the interference of failing boards in a multi-board environment,which improves the robustness of the system.
关 键 词:VXWORKS系统 控制器局域网总线 SJA1000T控制器 龙芯3A 驱动设计
分 类 号:TP336[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:13.59.0.231