| With the development of automotive electronics industry, the software for vehicle electronic control system becomes more and more difficult, and the vehicle electronic equipments are more complex than before. As a result, the software development cycle is growing; the design cost is increasing too. At the same time, it increases the variety and repeatability of the automotive electronic control system. In order to solve the problem, the automobile manufactures, parts suppliers, and other electronic and semiconductor companies jointly release the Automotive Open System Architecture(AUTOSAR), with the purpose of providing unified standard for the world automotive electronics industry, increasing the reusability and updating capability of the automotive electronic software.Base on the domestic and overseas study on AUTOSAR, the engine complex device driver components library is developed under the AUTOSAR framework. The components library is designed by means of the enhanced time processor module in MPC5554 microcontroller. Meanwhile, the components library is debugged by simulation and hardware. And the debug verifies that the component library can decode the engine position signal, and accurately control the important parameters, such as injection duration, ignition advance angle and ignition dwell time.AUTOSAR, and also the complex device driver layer and the property and function of eTPU are introduced detailed. It is the development process of the components library which includes decoding engine position, injection, ignition and engine knock detection, which is emphatically introduced. The process mainly contains the state machine for each component, the important parameter determination and the flow chart for every thread.Every component is verified that it can successfully run in the eTPU module by the simulation which is fulfilled by the ASH WARE software. With the MPC5554 microcontroller as the platform, hardware debug to each component is achieved in the Codewarrior software. The output waveform accurately changes with the parameter variation which confirms the components library can realize to control the engine. Having the aid of the worst-case latency analysis to the complex device driver components library, this thesis presents an improvement to the library channel configuration, optimizes the program, improves the library's ability to deal with worst-case, and enhances the reliability of the engine electronic control system. |