Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • PIO_DONE_INTR: When PIO mode transfer finished, spi_intr_sts[2] will be high. Software write 1 to clean this bit.
  • DMA_DONE_INTR: spi_intr_sts[1] indicate the current dma operation is done. Software can write 1 to clear this bit
  • BUF_DATA_ENOU_INTR: spi_intr_sts[0] indicate the number of data received from flash has reached the setting amount. Software can write 1 to clear this bit. The amount is set in spi_cfg0[21] which is bit 21 of Group 87.6 register. Set spi_cfg0[21]=1, the buffer size is 32byte. Set spi_cfg0[21]=0, the buffer size is 64byte.





17.5 Registers Map

17.5.1 Registers Memory Map

Address

Group No.

Register Name

Description

0x9C002B80

G87.0

spi ctrl

SPI Control Register

0x9C002B84

G87.1

spi timing

SPI Timing Register

0x9C002B88

G87.2

spi page addr

SPI Page Address Regsister

0x9C002B8C

G87.3

spi data

SPI Data Register

0x9C002B90

G87.4

spi status

SPI Status Register

0x9C002B94

G87.5

spi auto  cfg

SPI Configuration1 Register

0x9C002B98

G87.6

spi cfg0

SPI Configuration0 Register

0x9C002B9C

G87.7

spi cfg1

SPI Configuration1 Register

0x9C002BA0

G87.8

spi cfg2

SPI Configuration2 Register

0x9C002BA4

G87.9

spi data  64

SPI Data Buffer Regsiter

0x9C002BA8

G87.10

spi buf  addr

SPI Buffer Address Register

0x9C002BAC

G87.11

spi status 2

SPI Status2 Register

0x9C002BB0

G87.12

spi err status

SPI Controller Error Status Register

0x9C002BB4

G87.13

mem data  addr

Memory Data Address

0x9C002BB8

G87.14

mem parity addr

Memory Data Address

0x9C002BBC

G87.15

spi col addr

SPI Column Page Address

0x9C002BC0

G87.16

spi bch

SPI BCH configuration Register

0x9C002BC4

G87.17

spi intr msk

SPI Interrupt Mask Register

0x9C002BC8

G87.18

spi intr sts

SPI Interrupt Status Register

0x9C002BCC

G87.19

spi page size

SPI device page size


17.5.2 Registers Description

RGST Table Group 87SPI NAND Controller Registers

...