677
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
24.5.2
QSPI Indirect send operation
1
QSPI_CTRL0.SPI_FRF[1:0] specifies the frame transmission format (standard/dual-wire/quad-wire mode)
2
QSPI_CTRL0.DFS[4:0] specifies the data length (4
~
32bit)
3
QSPI_ENH_CTRL0.ADDR_LEN[3:0] specifies the address length (4bit
~
60bit, configurable to skip the
Address phase)
4
QSPI_ENH_CTRL0.INST_L[1:0] specifies the instruction length (4bit, 8bit, 16bit, configurable to skip the
Instruction stage)
Note: One instruction occupies one FIFO address, and the address can occupy multiple FIFO locations. Both
instructions and addresses must be programmed in the QSPI_DATx registers.
The write operation can be divided into three phase: the Instruction phase, the Address phase, and the Data phase.
Typical Write Timing
In Quad mode N=3, for 1 write operation, the instruction and address are sent only once, then the data frame stored
in QSPI_DATx registers, until the send FIFO is empty.
When both instruction and address are sent in standard SPI format
QSPI_ENH_CTRL0.TRANS_TYPE[1:0] shall be configured as 0. When QSPI_CTRL0.SPI_FRF[1:0] is configured
as 0x02 (Quad mode), N=3; when QSPI_CTRL0.SPI_FRF[1:0] is configured as 0x01 (Dual mode), N=1.
The instruction is sent in standard SPI mode, and the address is sent in the CTRL0.SPI_FRF mode.
NSS
SCK
IO[N:0](TX)
INSTRUCTION
ADDRESS
DATA
NSS
SCK
INSTRUCTION
ADDRESS
DATA
DATA
IO[0](TX)
IO[N:1](TX)