摘要 |
A microcontroller for a control unit, in particular for a vehicle control unit, includes a central processing unit (CPU), at least one interface-unspecific input module, at least one interface-unspecific output module, at least one routing unit and at least one arithmetic unit for processing interface-specific information. The microcontroller is configurable in such a way that the at least one interface-unspecific input module, the at least one interface-unspecific output module, the at least one routing unit and the at least one arithmetic unit for processing interface-specific information fulfill functions corresponding to one of multiple serial interfaces, in particular of SPI, UART, LIN, CAN, PSI5, FlexRay, SENT, IC2, MSC or Ethernet. |
主权项 |
1. A method for providing at least one generic interface in a vehicle control unit having a microcontroller, the method comprising:
receiving input data according to a protocol of the one of multiple serial interfaces via at least one interface-unspecific input module; transmitting the input data via a routing unit to at least one arithmetic unit; extracting, by the at least one arithmetic unit, first payload data from the input data, in particular by removing specifics of the protocol from the input data; making the first payload data available to a central processing unit (CPU); receiving, by the at least one arithmetic unit, second payload data of the central processing unit (CPU); generating, by the at least one arithmetic unit, output data from the second payload data, in particular by adding specifics of the protocol to the second payload data; transmitting the output data via the routing unit to at least one interface-unspecific output module; and sending the output data corresponding to the protocol of the one of the multiple serial interfaces via the at least one interface-unspecific output module; wherein the microcontroller includes the central processing unit (CPU), the at least one interface-unspecific input module, the at least one interface-unspecific output module, the at least one routing unit and the at least one arithmetic unit for processing interface-specific information, and wherein the at least one generic interface is configurable to provide functions corresponding to one of multiple serial interfaces depending on the configuration. |