摘要
高速异步串行通信是蓝牙网关中至关重要的一个技术问题,通过深入研究驱动程序和操作系统机制圆满解决了这一问题。首先通过修改串行口驱动程序中的接口速率、改进接收流程、利用缓冲机制以及添加流控机制,充分利用了硬件的高速串行通信能力;其次从分析操作系统的任务调度和中断机制入手,通过修改特定的参数解决了影响系统数据吞吐率和稳定性的时钟中断问题。
High-speed asynchronous serial communications is a vital technical problem in bluetooth gateway.After thorough researches on drivers and system mechanism,we put forward satisfactory solutions.Firstly,we try to make best use of high-speed serial communication capability of the hardware through methods such as:modifying interface speed of serial port driver, improving the receiving flow;utilizing the mechanism of buffer and adding the mechanism of flow control.Secondly,we proceed with analysis on scheduling and interrupt handling of operating system.Modifying specific parameters solves the problem pertaining to timer interrupt that has great effect on throughput and stability.
出处
《计算机应用研究》
CSCD
北大核心
2004年第9期256-257,260,共3页
Application Research of Computers
基金
国家"十五"科技攻关计划资助项目(2001BA-102C)
教育部科学技术重点项目(02171)
关键词
驱动程序
串行口
调度
中断处理
Driver
Serial Port
Scheduling
Interrupt Handling