摘要
为了实现通过RS422接口的串口软件检测CAN设备的目的,设计了一种基于RS422接口的CAN设备智能数据检测节点。该节点以单片机芯片MSP430F2274和CAN控制器芯片MCP2515为基础进行了硬件设计,使用IAR软件和C语言编写了串口处理程序和CAN总线数据收发及检测程序,并将程序烧制到单片机内部。对某CAN设备进行的检测实验结果表明,该节点可在上位机中使用通用串口软件界面进行操作,实时反映CAN设备状态的检测功能。
To realize the purpose of detecting the CAN bus devices through the serial port software of the RS422 interface,we designed an intelligent data detection node of the CAN Bus based on the RS422 interface.The node conducted a hardware design on the MSP430F2274 single chip and the MCP2515 CAN controller chip,it programmed the serial processing and the CAN bus data transceiver and testing procedures using the IAR software and C language,and it fired the procedures to the internal microcontroller.The results of the detection on a CAN device showed that the node can be operable in the host computer using the universal serial software interface,real-time reflecting the detection function of the CAN device status.
出处
《电子测量技术》
2014年第11期55-59,共5页
Electronic Measurement Technology