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.
Filip
Hi,
if BOFFINT is set the ERRINT is set too, but it can be cleared independently, so it can happen you see
ERRINT=0 & BOFFINT=1.
BR, Petr