RM0090 Rev 18 1655/1749
RM0090 Flexible memory controller (FMC)
1682
transfers at even addresses: nCE1 will be asserted low, NCE2 will be asserted high
and only the even byte will be valid.
• Accesses to I/O space can be either 8-bit or 16 bit AHB accesses.
FMC Bank 4 gives access to those 3 memory spaces as described in Section 37.4.2: NAND
Flash memory/PC Card address mapping and Table 256: NAND/PC Card memory mapping
and timing registers.
Wait feature
The CompactFlash or PC Card may request the FMC to extend the length of the access
phase programmed by MEMWAITx/ATTWAITx/IOWAITx bits, asserting the nWAIT signal
after nOE/nWE or nIORD/nIOWR activation if the wait feature is enabled through the
PWAITEN bit in the FMC_PCRx register. To detect correctly the nWAIT assertion, the
MEMWAITx/ATTWAITx/IOWAITx bits must be programmed as follows:
where max_wait_assertion_time is the maximum time taken by NWAIT to go low once
nOE/nWE or nIORD/nIOWR is low.
Table 294. 16-bit PC-Card signals and access type
nCE2
nCE1
nREG
nOE/nWE
nIORD
A10
A9
A7-1
A0
Space Access type
Allowed/not
Allowed
1 0 101XXX-XX
Common
Memory
Space
Read/Write byte on D7-D0 YES
0 1 1 0 1 X X X-X X Read/Write byte on D15-D8 Not supported
0 0 1 0 1 X X X-X 0 Read/Write word on D15-D0 YES
X0 00101X-X0
Attribute
Space
Read or Write Configuration
Registers
YES
X0 00100X-X0
Read or Write CIS (Card
Information Structure)
YES
1 0 001XXX-X1
Attribute
Space
Invalid Read or Write (odd
address)
YES
0 1 001XXX-Xx
Invalid Read or Write (odd
address)
YES
1 0 010XXX-X0
I/O space
Read Even Byte on D7-0 YES
1 0 0 1 0 X X X-X 1 Read Odd Byte on D7-0 YES
1 0 0 1 0 X X X-X 0 Write Even Byte on D7-0 YES
1 0 0 1 0 X X X-X 1 Write Odd Byte on D7-0 YES
0 0 0 1 0 X X X-X 0 Read Word on D15-0 YES
0 0 0 1 0 X X X-X 0 Write word on D15-0 YES
0 1 0 1 0 X X X-X X Read Odd Byte on D15-8 Not supported
0 1 0 1 0 X X X-X X Write Odd Byte on D15-8 Not supported
xxWAITx 4
max_wait_assertion_time
HCLK
-------------------------------------------------------------------+≥