作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (17): 275-277. doi: 10.3969/j.issn.1000-3428.2007.17.096

• 开发研究与设计技术 • 上一篇    下一篇

基于MPC8270的VxWorks下串口驱动程序开发

吴雨舟,路唯佳,张 平   

  1. (北京邮电大学无线新技术研究所,北京 100876)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-09-05 发布日期:2007-09-05

Development of Serial Ports Driver Based on MPC8270 in VxWorks

WU Yu-zhou, LU Wei-jia, ZHANG Ping

  

  1. (Wireless Technology Innovation Institute, Beijing Univercity of Posts and Telecommunications, Beijing 100876)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-09-05 Published:2007-09-05

摘要: MPC8270是目前网络和通信领域应用非常广泛的一款通信处理器,该文阐述了利用MPC8270的SMC(串行管理控制器)在UART传输协议下进行串口通信的实现方法。给出了串口驱动程序的结构以及在VxWorks的BSP(板级支持包)中如何对串口驱动程序进行加载的原理。该串口驱动经过长时间的应用和测试,在整个系统中运行稳定。

关键词: 串口驱动程序, UART, VxWorks, SMC

Abstract: The MPC8270 is a versatile communications processor that is widely used both in network and communication system. This paper expounds how to communicate between UART serial ports by using the SMC (serial management controller) of MPC8270. It also analyzes the structure of the serial port driver and how to load the serial port driver in the VxWorks BSP (board support package). This serial ports driver which has been applied and tested for a long time runs steadily in the whole system.

Key words: serial ports driver, UART, VxWorks, SMC

中图分类号: