CAN Bus-off register in MSCAN

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

CAN Bus-off register in MSCAN

658 Views
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 Kudos
1 Reply

649 Views
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 Kudos