The 16 registers of QSPI (Quad Serial Peripheral Interface), from 0x4007C000, with their reset value and every field. The ATSAME70N21B has 2806 registers in 62 peripherals, one page each.
QSPI Quad Serial Peripheral Interface
QSPI_CRControl Register
Address
0x4007C000
Reset
0x00000000
Access
write only
Size
32-bit
4 fields
Field
Bits
What it does
LASTXFER
24
Last Transfer
SWRST
7
QSPI Software Reset
QSPIDIS
1
QSPI Disable
QSPIEN
0
QSPI Enable
QSPI_MRMode Register
Address
0x4007C004
Reset
0x00000000
Access
read/write
Size
32-bit
7 fields
Field
Bits
What it does
DLYBCT
23:16
Delay Between Consecutive Transfers
NBBITS
11:8
Number Of Bits Per Transfer
0 8 bits for transfer
8 16 bits for transfer
CSMODE
5:4
Chip Select Mode
0 The chip select is deasserted if QSPI_TDR.TD has not been reloaded before the end of the current transfer.
1 The chip select is deasserted when the bit LASTXFER is written at 1 and the character written in QSPI_TDR.TD has been transferred.
2 The chip select is deasserted systematically after each transfer.
WDRBT
2
Wait Data Read Before Transfer
0 No effect. In SPI mode, a transfer can be initiated whatever the state of the QSPI_RDR is.
1 In SPI mode, a transfer can start only if the QSPI_RDR is empty, i.e., does not contain any unread data. This mode prevents overrun error in reception.
LLB
1
Local Loopback Enable
0 Local loopback path disabled.
1 Local loopback path enabled.
SMM
0
Serial Memory Mode
0 The QSPI is in SPI mode.
1 The QSPI is in Serial Memory mode.
DLYCS
31:24
Minimum Inactive QCS Delay
QSPI_RDRReceive Data Register
Address
0x4007C008
Reset
0x00000000
Access
read only
Size
32-bit
1 field
Field
Bits
What it does
RD
15:0
Receive Data
QSPI_TDRTransmit Data Register
Address
0x4007C00C
Reset
0x00000000
Access
write only
Size
32-bit
1 field
Field
Bits
What it does
TD
15:0
Transmit Data
QSPI_SRStatus Register
Address
0x4007C010
Reset
0x00000000
Access
read only
Size
32-bit
8 fields
Field
Bits
What it does
QSPIENS
24
QSPI Enable Status
INSTRE
10
Instruction End Status (cleared on read)
CSS
9
Chip Select Status
CSR
8
Chip Select Rise (cleared on read)
OVRES
3
Overrun Error Status (cleared on read)
TXEMPTY
2
Transmission Registers Empty (cleared by writing SPI_TDR)
TDRE
1
Transmit Data Register Empty (cleared by writing SPI_TDR)
RDRF
0
Receive Data Register Full (cleared by reading SPI_RDR)
QSPI_IERInterrupt Enable Register
Address
0x4007C014
Reset
0x00000000
Access
write only
Size
32-bit
7 fields
Field
Bits
What it does
INSTRE
10
Instruction End Interrupt Enable
CSS
9
Chip Select Status Interrupt Enable
CSR
8
Chip Select Rise Interrupt Enable
OVRES
3
Overrun Error Interrupt Enable
TXEMPTY
2
Transmission Registers Empty Enable
TDRE
1
Transmit Data Register Empty Interrupt Enable
RDRF
0
Receive Data Register Full Interrupt Enable
QSPI_IDRInterrupt Disable Register
Address
0x4007C018
Reset
0x00000000
Access
write only
Size
32-bit
7 fields
Field
Bits
What it does
INSTRE
10
Instruction End Interrupt Disable
CSS
9
Chip Select Status Interrupt Disable
CSR
8
Chip Select Rise Interrupt Disable
OVRES
3
Overrun Error Interrupt Disable
TXEMPTY
2
Transmission Registers Empty Disable
TDRE
1
Transmit Data Register Empty Interrupt Disable
RDRF
0
Receive Data Register Full Interrupt Disable
QSPI_IMRInterrupt Mask Register
Address
0x4007C01C
Reset
0x00000000
Access
read only
Size
32-bit
7 fields
Field
Bits
What it does
INSTRE
10
Instruction End Interrupt Mask
CSS
9
Chip Select Status Interrupt Mask
CSR
8
Chip Select Rise Interrupt Mask
OVRES
3
Overrun Error Interrupt Mask
TXEMPTY
2
Transmission Registers Empty Mask
TDRE
1
Transmit Data Register Empty Interrupt Mask
RDRF
0
Receive Data Register Full Interrupt Mask
QSPI_SCRSerial Clock Register
Address
0x4007C020
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
Field
Bits
What it does
DLYBS
23:16
Delay Before QSCK
SCBR
15:8
Serial Clock Baud Rate
CPHA
1
Clock Phase
CPOL
0
Clock Polarity
QSPI_IARInstruction Address Register
Address
0x4007C030
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
ADDR
31:0
Address
QSPI_ICRInstruction Code Register
Address
0x4007C034
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
OPT
23:16
Option Code
INST
7:0
Instruction Code
QSPI_IFRInstruction Frame Register
Address
0x4007C038
Reset
0x00000000
Access
read/write
Size
32-bit
10 fields
Field
Bits
What it does
NBDUM
20:16
Number Of Dummy Cycles
CRM
14
Continuous Read Mode
0 The Continuous Read mode is disabled.
1 The Continuous Read mode is enabled.
TFRTYP
13:12
Data Transfer Type
0 Read transfer from the serial memory.Scrambling is not performed.Read at random location (fetch) in the serial Flash memory is not possible.
1 Read data transfer from the serial memory.If enabled, scrambling is performed.Read at random location (fetch) in the serial Flash memory is possible.
2 Write transfer into the serial memory.Scrambling is not performed.
3 Write data transfer into the serial memory.If enabled, scrambling is performed.
ADDRL
10
Address Length
0 The address is 24 bits long.
1 The address is 32 bits long.
OPTL
9:8
Option Code Length
0 The option code is 1 bit long.
1 The option code is 2 bits long.
2 The option code is 4 bits long.
3 The option code is 8 bits long.
DATAEN
7
Data Enable
OPTEN
6
Option Enable
ADDREN
5
Address Enable
INSTEN
4
Instruction Enable
WIDTH
2:0
Width of Instruction Code, Address, Option Code and Data