01.08.2013 Views

Chapter 10 Memory Subsystem.pdf

Chapter 10 Memory Subsystem.pdf

Chapter 10 Memory Subsystem.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Public Version<br />

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

• CAS latencies of 1, 2, 3, 4, and 5 are supported (CASL).<br />

• Only serial mode (not interleaved mode) is supported (SIL = 0x0).<br />

• A burst length of 2 is supported for SDR SDRAM (BL = 0x2).<br />

• A burst length of 4 is supported for DDR SDRAM (BL = 0x4).<br />

• Burst lengths of 1 (BL = 0x0), 8 (BL =0x3), and full page (BL = 0x7) are not supported.<br />

Writing to SDRC.SDRC_MR_p initiates an implicit Load Mode register command qualified by BA1,BA0 =<br />

0,0 except if the NOMEMORYMRS bit is set.<br />

<strong>10</strong>.2.5.3.5.2 Extended Mode Register 2 (EMR2)<br />

The SDRC.SDRC_EMR2_p register (p = 0 or 1 for CS0 or CS1) is specific to mobile SDRAM devices. It is<br />

a 12-bit register that controls the following standard parameters:<br />

• Partial Array Self-Refresh (PASR)<br />

• Temperature Compensated Self-Refresh (TCSR)<br />

• Driver Strength (DS)<br />

The SDRC.SDRC_EMR2_p[2:0] PASR field programs the partial array self-refresh feature. The low power<br />

SDR SDRAM granularity is much finer than the granularity available in a mobile DDR SDRAM. The<br />

SDRC.SDRC_EMR2_p[4:3] TCSR field programs the temperature compensated self-refresh feature. The<br />

TCSR granularity available in a low power SDR is much finer than the granularity available in a mobile<br />

DDR.<br />

Writing to SDRC.SDRC_EMR2_p initiates an implicit load mode register command qualified by BA1, BA0<br />

= 1,0 except if SDRC_SYSCONFIG[8] NOMEMORYMRS is set.<br />

<strong>10</strong>.2.5.3.6 Autorefresh Management<br />

The SDRAM refresh configuration register group controls refresh management in normal operation. This<br />

group contains two SDRC.SDRC_RFR_CTRL_p registers that are defined on a per-CS basis and contain<br />

the following bit fields:<br />

• SDRC.SDRC_RFR_CTRL_p[1:0] ARE (where p = SDRC CS value 0 or 1)<br />

• SDRC.SDRC_RFR_CTRL_p[23:8] ARCV (where p = SDRC CS value 0 or 1)<br />

These bit fields can enable and disable autorefresh. Autorefresh bursts of 1, 4, and 8 are programmed<br />

using these fields. The autorefresh burst starts when the 16-bit autorefresh counter decrements to 0. The<br />

ARCV field loads the autorefresh counter with a 16-bit autorefresh value. The ARCV value is calculated<br />

using the following formula:<br />

Refresh value = (refresh interval / clock period / number of rows) - margin<br />

Note: <strong>Memory</strong> refresh interval in time unit. Margin is 50 (cycles).<br />

The margin considers the possibility of an ongoing access when the counter expires, thus delaying the<br />

effective refresh sequence.<br />

The value to be programmed is independent of the burst-refresh configuration: if a burst-refresh is<br />

configured, the value is automatically scaled in hardware to the burst-refresh size.<br />

Autorefresh is enabled by programming the SDRC.SDRC_MANUAL_p[3:0] CMDCODE field to 0x2 (where<br />

p = 0 or 1 for SDRC CS0 or CS1).<br />

<strong>10</strong>.2.5.3.7 Page Closure Strategy<br />

The page closure strategy is defined on a per-bank basis by setting the SDRC.SDRC_POWER_REG[0]<br />

PAGEPOLICY bit. SDRC defines one type of page closure strategy:<br />

1. High power/high bandwidth: Bandwidth consumption is critical.<br />

The SDRC tracks open pages. The SDRC determines whether the current access is an open page or a<br />

closed page. The SDRC does the following:<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 />

2253

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

Saved successfully!

Ooh no, something went wrong!