I want to test the integrity of the CAN bus (also my CAN transceiver) periodically using the following method (independent of the other nodes).
Assume two nodes always exist (node A and node B). When node A transmits a message on the bus, node B will receive the message. But can/will node A also receive the message so that I can confirm that the data has gone to the bus and has been received back uncorrupted?
I'm in confusion as to whether the transmitter can be used to receive the same message it transmits, so that the health check of the bus can be independent of the other nodes. Though the message that will be sent on the bus will be received by the other nodes, it doesn't matter, I'll discard such messages in software / acceptance filter, etc. in the receiving nodes.
Whether this method can be used in addition to all the error mechanisms, CRC, etc. provided in the CAN specification itself or are there any other methods for checking the integrity of the CAN bus via software (like internal loopback, echo test, etc.). I'm using the RM57 microcontroller BTW (if it helps).