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.


    Access

    Check access

    Check availability in my library

    Order at Subito €


    Export, share and cite



    Title :

    Development of SPI Driver for Vehicle Controller


    Contributors:
    Zhou, Bingyin (author) / Xiao, Chun (author) / Chen, Jing (author) / Sun, Xingpeng (author)


    Publication date :

    2021-12-01


    Size :

    850332 byte




    Type of media :

    Conference paper


    Type of material :

    Electronic Resource


    Language :

    English



    CAN Communication Bottom Driver Development of Vehicle Controller

    Sun, Xingpeng / Xiao, Chun / Chen, Jing et al. | IEEE | 2021


    CONTROLLER AND DRIVER

    KAJIWARA SATOSHI / KUNINAGA HIROAKI | European Patent Office | 2023

    Free access

    VEHICLE DRIVER-MODEL CONTROLLER WITH ENERGY ECONOMY RATING ADJUSTMENTS

    ROSE LAWRENCE M / PENCE BENJAMIN L / TSOU POYU et al. | European Patent Office | 2016

    Free access

    Driver controller control circuit, cab and rail transit vehicle

    WANG DANMEI / CHEN XIJUN / CHEN YONG et al. | European Patent Office | 2024

    Free access

    Vehicle driver-model controller with energy economy rating adjustments

    ROSE LAWRENCE M / PENCE BENJAMIN L / TSOU POYU et al. | European Patent Office | 2015

    Free access