SPRADP4 February 2025 AM620-Q1 , AM623 , AM625 , AM625-Q1 , AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1 , AM62P , AM62P-Q1 , AM67 , AM68A , AM69A , DRA821U , TDA4AEN-Q1 , TDA4AH-Q1 , TDA4AL-Q1 , TDA4AP-Q1 , TDA4VE-Q1 , TDA4VEN-Q1 , TDA4VH-Q1 , TDA4VL-Q1 , TDA4VM , TDA4VM-Q1 , TDA4VP-Q1
When the node sends an error frame or flag, this keeps the track of this status in a buffer register.
CAN controller is has two registers namely TEC and REC.
Transmit Error Counter Register (TEC): Which counts the number of transmission errors detected on the frames that the ECU sends. Transmit Error Counter, values between 0 and 255.
Receive Error Counter Register (REC): Which counts the number of reception errors detected on the frames that the ECU receives. Receive Error Counter, values between 0 and 127.
Whenever any node detects an error and sends an error frame, the node increases the counter value. If there is a successful message after an error flag, then the node decreases the counter value. The increase or decrease of TEC or REC counter value depends if the error happened in Transmitter ECU or receiver ECU. There are several rules governing how these counters are incremented or decremented.
A CAN node can be possibly in one of the three error states: