09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

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.

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

Table 218. 16-bit PC-Card signals and access type (continued)<br />

nCE2<br />

nCE1<br />

nREG<br />

nOE/nWE<br />

nIORD /nIOWR<br />

A10<br />

1 0 0 1 0 X X X-X 0<br />

1 0 0 1 0 X X X-X 1 Write Odd Byte on D7-0 YES<br />

I/O space<br />

0 0 0 1 0 X X X-X 0 Read Word on D15-0 YES<br />

The FSMC Bank 4 gives access to those 3 memory spaces as described in Section 32.4.2:<br />

NAND/PC Card address mapping - Table 185: Memory mapping and timing registers<br />

Wait Feature<br />

A9<br />

A7-1<br />

A0<br />

Space Access Type<br />

Read Even Byte on D7-0 YES<br />

1 0 0 1 0 X X X-X 1 Read Odd Byte on D7-0 YES<br />

1 0 0 1 0 X X X-X 0 Write Even Byte on D7-0 YES<br />

0 0 0 1 0 X X X-X 0 Write word on D15-0 YES<br />

0 1 0 1 0 X X X-X X Read Odd Byte on D15-8 Not supported<br />

0 1 0 1 0 X X X-X X Write Odd Byte on D15-8 Not supported<br />

The CompactFlash Storage or PC Card may request the FSMC to extend the length of the<br />

access phase programmed by MEMWAITx/ATTWAITx/IOWAITx bits, asserting the nWAIT<br />

signal after nOE/nWE or nIORD/nIOWR activation if the wait feature is enabled through the<br />

PWAITEN bit in the FSMC_PCRx register. In order to detect the nWAIT assertion correctly,<br />

the MEMWAITx/ATTWAITx/IOWAITx bits must be programmed as follows:<br />

xxWAITx >= 4 + max_wait_assertion_time/HCLK<br />

Allowed/not<br />

Allowed<br />

Where max_wait_assertion_time is the maximum time taken by NWAIT to go low once<br />

nOE/nWE or nIORD/nIOWR is low.<br />

After the de-assertion of nWAIT, the FSMC extends the WAIT phase for 4 HCLK clock<br />

cycles.<br />

Doc ID 018909 Rev 3 1358/1416

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

Saved successfully!

Ooh no, something went wrong!