检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李圣昆[1] 郑永秋[1] 史赟[1] 刘东海[1]
机构地区:[1]中北大学电子测试技术国家重点实验室,山西太原030051
出 处:《计算机测量与控制》2012年第3期856-858,861,共4页Computer Measurement &Control
基 金:微小型高速运动体的激光主动制导与探测技术研究(60871041)
摘 要:为实时接收和记录多路车载信息传感器的数据,设计了以C8051F060单片机为核心控制器,TJA1050为外围CAN驱动器的多路CAN总线数据(包括温度、湿度、压力)接收电路,并通过SPI接口将数据传输到上位机;在程序设计上,给出了在开辟二级缓存下的可变长度帧结构的传输设计;测试表明,该设计对10路CAN总线数据以500k的速率进行传输,工作稳定、可靠,数据接收正确,可变长度帧结构编码无误,实现了多路CAN总线数据的接收、编帧和传输。To receive and record the real--time data from multi--vehicle information sensor, we design a receiver circuit for multi--channel CAN bus data (including temperature, humidity, pressure), which is transmitted to PC through SPI interface. It takes C8051F060 microcontroller as the core controller, and TJA1050 CAN as external driver. In the program design, we give the transmission design for the variable--length frame structure, based on two caches. Testing shows that, for 10--channel CAN bus data transmission with 500KHz, the design runs stably, reliably. The recepted data is correct, and variable--length coding frame structure is correct. It achieves the function that multi--channel CAN bus data can be received, encoded and transmitted.
关 键 词:CAN总线 C8051F060 SPI接口 数据编帧 乒乓缓存
分 类 号:TP336[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222