mpc5748g Bus Off register

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mpc5748g Bus Off register

Jump to solution
634 Views
skseofh
Contributor II

Hi, I got really helpful answer for my last question.

https://community.nxp.com/t5/MPC5xxx/MPC5748G-CAN-Bus-Off/m-p/1261695#M17968

 

I have a one more question.

CAN_ESR1.BOFFDONEINT is set after counting 128 occurrences of 11 consecutive recessive bits on the CAN bus.

And if CAN_ERS2.BOFFDONEMSK is set, an interrupt is generated to the CPU.

 

How is this related with CAN_CTRL1.BOFFREC bit?

I asserted CAN_CTRL1.BOFFREC(disable auto recovery) and asserted CAN_ERS2.BOFFDONEMSK, but didn't get out of the Bus-off state.

Is CAN_CTRL1.BOFFREC bit only related to get out of the Bus-Off state?

0 Kudos
1 Solution
613 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes, in manual recover mode you have to clear BOFFREC so you can get out of bus off state. After leaving bus off you can set BOFFREC again.

BR, Petr

View solution in original post

0 Kudos
1 Reply
614 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes, in manual recover mode you have to clear BOFFREC so you can get out of bus off state. After leaving bus off you can set BOFFREC again.

BR, Petr

0 Kudos