Content originally posted in LPCWare by Harrie on Mon Sep 28 03:47:27 MST 2015
Thank you very much for your reply,
Hereby a more detailed explanation of the problem.
In the the CAN-rx function the pre-defined receive msgobjects are checked using a switch statement switch (msg_obj.msgobj).
In its different cases the data from its corresponding msgobject is processed.
The issue only takes place when the it is programmed to transmit CAN messages,
which effectively results into ignoring the incoming msgobject with the highest frequency ~500us on the canbus.
When transmitting at a rate of one message every 100ms, the problem occurs after approximately 15 to 30 minutes.
But with a higher transmission rate the system starts to ignore the msgobject even sooner.
The problem only occurs when the system is programmed to transmit messages, hence no transmission results in a functional system.
Unfortunately, reading the MSGVALID bit does not disclose the cause of the problem.