银河麒麟系统下基于缓存队列的CAN驱动设计与实现  被引量:1

Design and implementation of CAN driver based on cache queue in KylinOS

在线阅读下载全文

作  者:刘丽霞 刘志鹏 张力 李之乾 LIU Li-xia;LIU Zhi-peng;ZHANG Li;LI Zhi-qian(Institute 706,Second Academy of China Aerospace Science and Industry Corporation,Beijing 100854,China;The First Department,PLA Unit 32379,Beijing 100072,China)

机构地区:[1]中国航天科工集团第二研究院七〇六所,北京100854 [2]32379部队第一科室,北京100072

出  处:《计算机工程与设计》2024年第10期3170-3176,共7页Computer Engineering and Design

摘  要:为使基于FPGA的CAN功能在国产操作系统上得以应用,提出一种在银河麒麟操作系统下基于缓存队列的CAN驱动设计与实现方法。在目前主流的银河麒麟V10操作系统下,利用Linux下PCIe设备驱动架构,设计并实现基于FPGA的国产CAN驱,实现CAN发送、接收通信功能。使用缓存队列解决CAN使用的SJA1000协议中硬件接收缓存有限可能造成的丢包问题。对比测试结果表明,提出的CAN驱动满足通信应用,性能稳定,无丢包发生。实现成果可以转化为第三方库丰富操作系统内核驱动库。To apply the CAN function based on FPGA to the domestic operating system,the design and implementation of CAN driver based on cache queue in KylinOS was proposed.Under the current mainstream Kylin V10 operating system,using PCIe device driver architecture under Linux,the domestic CAN driver based on FPGA was designed and implemented.CAN was used to send and receive communication function.A method of using cache queue was presented to solve the possible packet loss problem caused by limited hardware receiving cache in SJA1000 protocol used by CAN.The comparison test shows that the proposed CAN driver meets the requirements of communication applications,and has stable performance and no packet loss.Implementation results can be translated into third-party libraries rich operating system kernel driver libraries.

关 键 词:区域网络控制 驱动 现场可编程门阵列 周边设备高速连接标准 接收缓存 操作系统 通信 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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