Are you sure that the CAN controller actually is sending the wrong data since this didn't happen when you where running without interrupts?
Perhaps you are only fixing some of the effects from the real, so far unidentified, error.
But now you should be able to trace exactly what is going on in the processor and what interrupts, if any, are triggered around the time where you get the wrong data.
/Ruben
Perhaps you are only fixing some of the effects from the real, so far unidentified, error.
But now you should be able to trace exactly what is going on in the processor and what interrupts, if any, are triggered around the time where you get the wrong data.
/Ruben