Download LPC32x0

Transcript
D
D
D
D
D
R
R
R
R
R
A
A
A
A
A
FT
FT
FT
LPC32x0
FT
FT
D
R
R
FT
FT
FT
FT
Chapter 9: LPC32x0 Single-level NAND flash controller
A
A
A
A
R
R
D
D
D
NXP Semiconductors
D
R
R
A
FT
FT
FT
A
A
R
R
D
D
D
D
R
A
D
FT
FT
A
A
R
R
D
The SLC_CTRL register provides basic controls for the NAND flash controller. These
include resetting the interface, clearing ECC generation, and starting the DMA function.
The function of bits in SLC_CTRL are shown in Table 9–157.
F
FT
FT
A
A
R
R
D
D
6.5 SLC NAND flash Control register (SLC_CTRL - 0x2002 0010)
D
D
R
A
FT
Table 157. SLC NAND flash Control register (SLC_CTRL - 0x2002 0010)
31:3
Reserved, user software should not write ones to reserved bits. The value 0
read from a reserved bit is not defined.
2
SW_RESET
0
Writing 1 to this bit causes a reset of the SLC NAND flash controller
1
ECC_CLEAR
0
Writing 1 to this bit clears ECC parity bits and reset the counter for ECC
accumulation
0
DMA_START
0
Writing 1 starts DMA data channel
6.6 SLC NAND flash Configuration register (SLC_CFG - 0x2002 0014)
The SLC_CFG register selects certain configuration options for the SLC NAND flash
interface. The function of bits in SLC_CFG are shown in Table 9–158.
Table 158. SLC NAND flash Configuration register (SLC_CFG - 0x2002 0014)
Bits
Description
31:6
Reserved, user software should not write ones to reserved bits. The value 0
read from a reserved bit is not defined.
Reset value
5
CE_LOW
0
Writing 1 forces CEn always low, otherwise CEn is low only when SLC is
accessed
4
DMA_ECC
0
0: DMA ECC channel disabled
1: DMA ECC channel enabled
3
ECC_EN
0
0: ECC disabled
1:ECC enabled
2
DMA_BURST
0
0: burst disabled, use dmasreq0 signal only
1: burst enabled, data channel use DMA_BREQ signal
1
DMA_DIR
0
0 : DMA write to SLC
1 : DMA read from SLC
0
WIDTH: external device width select
0
0: 8-bit device
1: not used
<Document ID>
User manual
© NXP B.V. 2008. All rights reserved.
Rev. 00.26 — 20 November 2008
190 of 719
A
Reset value
R
Description
D
Bits