mpc5748g Bus Off register

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

mpc5748g Bus Off register

ソリューションへジャンプ
597件の閲覧回数
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 解決策
576件の閲覧回数
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 返信
577件の閲覧回数
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 件の賞賛