mpc5748g Bus Off register

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

mpc5748g Bus Off register

跳至解决方案
813 次查看
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 项奖励
回复
1 解答
792 次查看
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 项奖励
回复
1 回复
793 次查看
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 项奖励
回复