{"title":"CAN Communication Bottom Driver Development of Vehicle Controller","authors":"Xingpeng Sun, Chun Xiao, Jing Chen, Bing Zhou","doi":"10.1109/ATEEE54283.2021.00009","DOIUrl":null,"url":null,"abstract":"With the development of automotive electronics technology, the electronic degree of automobiles is getting higher and higher. The automotive electronic system is composed of many electronic control units(ECU). Currently, the controller area network(CAN) bus has wide application in the communication connection between ECUs in-vehicle. To improve the efficiency of CAN driver development, the CAN communication bottom driver of the vehicle controller, based on the automotive open system architecture(AUTOSAR) specification, is developed in this paper. The paper mainly includes determining the data structure of the CAN driver, CAN message sending and receiving, and then conducts test verification in the ECU hardware development platform combines with the ADC module. During the test verification, the data communication executes every 1ms to verify the accuracy of the driver under high-frequency operation. The CAN communication bottom driver, developed in this paper, complies with the AUTOSAR specification and provides a unified API function to the upper layer, which enhances the reusability of the driver code and can realize the CAN communication bottom driver of the whole vehicle controller. For the different ECUs, only change the pin configuration and base address, then the ECUs can successfully run the driver, which has some practical engineering value.","PeriodicalId":62545,"journal":{"name":"电工电能新技术","volume":"57 1","pages":"1-5"},"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.00009","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 technology, the electronic degree of automobiles is getting higher and higher. The automotive electronic system is composed of many electronic control units(ECU). Currently, the controller area network(CAN) bus has wide application in the communication connection between ECUs in-vehicle. To improve the efficiency of CAN driver development, the CAN communication bottom driver of the vehicle controller, based on the automotive open system architecture(AUTOSAR) specification, is developed in this paper. The paper mainly includes determining the data structure of the CAN driver, CAN message sending and receiving, and then conducts test verification in the ECU hardware development platform combines with the ADC module. During the test verification, the data communication executes every 1ms to verify the accuracy of the driver under high-frequency operation. The CAN communication bottom driver, developed in this paper, complies with the AUTOSAR specification and provides a unified API function to the upper layer, which enhances the reusability of the driver code and can realize the CAN communication bottom driver of the whole vehicle controller. For the different ECUs, only change the pin configuration and base address, then the ECUs can successfully run the driver, which has some practical engineering value.