基于C8051F060单片机SPI接口的CAN中继器设计  被引量:2

Design of CAN-Bus Repeater Based on SPI Interface of C8051F060 MCU

在线阅读下载全文

作  者:王红亮[1] 田帅帅[1] 

机构地区:[1]中北大学电子测试技术国家重点实验室仪器科学与动态测试教育部重点实验室,山西太原030051

出  处:《火炮发射与控制学报》2011年第2期74-77,共4页Journal of Gun Launch & Control

基  金:国家自然科学基金资助(60871041);山西省自然科学基金资助(2010011026-2)

摘  要:设计了一种CAN中继器,可以对两个CAN子网进行数据转发。本中继器采用两个C8051F060单片机内置CAN控制器连接不同的子网,两个C8051F060通过SPI接口进行数据传输。测试结果表明:CAN总线中继器能在最高CAN通信波特率条件下正常通信,也能起到扩展通信距离的作用,同时能以较高的效率实现高低速CAN子网的正常数据转发,经中继器后的通信延时很小,符合系统要求。A kind of CAN-bus repeater was designed. This kind of CAN-bus repeater can perform the data switching in the two CAN-bus subnetworks. The repeater can connect two CAN-bus subnetworks by use of the built-in CAN controllers of the two MCU C8051F060s. Two C8051F060s can transmit data through SPI interfaces. The test results indicated that the CAN-bus repeater can not only communicate normally under the highest baudrate of CAN communication, but also extend the communication distance, and it can carry out the data transmission of CAN subnetworks under different speeds with high efficiency. Its communication delay is very little when data passing through the repeater, and it can meet the technical requirements of the system.

关 键 词:通信技术 CAN总线 SPI接口 中继器 C8051F060 

分 类 号:TP336[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象