Development of SPI Driver for Vehicle Controller

Bing Zhou, Chun Xiao, Jing Chen, Xingpeng Sun
{"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}
引用次数: 0

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
车载控制器SPI驱动程序的开发
随着汽车电子技术的发展,串行外设接口(SPI)被广泛应用于车载控制器的功能芯片与单片机之间的通信,发挥着重要的作用。为了提高SPI驱动程序的开发效率,本文采用汽车开放系统架构(AUTOSAR)规范开发了面向整车控制器的SPI驱动程序。主要工作包括SPI驱动程序数据类型的确定、文件结构的确定以及驱动程序的功能实现。以电可擦可编程只读存储器(EEPROM)为从设备,在车载控制器硬件平台上进行数据传输测试。在测试中,通信操作每1ms执行一次,收发器数据执行7200s。实验证明,该驱动程序不仅可以实现通信功能,而且具有较高的稳定性。该驱动程序同时实现了硬件和软件的解耦,具有较高的可重用性。该驱动程序不仅可以实现高稳定性的通信功能,还可以实现硬件和软件的解耦,具有较高的可重用性。对于不同的上层软件,只需改变引脚组态和基址即可简单地运行驱动程序,具有一定的工程实用价值。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
3166
期刊介绍:
期刊最新文献
Medical product sales forecasting at pharmaceutical distribution company (Case study: PT. Lenko Surya Perkasa Branch Office Sidoarjo) Generator capacity predictor system modeling using decision tree regressor at PT Saka Indonesia Pangkah Limited Performance analysis method through process variable modeling to maintain top product quality on fuel gas scrubber performance: A case study of fuel gas scrubber 141-V-01 Synthesis and characterization of folic acid-functionalized, doxorubicin-loaded magnetic nanoparticles as drug delivery system for cancer Hydrolysis optimization for producing acetone-butanol-ethanol from waste palm Empty Bunches after pretreatment process with alkali peroxide
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1