01.08.2013 Views

Chapter 10 Memory Subsystem.pdf

Chapter 10 Memory Subsystem.pdf

Chapter 10 Memory Subsystem.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Public Version<br />

www.ti.com SDRAM Controller (SDRC) <strong>Subsystem</strong><br />

It is assumed that the system interconnect on which the SMS is plugged is responsible for signaling the<br />

error event to the host MPU based on the interconnect response. The MPU error handler can then consult<br />

the error logging registers.<br />

<strong>10</strong>.2.5.2 SDRC Configuration<br />

<strong>10</strong>.2.5.2.1 IP Revision<br />

The IP revision code can be read in the SDRC.SDRC_REVISION[7:0] REV field.<br />

<strong>10</strong>.2.5.2.2 Reset Behavior<br />

The reset behavior of the SDRC can be classified into three subgroups:<br />

• Asynchronous cold-reset (power-on reset) behavior<br />

• Asynchronous warm reset behavior<br />

• Synchronous soft-reset behavior<br />

When the system-wide power-on reset is applied through cold reset, all flops are reset to their default<br />

values, and all state-machines are returned to their idle states.<br />

The programming model for data recovery following a warm reset is as follows:<br />

• Program the SDRC.SDRC_POWER_REG register to enable the SDRC.SDRC_POWER_REG[7]<br />

SRFRONRESET bit.<br />

A warm reset condition is then issued.<br />

• The SDRC enters self-refresh mode since the SRFRONRESET bit is set.<br />

• The SDRC does not execute global SDRC reset since the reset is not qualified as cold.<br />

• The SDRC state-machine maintains the external memory device in self-refresh.<br />

The first SDRC access to the configuration register must then be:<br />

1. Check the SDRC configuration.<br />

2. Exit self-refresh mode using the manual command register.<br />

A software-controlled reset is also available by using the SDRC.SDRC_SYSCONFIG[1] SOFTRESET bit<br />

(set this bit to 1 to activate the reset). The completion of the reset can be determined by reading the<br />

SDRC.SDRC_SYSSTATUS[0] RESETDONE bit.<br />

When the SDRC is reset due to the presence of either a soft or cold reset, all SDRC flops are reset.<br />

NOTE: SDRC Requirement at First Power-Up to Have sdrc_cke Pin High<br />

To comply with the JEDEC standard, sdrc_cke pins values are forced to 1 during the initial<br />

memory power-up phase: software must ensure that sdrc_cke pin is released after the<br />

initialization phase; it happens only at first power-up (on a cold reset). Thus, at the end of the<br />

initial SDRC power-up sequence and before programing the PWDENA field, software must<br />

ensure that the sdrc_cke pin is driven by the SDRC module. Then the value of the PWDENA<br />

field can be modified. See Section <strong>10</strong>.2.5.4.1 for more details on sdrc_cke driving.<br />

NOTE: Set the INPUTENABLE0 bit of CONTROL.CONTROL_PADCONF_SDRC_CLK to assure<br />

the synchronization of sdrc_clk. For more information, see <strong>Chapter</strong> 13, System Control<br />

Module.<br />

<strong>10</strong>.2.5.3 SDRC Setup<br />

A number of device parameters must be set before executing the initialization sequence.<br />

SPRUGN4L–May 20<strong>10</strong>–Revised June 2011 <strong>Memory</strong> <strong>Subsystem</strong><br />

Copyright © 20<strong>10</strong>–2011, Texas Instruments Incorporated<br />

2249

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!