Status (CANFD) Register

Versal Adaptive SoC Register Reference (AM012)

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

Status (CANFD) Register Description

Register NameStatus
Relative Address0x0000000018
Absolute Address 0x00FF060018 (CANFD0)
0x00FF070018 (CANFD1)
Width23
TyperoRead-only
Reset Value0x00000001
DescriptionCAN Bus, Mode, and Error Status

The CAN Status Register provides a status of all conditions of the Core. Specifically, FIFO status, Error State, Bus State and Configuration mode are reported. Software Driver name: XCANFD_SR Alternate register name: Status_Register

Status (CANFD) Register Bit-Field Summary

Field NameBitsTypeReset ValueDescription
TDCV22:16roRead-only0x0Transmitter Delay Compensation Value
This field gives the position of secondary sample point
(defined as sum of TDCOFF and measured delay for FDF to
res bit falling edge from TX to RX in CAN FD frame) in CAN
clocks.
This field is for status purpose.
SNOOP12roRead-only0x0Snoop Mode
1 = indicates controller is in Snoop mode provided Normal
mode bit is also set in this register.
BSFR_CONFIG10roRead-only0x0Bus-off Recovery Mode Indicator
1 = indicates the core is in Bus-off Recovery mode (Bus
Integration State)
When this bit is set then BBSY and NORMAL status bits in this register does not mean anything.
PEE_CONFIG 9roRead-only0x0PEE Mode Indicator
1 = indicates the core is in PEE mode (Bus Integration State)
When this bit is set then BBSY and NORMAL status bits in this register does not mean anything.
ESTAT 8:7roRead-only0x0Error Status. Indicates the error status of the core.
00 = indicates Configuration mode (CONFIG = 1). Error state
is undefined.
01 = indicates error active state
11 = indicates error passive state
10 = indicates bus-off state
ERRWRN 6roRead-only0x0Error Warning
Indicates that either the Transmit Error counter or the
Receive Error counter has exceeded a value of 96.
1 = one or more error counters have a value 96
0 = neither of the error counters has a value 96
BBSY 5roRead-only0x0Indicates the CAN bus status.
1 = indicates that the core is either receiving a message or
transmitting a message
0 = indicates that the core is either in Configuration mode or the bus is idle
BIDLE 4roRead-only0x0Bus Idle
Indicates the CAN bus status.
1 = indicates no bus communication is taking place
0 = indicates the core is either in Configuration mode or the bus is busy
NORMAL 3roRead-only0x0Normal Mode
Indicates that the core is in Normal mode.
1 = indicates that the core is in Normal mode
0 = indicates that the core is not in Normal mode
SLEEP 2roRead-only0x0Sleep Mode
Indicates that the core is in Sleep mode.
1 = indicates that the core is in Sleep mode
0 = indicates that the core is not in Sleep mode
LBACK 1roRead-only0x0Loopback Mode
Indicates that the core is in Loopback mode.
1 = indicates that the core is in Loopback mode
0 = indicates that the core is not in Loopback mode
CONFIG 0roRead-only0x1Configuration Mode Indicator.
Indicates that the core is in Configuration mode.
1 = indicates that the core is in Configuration mode
0 = indicates that the core is not in Configuration mode