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

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

<strong>10</strong>.2.5.3.1 Chip-Select Configuration<br />

CS0 always starts at 0x8000 0000 (with respect to the 32-bit interconnect address). There is no restriction<br />

on the presence of any SDRAM on CS0 or CS1.<br />

The total address space of the SDRC is 1G byte/8G bits. The total address space is divided into 8 *<br />

128M-byte partitions as shown in Figure <strong>10</strong>-51. Each partition is a possible start address for CS1, except<br />

for the partition occupied by CS0.<br />

The start address for CS1 is defined by the SDRC.SDRC_CS_CFG[9:8] CS1STARTLOW and<br />

SDRC.SDRC_CS_CFG[3:0] CS1STARTHIGH fields.<br />

Space 0, selected by the SDRC using the CS0 (nCS0) output pin, is always at offset 0 from the SDRAM<br />

memory space base address. The size of this area is programmable through the<br />

SDRC.SDRC_MCFG_p[17:8] RAMSIZE field, where p = 0. Space 1, selected by the SDRC using the CS1<br />

(nCS1) output pin, is at an offset from the SDRAM memory space base address; this offset is<br />

programmable in 128M-byte increments. The size of this area is programmable through the<br />

SDRC.SDRC_MCFG_p[17:8] RAMSIZE field, where p = 1. The type of device for each area is<br />

programmable through the SDRC.SDRC_MCFG_p register (where p = 0 or 1 for SDRC CS0 or CS1).<br />

NOTE: Ensure that space 0 and space 1 do not overlap each other or extend farther than the<br />

maximum 1G-byte SDRC memory space, as explained in Section 2.2, Global <strong>Memory</strong> Space<br />

Mapping, of <strong>Chapter</strong> 2, <strong>Memory</strong> Mapping.<br />

<strong>10</strong>.2.5.3.2 <strong>Memory</strong> Configuration<br />

The memory configuration is defined on a per-CS basis through the SDRC.SDRC_MCFG_p register<br />

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

Table <strong>10</strong>-<strong>10</strong>4 lists the memory configuration.<br />

Bit Field Comments<br />

ADDRMUXLEGACY Address multiplexing scheme<br />

Table <strong>10</strong>-<strong>10</strong>4. <strong>Memory</strong> Configuration<br />

RAMSIZE Defines the physical RAM address space in terms of 2M -byte chunks<br />

B32NOT16 External device data bus width.<br />

DEEPPD Set this bit if the memory supports deep-power-down mode. (This bit is only a flag for software. It<br />

does not affect any SDRC function.)<br />

DDRTYPE Mobile DDR<br />

RAMTYPE Single Data Rate or Double Data Rate SDRAM<br />

NOTE: Exported Register Reset Values and Lock Bit<br />

The reset values of SDRC.SDRC_MCFG_p and SDRC.SDRC_SHARING are exported in the<br />

control module. At reset, these registers take the value previously stored in the control<br />

module. A new bit is added to each register to provide the capability to lock these three<br />

registers into read-only accesses:<br />

• SDRC.SDRC_MCFG_p[30] LOCKSTATUS bit (p = 0 or 1 for CS0 or CS1)<br />

• SDRC.SDRC_SHARING[30] LOCK bit<br />

The reset value of each lock bit is also imported from the control module.<br />

<strong>10</strong>.2.5.3.3 SDRAM AC Timing Parameters<br />

The AC parameters described in Table <strong>10</strong>-<strong>10</strong>5 can be independently programmed (standard JEDEC<br />

LPDDR1 terminology is used here) in clock cycles for each of the two memory areas through registers<br />

SDRC.SDRC_ACTIM_CTRLA_p and SDRC.SDRC_ACTIM_CTRLB_p (p = 0 or 1, depending on the CS<br />

area).<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!