| The rapid development of automotive electronics technology has promoted the innovations and changes of the automotive field, which makes the car more and more intelligent. In recent years, the percentage of automotive electronics technology research keeps increasing. Therefore, the basic research on the automotive microcontroller is an important part of automotive electronic technology. In 2014, NXP launched a series of high-performance microcontrollers, which named as KEA based on ARM Cortex M0+ kernel. Compared to other general microcontrollers, KEA series microcontrollers have a wider temperature range and higher reliability. They will be an important member of the automotive electronics field and better applied in areas where requires high reliability, because of its salient features: good performance, high reliability, low prices. Commissioned by NXP, this paper will carriy out basic application research on automotive electronic technology, including the underlying component design, firmware update method and application templates etc. The main work is as follows:(i) Design and implement the minimum hardware system, underlying components. This paper has designed the KEA128 core system, which accordances with the specification of hardware component design. Through studies of the components’ generalities and individualities, this paper analyses the characteristics and function of each module deeply, and designs the drives of each module. Including Systick, RTC, PWT, PIT, FTM, PWM, Flash online programming, ADC, ACMP, SPI, I2 C and other infrastructure components, as well as CAN, LIN and other more complex components. In the end, this article provides a components test methods.(ii) This paper presents a firmware update method based on CAN bus, in order to provide a convenient means for maintenance online programming. Through in-depth study of the firmware update mechanism, this paper proposes the design scheme of bootloader; Completed the user application machine code file effective analytical and restructuring; Designed a data lossless BLC protocol, which can achieve reliable communication between PC software and the Bootloader.(iii) In order to verify the function and correctness of underlying drive components, this paper designs a light control demonstration system SD-LCM based on LIN bus. It verifies the validity and usefulness of the research work. It also provides examples for the member application methods.KEA128 underlying drive components, firmware-updated method and application templates are uploaded online. The underlying components have reusable and portable features. It helps developers to grasp the development method quickly. It also reduces the difficulty and cost of development and shortens the development cycle, improves development efficiency. |