摘要: 论述了一个适用于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
中图分类号:
姚 勇;涂时亮;陈章龙. 基于CAN/LIN总线的实时操作系统的设计与实现[J]. 计算机工程, 2007, 33(10): 265-267,.
YAO Yong; TU Shiliang; CHEN Zhanglong. Design and Implementation for Real-time Operating System Based on CAN and LIN Bus[J]. Computer Engineering, 2007, 33(10): 265-267,.