Datasheet

Table Of Contents
Wait for INTFLAG.INSTREND to rise.
Figure 37-16. Instruction Transmission Waveform 5
Data
DATA1
DATA0
SCK
Instruction 02h
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
Write AHB
A23
A22
A21
A20
A19
A18
A17
A16
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
Address
Set CTRLA.LASTXFER
Write INSTRFRAME
CS
INTFLAG.INSTREND
Example 37-6. Example 6
Instruction in Single-bit SPI, with address in Single-bit SPI, without option, with data read
in Quad SPI, with eight dummy cycles.
Command: QUAD_OUTPUT READ ARRAY (6Bh)
Write 0x0000_006B to INSTRCTRL register.
Write 0x0008_10B2 ti INSTRFRAME register.
Read QSPI_IR (dummy read) to synchronize system bus accesses.
Read data from the QSPI system bus memory space (0x040 00000–0x0500_0000).
The address of the first system bus read access is sent in the instruction frame.
The address of the next system bus read accesses is not used.
Write the LASTXFR bit in CTRLA register to '1'.
Wait for INTFLAG.INSTREND to rise.
Figure 37-17. Instruction Transmission Waveform 6
Data
DATA1
DATA2
DATA3
Dummy cycles
A23 A22 A21 A20 A3 A2 A1 A0
Address
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
Read AHB
Set CTRLA.LASTXFER
Write INSTRFRAME
C S
INTFLAG.INSTREND
SCK
DATA0
Instruction 6Bh
Example 37-7. Example 7
Instruction in Single-bit SPI, with address and option in Quad SPI, with data read from
Quad SPI, with four dummy cycles, with fetch and continuous read.
Command: FAST READ QUAD I/O (EBh) - 8-BIT OPTION (0x30h)
Write 0x0030_00EB to INSTRCTRL register.
Write 0x0004_33F4 to INSTRFRAME register.
Read INSTRFRAME register (dummy read) to synchronize system bus accesses.
SAM D5x/E5x Family Data Sheet
QSPI - Quad Serial Peripheral Interface
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 1083