The generic FIFO contents for the quad page program command are listed in Table: Generic FIFO Contents for Quad Page Program Command.
Table 24-23: Generic FIFO Contents for Quad Page Program Command
Description
|
Reserved
|
Poll
|
Stripe
|
Receive
|
Transmit
|
Data Bus Select
|
CS_ Upper
|
CS_ Lower
|
SPI Mode
|
Exponent
|
Data _xfer
|
Immediate _Data
|
|
31:20
|
19
|
18
|
17
|
16
|
17:16
|
13
|
12
|
11:10
|
9
|
8
|
7:0
|
Start driving chip select (CS). Setup time is four reference clock cycles.
|
12'd0
|
1'b0
|
1'b0
|
1'b0
|
1'b0
|
2'b01
|
1'b0
|
1'b1
|
2'b01
|
1'b0
|
1'b0
|
8'h04
|
Send opcode 02 for page program in SPI mode.
|
12'd0
|
1'b0
|
1'b0
|
1'b0
|
1'b1
|
2'b01
|
1'b0
|
1'b1
|
2'b01
|
1'b0
|
1'b0
|
8'h02
|
Send first address byte 10 in SPI mode.
|
12'd0
|
1'b0
|
1'b0
|
1'b0
|
1'b1
|
2'b01
|
1'b0
|
1'b1
|
2'b01
|
1'b0
|
1'b0
|
8'h10
|
Send second address byte 20 in SPI mode.
|
12'd0
|
1'b0
|
1'b0
|
1'b0
|
1'b1
|
2'b01
|
1'b0
|
1'b1
|
2'b01
|
1'b0
|
1'b0
|
8'h20
|
Send third address byte 30 in SPI mode.
|
12'd0
|
1'b0
|
1'b0
|
1'b0
|
1'b1
|
2'b01
|
1'b0
|
1'b1
|
2'b01
|
1'b0
|
1'b0
|
8'h30
|
Send fourth address byte 40 in SPI mode.
|
12'd0
|
1'b0
|
1'b0
|
1'b0
|
1'b1
|
2'b01
|
1'b0
|
1'b1
|
2'b01
|
1'b0
|
1'b0
|
8'h40
|
Write 512 bytes in quad mode. Use exponent bit as 29 = 512.
|
12'd0
|
1'b0
|
1'b0
|
1'b0
|
1'b1
|
2'b01
|
1'b0
|
1'b1
|
2'b11
|
1'b1
|
1'b1
|
8'h09
|
Stop CS/SCLK, chip select is deasserted.
|
12'd0
|
1'b0
|
1'b0
|
1'b0
|
1'b0
|
2'b01
|
1'b0
|
1'b0
|
2'b11
|
1'b0
|
1'b0
|
8'h00
|