30.01.2015 Views

UM10211 - Standard ICs

UM10211 - Standard ICs

UM10211 - Standard ICs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

NXP Semiconductors<br />

<strong>UM10211</strong><br />

Chapter 5: LPC2300 EMC<br />

The memory controller state machine is not busy performing accesses to external<br />

memory, and an AHB interface is writing to a different buffer.<br />

Note: For dynamic memory, the smallest buffer flush is a quadword of data. For static<br />

memory, the smallest buffer flush is a byte of data.<br />

5.2.2 Read buffers<br />

Read buffers are used to:<br />

• Buffer read requests from memory. Future read requests that hit the buffer read the<br />

data from the buffer rather than memory, reducing transaction latency.<br />

Convert all read transactions into quadword bursts on the external memory interface.<br />

This enhances transfer efficiency for dynamic memory.<br />

• Reduce external memory traffic. This improves memory bandwidth and reduces<br />

power consumption.<br />

Read buffer operation:<br />

• If the buffers are enabled and the read data is contained in one of the buffers, the read<br />

data is provided directly from the buffer.<br />

• If the read data is not contained in a buffer, the LRU buffer is selected. If the buffer is<br />

dirty (contains write data), the write data is flushed to memory. When an empty buffer<br />

is available the read command is posted to the memory.<br />

A buffer filled by performing a read from memory is marked as not-dirty (not containing<br />

write data) and its contents are not flushed back to the memory controller unless a<br />

subsequent AHB transfer performs a write that hits the buffer.<br />

5.3 Memory controller state machine<br />

The memory controller state machine comprises a static memory controller and a dynamic<br />

memory controller.<br />

5.4 Pad interface<br />

6. Memory bank select<br />

The pad interface block provides the interface to the pads. The pad interface uses<br />

feedback clocks, FBCLKIN[3:0], to resynchronize SDRAM read data from the off-chip to<br />

on-chip domains.<br />

Two independently-configurable memory chip selects are supported. Pins CS1 and CS0<br />

are used to select static memory devices.<br />

Static memory chip select ranges are each 64 kilobytes in size. Table 5–44 shows the<br />

address ranges of the chip selects.<br />

Table 44. Memory bank selection<br />

Chip Select Pin Address Range Memory Type Size of Range<br />

CS0 0x8000 000 - 0x8000 FFFF Static 64 kB<br />

CS1 0x8100 000 - 0x8100 FFFF Static 64 kB<br />

<strong>UM10211</strong>_1<br />

© NXP B.V. 2007. All rights reserved.<br />

User manual Rev. 01 — 27 March 2007 59 of 613

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

Saved successfully!

Ooh no, something went wrong!