Texas Instruments TMS320C6452 DSP Sdram Timing 2 Register SDTIM2, Todt Tsxnr, Tsxrd Trtp Tcke

Models: TMS320C6452 DSP

1 46
Download 46 pages 18.29 Kb
Page 43
Image 43

www.ti.com

DDR2 Memory Controller Registers

4.6SDRAM Timing 2 Register (SDTIM2)

Like the SDRAM timing 1 register (SDTIM1), the SDRAM timing 2 register (SDTIM2) also configures the DDR2 memory controller to meet the AC timing specification of the DDR2 memory. See the DDR2 memory data sheet for information on the appropriate values to program each field. The bit fields in the SDTIM2 register are only writeable when the TIMUNLOCK bit of the SDRAM Configuration register (SDCFG) is unlocked. SDTIM2 is shown in Figure 25 and described in Table 23.

Figure 25. SDRAM Timing 2 Register (SDTIM2)

31

25

24

23

22

 

16

Reserved

 

T_ODT

 

 

T_SXNR

R-0x0

 

R/W-0x3

 

 

R/W-0x7F

15

 

8

7

5

4

0

T_SXRD

 

 

 

T_RTP

 

T_CKE

R/W-0xFF

 

 

 

R/W-0x7

 

R/W-0x1F

LEGEND: R/W = Read/Write; R = Read only; -n= value after reset; -x = value is indeterminate after reset;

Table 23. SDRAM Timing 2 Register (SDTIM2) Field Descriptions

Bit

Field

Value

Description

31-25

Reserved

 

Reserved. The reserved bit location is always read as 0. A value written to this field has no effect.

24-23

T_ODT

 

These bits specify the number of DDR_CLK cycles from ODT enable to write data driven for DDR2

 

 

 

SDRAM. T_ODT must be less than the CAS latency minus one. Calculate using this formula:

 

 

 

T_ODT = CAS latency - taond - 1

22-16

T_SXNR

0-7Fh

These bits specify the minimum number of DDR_CLK cycles from a self_refresh exit to any other

 

 

 

command except a read command, minus 1. The value for these bits can be derived from the tSXNR

 

 

 

AC timing parameter in the DDR2 data sheet. Calculate using this formula:

 

 

 

T_SXNR = (tSXNR/DDR_CLK) - 1

15-8

T_SXRD

0-FFh

These bits specify the minimum number of DDR_CLK cycles from a self_refresh exit to a read

 

 

 

command, minus 1. The value for these bits can be derived from the tSXRD AC timing parameter in

 

 

 

the DDR2 data sheet. Calculate using this formula:

 

 

 

T_SXRD = tSXRD - 1

7-5

T_RTP

0-7h

These bits specify the minimum number of DDR_CLK cycles from a last read command to a

 

 

 

precharge command, minus 1. The value for these bits can be derived from the trtp AC timing

 

 

 

parameter in the DDR2 data sheet. Calculate using this formula:

 

 

 

T_RTP = (trtp/DDR_CLK) - 1

4-0

T_CKE

0-1Fh

These bits specify the minimum number of DDR_CLK cycles between transitions on the DDR_CKE

 

 

 

pin, minus 1. The value for these bits can be derived from the tcke AC timing parameter in the

 

 

 

DDR2 data sheet. Calculate using this formula:

T_CKE = tcke - 1

SPRUF85 –October 2007

DSP DDR2 Memory Controller

43

Submit Documentation Feedback

 

 

Page 43
Image 43
Texas Instruments TMS320C6452 DSP manual Sdram Timing 2 Register SDTIM2 Field Descriptions, Todt Tsxnr, Tsxrd Trtp Tcke