首页 | 本学科首页   官方微博 | 高级检索  
     

Windows CE下基于SPI总线的双机通信技术
引用本文:李伟,陈明,李平. Windows CE下基于SPI总线的双机通信技术[J]. 测控技术, 2010, 29(3): 55-58
作者姓名:李伟  陈明  李平
作者单位:西北工业大学,自动化学院,陕西西安,710072;西安交通大学软件学院,陕西西安,710049
摘    要:智能分析仪器要求在Windows CE系统下能够通过SPI总线实现副板与主板、主板与主板之间的数据传输。首先介绍了SPI双机通信的机理,其次分析了Windows CE下的中断处理机制的流程,最后从内核态的中断服务程序、驱动层的中断服务线程、流接口函数、驱动加载等方面实现了Windows CE下SPI双机通信的驱动程序。实验表明,两个智能分析仪器的主板之间能够可靠、稳定地传输数据。

关 键 词:SPI总线  双机通信  Windows CE  逻辑中断

Communication Technology of Dual Machines Based on SPI Bus in Windows CE
LI Wei,CHEN Ming,LI Ping,LI Wei. Communication Technology of Dual Machines Based on SPI Bus in Windows CE[J]. Measurement & Control Technology, 2010, 29(3): 55-58
Authors:LI Wei  CHEN Ming  LI Ping  LI Wei
Affiliation:1.School of Automation;Northwestern Polytechnical University;Xi'an 710072;China;2.School of Software;Xi'an Jiaotong University;Xi'an 710049;China
Abstract:Intelligent analysis instrument requires the data could be transmitted between sub-board and main-board or among main-board based on SPI bus in Windows CE.SPI communication principle of dual machines is introduced firstly.Then,the interrupt handling mechanism in Windows CE is analyzed.At last,SPI driver of dual machines in Windows CE is implemented from the aspect of the kernel interrupt service routine,interrupt service thread,stream interface and driver load.Test results show that the data can be communic...
Keywords:SPI bus  communication of dual machines  Windows CE  system interrupt  
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《测控技术》浏览原始摘要信息
点击此处可从《测控技术》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号