Emif Sdram Timing Register (Sdtim) - Texas Instruments TMS320C6000 DSP Reference Manual

External memory interface (emif)
Hide thumbs Also See for TMS320C6000 DSP:
Table of Contents

Advertisement

EMIF Registers
3.7.4

EMIF SDRAM Timing Register (SDTIM)

3-32
TMS320C621x/C671x EMIF
The SDRAM timing register (SDTIM) controls the refresh period in terms of
EMIF clock cycles. The SDTIM is shown in Figure 3−17 and described in
Table 3−14. Optionally, the PERIOD field can send an interrupt to the CPU.
Thus, this counter can be used as a general-purpose timer if SDRAM is not
used by the system. The CPU can read the counter (CNTR) field. When the
counter reaches 0, it is automatically reloaded with the period, and SDINT
(synchronization event to EDMA and interrupt source to CPU) is asserted. See
sections 3.4.3 and 1.3.3 for more information on SDRAM refresh.
The XRFR field controls the number of refreshes performed when the refresh
counter reaches 0. Up to four refreshes can be performed when the refresh
counter expires. For example, since all banks must be deactivated to perform
a refresh, it might be desirable to perform two refreshes half as often.
The system considers all refresh requests as high priority. When it is time to
refresh, the refresh is performed immediately (though transfers in progress are
allowed to complete). All banks are deactivated before a refresh command is
issued. When the refresh command is complete, the banks are not restored
to their state before refresh.
The initial value for the CNTR field and the PERIOD field is 5DCh (1500 clock
cycles). With a 10-ns EMIF cycle time, there is a 15-µs time between refresh
operations. SDRAMs typically require 15.625 µs per refresh.
SPRU266A

Advertisement

Table of Contents
loading

Table of Contents