We have a software were we use the CAN Library. We receive every 20ms a message. We also send and receive messages on a diffrent can id. After a while (10s to 30min) the CANLibMCP2515TransmitMessage Function stops to works and returns false. Receiving CAN message still works. When we close an reopen the CAN it works again.
The CANLibMCP2515GetStatus Function sometimes returns 0x00, somtimes 0x20.
What could be the reason for this transmit failure? How can we find out the error source?