GD32F403xx User Manual
596
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ATR[2:0]
CTR[3:0]
Reserved
ECCEN
NDW[1:0]
NDTP
NDBKEN NDWTEN Reserved
rw
rw
rw
rw
rw
rw
rw
Bits
Fields
Description
31:20
Reserved
Must be kept at reset value.
19:17
ECCSZ[2:0]
ECC size
000: 256 bytes
001: 512 bytes
010: 1024 bytes
011: 2048 bytes
100: 4096 bytes
101: 8192 bytes
16:13
ATR[3:0]
ALE to RE delay
0x0: ALE to RE delay = 1 * HCLK
……
0xF: ALE to RE delay = 16 * HCLK
12:9
CTR[3:0]
CLE to RE delay
0x0: CLE to RE delay = 1 * HCLK
0x1: CLE to RE delay = 2 * HCLK
……
0xF: CLE to RE delay = 16 * HCLK
8:7
Reserved
Must be kept at reset value.
6
ECCEN
ECC enable
0: Disable ECC, and reset EXMC_NECCx
1: Enable ECC
5:4
NDW[1:0]
NAND bank memory data bus width
00: 8 bits
01: 16 bits
Others: Reserved
Note:
for PC/CF card, 16-bit bus width must be selected.
3
NDTP
NAND bank memory type
0: PC Card, CF card, PCMCIA
1: NAND Flash
2
NDBKEN
NAND bank enable
0: Disable corresponding memory bank
1: Enable corresponding memory bank
1
NDWTEN
Wait function enable
0: Disable wait function