Datasheet

Table Of Contents
sclk_out
txd[N:0]
ss_oe_n
ssi_oe_n[N:0]
INSTRUCTION ADDRESS DATA
Figure 143. Typical
Write Operation
Dual/Quad SPI Mode
To initiate a Dual/Quad write operation, CTRLR0.SPI_FRF must be set to 01/10/11, respectively. This will set the transfer
type, and for each write command, data will be transferred in the format specified in CTLR0.SPI_FRF field.
Case A: Instruction and address both transmitted in standard SPI format
For this, SPI_CTRLR0.TRANS_TYPE field must be set to 00b. Figure 144 show the timing diagram when both
instruction and address are transmitted in standard SPI format. The value of N will be: 7 if CTRLR0.SPI_FRF is set to
11b, 3 if CTRLR0.SPI_FRF is set to 10b, and 1 if CTRLR0.SPI_FRF is set to 01b.
sclk_out
txd[0]
ss_oe_n[0]
ss_oe_n[N-1:0]
ss_oe_n
txd[N-1:0]
INSTRUCTION ADDRESS DATA
DATA
Figure 144. Instruction
and Address
Transmitted in
Standard SPI Format
Case B: Instruction transmitted in standard and address transmitted in Enhanced SPI format
For this, SPI_CTRLR0.TRANS_TYPE field must be set to one. Figure 145 shows the timing diagram when an
instruction is transmitted in standard format and address is transmitted in dual SPI format specified in the
CTRLR0.SPI_FRF field. The value of N will be: 7 if CTRLR0.SPI_FRF is set to 11b, 3 if CTRLR0.SPI_FRF is set to 10b, and
1 if CTRLR0.SPI_FRF is set to 01b.
sclk_out
txd[0]
ss_oe_n[0]
ss_oe_n[N-1:0]
ss_oe_n
txd[N-1:0]
INSTRUCTION ADDRESS DATA
ADDRESS DATA
Figure 145. Instruction
Transmitted in
Standard and Address
Transmitted in
Enhanced SPI Format
Case C: Instruction and Address both transmitted in Enhanced SPI format
For this, SPI_CTRLR0.TRANS_TYPE field must be set to 10b. Figure 146 shows the timing diagram in which instruction
and address are transmitted in SPI format specified in the CTRLR0.SPI_FRF field. The value of N will be: 7 if
CTRLR0.SPI_FRF is set to 11b, 3 if CTRLR0.SPI_FRF is set to 10b, and 1 if CTRLR0.SPI_FRF is set to 01b.
sclk_out
txd[N:0]
ss_0_n
ssi_oe_n[N:0]
INSTRUCTION ADDRESS DATA
Figure 146. Instruction
and Address Both
Transmitted in
Enhanced SPI Format
Case D: Instruction only transfer in enhanced SPI format
For this, SPI_CTRLR0.TRANS_TYPE field must be set to 10b. Figure 147 shows the timing diagram for such a transfer.
The value of N will be: 7 if CTRLR0.SPI_FRF is set to 11b, 3 if CTRLR0.SPI_FRF is set to 10b, and 1 if CTRLR0.SPI_FRF
is set to 01b.
sclk_out
txd[N:0]
ss_0_n
ssi_oe_n[N:0]
INSTRUCTION
Figure 147. Instruction
only transfer in
enhanced SPI Format
RP2040 Datasheet
4.11. SSI 611