Hi,
When debugging with CAN box, it needs to send data 3 times before entering CAN interruption. What's the problem? When sending data for the first and second time, CANMDL and CANMDH values remain unchanged, but changed when for the third time. What is the cause?
There is failure of CAN interruption occasionally. According to the check of CANRMP, I found that it had been set to 1 and had not been reset to 0, so the interruption of gif failed and the interruption function failed. But I was really confused. In the interruption function, I judged the receive mailbox according to the bit of rmp and accepted the corresponding data, after that, I reset the corresponding rmp to 0. Theoretically there should be no RMP not reset to 0.