AnsweredAssumed Answered

problem dealing with two CANs

Question asked by carl lin on Jan 12, 2016
Latest reply on Jan 13, 2016 by Radek Sestak

Hi, I am using MC9S12 MCU for a project which requires receiving messages from two separate CANs from a vehicle. The problem I am having is that one of the CAN interrupt will randomly stop receiving message from the CAN bus. when this happens, I have to restart the program again.

I never have this problem when dealing with receiving from one CAN. I have tried setting one CAN with high priority and another with lower priority but the problem persists. logically, I assume this happens when interrupt from one CAN happens before another CAN has finished processing the message. Is there a way to solve this problem? thanks,