Texas Instruments TMS320C6455 manual Sdram Timing 2 Register SDTIM2, Todt Txsnr, Txsrd Trtp Tcke

Page 46

DDR2 Memory Controller Registers

www.ti.com

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. For information on the appropriate values to program each field, see the DDR2 memory section of the device-specific data manual. 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 24 and described in Table 23.

Figure 24. SDRAM Timing 2 Register (SDTIM2)

31

25

24

23

22

 

16

Reserved

 

T_ODT

 

 

T_XSNR

 

 

 

 

 

 

R-0x0

 

R/W-0x3

 

 

R/W-0x7F

15

 

8

7

5

4

0

 

 

 

 

 

 

 

T_XSRD

 

 

 

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

 

Minimum number of DDR clock cycles from ODT enable to write data driven for DDR2

 

 

 

SDRAM. T_ODT must be equal to tAOND.

 

 

 

T_ODT = tAOND

 

 

 

 

22-16

T_XSNR

0-7Fh

These bits specify the minimum number of DDR2CLKOUT 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 tXSNR AC timing parameter in the DDR2 section of the device-specific data manual.

 

 

 

Calculate using this formula:

 

 

 

T_XSNR = tXSNR - 1

15-8

T_XSRD

0-FFh

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

 

 

 

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

 

 

 

parameter in the DDR2 section of the device-specific data manual. Calculate using this

 

 

 

formula:

 

 

 

T_XSRD = tXSRD - 1

 

 

 

 

7-5

T_RTP

0-7h

These bits specify the minimum number of DDR2CLKOUT 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 section of the device-specific data manual. Calculate using this

 

 

 

formula:

 

 

 

T_RTP = (trtp/DDR2CLKOUT) - 1

 

 

 

 

4-0

T_CKE

0-1Fh

These bits specify the minimum number of DDR2CLKOUT cycles between transitions on the

 

 

 

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

 

 

 

parameter in the DDR2 section of the device-specific data manual. Calculate using this

 

 

 

formula:

 

 

 

T_CKE = tcke - 1

 

 

 

 

46

C6455/C6454 DDR2 Memory Controller

SPRU970G December 2005 Revised June 2011

 

 

Submit Documentation Feedback

Copyright © 20052011, Texas Instruments Incorporated

Image 46
Contents Users Guide Submit Documentation Feedback Contents List of Figures List of Tables Submit Documentation Feedback Read This First Read This First Functional Block Diagram FeaturesPurpose of the Peripheral Industry Standards Compliance Statement Clock Control Signal DescriptionsMemory Map DDR2 Memory Controller Signal Descriptions Pin DescriptionCommand Function DDR2 Sdram CommandsTruth Table for DDR2 Sdram Commands Protocol DescriptionsMode Register Set MRS and Emrs DDR2 MRS and Emrs CommandRefresh Mode Refresh CommandActv Command Activation ActvDcab Command Deactivation Dcab and DeacDeac Command Read Command DDR2 Read CommandAddressable Memory Ranges Write WRT CommandMemory Width, Byte Alignment, and Endianness Address Type Generated by DDR2Bit Field Bit Value Bit Description Bank Configuration Register Fields for Address MappingAddress Mapping IbankLogical Address-to-DDR2 Sdram Address Map for 32-Bit Sdram Logical Address-to-DDR2 Sdram Address Map DDR2 Memory Controller Interface DDR2 Memory Controller Fifo DescriptionDDR2 Memory Controller Fifo Block Diagram Command Ordering and Scheduling, Advanced ConceptCommand Starvation Refresh Urgency Levels Refresh SchedulingPossible Race Condition Urgency Level DescriptionDevice and DDR2 Memory Controller Reset Relationship Self-Refresh ModeReset Considerations DDR2 Memory Controller Reset Effect Initiated byDDR2 Sdram Extended Mode Register 1 Configuration 11.1 DDR2 Sdram Device Mode Register Configuration ValuesDDR2 Sdram Mode Register Configuration Mode Register FieldInterrupt Support 11.2 DDR2 Sdram Initialization After Reset11.3 DDR2 Sdram Initialization After Register Configuration Edma Event SupportUsing the DDR2 Memory Controller Connecting the DDR2 Memory Controller to DDR2 SdramConnecting to Two 16-Bit DDR2 Sdram Devices Connecting to a Single 16-Bit DDR2 Sdram Device Connecting to Two 8-Bit DDR2 Sdram Devices Programming the Sdram Refresh Control Register Sdrfc Programming the Sdram Configuration Register SdcfgSdcfg Configuration FieldConfiguring Sdram Timing Registers SDTIM1 and SDTIM2 DDR2 Memory Refresh SpecificationSdrfc Configuration SDTIM1 ConfigurationDDR2 Sdram Data Register Field Sheet Parameter SDTIM2 ConfigurationDmcctl Configuration Name DescriptionOffset DDR2 Memory Controller RegistersRegister Description Module ID and Revision Register Midr Field Descriptions Module ID and Revision Register MidrBit Field Value Description DDR2 Memory Controller Status Register Dmcstat IfrdySdram Configuration Register Sdcfg Sdram Configuration Register Sdcfg Field DescriptionsSequence. Values 4-7 are reserved for this field Sdram Refresh Control Register Sdrfc Sdram Refresh Control Register Sdrfc Field DescriptionsTrfc TRP Trcd TWR Sdram Timing 1 Register SDTIM1Sdram Timing 1 Register SDTIM1 Field Descriptions Tras TRC TrrdUsing this formula Todt Txsnr Sdram Timing 2 Register SDTIM2Sdram Timing 2 Register SDTIM2 Field Descriptions Txsrd Trtp TckeBurst Priority Register Bprio Field Descriptions Burst Priority Register BprioPrioraise DDR2 Memory Controller Control Register Dmcctl DDR2 Memory Controller Control Register DmcctlRevision History Rfid Products ApplicationsDSP TI E2E Community Home