VS1005g Datasheet
10 VS1005 PERIPHERALS AND REGISTERS
NF_PNTR Bits
Name
Bits Description
NF_PNTR_RENA
NF_PNTR_RCFG
NF_PNTR[10:0]
14 Ring buffer enable for slave mode
13:11 Ring buffer configuration for slave mode
10:0 Nand flash memory pointer
NF_PNTR[10:0] is the memory pointer register.
NF_PNTR_RENA and NF_PNTR_RCFG configure a ring buffer for slave mode. In ring buffer
mode only the lower address bits are modified and higher bits are locked. E.g. when 512 word
buffer size is used the ring buffer uses memory addresses 0 - 511 when NF_PNTR[10:9] bits
are 0b00, addresses 512-1023 when bits are 0b10 and so on.
Ring buffer configuration bits
CFG register Ring buffer size Locked bits Incremented bits
111-100
011
1024 words
512 words
256 words
128 words
64 words
[10]
[10:9]
[10:8]
[10:7]
[10:6]
[9:0]
[8:0]
[7:0]
[6:0]
[5:0]
010
001
000
Ring buffer mode generates interrupt in the mid and end addresses of the buffer.
NF_LEN defines the number of bytes that are read from or written to nand flash. The length is
given in bytes. In read and write operations the data uses big endian format, i.e. the MSB part
is transmitted first.
Version: 0.2, 2012-03-16
62