Error_Count (CANFD) Register

Versal Adaptive SoC Register Reference (AM012)

Document ID
AM012
Release Date
2023-08-29
Revision
1.3

Error_Count (CANFD) Register Description

Register NameError_Count
Relative Address0x0000000010
Absolute Address 0x00FF060010 (CANFD0)
0x00FF070010 (CANFD1)
Width16
TyperoRead-only
Reset Value0x00000000
DescriptionError Count

The value of the error counters in the register reflect the values of the transmit and receive error counters in the core. The following conditions reset the Transmit and Receive Error counters: * When 1 is written to the SW_Reset [SRST] bit. * When 0 is written to the SW_Reset [CEN] bit. * When core enters Bus-Off state. * During Bus-Off recovery until the core enters Error Active state (after 128 occurrences of 11 consecutive recessive bits). Note: When in Bus-Off recovery, the Receive Error counter is advanced/incremented by 1 when a sequence of 11 consecutive nominal recessive bits is seen. Note: In SNOOP mode, error counters are disabled and cleared to 0. Reads to Error_Count register returns 0. Note: The Error_Count is a read-only register. Writes to the ECR have no effect. Software Driver name: XCANFD_ECR Alternate register name: Error_Counter_Register

Error_Count (CANFD) Register Bit-Field Summary

Field NameBitsTypeReset ValueDescription
REC15:8roRead-only0x0Receive Error Count
Indicates the value of Receive Error Counter.
TEC 7:0roRead-only0x0Transmit Error Count
Indicates the value of Transmit Error Counter.