linux高速串口收发程序,Linux的DMA高速串口驱动的设计

摘要: 基于现有的Linux普通方式传输的串口驱动,提出了通过利用DMA的高速串口驱动,根据传输时的实时数据量,利用DMA方式和普通方式相结合的方式进行数据传输,大大提高了传输速率,同时降低了系统的开销,减少了CPU的使用。在双核移动终端中进行验证,两芯片通过串口进行芯片间通信,实验结果证明了设计的高速串口驱动具有较好的可靠性和可行性。

关键词: DMA方式;Linux高速串口驱动;芯片间通信

中图分类号: TP36.2文献标识码: A

Linux High Speed Serial Driver Design

Qiao Mingchuang, Peng Daqin, Huang Yifeng

Chongqing Key Lab of Mobile Communications,Chongqing University of Posts and Telecommunications,Chongqing 400065,China

Abstract: This paper proposed high speed serial port driver using DMA is based on Linux serial port driver working in normal mode. According to the volume of data in realtime transmission,we decided to combine DMA mode with normal mode to transfer, greatly improving the transmission rate. In the same time it also reduces the overhead of the system and reduces the CPU utilization. In dualcore mobile terminal, two chips communicate with serial port. The results of implementation show that this method has high efficiency and good reliability in serial port driver design.

Key words: DMA mode; Linux high speed serial port driver; inter-processor communication

引言

本文讨论的双核终端硬件以AP(Application Processor,应用处理器)+CP(Cell phone Processor,基带处理器)的架构构建,CP运行TD/GSM双模协议栈,AP运行Android软件。两个芯片间通过串口进行IPC(InterProcessor Communication,芯片间通信)通信,像短信、电话等AT指令以及PS业务等均通过串口实现AP和CP的通信。当3G的网络环境对数据传输速率要求较高时ÿ

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值