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.

Public Version<br />

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

• The sys_boot[5] pin defines which group of booting sequences is preferred: memory booting<br />

(sys_boot[5] = 0) or peripheral booting (sys_boot[5] = 1).<br />

• Three additional pins are used to configure reset values in the GPMC.GPMC_CONFIG1_i register<br />

(where i = 0):<br />

– The bootwaiten input pin (GPMC boundary) enables the monitoring on chip-select 0 of the WAIT<br />

pin at IC reset release time for read accesses. The input pin is used to configure the<br />

GPMC.GPMC_CONFIG1_i[22] WAITREADMONITORING bit (where i = 0). Its value comes from<br />

the BOOT_WAIT_ENABLE signal generated by the system control module (SCM). When<br />

sys_boot[5:0] = 0b111111, the BOOT_WAIT_ENABLE signal is activated, causing the wait pin to<br />

be monitored for read access.<br />

– The bootdevicesize input pin (GPMC boundary) defines the size of the attached device on<br />

chip-select 0 and is used to configure the GPMC.GPMC_CONFIG1_i[13:12] DEVICESIZE bits<br />

(where i = 0). A BOOT_DEVICE_SIZE signal is propagated from the SCM. Its value is fixed at 0x1<br />

at IC reset, causing a 16-bit wide external memory to be used.<br />

– The cs0muxdevice input pin (GPMC boundary) selects whether the attached device to chip-select 0<br />

is a multiplexed address and data device or not. The input pin is used to configure the<br />

GPMC.GPMC_CONFIG1_i[9] MUXADDDATA bit (where i = 0). A CS0_MUX_DEVICE signal is<br />

propagated from the SCM. Its value is fixed at 0x1 at IC reset, causing the attached device to be<br />

address/data-multiplexed.<br />

– The waitselectpin input pin selects the WAIT signal at IC reset release time between WAIT0 input<br />

pin or WAIT1 input pin. At IC reset release time, these two pins have different polarity.<br />

CAUTION<br />

Using the internal boot code, the entire CS0 configuration can be modified<br />

before the first CS0 access. This modification of internal boot code is necessary<br />

for two external devices:<br />

• NAND device attached to CS0<br />

• Nonmultiplexed 2-Kbyte address range device attached to CS0<br />

At reset time, the IC may boot from the internal ROM or from the memory attached to the GPMC<br />

chip-select 0. This selection is made outside the GPMC.<br />

Reset values of the timing control parameters are defined to cope with direct boot on address and data<br />

multiplexed NOR Flash device, on non-multiplexed NOR Flash device or on any asynchronous device with<br />

large timing margins assuming a low GPMC_FCLK frequency (for example, 19.2Mhz) at boot time.<br />

<strong>10</strong>.1.4 GPMC Functional Description<br />

<strong>10</strong>.1.4.1 Description<br />

As Figure <strong>10</strong>-5 shows, the GPMC consists of six blocks:<br />

• L3 interconnect port interface<br />

• Address decoder, GPMC configuration, and chip-select configuration register file<br />

• Access engine<br />

• Prefetch and write-posting engine<br />

• Error correction code engine (ECC)<br />

• External device/memory port interface<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 />

2<strong>10</strong>3

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

Saved successfully!

Ooh no, something went wrong!