RS_Flexible static memory controller (FSMC)
RM0082
670/844
Doc ID 018672 Rev 1
31.4.7 GenMemCtrl_PC(i)
registers
Each GenMemCtrl_PC(i) (with i = 0...3) is a RW control registers used for NAND Flash. The
GenMemCtrl_PC(i) bit assignments are given in
Table 599.
GenMemCtrl_PC(i) register bit assignments
Bit
Name
Reset
value
Description
[31:17]
-
-
Reserved. Read: undefined. Write: should be zero.
[16:13]
tar
4'h0
ALE to REb delay. Used for NAND Flash, this 4-bit field indicates
the time from ALE low to REb low, Tar, as an integer number of
HCLK cycles according to following formula: Tar = HCLK period*
(tar +1). The minimum value for this field is 4'b0000 (default), that
is Tar is one HCLK cycle.
[12:09]
tclr
4'h0
CLE to REb delay. Used for NAND Flash, this 4-bit field indicates
the time from CLE low to REb low, Tclr, as an integer number of
HCLK cycles according to following formula: Tclr = HCLK period *
(tclr +1). The minimum value for this field is 4'b0000 (default), that
is Tclr is one HCLK cycle.
[08]
-
1’h0
Reserved. Read: undefined. Write: should be zero.
[07]
EccPLen
1'h0
ECC page length. This bit allows to define the page length of the
NAND Flash memory device for configuring the ECC computation
logic, according to the encoding below:
0 - 512 bytes (default)
1 - 256 bytes
[06]
Eccen
1'h0
ECC computation logic enable bit. This bit allows to enable the
ECC computation logic, according to the encoding below:
0 - Disabled and reset (default)
1 - Enabled
[05:04]
DevWidth
-
Data width. This 2-bit field indicates the data width, according to
the encoding below:
– 00 - 8
– 01 - 16
– 10 - 32 (Not used in
SPEAr300
)
– 11 - Not used.
This field is valid only if Dev_type (see ‘bit 3’ below) is NAND
Flash.
Default Value is set using bit 30 of the RAS configuration,
Register_2, according to the encoding:
0 - 00
1 - 01
[03]
DevType
1'h1
Type of device. This bit indicates the type of device, according to
the encoding below:
0 - Not used
1 - NAND Flash (default).
[02]
Enable
1’h0
Enable NAND Active High
[01]
Wait_on
1’h0
Activates the wait feature for the NAND Active High
[00]
Reset
1’h0
Software reset for NAND Reset level = 1