AnsweredAssumed Answered

[mpc5744p] flexcan bus-off error

Question asked by Filip Blawzdziewicz on Aug 23, 2018
Latest reply on Mar 27, 2019 by Petr Stancik

Hi All, 

I have a question about flexcan error interrupt handling. Two interrupts are enabled: Bus off (CAN_CTRL1[BOFFMSK]) and error interrupt (CAN_CTRL1[ERRMSK]). Is it possible that bus off interrupt can come without general error interrupt(CAN_ESR1[ERRINT] && CAN_ESR1[BOFFINT])? 

Is this condition possible?

if (CAN_ESR1[ERRINT] == 0 && CAN_ESR1[BOFFINT] == 1) ...


Thank you in advance for your help.