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.
Development of SPI Driver for Vehicle Controller
2021-12-01
850332 byte
Conference paper
Electronic Resource
English
VEHICLE DRIVER-MODEL CONTROLLER WITH ENERGY ECONOMY RATING ADJUSTMENTS
European Patent Office | 2016
|Driver controller control circuit, cab and rail transit vehicle
European Patent Office | 2024
|Vehicle driver-model controller with energy economy rating adjustments
European Patent Office | 2015
|