03-23-2009 07:30 PM
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
03-24-2009 02:35 PM
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?