Chapter 10 Memory Subsystem.pdf
Chapter 10 Memory Subsystem.pdf
Chapter 10 Memory Subsystem.pdf
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 />
<strong>10</strong>.1.5.3.6 GPMC_CLK<br />
GPMC_CLK is the external clock provided to the attached synchronous memory or device.<br />
• The GPMC_CLK clock frequency is the GPMC_FCLK functional clock frequency divided by 1, 2, 3, or<br />
4, depending on the GPMC.GPMC_CONFIG1_i[1:0] GPMCFCLKDIVIDER bit field (where i = 0 to 7),<br />
with a guaranteed 50-percent duty cycle.<br />
• The GPMC_CLK clock is only activated when the access in progress is defined as synchronous (read<br />
or write access).<br />
• The GPMC.GPMC_CONFIG1_i[26:25] CLKACTIVATIONTIME field (i = 0 to 7) defines the number of<br />
GPMC_FCLK cycles from start access time to GPMC_CLK activation.<br />
• The GPMC_CLK clock is stopped when cycle time completes and is asserted low between accesses.<br />
• The GPMC_CLK clock is kept low when access is defined as asynchronous.<br />
• When cycle time completes, the GPMC_CLK may be high because of the GPMCFCLKDIVIDER bit<br />
field. To ensure correct stoppage of the GPMC_CLK clock within the 50-percent required duty cycle, it<br />
is the user's responsibility to extend the RDCYCLETIME or WRCYCLETIME value.<br />
• When the GPMC is configured for synchronous mode, the GPMC_CLK signal (which is an output)<br />
must also be set as an input (CONTROL.CONTROL_PADCONF_GPMC_NCS7[24] INPUTENABLE1 =<br />
1). GPMC_CLK is looped back through the output and input buffers of the corresponding GPMC_CLK<br />
pad at the device boundary. The looped-back clock is used to synchronize the sampling of the memory<br />
signals.<br />
NOTE: To ensure a correct external clock cycle, the following rules must be applied:<br />
• (RDCYCLETIME CLKACTIVATIONTIME) must be a multiple of (GPMCFCLKDIVIDER +<br />
1).<br />
• The PAGEBURSTACCESSTIME value must be a multiple of (GPMCFCLKDIVIDER +<br />
1).<br />
<strong>10</strong>.1.5.3.7 GPMC_CLK and Control Signals Setup and Hold<br />
Control-signal transition (assertion and deassertion) setup and hold values with respect to the GPMC_CLK<br />
edge can be controlled in the following ways:<br />
• For the GPMC_CLK signal, the GPMC.GPMC_CONFIG1_i[26:25] CLKACTIVATIONTIME field (i = 0 to<br />
7) allows setup and hold control of control-signal assertion time.<br />
• The use of a divided GPMC_CLK allows setup and hold control of control-signal assertion and<br />
deassertion times.<br />
• When GPMC_CLK runs at the GPMC_FCLK frequency so that GPMC_CLK edge and control-signal<br />
transitions refer to the same GPMC_FCLK edge, the control-signal transitions can be delayed by half<br />
of a GPMC_FCLK period to provide minimum setup and hold times. This half-GPMC_FCLK delay is<br />
enabled with the CSEXTRADELAY, ADVEXTRADELAY, OEEXTRADELAY, or WEEXTRADELAY<br />
parameter. This delay must be used carefully to prevent control-signal overlap between successive<br />
accesses to different chip-selects. This implies that the RDCYCLETIME and WRCYCLETIME are<br />
greater than the last control-signal deassertion time, including the extra half-GPMC_FCLK cycle.<br />
<strong>10</strong>.1.5.3.8 Access Time (RDACCESSTIME / WRACCESSTIME)<br />
The read access time and write access time durations can be programmed independently allowing nOE<br />
and GPMC data capture timing parameters to be independent of nWE and memory device data capture<br />
timing parameters.<br />
RDACCESSTIME is programmed in the GPMC.GPMC_CONFIG5_i[20:16] bit field (i = 0 to 7).<br />
WRACCESSTIME is programmed in the GPMC.GPMC_CONFIG6_i[28:24] bit field (i = 0 to 7).<br />
RDACCESSTIME and WRACCESSTIME can be set from 0 to 31 GPMC_FCLK cycles with a granularity<br />
of one (GPMC_CONFIG1_i[4] TIMEPARAGRANULARITY = 0).<br />
RDACCESSTIME and WRACCESSTIME can be set from 0 to 62 GPMC_FCLK cycles with a granularity<br />
of two (GPMC_CONFIG1_i[4] TIMEPARAGRANULARITY = 1).<br />
2114 <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