Texas Instruments TMS320DM643 manual DDR2 Memory Controller Signal Descriptions

Page 11

www.ti.com

Peripheral Architecture

2.3Signal Descriptions

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

The maximum data bus is 32-bits wide.

The address bus is 13-bits wide with an additional 3 bank address pins.

Two differential output clocks driven by internal clock sources.

Command signals: Row and column address strobe, write enable strobe, data strobe, and data mask.

One chip select signal and one clock enable signal.

Figure 3. DDR2 Memory Controller Signals

 

DDR_CLK

 

DDR_CLK

 

DDR_CKE

 

DDR_CS

 

DDR_WE

 

DDR_RAS

DDR2

DDR_CAS

memory

DDR_DQM[3:0]

controller

DDR_DQS[3:0]

 

 

DDR_BA[2:0]

 

DDR_A[12:0]

 

DDR_D[31:0]

 

200 Ω

 

DDR_ZN

 

200 Ω

 

DDR_ZP

 

 

Table 2. DDR2 Memory Controller Signal Descriptions

 

Pin

Type

Description

 

DDR_CLK,

O/Z

Clock: Differential clock outputs.

 

DDR_CLK

 

 

 

DDR_CKE

O/Z

Clock enable: Active high.

 

DDR_CS

O/Z

Chip select: Active low.

 

DDR_WE

O/Z

Write enable strobe: Active low, command output.

 

DDR_RAS

O/Z

Row address strobe: Active low, command output.

 

DDR_CAS

O/Z

Column address strobe: Active low, command output.

 

DDR_DQM[3:0]

O/Z

Data mask: Output mask signal for write data.

 

DDR_DQS[3:0]

I/O/Z

Data strobe: Active high, bi-directional signals. Output with write data, input with read data.

 

DDR_BA[2:0]

O/Z

Bank address: Output, defining which bank a given command is applied.

 

DDR_A[12:0]

O/Z

Address: Address bus.

 

DDR_D[31:0]

I/O/Z

Data: Bi-directional data bus. Input for read data, output for write data.

 

DDR_ZN,

O

Output impedance control: Required to set the DDR2 output impedance. Connected by way of

DDR_ZP

 

a 200-ohm resistor to power and ground (see Figure 3). The resistor should be chosen to be

 

 

 

4 times the desired impedance of the output buffer. By changing the size of the resistor, the

 

 

 

DDR2 outputs can be tuned to match the board load, if necessary.

 

SPRU986B–November 2007

DDR2 Memory Controller

11

Submit Documentation Feedback

 

 

Image 11
Contents Users Guide Submit Documentation Feedback Contents List of Figures List of Tables Read This First Purpose of the Peripheral FeaturesIndustry Standards Compliance Statement Functional Block DiagramSupported Use Case Statement Clock Source Clock Control3 DDR2 Memory Controller Internal Clock Domains Clock ConfigurationPLLC2 Configuration Memory MapPin Type Description Signal DescriptionsDDR2 Memory Controller Signal Descriptions Clock enable Active highProtocol Descriptions DDR2 Sdram CommandsTruth Table for DDR2 Sdram Commands Command FunctionRefresh Command Refresh ModeDeactivation Dcab and Deac Dcab CommandDeac Command Activation Actv Actv CommandDDR2 Read Command Read CommandDDR2 WRT Command Write WRT CommandDDR2 MRS and Emrs Command Mode Register Set MRS and EmrsAddressable Memory Ranges Memory Width and Byte AlignmentInternal Data 64-Bit DDRA2 DDRD310 Endianness ConsiderationsBit External Memory Internal Data 64-Bit DDRA21 DDRD150Bit Field Bit Value Bit Description Bank Configuration Register Fields for Address MappingAddress Mapping Logical Address-to-DDR2 Sdram Address Map for 16-bit Sdram Logical Address-to-DDR2 Sdram Address Map for 32-Bit SdramLogical Address-to-DDR2 Sdram Address Map DDR2 Sdram Column, Row, and Bank Access DDR2 Memory Controller Fifo Description DDR2 Memory Controller InterfaceCommand Ordering and Scheduling, Advanced Concept Possible Race Condition Command StarvationUrgency Level Description Self-Refresh ModeRefresh Scheduling Refresh Urgency LevelsReset Signal Reset Source Reset ConsiderationsReset Sources Auto-Initialization Sequence VTP IO Buffer CalibrationDDR2 Memory Controller DDR2 Sdram Configuration by MRS CommandDDR2 Sdram Configuration by EMRS1 Command Initializing Configuration RegistersPeripheral Architecture DMA Event Support Power ManagementInterrupt Support Emulation Considerations Supported Use Cases Connecting the DDR2 Memory Controller to DDR2 MemoryConnecting DDR2 Memory Controller for 32-Bit Connection DDR2 Memory Refresh Specification Configuring Sdram Bank Configuration Register SdbcrSdram Bank Configuration Register Sdbcr Configuration Configuring Sdram Refresh Control Register SdrcrDDR2 Data Register Field Manual Data Manual Formula Configuring Sdram Timing Registers Sdtimr and SDTIMR2Sdram Timing Register Sdtimr Configuration Sdram Timing Register 2 SDTIMR2 ConfigurationD63-32 Configuring DDR PHY Control Register DdrphycrDDR PHY Control Register Ddrphycr Configuration Register Field Name DescriptionDDR VTP Register Sdram Status Register SdrstatSdram Status Register Sdrstat Field Descriptions Acronym Register DescriptionBit Field Value Description Sdram Bank Configuration Register SdbcrSdram Bank Configuration Register Sdbcr Field Descriptions Reserved Reserved. Always write a 0 to this bit Sdram Refresh Control Register Sdrcr Field Descriptions Sdram Refresh Control Register SdrcrSdram Timing Register Sdtimr Field Descriptions Sdram Timing Register SdtimrSdram Timing Register 2 SDTIMR2 Field Descriptions Sdram Timing Register 2 SDTIMR2Peripheral Bus Burst Priority Register Pbbpr Peripheral Bus Burst Priority Register PbbprInterrupt Raw Register IRR Field Descriptions Interrupt Raw Register IRRInterrupt Masked Register IMR Field Descriptions Interrupt Masked Register IMRInterrupt Mask Set Register Imsr Field Descriptions Interrupt Mask Set Register ImsrInterrupt Mask Clear Register Imcr Field Descriptions Interrupt Mask Clear Register ImcrDDR PHY Control Register Ddrphycr Field Descriptions DDR PHY Control Register DdrphycrVTP IO Control Register Vtpiocr Field Descriptions VTP IO Control Register VtpiocrDDR VTP Register Ddrvtpr Field Descriptions DDR VTP Enable Register DdrvtperDDR VTP Enable Register Ddrvtper Field Descriptions DDR VTP Register DdrvtprAdditions/Modifications/Deletions Table A-1. Document Revision HistoryImportant Notice