Datasheet

Table Of Contents
Read data from the QSPI system bus memory space (0x040 00000–0x0500_0000).
Fetch is enabled, the address of the system bus read accesses is always used.
Write LASTXFR bit in CTRLA register to '1'.
Wait for INTFLAG.INSTREND to rise.
Figure 37-18. Instruction Transmission Waveform 7
Data
Dummy cycles
Address Option
A23
A22
A21
A20
A19
A18
A17
A16
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
O7
O6
O5
O4
O3
O2
O1
O0
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
Address Option
A23
A22
A21
A20
A19
A18
A17
A16
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
O7
O6
O5
O4
O3
O2
O1
O0
Dummy cycles
Data
D7
D6
D5
D4
D3
D2
D1
D0
Read AHB
DATA1
DATA2
DATA3
Write INSTRFRAME
C S
SCK
DATA0
Instruction EBh
Example 37-8. Example 8
Instruction in Quad SPI, with address in Quad SPI, without option, with data read from
Quad SPI, with two dummy cycles, with fetch.
Command: HIGH-SPEED READ (0Bh)
Write 0x0000_000B to INSTRCTRL register.
Write 0x0002_20B6 to INSTRFRAME register.
Read INSTRFRAME register (dummy read) to synchronize system bus accesses.
Read data in the QSPI system bus memory space (0x040 00000–0x0500_0000).
Fetch is enabled, the address of the system bus read accesses is always used.
Write LASTXFR bit in CTRLA register to '1'.
Wait for INTFLAG.INSTREND to rise.
Figure 37-19. Instruction Transmission Waveform 8
Data
Dummy cycles
Address
A23
A22
A21
A20
A19
A18
A17
A16
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
Instruction 0Bh
Data
Dummy cycles
Address
A23
A22
A21
A20
A19
A18
A17
A16
A15
A14
A13
A12
A11
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
D7
D6
D5
D4
D3
D2
D1
D0
R ead A H B
Write INSTRFRAME
DATA1
DATA2
DATA3
Instruction 0Bh
C S
SCK
DATA0
37.6.9 Scrambling/Unscrambling Function
The scrambling/unscrambling function cannot be performed on devices other than memories. Data is
scrambled when written to memory and unscrambled when data is read.
The external data lines can be scrambled in order to prevent intellectual property data located in off-chip
memories from being easily recovered by analyzing data at the package pin level of either the micro-
controller or the QSPI slave device (e.g. memory).
The scrambling/unscrambling function can be enabled by writing a '1' to the ENABLE bit in the
Scrambling Control register (SCRAMBCTRL.ENABLE).
SAM D5x/E5x Family Data Sheet
QSPI - Quad Serial Peripheral Interface
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 1084