多通道串行通信设备的Linux驱动程序实现  被引量:4

Implementation of drivers for multi-channel data communication devices in Linux operating system

在线阅读下载全文

作  者:邹荣士[1] 郭立红[1] 司玉美[1] 赵海波[1] 

机构地区:[1]中国科学院长春光学精密机械与物理研究所

出  处:《吉林大学学报(工学版)》2007年第1期164-167,共4页Journal of Jilin University:Engineering and Technology Edition

基  金:中国科学院二期创新项目(C04708Z)

摘  要:以自行开发的PCI接口通信卡为例,简要介绍了PCI总线在光电测量数据通信系统中的应用,重点讨论了Linux设备驱动程序开发方法及虚拟文件层机制等相关概念。针对该通信设备,介绍其在Linux下采用内核模块编程方式,实现中断和DMA方式数据传送的方法。实验测得此传输方案的本地速率可达24.096 Mb/s,传输和响应速度较传统读写方式有了显著提高,数据可稳定传输在460 kb/s,满足系统传输需求。The application of PCI bus in opto-electronics measurement device was introduced based on a self-developed PCI communication card. The approaches of developing device drives in Linux system and related concepts, such as Virtual File System (VFS) mechanism were discussed. For this communication card, the kernel module programming method in Linux, the interruption of implementation and the Direct Memory Access (DMA) were illustrated. Experimental results show that, with this scheme, the local rate can reach 24. 096 Mb/s. Comparing with conventional method the transmission and real-time response speed are significantly improved. Data can be steadily transmitted at 460 kb/s which meets the system requirement.

关 键 词:计算机应用 设备驱动 直接内存访问(DMA) PCI总线 内核 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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