CAN Bus-off register in MSCAN

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

CAN Bus-off register in MSCAN

1,506 次查看
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,497 次查看
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 项奖励
回复