Microcontroller unit and automobile electronic control system
By simulating the downlink and uplink channels of MSC communication in the microcontroller unit, and using SPI and LIN protocols to realize data transmission, the problem of failure to fully utilize the efficiency of MSC communication in the prior art is solved, and efficient and stable data transmission is achieved and engine management functions reduce costs.
Patent Information
- Application Number
- CN202411410723.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-02-11
AI Technical Summary
During the development and design process, existing microcontroller units did not consider engine management-related services using MSC communication technology, resulting in the inability to fully utilize the efficiency of MSC communication, affecting the performance optimization and interoperability efficiency of automotive electronic control systems.
By integrating the downlink and uplink channels of analog MSC communication in the microcontroller unit, the SPI protocol is used to realize the synchronous output of data, and the reception of asynchronous data is achieved through the RX function of the LIN protocol, simulating the efficient and stable data transmission of MSC communication. Effect.
It realizes efficient and stable data transmission effect without integrating the MSC communication function IP module, supports engine management-related functions, reduces costs, and improves the performance optimization and interoperability efficiency of automotive electronic control systems.
Smart Images

Figure CN119414749A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic control systems, and in particular to a microcontroller unit and an automobile electronic control system. Background Art
[0002] In the field of automotive electronic control systems, power devices have become an indispensable key component due to their wide applicability. These power devices, such as driver chips and SBC (System Basis Chip) chips, are responsible for performing important electrical functions in electronic control systems. The core of automotive electronic controllers is the microcontroller unit (MCU), which is responsible for the important task of accurately controlling and coordinating power devices. Therefore, the interconnection between power devices and microcontroller units has become an extremely critical link in the design and operation of the entire automotive electronic controller.
[0003] In the prior art, MSC (Micro Second Channel) communication is widely used in the automotive field, especially in the field of automotive engine management. MSC communication achieves significant reduction in the number of communication interfaces required between power devices and microcontroller units while maintaining communication efficiency by optimizing communication protocols and hardware design.
[0004] like Figure 1 As shown, the existing microcontroller unit 100 using MSC communication integrates an MSC transceiver 110 of an IP (Intellectual Property) module with MSC communication function, the MSC transceiver 110 is connected to a generic timer module (GTM, Generic Timer Module) 120 of the microcontroller unit 100, and the microcontroller unit 100 communicates with the power device 130 using the MSC transceiver 110. The MSC transceiver 110 may include a downstream channel (Downstream) 111 and an upstream channel (Upstream) 112. The microcontroller unit 100 uses the downstream channel 111 to output data to the power device 130, and uses the upstream channel 112 to obtain data such as a response signal and working status of the power device 130.
[0005] Although MSC communication technology has significant advantages in achieving efficient intercommunication between microcontroller units and power devices, the existing microcontroller units do not take into account engine management-related services that use MSC communication technology during the development and design process, and it is costly to integrate the IP module of MSC communication into the microcontroller unit. Therefore, the existing microcontroller units have not integrated the IP module of MSC communication into their products, resulting in the inability to fully utilize the high efficiency of MSC communication when communicating between microcontroller units and power devices in the automotive field, thus affecting the performance optimization and intercommunication efficiency of the entire automotive electronic control system.
[0006] In order to overcome the above-mentioned defects of the prior art, the art is in urgent need of a microcontroller unit and an automotive electronic control system that can achieve efficient and stable data transmission effects similar to MSC communication without integrating an IP module with MSC communication function, thereby realizing engine management-related functions and further reducing costs. Summary of the invention
[0007] A brief summary of one or more aspects is given below to provide a basic understanding of these aspects. This summary is not an exhaustive overview of all conceived aspects, and is neither intended to identify the key or critical elements of all aspects nor to define the scope of any or all aspects. Its only purpose is to give some concepts of one or more aspects in a simplified form as a prelude to a more detailed description that will be given later.
[0008] In order to overcome the above-mentioned defects of the prior art, the present invention provides a microcontroller unit and an automotive electronic control system, which can achieve efficient and stable data transmission effects similar to MSC communication without integrating an IP module with MSC communication function, thereby realizing engine management related functions and further reducing costs.
[0009] Specifically, the microcontroller unit provided according to the first aspect of the present invention includes a first module for simulating a downlink channel of MSC communication and a second module for simulating an uplink channel of MSC communication, wherein the first module utilizes the SPI protocol to realize synchronous output of data, and the second module utilizes the RX function of the LIN protocol to realize asynchronous data reception.
[0010] Preferably, in an embodiment of the present invention, the first module includes a pin configured with a differential clock signal function, a pin configured with a data transmission function, and a pin configured with a chip select signal function.
[0011] Preferably, in an embodiment of the present invention, the first module is in an active state when a low level signal is present, and triggers a data output function based on a clock signal.
[0012] Furthermore, in an embodiment of the present invention, the first module is used to output a pulse width modulation signal and / or a diagnostic command generated by the microcontroller unit.
[0013] Optionally, in an embodiment of the present invention, the asynchronous data received by the second module includes a start bit, an address bit and a data bit.
[0014] Furthermore, in an embodiment of the present invention, the second module is used to receive a response signal and / or status information.
[0015] Preferably, in an embodiment of the present invention, the microcontroller unit communicates with a power device.
[0016] Preferably, in an embodiment of the present invention, the power device communicating with the microcontroller unit includes an MSC communication function module.
[0017] Furthermore, in an embodiment of the present invention, the MSC communication function module includes a clock signal function module, a data input function module, an enable signal function module and a data output function module implemented by MSC communication.
[0018] In addition, the automotive electronic control system provided according to the second aspect of the present invention includes a power device and a microcontroller unit provided by any one of the above embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above features and advantages of the present invention can be better understood after reading the detailed description of the embodiments of the present disclosure in conjunction with the following drawings. In the drawings, the components are not necessarily drawn to scale, and components with similar related properties or features may have the same or similar reference numerals.
[0020] Figure 1 A schematic diagram of an existing automotive electronic control system is shown;
[0021] Figure 2 A schematic diagram showing a data frame structure transmitted according to the SPI protocol provided in some embodiments of the present invention is shown;
[0022] Figure 3 A schematic diagram showing a data frame structure transmitted according to an RX function of a LIN protocol provided in accordance with some embodiments of the present invention; and
[0023] Figure 4 A schematic diagram showing the connection between a microcontroller unit and a power device according to an embodiment of the present invention is shown.
[0024] Reference numerals:
[0025] 100: microcontroller unit;
[0026] 110: MSC transceiver;
[0027] 111: Downward channel;
[0028] 112: Upward channel;
[0029] 120: general timer module;
[0030] 130: Power devices;
[0031] 310: start position;
[0032] 320: address bit;
[0033] 330: data bit;
[0034] 411, 412: module;
[0035] 421, 422: module;
[0036] 430: Module; and
[0037] 440: Module. DETAILED DESCRIPTION
[0038] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. Note that the aspects described below in conjunction with the accompanying drawings and specific embodiments are only exemplary and should not be construed as limiting the scope of protection of the present invention in any way.
[0039] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0040] In addition, the terms "upper", "lower", "left", "right", "top", "bottom", "horizontal" and "vertical" used in the following description should be understood as the directions shown in the paragraph and the related drawings. Such relative terms are only used for the convenience of description and do not mean that the device described therein must be manufactured or operated in a specific direction, and therefore should not be understood as limiting the present invention.
[0041] It is understood that although the terms "first", "second", "third", etc. may be used herein to describe various components, regions, layers and / or parts, these components, regions, layers and / or parts should not be limited by these terms, and these terms are only used to distinguish different components, regions, layers and / or parts. Therefore, the first component, region, layer and / or part discussed below may be referred to as a second component, region, layer and / or part without departing from some embodiments of the present invention.
[0042] As mentioned above, in the prior art, MSC communication is widely used in the automotive field, especially in the field of automotive engine management. MSC communication achieves significant reduction in the number of communication interfaces required between power devices and microcontroller units while maintaining communication efficiency by optimizing communication protocols and hardware design.
[0043] The existing microcontroller unit using MSC communication integrates an MSC transceiver with an IP module having MSC communication function, the MSC transceiver is connected to the general timer module of the microcontroller unit, and the microcontroller unit communicates with the power device using the MSC transceiver. The MSC transceiver may include a downlink channel and an uplink channel, the microcontroller unit uses the downlink channel to output data to the power device, and uses the uplink channel to obtain the response signal and working status of the power device and other data.
[0044] Although MSC communication technology has significant advantages in achieving efficient intercommunication between microcontroller units and power devices, the existing microcontroller units do not take into account engine management-related services that use MSC communication technology during the development and design process, and it is costly to integrate the IP module of MSC communication into the microcontroller unit. Therefore, the existing microcontroller units have not integrated the IP module of MSC communication into their products, resulting in the inability to fully utilize the high efficiency of MSC communication when communicating between microcontroller units and power devices in the automotive field, thus affecting the performance optimization and intercommunication efficiency of the entire automotive electronic control system.
[0045] In order to overcome the above-mentioned defects of the prior art, the present invention provides a microcontroller unit and an automotive electronic control system, which can achieve efficient and stable data transmission effects similar to MSC communication without integrating an IP module with MSC communication function, thereby realizing engine management related functions and further reducing costs.
[0046] The microcontroller unit provided by the present invention can be integrated into an electronic control system, such as an automotive electronic control system. In addition to the microcontroller unit provided by the present invention, the automotive electronic control system can also include a power device that utilizes MSC communication.
[0047] The microcontroller unit provided by the present invention may include a first module for simulating a downlink channel of MSC communication and a second module for simulating an uplink channel of MSC communication. The first module and the second module selected by the microcontroller unit may include pins capable of configuring an SPI (Serial Peripheral Interface) protocol or a LIN (Local Interconnect Network) protocol.
[0048] The microcontroller unit provided by the present invention can communicate with a power device, which may include a power diode, a power module, etc. The power device may be provided with an MSC communication function module, for example, a clock signal function module, a data input function module, an enable signal function module, and a data output function module implemented by MSC communication.
[0049] The downlink channel of MSC communication can be used to quickly output the pulse width modulation signal (PWM) generated by the general timer module inside the microcontroller unit to the power device. At the same time, the downlink channel of MSC communication can also support the sending of diagnostic commands. To ensure high-speed and stable data transmission, the downlink channel of MSC communication can include logic lines for realizing differential clock signal output, differential data output, and multiple enable signal outputs. The output of the differential clock signal can provide a synchronization reference between communication devices to ensure that the data can be correctly decoded at the receiving end; the differential data is output through differential transmission technology, which enhances the data's anti-interference ability and transmission distance; and multiple enable signals can be used to control the output of PWM signals and other command signals.
[0050] SPI is the most widely used interface between microcontroller units and peripherals. The data frame structure of the SPI protocol when outputting data is highly similar to the data frame structure transmitted during the downlink channel communication of MSC communication. The communication of the downlink channel of MSC communication belongs to the category of synchronous communication. Its working mechanism is that when the enable signal is at a low level, the downlink channel of MSC communication will be in an active state. Once the corresponding clock signal arrives, the downlink channel of MSC communication can be triggered to transmit data.
[0051] The first module of the microcontroller unit may include a pin configured with an SPI protocol to achieve synchronous data transmission. The first module may utilize the SPI protocol to simulate a downlink channel of MSC communication. Preferably, the first module includes a pin configured with a differential clock signal function, a pin configured with a data transmission function, and a pin configured with a chip select signal function.
[0052] Please refer to Figure 2 , Figure 2A schematic diagram of a data frame structure transmitted according to the SPI protocol provided according to some embodiments of the present invention is shown.
[0053] like Figure 2 As shown, the data frame structure during SPI protocol data transmission includes a clock signal (CLK, Clock), a signal output (SO, Signal Output) and a chip select signal (CS, Chip Select). The chip select signal has the same function as the enable signal, and is a control signal used to enable or disable a specific function or operation. The data frame structure of SPI protocol transmission is similar to the data frame structure of the downlink channel transmission of MSC communication, and both activate communication after CS is pulled low (i.e., a low-level signal). Then, data transmission is triggered at the edge of the rising or falling edge of the CLK signal (i.e., when the clock signal arrives). In addition, the characteristics of the data frame structure of the synchronous communication of MSC communication are highly consistent with the characteristics of the data frame structure during SPI protocol data transmission. There are no other signals such as address signals and handshake signals, and data only needs to be sent in response to the CLK signal in the activated state.
[0054] Therefore, the first module of the microcontroller unit provided by the present invention can use the SPI protocol to simulate the communication of the downlink channel of the MSC communication. When the chip select signal CS is a low-level signal, the communication is activated, and the data transmission function is triggered based on the clock signal CLK to output the pulse width modulation signal and / or the diagnostic command generated by the microcontroller unit. As a result, the microcontroller unit can achieve a synchronous, efficient and stable data output effect similar to that of the MSC communication.
[0055] By making the data frame structure consistent with the MSC communication, the data frame format can be unified, thereby improving data interaction efficiency. In addition, the unified data frame format can be seamlessly switched under different communication protocols, enhancing flexibility and scalability.
[0056] The uplink channel of MSC communication can be used to receive response signals and status information, for example, the working status of the receiving power device. The data frame structure of the uplink channel of MSC communication presents the characteristics of asynchronous communication, that is, the communicating parties can have their own clocks. Unlike the synchronous communication of the downlink channel of MSC communication, the data transmission of the uplink channel reflects the flexibility of asynchronous communication, and the transmitted data frames are not directly controlled by the clock signal. Specifically, during data transmission, there is no fixed time interval requirement between characters, and it is not sensitive to the clock signal. The uplink channel of MSC communication is thus ready to receive data frames at any time.
[0057] In the process of asynchronous serial communication in the uplink channel of MSC communication, the data of asynchronous serial communication is transmitted one character at a time, and each character is transmitted in bits. In each character frame, all bits can be sent continuously. In addition, when transmitting a character, it can start with a "start bit" and end with a "stop bit", so that the uplink channel of MSC communication can correctly receive each character and realize synchronization when transmitting characters according to the "start bit" and "stop bit".
[0058] LIN (Local Interconnect Network) protocol is a low-cost serial communication protocol in the automotive communication network. Common signal lines in serial communication may include ground (GND), receive (RX) and transmit (TX). Here, the LIN protocol has two data lines, RX and TX, to respectively implement the data receiving and data transmitting functions of the LIN protocol.
[0059] The second module of the microcontroller unit may include a pin configured with an RX (Receive) function of the LIN protocol to implement reception of asynchronous data. Through the second module, the microcontroller unit may receive an external response signal and / or status information.
[0060] Please refer to Figure 3 , Figure 3 A schematic diagram showing a data frame structure transmitted according to an RX function of a LIN protocol provided according to some embodiments of the present invention.
[0061] like Figure 3 As shown, the data frame structure of the RX function of the LIN protocol when receiving data does not have a clock signal. In addition, a character of the data frame structure may include a start bit 310, an address bit 320, and a data bit 330. Figure 3 In the illustrated embodiment, one character of the data frame structure received by the LIN protocol RX function may consist of a 1-bit start bit 310, a 4-bit address bit 320, and an 8-bit data bit 330. It can be seen that the LIN protocol RX function can reliably receive asynchronous data.
[0062] The second module can use the RX function of the LIN protocol to receive Figure 3 The asynchronous data of the data frame structure shown is used to simulate the asynchronous communication mode of the uplink channel of the MSC communication.
[0063] In this way, the microcontroller unit provided by the present invention can ensure efficient synchronous transmission of data and reliable reception of asynchronous data through a first module for simulating a downlink channel of MSC communication and a second module for simulating an uplink channel of MSC communication, effectively cope with the limitation of MCU manufacturers that MSC communication functions are not integrated, has high feasibility and practicality, and provides a simple and feasible solution for performance optimization and intercommunication efficiency improvement of automotive electronic control systems.
[0064] The following is a specific non-limiting preferred embodiment, based on which the microcontroller unit proposed in the present invention is further described.
[0065] In a preferred embodiment, the microcontroller unit does not have the MSC communication function. The power device L9788 that communicates with the microcontroller unit includes a module that can be used to implement the MSC communication function. The microcontroller unit simulates the MSC communication protocol to achieve efficient data transmission between the microcontroller unit and the power device L9788.
[0066] Please refer to Figure 4 , Figure 4 A schematic diagram showing the connection between a microcontroller unit and a power device according to an embodiment of the present invention is shown.
[0067] like Figure 4 As shown, those skilled in the art can utilize the multifunctional configuration of the pins of the microcontroller unit having the functions of the SPI protocol or the LIN protocol to simulate different signals of the MSC communication.
[0068] The first module may include a pin configured with a differential clock signal function, a pin configured with a data transmission function, and a pin configured with a chip select signal function.
[0069] In this preferred embodiment, those skilled in the art can select pin P2_15 and pin P2_14 as pins configured with differential clock signal function. Pin P2_15 and pin P2_14 are respectively configured as MSPI0_CLP function and MSPI0_CLN function to simulate the clock signal in MSC communication. Here, MSPI (Multichannel Serial Peripheral Interface) can represent the IP function module integrated with SPI protocol function in the microcontroller unit. CLP and CLN in MSPI0_CLP function and MSPI0_CLN function can represent Positive (high level) and Negative (low level) of differential clock signal CLK. Pin P2_15 configured with MSPI0_CLP function is connected to MSC_CK_P module 411 for realizing clock signal function of MSC communication in power device L9788, and pin P2_14 configured with MSPI0_CLN function is connected to MSC_CK_N module 412 for realizing clock signal function of MSC communication of power device L9788. Based on the differential clock signal generated by pin P2_15 and pin P2_14, the microcontroller unit can ensure the synchronization and stability of data transmission with the power device L9788.
[0070] In addition, those skilled in the art can select pin P2_13 and pin P2_12 as pins configured with data transmission function. Pin P2_13 and pin P2_12 are respectively configured as MSPI0_SOP function and MSPI0_SON function to simulate the data output signal in MSC communication. SOP and SON in MSPI0_SOP function and MSPI0_SON function can represent Positive (high level) and Negative (low level) of data output signal SO. Pin P2_13 configured with MSPI0_SOP function is connected to MSC_DI_P module 421 for realizing data input function of MSC communication in power device L9788, and pin P2_12 configured with MSPI0_SON function is connected to MSC_DI_N module 422 for realizing data input function of MSC communication in power device L9788. By configuring the pins P2_13 and P2_12 with the MSPI0_SOP function and the MSPI0_SON function, data such as the PWM and diagnostic command signals inside the microcontroller unit can be accurately and quickly transmitted to the power device L9788.
[0071] Those skilled in the art may also select pin P2_9 as a pin configured with a chip select signal function. Pin P2_9 is configured as an MSPI0CSS4 (CS, Chip Select, chip select signal) function, which is used to simulate an enable signal in MSC communication. The MSPI0CSS4 function is a function of a chip select signal (CS, Chip Select) for implementing the SPI protocol in a microcontroller unit. Pin P2_9 configured with the MSPI0CSS4 function may be connected to a MSC_EN (Enable) module 430 for implementing an MSC enable signal receiving function in a power device L9788. Pin P2_9 may activate data transmission at a low level, thereby achieving precise control of data transmission.
[0072] To simulate the data transmission of the uplink channel in MSC communication, a person skilled in the art may select pin P2_11 as the pin of the second module. Pin P2_11 is configured as the RLIN33RX function to realize the utilization of the RX function of the LIN protocol. Here, RLIN (Reduced Local Interconnect Network) may represent an IP function module in a microcontroller unit that integrates the LIN protocol function. The RLIN33RX function may realize the RX function of the LIN protocol. Pin P2_11 configured with the RLIN33RX function may be connected to the MSC_DO module 440 in the power device L9788 for realizing the output function of MSC communication. Thus, the pin P2_11 may be used to receive a response signal or status information from the power device L9788 to ensure that the microcontroller unit can obtain the working status of the power device L9788 in real time.
[0073] In this way, by configuring the pins included in the first module and the second module of the microcontroller unit, it is possible to realize simulated MSC communication between the microcontroller unit that does not have the MSC communication function and the power device L9788 that has the MSC communication function. Based on this, the pin configuration and communication protocol of the microcontroller unit are optimized, the efficiency and stability of data transmission are improved, and effective technical support is provided for performance optimization and intercommunication efficiency improvement of automotive electronic control systems.
[0074] Those skilled in the art will appreciate that information, signals, and data may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips cited throughout the above description may be represented by voltage, current, electromagnetic waves, magnetic fields or magnetic particles, optical fields or optical particles, or any combination thereof.
[0075] Those skilled in the art will further appreciate that the various illustrative logic blocks, modules, circuits, and algorithm steps described in conjunction with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or a combination of the two. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps are generally described above in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system. The technician may implement the described functionality in different ways for each specific application, but such implementation decisions should not be interpreted as resulting in a departure from the scope of the present invention.
[0076] The various illustrative logic modules and circuits described in conjunction with the embodiments disclosed herein may be implemented or executed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in cooperation with a DSP core, or any other such configuration.
[0077] In one or more exemplary embodiments, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented as a computer program product in software, each function may be stored on or transmitted by a computer-readable medium as one or more instructions or codes. Computer-readable media include both computer storage media and communication media, including any medium that facilitates the transfer of a computer program from one place to another. Storage media may be any available medium that can be accessed by a computer. As an example and not limitation, such a computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer. Any connection is also properly referred to as a computer-readable medium. For example, if the software is transmitted from a website, a server, or other remote source using a coaxial cable, a fiber optic cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves, the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the definition of the medium. Disk and disc as used herein include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, wherein disk often reproduces data magnetically, while disc reproduces data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0078] The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples and designs described herein, but should be granted the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A microcontroller unit, characterized in that It includes a first module for simulating a downlink channel of MSC communication and a second module for simulating an uplink channel of MSC communication. The first module uses the SPI protocol to achieve synchronous data output, and the second module uses the RX function of the LIN protocol to achieve asynchronous data reception.
2. The microcontroller unit according to claim 1, characterized in that The first module includes a pin configured with a differential clock signal function, a pin configured with a data transmission function, and a pin configured with a chip select signal function.
3. The microcontroller unit according to claim 1, characterized in that The first module is in an active state when a low level signal is received, and triggers a data output function based on a clock signal.
4. The microcontroller unit according to claim 1, characterized in that The first module is used to output a pulse width modulation signal and / or a diagnostic command generated by the microcontroller unit.
5. The microcontroller unit according to claim 1, characterized in that The asynchronous data received by the second module includes a start bit, an address bit and a data bit.
6. The microcontroller unit according to claim 1, characterized in that The second module is used to receive a response signal and / or status information.
7. The microcontroller unit according to claim 1, characterized in that The microcontroller unit communicates with the power device.
8. The microcontroller unit according to claim 7, characterized in that The power device in communication with the microcontroller unit includes an MSC communication function module.
9. The microcontroller unit according to claim 8, characterized in that The MSC communication function module includes a clock signal function module, a data input function module, an enable signal function module and a data output function module implemented by MSC communication.
10. An automotive electronic control system, characterized in that: include: Power devices; as well as A microcontroller unit as claimed in any one of claims 1 to 9.