车载控制器SPI驱动程序的开发

Bing Zhou, Chun Xiao, Jing Chen, Xingpeng Sun
{"title":"车载控制器SPI驱动程序的开发","authors":"Bing Zhou, Chun Xiao, Jing Chen, Xingpeng Sun","doi":"10.1109/ATEEE54283.2021.00010","DOIUrl":null,"url":null,"abstract":"With the development of automotive electronics, the Serial Peripheral Interface (SPI) is widely used in the communication between the functional chip of the vehicle controller and the Microcontroller Unit (MCU), playing an important role. To improve the efficiency of SPI driver development, the Automotive Open System Architecture (AUTOSAR) specification is adopted to develop an SPI driver for the whole vehicle controller in this paper. The main work includes the determination of SPI driver data type, file structure, and function realization of the driver. The data transmission test is carried out on the vehicle controller hardware platform with Electrically Erasable Programmable read only memory (EEPROM) as the slave device. In the test, the communication operation is executed every 1ms, and the transceiver data is executed for 7200s. It is verified that the driver can not only realize the communication function but also has high stability. The driver simultaneously realizes the decoupling of hardware and software and has high reusability. The driver can not only realize the communication function with high stability but also realize the decoupling of hardware and software, with high reusability. For different upper software, the driver can be run simply by changing the pin configuration and base address, which has certain engineering practical value.","PeriodicalId":62545,"journal":{"name":"电工电能新技术","volume":"10 1","pages":"6-9"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Development of SPI Driver for Vehicle Controller\",\"authors\":\"Bing Zhou, Chun Xiao, Jing Chen, Xingpeng Sun\",\"doi\":\"10.1109/ATEEE54283.2021.00010\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"With the development of automotive electronics, the Serial Peripheral Interface (SPI) is widely used in the communication between the functional chip of the vehicle controller and the Microcontroller Unit (MCU), playing an important role. To improve the efficiency of SPI driver development, the Automotive Open System Architecture (AUTOSAR) specification is adopted to develop an SPI driver for the whole vehicle controller in this paper. The main work includes the determination of SPI driver data type, file structure, and function realization of the driver. The data transmission test is carried out on the vehicle controller hardware platform with Electrically Erasable Programmable read only memory (EEPROM) as the slave device. In the test, the communication operation is executed every 1ms, and the transceiver data is executed for 7200s. It is verified that the driver can not only realize the communication function but also has high stability. The driver simultaneously realizes the decoupling of hardware and software and has high reusability. The driver can not only realize the communication function with high stability but also realize the decoupling of hardware and software, with high reusability. For different upper software, the driver can be run simply by changing the pin configuration and base address, which has certain engineering practical value.\",\"PeriodicalId\":62545,\"journal\":{\"name\":\"电工电能新技术\",\"volume\":\"10 1\",\"pages\":\"6-9\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"电工电能新技术\",\"FirstCategoryId\":\"1087\",\"ListUrlMain\":\"https://doi.org/10.1109/ATEEE54283.2021.00010\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"电工电能新技术","FirstCategoryId":"1087","ListUrlMain":"https://doi.org/10.1109/ATEEE54283.2021.00010","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

随着汽车电子技术的发展,串行外设接口(SPI)被广泛应用于车载控制器的功能芯片与单片机之间的通信,发挥着重要的作用。为了提高SPI驱动程序的开发效率,本文采用汽车开放系统架构(AUTOSAR)规范开发了面向整车控制器的SPI驱动程序。主要工作包括SPI驱动程序数据类型的确定、文件结构的确定以及驱动程序的功能实现。以电可擦可编程只读存储器(EEPROM)为从设备,在车载控制器硬件平台上进行数据传输测试。在测试中,通信操作每1ms执行一次,收发器数据执行7200s。实验证明,该驱动程序不仅可以实现通信功能,而且具有较高的稳定性。该驱动程序同时实现了硬件和软件的解耦,具有较高的可重用性。该驱动程序不仅可以实现高稳定性的通信功能,还可以实现硬件和软件的解耦,具有较高的可重用性。对于不同的上层软件,只需改变引脚组态和基址即可简单地运行驱动程序,具有一定的工程实用价值。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Development of SPI Driver for Vehicle Controller
With the development of automotive electronics, the Serial Peripheral Interface (SPI) is widely used in the communication between the functional chip of the vehicle controller and the Microcontroller Unit (MCU), playing an important role. To improve the efficiency of SPI driver development, the Automotive Open System Architecture (AUTOSAR) specification is adopted to develop an SPI driver for the whole vehicle controller in this paper. The main work includes the determination of SPI driver data type, file structure, and function realization of the driver. The data transmission test is carried out on the vehicle controller hardware platform with Electrically Erasable Programmable read only memory (EEPROM) as the slave device. In the test, the communication operation is executed every 1ms, and the transceiver data is executed for 7200s. It is verified that the driver can not only realize the communication function but also has high stability. The driver simultaneously realizes the decoupling of hardware and software and has high reusability. The driver can not only realize the communication function with high stability but also realize the decoupling of hardware and software, with high reusability. For different upper software, the driver can be run simply by changing the pin configuration and base address, which has certain engineering practical value.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
3166
期刊介绍:
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信