首页 | 本学科首页   官方微博 | 高级检索  
     

DeltaOS下的CAN总线驱动及多通道通信调度
引用本文:谭亮,吴晓,张凯龙,苏二峰.DeltaOS下的CAN总线驱动及多通道通信调度[J].计算机工程与应用,2013,49(3):65-68,73.
作者姓名:谭亮  吴晓  张凯龙  苏二峰
作者单位:西北工业大学计算机学院,西安710072;陕西省嵌入式系统技术重点实验室,西安710072
基金项目:国家自然科学基金,陕西省重大科技创新计划课题
摘    要:分析了DeltaOS的设备驱动基本框架,设计实现了多通道PMC-CAN驱动程序。针对DeltaOS实时多任务的特点,基于看门狗定时器方法,有效简化了多任务环境下周期任务轮询程序的设计;设计了一种多通道中断处理的方法,提高了多通道数据传输效率及通道利用率;针对多个CAN通道的调度提出了一种基于动态调度表的调度方法;通过实验验证了CAN驱动的正确性及多通道调度的有效性。

关 键 词:DeltaOS  任务轮询  看门狗定时器  多通道调度  动态调度表

CAN communication driver and multi-channel communication scheduling based on DeltaOS
TAN Liang , WU Xiao , ZHANG Kailong , SU Erfeng.CAN communication driver and multi-channel communication scheduling based on DeltaOS[J].Computer Engineering and Applications,2013,49(3):65-68,73.
Authors:TAN Liang  WU Xiao  ZHANG Kailong  SU Erfeng
Affiliation:1,2.1.School of Computer Science, Northwestern Polytechnical University, Xi’an 710072, China 2.Shaanxi Key Laboratory of Embedded System Technology, Xi’an 710072, China
Abstract:This paper analyzes the basic framework of device driver based on DeltaOS, designs and implements multi-channel driver of PMC-CAN. In connection with the characteristics of real-time and multitask in DeltaOS, based on watchdog timer, this paper effectively simplifies the design of periodic task polling in the multitask environments. It also designs a method of processing multi-channel interrupt to improve the efficiency of multi-channel data transmission and channel utilization. Based on dynamic scheduling table it proposes a scheduling method for the system of multi channels of CAN. It verifies the correctness of the CAN driver and effectiveness of multi-channel’s scheduling through experiments.
Keywords:DeltaOS  task polling  watchdog timer  multi-channel scheduling  dynamic scheduling table
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号