CAN总线是汽车上应用最广泛的车载网络总线,具有实时性强、可靠性高、成本低等优点。鉴于此,介绍了一种利用飞思卡尔系列单片机MC9S12XS128作为控制器,利用其内部的MSCAN模块、CAN收发器TJA1040等外围元件进行CAN总线通信节点设计。该设计能够实现CAN总线数据的发送与接收,可应用于汽车及其他各种CAN总线通信系统。
CAN bus is the most widely used on-board network bus in automobiles. It has the advantages of realtime, high reliability and low cost. In view of this,this paper introduces the design of CAN bus communication node by using Freescale MC9S12XS128 as controller,using its internal MSCAN module,CAN transceiver TJA1040 and other peripheral components. This design can realize the sending and receiving of CAN bus data,and can be used in automobile and other CAN bus communication systems.