Error_Status (CANFD) Register Description
Register Name | Error_Status |
---|---|
Relative Address | 0x0000000014 |
Absolute Address |
0x00FF060014 (CANFD0) 0x00FF070014 (CANFD1) |
Width | 12 |
Type | wtcReadable, write a 1 to clear |
Reset Value | 0x00000000 |
Description | Error Status |
The error status register indicates the type of error that has occurred on the CAN bus. If more than one error occurs, all relevant error flag bits are set = 1. The error bits are sticky, they remain set until cleared by writing a 1 to the bit. Read: 0: no error 1: error or errors detected Write: 0: no effect 1: clears bit to 0 Note 1: In transmitter delay compensation phase, any error is reported as fast bit error (by the transmitter). Note 2: Fixed stuff bit errors are reported as form error, [FMER]. Note 3: In case of a CRC Error and a CRC delimiter corruption, only the [FMER] bit is set. Software Driver name: XCANFD_ESR Alternate register name: Error_Status_Register
Error_Status (CANFD) Register Bit-Field Summary
Field Name | Bits | Type | Reset Value | Description |
---|---|---|---|---|
F_BERR | 11 | wtcReadable, write a 1 to clear | 0x0 | Bit Error in CAN FD Data Phase 1 = indicates bit error occurred in Data Phase (Fast) data rate 0 = indicates bit error has not occurred in Data Phase (Fast) data rate after the last write to this bit If this bit is set, writing a 1 clears it. |
F_STER | 10 | wtcReadable, write a 1 to clear | 0x0 | Stuff Error in Data Phase indicator: 0: error has not occurred in Data Phase (Fast) data rate after the last write to this bit. 1: error occurred in Data Phase (Fast) data rate Note: Write a 1 to clear this bit. |
F_FMER | 9 | wtcReadable, write a 1 to clear | 0x0 | Form Error Indicator in Data Phase: 0: error has not occurred in Data Phase (Fast) data rate after the last write to this bit. 1: error occurred in Data Phase (Fast) data rate Note: Write a 1 to clear this bit. |
F_CRCER | 8 | wtcReadable, write a 1 to clear | 0x0 | CRC Error in CAN FD Data Phase 1 = indicates CRC error occurred in Data Phase (Fast) data rate 0 = indicates CRC error has not occurred in Data Phase (Fast) data rate after the last write to this bit. If this bit is set, writing a 1 clears it. |
ACKER | 4 | wtcReadable, write a 1 to clear | 0x0 | ACK Error Indicates an acknowledgement error. 1 = indicates an acknowledgement error has occurred 0 = indicates an acknowledgement error has not occurred on the bus after the last write to this bit If this bit is set, writing a 1 clears it. |
BERR | 3 | wtcReadable, write a 1 to clear | 0x0 | Bit Error. Indicates the received bit is not the same as the transmitted bit during bus communication. 1 = indicates a bit error has occurred 0 = indicates a bit error has not occurred on the bus after the last write to this bit If this bit is set, writing a 1 clears it. |
STER | 2 | wtcReadable, write a 1 to clear | 0x0 | Stuff Error. Indicates an error if there is a stuffing violation. 1 = indicates a stuff error has occurred 0 = indicates a stuff error has not occurred on the bus after the last write to this bit If this bit is set, writing a 1 clears it. |
FMER | 1 | wtcReadable, write a 1 to clear | 0x0 | Form Error. Indicates an error in one of the fixed form fields in the message frame. 1 = indicates a form error has occurred 0 = indicates a form error has not occurred on the bus after the last write to this bit If this bit is set, writing a 1 clears it. |
CRCER | 0 | wtcReadable, write a 1 to clear | 0x0 | CRC Error. Indicates a CRC error has occurred. 1 = indicates a CRC error has occurred 0 = indicates a CRC error has not occurred on the bus after the last write to this bit If this bit is set, writing a 1 clears it. |