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

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

• The RDCYCLETIME and WRCYCLETIME bit fields are programmable in the<br />

GPMC.GPMC_CONFIG5_i register, i = 0 to 7.<br />

• The RDCYCLETIME and WRCYCLETIME bit fields can be set from 0 to 31 GPMC_FCLK cycles with<br />

a granularity of 1 for GPMC.GPMC_CONFIG1_i[4] TIMEPARAGRANULARITY set to 0.<br />

• The RDCYCLETIME and WRCYCLETIME bit fields can be set from 0 to 62 GPMC._FCLK cycles with<br />

a granularity of 2 for GPMC.GPMC_CONFIG1_i[4] TIMEPARAGRANULARITY set to 1.<br />

<strong>10</strong>.1.5.3.2 nCS: Chip-Select Signal Control Assertion/Deassertion Time<br />

(CSONTIME/CSRDOFFTIME/CSWROFFTIME/CSEXTRADELAY)<br />

The GPMC.GPMC_CONFIG2_i[3:0] CSONTIME field (where i = 0 to 7) defines the nCS signal-assertion<br />

time relative to the start access time. It is common for read and write accesses.<br />

For a read access, the GPMC.GPMC_CONFIG2_i[12:8] CSRDOFFTIME field defines the nCS signal<br />

deassertion time relative to start access time.<br />

For a write access, the GPMC.GPMC_CONFIG2_i[20:16] CSWROFFTIME field defines the nCS signal<br />

deassertion time relative to start access time.\<br />

CSONTIME, CSRDOFFTIME and CSWROFFTIME parameters are applicable to synchronous and<br />

asynchronous modes. CSONTIME can be used to control an address and byte enable setup time before<br />

chip-select assertion. CSRDOFFTIME and CSWROFFTIME can be used to control an address and byte<br />

enable hold time after chip-select deassertion.<br />

nCS signal transitions as controlled through CSONTIME, CSRDOFFTIME, and CSWROFFTIME can be<br />

delayed by half a GPMC_FCLK period by enabling the GPMC.GPMC_CONFIG2_i[7] CSEXTRADELAY<br />

bit. This half of a GPMC_FCLK period provides more granularity on the nCS assertion and deassertion<br />

time to guarantee proper setup and hold time relative to GPMC_CLK. CSEXTRADELAY is especially<br />

useful in configurations where GPMC_CLK and GPMC_FCLK have the same frequency, but can be used<br />

for all GPMC configurations. If asserted, CSEXTRADELAY applies to all parameters controlling nCS<br />

transitions.<br />

The CSEXTRADELAY bit must be used carefully to avoid control-signal overlap between successive<br />

accesses to different chip-selects. This implies the need to program the RDCYCLETIME and<br />

WRCYCLETIME bit fields to be greater than the nCS signal-deassertion time, including the extra<br />

half-GPMC_FCLK-period delay.<br />

<strong>10</strong>.1.5.3.3 nADV/ALE: Address Valid/Address Latch Enable Signal Control Assertion/Deassertion Time<br />

(ADVONTIME/ADVRDOFFTIME/ADVWROFFTIME/ADVEXTRADELAY)<br />

The GPMC.GPMC_CONFIG3_i[3:0] ADVONTIME field (where i = 0 to 7) defines the nADV/ALE<br />

signal-assertion time relative to start access time. It is common to read and write accesses.<br />

For a read access, the GPMC.GPMC_CONFIG3_i[12:8] ADVRDOFFTIME field defines the nADV/ALE<br />

signal-deassertion time relative to start access time.<br />

For a write access, the GPMC.GPMC_CONFIG3_i[20:16] ADVWROFFTIME field defines the nADV/ALE<br />

signal-deassertion time relative to start access time.<br />

ADVONTIME can be used to control an address and byte enable valid setup time control before<br />

nADV/ALE assertion. ADVRDOFFTIME and ADVWROFFTIME can be used to control an address and<br />

byte enable valid hold time control after nADV/ALE de-assertion. ADVRDOFFTIME and ADVWROFFTIME<br />

are applicable to both synchronous and asynchronous modes.<br />

nADV/ALE signal transitions as controlled through ADVONTIME, ADVRDOFFTIME, and<br />

ADVWROFFTIME can be delayed by half a GPMC_FCLK period by enabling the<br />

GPMC.GPMC_CONFIG3_i[7] ADVEXTRADELAY bit. This half of a GPMC_FCLK period provides more<br />

granularity on nADV/ALE assertion and deassertion time to guarantee proper setup and hold time relative<br />

to GPMC_CLK. The ADVEXTRADELAY configuration parameter is especially useful in configurations<br />

where GPMC_CLK and GPMC_FCLK have the same frequency, but can be used for all GPMC<br />

configurations. If asserted, ADVEXTRADELAY applies to all parameters controlling nADV/ALE transitions.<br />

2112 <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!