Permanent magnet synchronous motors (PMSM) are widely used in the electric vehicles for their high power density and high energy efficiency. And the motor control system for electric vehicles is one of the most critical safety related systems in electric vehicles, because potential failures of this system can lead to serious harm to humans’ body, so normally a high automotive safety integrity level (ASIL) will be assigned to this system. In this paper, an ASIL-C motor control system based on a multicore microcontroller is presented. At the same time, due to the increasing number of connectivity on the vehicle, secure onboard communication conformed to the AUTOSAR standard is also implemented in the system to prevent external attacks.In this paper, the functional safety development process of the motor control system is presented: in the item definition stage, the system is defined according to its functionalities and interaction with the environment and other items, and then the hazard analysis and risk assessment of the system is carried out to derive the safety goals and to assign the automotive safety integrity levels. For system architecture design, a proposed structure based on the E-GAS 3-layer monitor concept is proposed and functional safety requirements are assigned. The system is implemented with a multicore architecture microcontroller. For torque monitoring, a torque estimation algorithm for PMSMs is also presented. And considering the security threats to the vehicles, secure onboard communication usage is also described in the paper to provide a mechanism to authenticate and verify the CAN messages between the vehicle control unit and the motor control system.