MSR (CAN) Register

Zynq UltraScale+ Devices Register Reference (UG1087)

Document ID
UG1087
Release Date
2024-03-13
Revision
1.10

MSR (CAN) Register Description

Register NameMSR
Offset Address0x0000000004
Absolute Address 0x00FF060004 (CAN0)
0x00FF070004 (CAN1)
Width32
TyperwNormal read/write
Reset Value0x00000000
DescriptionMode Select

Writing to the Mode Select Register (MSR) enables the CAN controller to enter Snoop, Sleep, Loopback, or Normal modes. In Normal mode, the CAN controller participates in normal bus communication. If the SLEEP bit is set to 1, the CAN controller enters Sleep mode. If the LBACK bit is set to 1, the CAN controller enters Loopback mode. If the SNOOP mode is set to '1', the CAN controller enters Snoop mode and does not participate in bus communication but only receives messages. The LBACK and SLEEP bits should never be set to 1 at the same time. At any given point the CAN controller can be either in Loopback mode or Sleep mode, but not both simultaneously. If both bits are set, then LBACK Mode takes priority. SNOOP Mode has least priority. In order for core to enter SNOOP mode LBACK and SLEEP modes should be set to '0'.

MSR (CAN) Register Bit-Field Summary

Field NameBitsTypeReset ValueDescription
Reserved31:3rwNormal read/write0x0Reserved.
SNOOP 2rwNormal read/write0x0Snoop Mode Select
The Snoop Mode Select bit.
1: CAN controller is in Snoop mode.
0: CAN controller is in Normal, Loopback, Configuration, or Sleep mode.
This bit can be written to only when CEN bit in SRR is 0.
LBACK 1rwNormal read/write0x0Loopback Mode Select
The Loopback Mode Select bit.
1: CAN controller is in Loopback mode.
0: CAN controller is in Normal, Snoop, Configuration, or Sleep mode.
This bit can be written to only when CEN bit in SRR is 0.
SLEEP 0rwNormal read/write0x0Sleep Mode Select
The Sleep Mode select bit.
1: CAN controller is in Sleep mode.
0: CAN controller is in Normal, Snoop, Configuration or Loopback mode.
This bit is cleared when the CAN controller wakes up from the Sleep mode.