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.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call