摘要
测试系统中控制台与测试设备之间的信息交互主要是测试命令的下发和测试数据的回读,对数据通信的可靠性和实时性要求较高;文章针对测试系统控制台稳定的命令下发和高速读数需求,基于PCI总线桥接芯片PCI9054的C模式,设计了命令从方式接口和数据DMA接口;接口的设计包括PCI9054内部寄存器的配置、驱动程序的编写以及应用程序接口的设计;最后介绍了接口的使用并进行测试,使用DMA接口读取批量数据,平均速度为58.15MB/s。
The main transfer between console and testing set in testing system is sending testing commands and receiving testing data, demands high standard reliability and real time ability of data tansfer. This paper focus on the demand Of sending and receiving data from the console in testing system, present interface of slave mode and DMA mode, base on the C mode of PCI bus briged chip PCI9054. The interface design include setting of registers in PCI9054, driver programming and soft interface designing. At last the article introduce the use of the interface and test it, the average rate of receiving data by DMA interface is 58.15 million bytes per second.
出处
《计算机测量与控制》
CSCD
北大核心
2012年第12期3201-3203,3206,共4页
Computer Measurement &Control
基金
国家自然科学基金重点项目(51075375)