CAN Bus-off register in MSCAN

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

CAN Bus-off register in MSCAN

1,205件の閲覧回数
pratibhasurabhi
Contributor V

In MSCAN Receiver Flag Register (CANRFLG), to monitor the Bus-off state which bits should we use in our software? In CANRFLG register, bits - RSTAT[1:0] or TSTAT[1:0] should we use to get the Bus-off status ? 

0 件の賞賛
返信
1 返信

1,196件の閲覧回数
StanoA
NXP TechSupport
NXP TechSupport

Hello Pratibhasurabhi,

This MCU has implemented the MSCAN_V3 so you need to monitor TSTAT[1:0] bits the decode the Bus-off state. The information in RSTAT[1:0] is redundant as mentioned under Table 13-10 in RM. You can use the automatic recovery mode or use the BORM = 1 for recovery upon user request.

I hope it helps you to solve your issue.

Have a nice day.

Stano.

 

0 件の賞賛
返信