摘要 |
In response to a request of a self-diagnosis, transmission data stored in a first slot of a message slot unit is transferred to an intermediate buffer of a control unit, and pieces of serial data obtained from the transmission data are output from a receive-transmit unit of a protocol control unit to a CAN bus. Each piece of serial data is returned to the receive-transmit unit and is stored in the intermediate buffer as loop back data. When the outputting of the serial data is completed, the protocol control unit informs the control unit of transmission completion, the loop back data is transferred to a second slot, and a CPU compares the loop back data of the second slot and the transmission data of the first slot. Therefore, a CAN controller can make the self-diagnosis of a function of the data transmission.
|