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

计算机工程 ›› 2007, Vol. 33 ›› Issue (10): 265-267,. doi: 10.3969/j.issn.1000-3428.2007.10.095

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

基于CAN/LIN总线的实时操作系统的设计与实现

姚 勇,涂时亮,陈章龙   

  1. (复旦大学计算机科学与工程系,上海 200433)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-05-20 发布日期:2007-05-20

Design and Implementation for Real-time Operating System Based on CAN and LIN Bus

YAO Yong, TU Shiliang, CHEN Zhanglong   

  1. (Department of Computer Science & Engineering, Fudan University, Shanghai 200433)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-05-20 Published:2007-05-20

摘要: 论述了一个适用于CAN和LIN总线的实时操作系统FDCX08设计和实现,介绍了该系统在一个通用控制器上的应用。FDCX08主要用于CAN或者LIN或者CAN和LIN混合总线的微控制器上。根据CAN和LIN总线的特点,设计了一个支持各个操作系统之间的任务通信的邮箱系统,使得该系统可以被当作CAN节点、LIN节点或者网关节点等各种节点。该系统具有实时性强、体积小、系统开销小、用户接口简单、便于移植等特点,适用于汽车电子、工业控制等使用CAN和LIN总线的场合。

关键词: 实时操作系统, CAN总线, LIN总线, MCU

Abstract: This paper describes the design and the implementation of an embedded real-time operating system (RTOS): FDCX08, used for CAN and LIN bus, and introduces the design of a usual-controller based on this operating system. FDCX08 is used in CAN, LIN or CAN and LIN mixed bus. According to CAN and LIN bus’s character, it designs a mailbox system, which supports the communication of tasks among operating systems, to make FDCX08 as CAN node, LIN node, gateway note and so on. This system is real-time, lightweight, and simple-interface, which makes it suitable to be used in many fields, such as auto electron and industry control, where CAN and LIN bus are needed.

Key words: Real-time operating system(RTOS), CAN-bus, LIN-bus, MCU

中图分类号: