摘要
主要介绍Linux中SocketCAN的实际应用方法,简要介绍并对比了CAN总线驱动在Linux系统的实现方式。说明了SocketCAN在Linux内核中的实现和配置方法。通过实例介绍了SocketCAN的使用,说明了使用SocketCAN访问CAN总线、接收和发送数据帧、过滤数据帧的方法。
This paper mainly introduces the practical application method of SocketCAN in Linux, and briefly introduces and compares the implementation of CAN bus driver in Linux system. It explains the implementation and configuration method of SocketCAN in the Linux kernel Through the example the author introduces the use of SocketCAN and describes the method of using SocketCAN to access the CAN bus, sending and receiving data frame, filter the data frame is explained.
出处
《单片机与嵌入式系统应用》
2013年第7期68-71,共4页
Microcontrollers & Embedded Systems