User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 581
UG585 (v1.11) September 27, 2016
Chapter 18: CAN Controller
Example: Reset using Local CAN Reset
1. Write to the Local CAN reset register. Write a 1 to can.SRR[SRST] bit field. This bit is
self-clearing.
Example: Reset using Reset Subsystem
1. Write to the slcr reset register for CAN. Write a 1 then a 0 to the
slcr.CAN_RST_CTRL[CANx_CPU1X_RST] bit field.
18.5 I/O Interface
18.5.1 MIO Programming
Each set of controller Rx/Tx signals is connected to either MIO pins or the EMIO interface, refer to
Table 18-8, page 582. The general routing concepts and MIO I/O buffer configurations are explained
in section 2.4 PS–PL Voltage Level Shifter Enables. The MIO routing to use an external reference
clock (CAN_REF_CLK) is described in section 18.4.1 Clocks.
Example: Configure Rx/Tx Signals to MIO Pins
1. Configure MIO pin 46 for the Rx signal. Write 0x0000_1221 to the slcr.MIO_PIN_46 register:
a. Route CAN0 Rx signal to pin 46.
b. Output disabled (set TRI_ENABLE = 1).
c. LVCMOS18 (refer to the register definition for other voltage options).
d. Slow CMOS edge (benign setting).
e. Enable internal pull-up resistor.
f. Diable HSTL receiver.
2. Configure MIO pin 47 for the Tx signal. Write 0x0000_1220 to the slcr.MIO_PIN_47 register:
a. Route CAN0 Tx signal to pin 47.
b. 3-state controlled by CAN (TRI_ENABLE = 0).
c. LVCMOS18 (refer to the register definition for other voltage options).
d. Slow CMOS drive edge.
e. Enable internal pull-up resistor.
f. Disable HSTL receiver.
18.5.2 MIO-EMIO Signals
The CAN I/O Signals are identified in Table 18-8. Refer to section 2.4 PS–PL Voltage Level Shifter
Enables for routing details. The MIO pins and any restrictions based on device versions are shown in
the MIO table in section 2.5.4 MIO-at-a-Glance Table.