www.ti.com

Peripheral Architecture

2Peripheral Architecture

The DDR2 memory controller can gluelessly interface to most standard DDR2 SDRAM devices and supports such features as self-refresh mode and prioritized refresh. In addition, it provides flexibility through programmable parameters such as the refresh rate, CAS latency, and many SDRAM timing parameters.

The following sections describe the architecture of the DDR2 memory controller as well as how to interface and configure it to perform read and write operations to DDR2 SDRAM devices. Also, Section 3 provides a detailed example of interfacing the DDR2 memory controller to a common DDR2 SDRAM device.

2.1Clock Control

The DDR2 memory controller is clocked directly from the output of the second phase-locked loop (PLL2) of the device. The PLL2 multiplies its input clock by 20. This clock is divided by 2 to generate DDR_CLK. The frequency of DDR_CLK can be determined by using the following formula:

DDR_CLK frequency = (PLL2 input clock frequency×20)/2 = PLL2 input clock frequency×10

The second output clock of the DDR2 memory controller, DDR_CLK, is the inverse of DDR_CLK. For more information on the PLL2, see the device-specific data manual.

2.2Memory Map

Please see the device-specific data manual for information describing the device memory map.

2.3Signal Descriptions

The DDR2 memory controller signals are shown in Figure 2 and described in Table 1. The following features are included:

The maximum width for the data bus (DDR_D[31:0]) is 32-bits.

The address bus (DDR_A[13:0]) is 14-bits wide with an additional 3 bank address pins (DDR_BA[2:0]).

Two differential output clocks (DDR_CLK and DDR_CLK) driven by internal clock sources.

Command signals: Row and column address strobe (DDR_RAS and DDR_CAS), write enable strobe (DDR_WE), data strobe (DDR_DQS[3:0] and DDR_DQS[3:0]), and data mask (DDR_DQM[3:0]).

One chip select signal (DDR_CS) and one clock enable signal (DDR_CKE).

Two on-die termination output signals (DDR_ODT[1:0]).

SPRUF85 –October 2007

DSP DDR2 Memory Controller

11

Submit Documentation Feedback

Page 11
Image 11
Texas Instruments TMS320C6452 DSP manual Clock Control, Memory Map, Signal Descriptions