计算机应用 ›› 2010, Vol. 30 ›› Issue (3): 850-853.

• 典型应用 • 上一篇    下一篇

Linux2.6内核下同步串行通信驱动的开发与应用

仇洁婷1,陈儒军2,何展翔2,邱开林2   

  1. 1. 中国石油集团东方地球物理勘探有限责任公司
    2.
  • 收稿日期:2009-09-21 修回日期:2009-11-13 发布日期:2010-03-14 出版日期:2010-03-01
  • 通讯作者: 仇洁婷

Development and application of serial synchronous communication driver in Linux2.6

  • Received:2009-09-21 Revised:2009-11-13 Online:2010-03-14 Published:2010-03-01

摘要: 随着ARM/DSP双核处理器在地球物理勘探仪器中的推广应用,双核间的通信成为实现这种双核处理器系统的关键技术。针对Linux2.6版本内核,详细介绍了基于AT91TM9200的SSC同步串行通信设备驱动的模块化、分层次的设计架构,并在驱动中使用DMA传输模式、分段缓存技术和修改PDA控制器优先级。在此基础上给出了AT91RM9200/DSP56309双核的接口电路设计。试验表明,在AT91RM9200 /DSP56309双核中利用同步串行同步通信的设计,能够使系统高效、稳定、快速地进行数据传输,从而使双核处理器能够很好地协同工作。

关键词: 同步串行通信, AT91RM9200, DSP56309, Linux 2.6

Abstract: The communication between ARM and Digital Signal Processor (DSP) is a key factor in ARM/DSP dual core design widely used in geophysics exploration instrumentation. In this paper serial synchronous communication between AT91RM9200/DSP56309 dual core processors was realized and the modularized and hierarchical design of the SSC driver based on AT91TM9200 in Linux 2.6 was introduced in detail. The DMA transmission, multi-buffering and PDA controller priority modification was used in the driving design. The SSC interface circuit implementation based on the design was also introduced. The experimental results show that the data transfer between AT91RM9200/DSP56309 is rapid and steady, and so that the dual core processors co-work very well.

Key words: serial synchronous communication, AT91RM9200, DSP56309, Linux 2.6