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.

GPMC_FCLK<br />

nCS<br />

nBE0/CLE<br />

nOE/nRE<br />

nADV/ALE<br />

DATA[15:0]<br />

WAIT<br />

RDACCESSTIME<br />

First read access<br />

RDCYCLETIME<br />

CSRDOFFTIME<br />

CSONTIME = 0<br />

OEONTIME = 0<br />

OEOFFTIME<br />

Public Version<br />

www.ti.com General-Purpose <strong>Memory</strong> Controller<br />

accesses to other chip-selects (that is, interleaved accesses) occur. Similarly, the access engine also<br />

eliminates the CYCLE2CYCLEDELAY even if CYCLE2CYCLESAMECSEN is set. This capability is limited<br />

to the prefetch and write-posting engine accesses, and MPU accesses to a NAND memory device<br />

(through the defined chip-select memory region or through the GPMC.GPMC_NAND_DATA_i location, i =<br />

0 to 7) are never optimized.<br />

The GPMC.GPMC_PREFETCH_CONFIG1[27] ENABLEOPTIMIZEDACCESS bit must be set to enable<br />

optimized accesses. To optimize access time, the GPMC.GPMC_PREFETCH_CONFIG1[30:28]<br />

CYCLEOPTIMIZATION field defines the number of GPMC_FCLK cycles to be suppressed from the<br />

RDCYCLETIME, WRCYCLETIME, RDACCESSTIME, WRACCESSTIME, CSOFFTIME, ADVOFFTIME,<br />

OEOFFTIME, and WEOFFTIME timing parameters.<br />

Figure <strong>10</strong>-36 highlights that, in the case of back-to-back accesses to the NAND flash through the prefetch<br />

engine, CYCLE2CYCLESAMECSEN is forced to 0 when using optimized accesses. The first access uses<br />

the regular timing settings for this chip-select. All accesses after this one use settings reduced by x clock<br />

cycles, x being defined by the GPMC_PREFETCH_CONFIG1[30:28] CYCLEOPTIMIZATION field.<br />

Figure <strong>10</strong>-36. NAND Read Cycle Optimization Timing Description<br />

RDACCESSTIME - x clk cycles<br />

Second read access<br />

RDCYCLETIME − x clk cycles<br />

CSRDOFFTIME − x clk cycles<br />

CSONTIME = 0<br />

OEONTIME = 0<br />

OEOFFTIME − x clk cycles<br />

Data 0 Data 1<br />

x is the programmed value in the<br />

GPMC_PREFETCH_CONFIG1[30:28]<br />

CYCLEOPTIMIZATION field<br />

<strong>10</strong>.1.5.14.4.7 Interleaved Accesses Between Prefetch and Write-Posting Engine and Other Chip-Selects<br />

Any on-going read or write access from the prefetch and write-posting engine is completed before an<br />

access to any other chip-select can be initiated. As a default, the arbiter uses a fixed-priority algorithm,<br />

and the prefetch and write-posting engine has the lowest priority. The maximum latency added to access<br />

starting time in this case equals the RDCYCLETIME or WRCYCLETIME (optimized or not) plus the<br />

requested BUSTURNAROUND delay for bus turnaround completion programmed for the chip-select to<br />

which the NAND device is connected to.<br />

Alternatively, a round-robin arbitration can be used to prioritize accesses to the external bus. This<br />

arbitration scheme is enabled by setting the GPMC.GPMC_PREFETCH_CONFIG1[23]<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 />

gpmc-036<br />

2167

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

Saved successfully!

Ooh no, something went wrong!