检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《光电技术应用》2009年第2期47-50,61,共5页Electro-Optic Technology Application
摘 要:介绍了在VxWorks实时操作系统下对多串口卡的通信设计.说明了多串口卡的硬件设置,阐述在应用层对SEM/MSP-8串口板进行初始化,设置基地址,连接中断等设计要点.成功实现了多个串口工作模式(RS232/RS422)的数据发送功能,中断接收功能.为了实现一对多通信,RS485传输模式采用了广播.提出了一种对单个字符设备传输协议的数据帧分析方法,改善了通信的可靠性.指出了VxWorks下使用看门狗定时及其原因.How to use Multi-SeriaIPorts to communicate in the VxWorks real-time operating systems is in- troduced. The hardware' s setting options are described. The design points such as initialization of SEM/MSP-8 at the application-layer, the setting of the base address and the connecting interrupt are emphasized. Data send- ing function and interrupt receiving function are implemented successfully in the multi-serial ports working modes including RS232/RS422. In order to get one-to-several communication, the broadcast in the RS485 mode is adapted to different address. For the purpose of improving stability of transferring, a method of analyzing sin- gle data frame of transferring protocol in the single character equipment is put forward. At last, it points out how and why to use watchdog at VxWorks for timing.
关 键 词:VXWORKS 多串口 RS232/422/485 中断 看门狗
分 类 号:TP316.7[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.3