Flexible static memory controller (FSMC)
RM0365
281/1080
DocID025202 Rev 7
Attribute memory space timing registers 2..4 (FMC_PATT2..4)
Address offset: 0x4C + 0x20 * (x – 1), x = 2..4
Reset value: 0xFCFC FCFC
Each FMC_PATTx (x = 2..4) read/write register contains the timing information for PC
Card/CompactFlash or NAND Flash memory bank x. It is used for 8-bit accesses to the
attribute memory space of the PC Card/CompactFlash or to access the NAND Flash for the
last address write access if the timing must differ from that of previous accesses (for
Ready/Busy management, refer to
Section 14.6.5: NAND Flash prewait functionality
Bits 31:24
MEMHIZx:
Common memory x data bus Hi-Z time
Defines the number of HCLK clock cycles during which the data bus is kept Hi-Z after the start
of a PC Card/NAND Flash write access to common memory space on socket x. This is only
valid for write transactions:
0000 0000: (0x00) 0 HCLK cycle (for PC Card) / 1 HCLK cycle (for NAND Flash)
1111 1110: (0xFF) 255 HCLK cycles (for PC Card) / 256 HCLK cycles (for NAND Flash)
1111 1111: Reserved
Bits 23:16
MEMHOLDx:
Common memory x hold time
Defines the number of HCLK clock cycles for write access and HCLK (+2) clock cycles for
read access during which the address is held (and data for write accesses) after the command
is deasserted (NWE, NOE), for NAND Flash read or write access to common memory space
on socket x:
0000 0000: reserved
0000 0001: 1 HCLK cycle for write access / 3 HCLK cycles for read access
1111 1110: 254 HCLK cycles for write access / 256 HCLK cycles for read access
1111 1111: Reserved.
Bits 15:8
MEMWAITx:
Common memory x wait time
Defines the minimum number of HCLK (+1) clock cycles to assert the command (NWE, NOE),
for PC Card/NAND Flash read or write access to common memory space on socket x. The
duration of command assertion is extended if the wait signal (NWAIT) is active (low) at the end
of the programmed value of HCLK:
0000 0000: reserved
0000 0001: 2HCLK cycles (+ wait cycle introduced by deasserting NWAIT)
1111 1111: 256 HCLK cycles (+ wait cycle introduced by the Card deasserting NWAIT)
Bits 7:0
MEMSETx:
Common memory x setup time
Defines the number of HCLK (+1) clock cycles to set up the address before the command
assertion (NWE, NOE), for PC Card/NAND Flash read or write access to common memory
space on socket x:
0000 0000: 1 HCLK cycle (for PC Card) / HCLK cycles (for NAND Flash)
1111 1110: 255 HCLK cycles (for PC Card) / 257 HCLK cycles (for NAND Flash)
1111 1111: Reserved
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
ATTHIZ
ATTHOLD
ATTWAIT
ATTSET
rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw