User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 579
UG585 (v1.11) September 27, 2016
Chapter 18: CAN Controller
18.4 System Functions
18.4.1 Clocks
The controller and I/O interface are driven by the reference clock (CANx_REF_CLK). The controller's
interconnect also requires an APB interface clock. The APB interconnect clock (CPU_1x) always comes
from the PS clock subsystem.
The reference clock normally comes from the PS clock subsystem, but it can alternatively be driven
by an external clock source via any available MIO pin. The reference clock is used by the protocol
engine, the baud rate generator, and the datapath. The controllers share the same reference clock
frequency from the PS clock subsystem. If the reference clock is from an MIO pin, then the
frequencies can be different.
CPU_1x Clock
Refer to Chapter 25, Clocks, for general clock programming information. The CPU_1x clock runs
asynchronous to the CAN reference clock.
Reference Clock
CAN_REF_CLK is normally sourced from the PS clock subsystem, but it can alternatively be driven by
an external clock source via an MIO pin. Internally, the PS has three PLLs and two clock divider pairs.
The clock source choice, PS clock subsystem or external MIO pin, is controlled by the
CAN_MIOCLK_CTRL register.
The CAN clocks in the PS are controlled by slcr.CAN_CLK_CTRL. The generation of the CAN reference
clock by the PS is described in section The Quad-SPI clock is divided down by at least two using the
Quad-SPI baud rate divider, see section 12.4.1 Clocks. In master mode, the SPI clock is divided down
by at least four using the SPI baud rate divider, see section 17.4.2 Clocks.. There is one clock
Receive FIFO RXFIFO_ID
RXFIFO_DLC
RXFIFO_DATA1
RXFIFO_DATA2
Read received message.
Acceptance Filter AFR
AFMR[4:1]
AFIR[4:1]
Configure and control the four acceptance
filters.
System level slcr.CAN_CLK_CTRL
slcr.CAN_MIOCLK_CTRL
slcr.CAN_RST_CTRL
A controller reset and clock control.
Table 18-6: CAN Register Overview (Cont’d)
Function
Register Names
(CAN registers, except
where noted)
Overview