User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 697
UG585 (v1.11) September 27, 2016
Chapter 25: Clocks
3. Update the DIVISOR to the desired value.
6-bit Programmable Divider
The 6-bit divider provides a divide range of 1 to 63, supports both even and odd divide values while
producing a close to 50% duty cycle, and is glitchless (divide values can be modified dynamically).
The only two exceptions to this rule are that the DDR_3X divider can only be programmed to divide
by an even divisor and the ARM_CLK_CTRL[DIVISOR] can not be programmed with a 1 or 3 when the
PLL is being used. Some reference clocks have one divider and some have two dividers.
25.10.2 DDR Clocks
IMPORTANT: It is a requirement that the DDR_3x clock must always be programmed to an even divisor.
RECOMMENDED: Changing the divider frequency does not produce glitches on the clock, however the
DDR controller will not necessarily operate correctly if the frequency is changed without modifying its
timing parameters. Therefore, it is suggested to first idle the DDR controller when the DDR clock is to
be reprogrammed.
25.10.3 Digitally Controlled Impedance (DCI) Clock
The digitally controlled impedance (DCI) clock is required by the DDR PHY for calibration. The DCI
clock is a low frequency clock, normally set to 10 MHz.
25.10.4 PLLs
The three PLLs share the clock input signal, PS_ CLK. Each PLL can be bypassed individually under
software control. As part of the power-on reset sequence, all PLLs can be bypassed using the
pll_bypass boot mode pin straps. (Refer to the boot mode section of Chapter 6, Boot and
Configuration.)
The PLL configuration and control registers are in the SLCR. The PLL frequency control registers
include the M (feedback divide ratio also known as PLL_FDIV), LOCK_CNT, PLL_CP, and PLL_RES
control fields. For each divide ratio M, the PLL_CP, PLL_RES, and LOCK_CNT fields must always be
written with the values shown in Table 25-6; the reset default values are not supported. After being
enabled, the PLL with take some time to lock. The length of time is specified by the tLOCK_PSPLL
data sheet parameter.
Enable PLL Mode when PLL Bypass Mode Pin is Tied High
After the system boots in bypass mode, the following sequence can be used to enable a PLL. Each
PLL can be individually enabled. This example shows how to enable the ARM PLL:
1. Program the ARM_PLL CTRL[PLL_FDIV] value and the PLL configuration register,
ARM_PLL_CFG[LOCK_CNT, PLL_CP, PLL_RES], to their required values.