摘要
由于CAN总线采用广播的传输方式,对于标识符不同的报文,总线上的所有节点均予以接收,如此以来各节点会接收并处理相当数量的无用报文,增加了系统软件的开销;通过CAN控制器对报文的验收滤波功能,从硬件层过滤掉了无用的报文,各个节点便可以针对不同的标识符而有选择性地接收来自CAN总线上的报文,从而降低了节点软件运行时的负担;阐述了使用ARM微控制器实现CAN报文验收滤波的方法,结合实际应用,较好地实现了CAN报文的验收滤波功能。
Because of the broadcasting transmission mode,all the nodes can receive the messages which have different IDs from the bus,so the nodes should receive and process a numbers of unwanted messages,the costs of system software should increased.By use the acceptance filter of CAN controller,it can filter the unwanted messages in the hardware layer,all the nodes can receive the useful messages from CAN bus by distinguishing the different IDs,so it can reduce the burden of the software.The principle and setting method of CAN acceptance and filtering based on ARM microcontroller are introduced,and a practical application is given.
出处
《计算机测量与控制》
CSCD
北大核心
2009年第5期927-929,932,共4页
Computer Measurement &Control
基金
国家"十一五"预研项目(51316020105)