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.
| Field Name | Bits | Type | Reset Value | Description |
|---|---|---|---|---|
| reserved | 31:13 | rw | 0x0 | Reserved |
|
XCANPS_SR_SNOOP_MASK (SNOOP) |
12 | ro | 0x0 |
Snoop Mode Indicates the CAN controller is in Snoop Mode. 1: Indicates the CAN controller is in Snoop Mode. 0: Indicates the CAN controller is not in Snoop mode. |
|
XCANPS_SR_ACFBSY_MASK (ACFBSY) |
11 | ro | 0x0 |
Acceptance Filter Busy indicator. Indicates write-ablity of the Mask and ID registers, read-only: 0: writable 1: not writable. This bit reads 1 when a 0 is written to any of the valid UAF bits in an Acceptance Filter Register. |
|
XCANPS_SR_TXFLL_MASK (TXFLL) |
10 | ro | 0x0 |
Transmit FIFO Full Indicates that the TX FIFO is full. 1: Indicates the TX FIFO is full. 0: Indicates the TX FIFO is not full. |
|
XCANPS_SR_TXBFLL_MASK (TXBFLL) |
9 | ro | 0x0 |
High Priority Transmit Buffer Full Indicates the High Priority Transmit Buffer is full. 1: Indicates the High Priority Transmit Buffer is full. 0: Indicates the High Priority Transmit Buffer is not full. |
|
XCANPS_SR_ESTAT_MASK (ESTAT) |
8:7 | ro | 0x0 |
Error Status Indicates the error status of the CAN controller. 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. |
|
XCANPS_SR_ERRWRN_MASK (ERRWRN) |
6 | ro | 0x0 |
Error 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 greater than or equal to 96. 0: Neither of the error counters has a value greater than or equal to 96. |
|
XCANPS_SR_BBSY_MASK (BBSY) |
5 | ro | 0x0 |
Bus Busy Indicates the CAN bus status. 1: Indicates that the CAN controller is either receiving a message or transmitting a message. 0: Indicates that the CAN controller is either in Configuration mode or the bus is idle. |
|
XCANPS_SR_BIDLE_MASK (BIDLE) |
4 | ro | 0x0 |
Bus Idle Indicates the CAN bus status. 1: Indicates no bus communication is taking place. 0: Indicates the CAN controller is either in Configuration mode or the bus is busy. |
|
XCANPS_SR_NORMAL_MASK (NORMAL) |
3 | ro | 0x0 |
Normal Mode Indicates the CAN controller is in Normal Mode. 1: Indicates the CAN controller is in Normal Mode. 0: Indicates the CAN controller is not in Normal mode. |
|
XCANPS_SR_SLEEP_MASK (SLEEP) |
2 | ro | 0x0 |
Sleep Mode Indicates the CAN controller is in Sleep mode. 1: Indicates the CAN controller is in Sleep mode. 0: Indicates the CAN controller is not in Sleep mode. |
|
XCANPS_SR_LBACK_MASK (LBACK) |
1 | ro | 0x0 |
Loop Back Mode Indicates the CAN controller is in Loop Back mode. 1: Indicates the CAN controller is in Loop Back mode. 0: Indicates the CAN controller is not in Loop Back mode. |
|
XCANPS_SR_CONFIG_MASK (CONFIG) |
0 | ro | 0x1 |
Configuration Mode Indicator Indicates the CAN controller is in Configuration mode. 1: Indicates the CAN controller is in Configuration mode. 0: Indicates the CAN controller is not in Configuration mode. |