Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

What exactly is the ECC Register ?

After performing a low temperature / altitude test on a piece of equipment, our CANbus log showed that several Rx errors had occured during the test and the ECC register showed a value of 243.

Can anybody tell me what the value in this register means?

 

Regards,

Andy

0 Kudos
Message 1 of 2
(13,126 Views)

ECC is the Error Code Capture register of the SJA1000 chip. If you aren't using NI-CAN  hardare you may have a different chip and it may also have an ECC register that may be different.

 

243 = 0xF3 = 11110011

 

From the SJA1000 manual (see nxp.com)

Bits 7:6 Error Code = 11 = 'other type of error'

Bit 5 Direction = 1 = 'RX; error occurred during reception'

Bits 4:0 Segment = 10011 =  'tolerate dominant bits'

 

From Application Note 97076 (see nxp.com)

tolerate dominant bits should be with a form error and means that dominant was detected on the bus for more than 7 bits times after active error flag or overload flag.

 

Since you didn't get this segment with a form error, I am pretty confused.  Are you certain about the 243?

Message 2 of 2
(13,120 Views)