User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 312
UG585 (v1.11) September 27, 2016
Chapter 10: DDR Memory Controller
10.6.5 DRAM Reset and Initialization
The DDRC performs DRAM reset and initialization per the JEDEC specs, including reset, refresh, and
mode registers initialization.
10.6.6 DRAM Input Impedance (ODT) Calibration
The DRAM mode and extended mode set commands are controlled by the ddrc.DRAM_EMR_MR_reg
and ddrc.DRAM_EMR_reg registers. The encoding for these registers can be found in DRAM device
data sheets or JEDEC specifications. The register format for of these commands are shown in
Appendix B, Register Details.
The on-die-termination (ODT) is available in DDR2 and DDR3/DDR3L devices with the following
features:
In DDR3/DDR3L devices, the ODT value is controlled via Mode register MR1. It can be disabled,
or set to one of the following values: 120
, 60, or 40.
In DDR2 devices, the ODT value is controlled via the mode register EMR. It can be disabled, or
set to one of the following values: 75
, 150, or 50.
Both DDR2 and DDR3/DDR3L devices have a dedicated ODT input pin that is used to enable the
ODT during write operations, and disable it otherwise.
Calibration
DDR3/DDR3L devices provide ODT calibration via the ZQCL and ZQCS commands. The ZQCL (ZQ
calibration long) command is issued as part of the DRAM initialization procedure and is used for
initial calibration, which takes about 512 DDR_3x clock cycles. The ZQCS (ZQ calibration short) is
subsequently issued automatically by the DDRC for minor calibration adjustments. A typical ZQCS
interval is 100 ms.
DDR2 (and LPDDR2) devices do not provide ODT calibration.