09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>RM0090</strong> Flexible static memory controller (FSMC)<br />

memory. Clearly, the device cannot be accessed in byte mode (only 16-bit words<br />

can be read from/written to the Flash memory) therefore:<br />

a) Write transactions are not allowed<br />

b) Read transactions are allowed. All memory bytes are read and the useless ones<br />

are discarded. The NBL[1:0] are set to 0 during read transactions.<br />

Configuration registers<br />

The FSMC can be configured using a register set. See Section 32.5.6, for a detailed<br />

description of the NOR Flash/PSRAM control registers. See Section 32.6.8, for a detailed<br />

description of the NAND Flash/PC Card registers.<br />

32.4 External device address mapping<br />

From the FSMC point of view, the external memory is divided into 4 fixed-size banks of<br />

256 Mbytes each (Refer to Figure 403):<br />

● Bank 1 used to address up to 4 NOR Flash or PSRAM memory devices. This bank is<br />

split into 4 NOR/PSRAM regions with 4 dedicated Chip Select.<br />

● Banks 2 and 3 used to address NAND Flash devices (1 device per bank)<br />

● Bank 4 used to address a PC Card device<br />

For each bank the type of memory to be used is user-defined in the Configuration register.<br />

Figure 403. FSMC memory banks<br />

Address Banks<br />

6000 0000h<br />

6FFF FFFFh<br />

7000 0000h<br />

7FFF FFFFh<br />

8000 0000h<br />

8FFF FFFFh<br />

9000 0000h<br />

9FFF FFFFh<br />

Bank 1<br />

4 × 64 MB<br />

Bank 2<br />

4 × 64 MB<br />

Bank 3<br />

4 × 64 MB<br />

Bank 4<br />

4 × 64 MB<br />

32.4.1 NOR/PSRAM address mapping<br />

Supported memory type<br />

NOR / PSRAM<br />

NAND Flash<br />

PC Card<br />

ai14719<br />

HADDR[27:26] bits are used to select one of the four memory banks as shown in Table 183.<br />

Doc ID 018909 Rev 3 1316/1416

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

Saved successfully!

Ooh no, something went wrong!