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 />

<strong>10</strong>.2.3.1.1.2 SDRC<br />

The SDRC is a single-clock domain module. The same clock is used for the interconnect and the memory<br />

interface. The SDRC_CLK clock comes from the PRCM and runs at the L3 interconnect frequency.<br />

SDRC_CLK is also used as a functional clock for the SDRC.<br />

The SDRC_CLK clock source is the PRCM CORE_L3_ICLK output: CORE_L3_ICLK belongs to the L3<br />

interconnect clock domain.<br />

An SDRC_CLKX2 clock is provided by the PRCM at a double frequency of the SDRC_CLK clock. This<br />

clock can be used in the LPDDR write path, depending on the configuration.<br />

As a power-saving feature, when the SDRC no longer requires the clock domain, the software can disable<br />

it at the PRCM level by setting the EN_SDRC bit in the PRCM.CM_ICKLEN1_CORE[1] register.<br />

NOTE: The domain clock is shut down only if all other modules that receive the clock are capable<br />

and ready to accept this idle request and have IdleAck asserted.<br />

For details, see <strong>Chapter</strong> 3, Power, Reset, and Clock Management.<br />

<strong>10</strong>.2.3.1.2 Hardware Reset<br />

Global reset of the SDRC is done by activating the CORE_RST signal in the CORE_RST domain (see<br />

<strong>Chapter</strong> 3, Power, Reset, and Clock Management).<br />

There is one global reset signal, SDRC_GLOBALRESET, which is qualified by the signal<br />

SDRC_POWERON. This qualification differentiates whether the signal is a cold reset or a warm reset.<br />

• On a cold reset (that is, the power-on reset, when SDRC_POWERON = 0 and SDRC_GLOBALRESET<br />

is applied), all registers and state-machines within the SDRC are asynchronously reset.<br />

• On a warm reset (that is, any other system reset condition under control of the chip top-level power<br />

manager, SDRC_POWERON = 1 when SDRC_GLOBALRESET is applied), the SDRC registers and<br />

the FSM are not reset, but the external SDRAM memory can be optionally placed in self-refresh mode,<br />

depending on the configuration of the SDRC.SDRC_POWER_REG[7] SRFRONRESET bit.<br />

<strong>10</strong>.2.3.1.3 Software Reset<br />

The SMS and SDRC modules can be reset under software control through the SMS.SMS_SYSCONFIG[1]<br />

SOFTRESET and SDRC.SDRC_SYSCONFIG[1] SOFTRESET bits, respectively.<br />

A software reset has the same action as a hardware cold reset; that is, the FSM and all registers are reset<br />

immediately and unconditionally.<br />

<strong>10</strong>.2.3.1.4 Power Management<br />

The SDRC power is supplied by the CORE power domain. For details, see <strong>Chapter</strong> 3, Power, Reset, and<br />

Clock Management.<br />

The dynamic voltage and frequency scaling (DVFS) technic is described in the following section while<br />

other power-saving features and different idle modes are described in Section <strong>10</strong>.2.4.4, SDRC.<br />

<strong>10</strong>.2.3.1.4.1 Dynamic Voltage and Frequency Scaling<br />

If the input clock SDRC_CLK from the PRCM module is changed during operations, the DLL may enter an<br />

undefined state and memory accesses may be corrupted. For this reason, it is necessary to manually<br />

assert the SDRC_IDLEREQ signal before any clock frequency change. This manual access is done<br />

through a register in the chip clock controller. The SDRC then finishes processing all open transactions. If<br />

this option is activated in the SDRC_POWER_REG[6] SRFRONIDLEREQ bit, it puts the memory into<br />

self-refresh. When done, it unlocks the DLL and puts it into a power-down state, through the<br />

SDRC.SDRC_DLLA_CTRL[6:5] DLLMODEONIDLEREQ field. The SDRC then asserts the<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 />

2217

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

Saved successfully!

Ooh no, something went wrong!