User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 798
UG585 (v1.11) September 27, 2016
Appendix B: Register Details
The Transfer Layer Configuration Registers can be changed only when CEN bit in the SRR Register is '0.' If
the CEN bit is changed during core operation, it is recommended to reset the core so that operations start
afresh.
Register (can) MSR
Register MSR Details
Writing to the Mode Select Register (MSR) enables the CAN controller to enter Snoop, Sleep, Loop Back, 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 Loop Back 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 Loop Back 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'.
Field Name Bits Type Reset Value Description
reserved 31:2 rw 0x0 Reserved.
CEN 1 rw 0x0 Can Enable
The Enable bit for the CAN controller.
1: The CAN controller is in Loop Back, Sleep or
Normal mode depending on the LBACK and
SLEEP bits in the MSR.
0: The CAN controller is in the Configuration
mode.
If the CEN bit is changed during core operation, it
is recommended to reset the core so that
operations start afresh.
SRST 0 rw 0x0 Reset
The Software reset bit for the CAN controller.
1: CAN controller is reset.
If a 1 is written to this bit, all the CAN controller
configuration registers (including the SRR) are
reset. Reads to this bit always return a 0.
Name MSR
Relative Address 0x00000004
Absolute Address can0: 0xE0008004
can1: 0xE0009004
Width 32 bits
Access Type rw
Reset Value 0x00000000
Description Mode Select Register