NUC970 Technical Reference Manual
Publication Release Date: Dec. 15, 2015
- 867 -
Revision V1.30
NUC97
0
T
E
CHNIC
A
L
RE
F
E
RE
N
CE
MA
NUA
L
[22:18]
BCH_TSEL
BCH Correct Bit Selection
This field is used to select BCH correct bits for data protecting. For BCH algorithm, T can
be 4 or 8 or 12 or 15 or 24 for choosing (correct 4 or 8 or 12 or 15 or 24 bits).
00001 = Using BCH T24 to encode/decode (T24).(1024 Bytes per block)
00010 = Using BCH T4 to encode/decode (T4).
00100 = Using BCH T8 to encode/decode (T8).
01000 = Using BCH T12 to encode/decode (T12).
10000 = Using BCH T15 to encode/decode (T15).
[17:16]
PSIZE
Page Size of NAND
This bit indicates the page size of NAND. There are four page sizes for choose,
512bytes/page, 2048bytes/page, 4096bytes/page and 8192bytes/page. Before setting
PSIZE register, user must set BCH_TSEL register at first.
00 = Page size is 512bytes/page.
01 = Page size is 2048bytes/page.
10 = Page size is 4096bytes/page.
11 = Page size is 8192bytes/page.
[15:10]
Reserved
Reserved.
[9]
SRAM_INT
SRAM Initial
0 = Writing 0 to this bit has no effect.
1 = Writing 1 to this bit will reset the internal FMI_NANDRA0~FMI_NANDRA1 to
0xFFFF_FFFF.
The contents of control register will not be cleared. This bit will be auto cleared after few
clock cycles.
[8]
PROT_3BEN
Protect_3Byte Software Data Enable
The ECC algorithm only protects data area and hardware ECC parity code. User can
choose to protect software redundant data first 3 bytes by setting this bit high.
0 = Software redundant data is not protected by ECC algorithm.
1 = Software redundant data first 3 bytes protected by ECC algorithm.
[7]
ECC_CHK
None Used Field ECC Check After Read Page Data
0 = Disable. NAND controller will always check ECC result for each field, no matter it is
used or not.
1 = Enable. NAND c
ontroller will check 1’s count for byte 2, 3 of redundant data of the
ECC in each field. If count value is greater than 8, NAND controller will treat this field as
none used field; otherwise, it’s used. If that field is none used field, NAND controller will
ignore its ECC check result.
[6]
Reserved
Reserved.
[5]
PROT_REGION_EN
Protect Region Enable
This field is used to protect NAND Flash region from address 0 to address
{FMI_NANDPRTOA1, FMI_NANDPROTA0} not be written.
0 = Disable.
1 = Enable.
[4]
REDUN_AUTO_WEN
Redundant Area Auto Write Enable
This field is used to auto write redundant data out to NAND Flash. The redundant data
area is dependent on FMI_NANDRACTL register.
0 = Disable auto write redundant data out to NAND flash.
1 = Enable auto write redundant data out to NAND flash.