AnsweredAssumed Answered

s32k144 CAN recover bus off status

Question asked by shingo zhou on Jun 13, 2018
Latest reply on Jun 18, 2018 by Petr Stancik

Hi:

How to identify the CAN bus status as bus off or normal state without receiving data ? Through reading register CAN_ESR1[BOFFINT]?

I want to record the number of times CAN enter the bus off state, obviously, It sets automatic recovering from bus off state disabled. I re-initial the flexcan driver after bus off status, and how to know the current status whether normal or bus off without receiving data. 

 

BR

shingo

Outcomes