摘要
为实现CAN总线设备在嵌入式Linux2.6.24内核下使用,提出了一种基于嵌入式Linux2.6.24内核的CAN总线驱动设计方案并赋予实现。由于嵌入式处理器S3C2410通过SPI总线完成与CAN控制器的硬件连接,利用嵌入式Linux2.6.24内核自带的SPI总线驱动中的函数完成CAN总线字符驱动设计,详细说明了在嵌入式Linux2.6.24内核下加载和声明SPI总线的具体步骤、CAN总线驱动初始化和中断控制的设计方法以及CAN驱动加载步骤。最后通过实例验证了CAN总线驱动设计的正确性。
To achieve the CAN-bus devices used in embedded kernel Linux 2.6.24,a method of CAN-bus devices design in the embedded kernel Linux 2.6.24 is put forward and achieved.As the SPI bus to connect embedded processor S3C2410 and the CAN controller,CANbus devices design is designed by SPI bus driver in embedded kernel Linux 2.6.24,specific steps of SPI bus loading and statements in Embedded kernel Linux 2.6.24,CAN-bus driver initialization and interrupt control design methods and CAN-bus driver load step are detailed.Finally,CAN-bus driver is verified correctly by example.
出处
《计算机工程与设计》
CSCD
北大核心
2010年第15期3396-3398,3426,共4页
Computer Engineering and Design
基金
江苏省2007年高校科研成果产业化推进基金项目(JHZD07-022)
江苏省青蓝工程基金项目(苏教师(2008)30号)