The 14 registers of QSPI (Quad SPI interface), from 0x42000000, with their reset value and every field. The PIC32CX5109BZ31032_SL3 has 2134 registers in 59 peripherals, one page each.
QSPI Quad SPI interface
CTRLAControl A
Address
0x42000000
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
Field
Bits
What it does
LASTXFER
24
Last Transfer
ENABLE
1
Enable
SWRST
0
Software Reset
CTRLBControl B
Address
0x42000004
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
Field
Bits
What it does
DLYBCT
23:16
Delay Between Consecutive Transfers
DATALEN
11:8
Data Length
0 8-bits transfer
1 9 bits transfer
2 10-bits transfer
3 11-bits transfer
4 12-bits transfer
5 13-bits transfer
6 14-bits transfer
7 15-bits transfer
8 16-bits transfer
CSMODE
5:4
Chip Select Mode
0 The chip select is deasserted if 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 TD has been transferred.
2 The chip select is deasserted systematically after each transfer.
SMEMREG
3
Serial Memory reg
WDRBT
2
Wait Data Read Before Transfer
LOOPEN
1
Local Loopback Enable
0 Local Loopback is disabled
1 Local Loopback is enabled
MODE
0
Serial Memory Mode
0 SPI operating mode
1 Serial Memory operating mode
DLYCS
31:24
Minimum Inactive CS Delay
BAUDBaud Rate
Address
0x42000008
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
Field
Bits
What it does
DLYBS
23:16
Delay Before SCK
BAUD
15:8
Serial Clock Baud Rate
CPHA
1
Clock Phase
CPOL
0
Clock Polarity
RXDATAReceive Data
Address
0x4200000C
Reset
0x00000000
Access
read only
Size
32-bit
1 field
Field
Bits
What it does
DATA
15:0
Receive Data
TXDATATransmit Data
Address
0x42000010
Reset
0x00000000
Access
write only
Size
32-bit
1 field
Field
Bits
What it does
DATA
15:0
Transmit Data
INTENCLRInterrupt Enable Clear
Address
0x42000014
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
INSTREND
10
Instruction End Interrupt Disable
CSRISE
8
Chip Select Rise Interrupt Disable
ERROR
3
Overrun Error Interrupt Disable
TXC
2
Transmission Complete Interrupt Disable
DRE
1
Transmit Data Register Empty Interrupt Disable
RXC
0
Receive Data Register Full Interrupt Disable
INTENSETInterrupt Enable Set
Address
0x42000018
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
INSTREND
10
Instruction End Interrupt Enable
CSRISE
8
Chip Select Rise Interrupt Enable
ERROR
3
Overrun Error Interrupt Enable
TXC
2
Transmission Complete Interrupt Enable
DRE
1
Transmit Data Register Empty Interrupt Enable
RXC
0
Receive Data Register Full Interrupt Enable
INTFLAGInterrupt Flag Status and Clear
Address
0x4200001C
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
Field
Bits
What it does
INSTREND
10
Instruction End
CSRISE
8
Chip Select Rise
ERROR
3
Overrun Error
TXC
2
Transmission Complete
DRE
1
Transmit Data Register Empty
RXC
0
Receive Data Register Full
STATUSStatus Register
Address
0x42000020
Reset
0x00000200
Access
read only
Size
32-bit
2 fields
Field
Bits
What it does
CSSTATUS
9
Chip Select
ENABLE
1
Enable
INSTRADDRInstruction Address
Address
0x42000030
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
ADDR
31:0
Instruction Address
INSTRCTRLInstruction Code
Address
0x42000034
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
OPTCODE
23:16
Option Code
INSTR
7:0
Instruction Code
INSTRFRAMEInstruction Frame
Address
0x42000038
Reset
0x00000000
Access
read/write
Size
32-bit
11 fields
Field
Bits
What it does
DUMMYLEN
20:16
Dummy Cycles Length
DDREN
15
Double Data Rate Enable
CRMODE
14
Continuous Read Mode
TFRTYPE
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.
ADDRLEN
10
Address Length
0 24-bits address length
1 32-bits address length
OPTCODELEN
9:8
Option Code Length
0 1-bit length option code
1 2-bits length option code
2 4-bits length option code
3 8-bits length option code
DATAEN
7
Data Enable
OPTCODEEN
6
Option Enable
ADDREN
5
Address Enable
INSTREN
4
Instruction Enable
WIDTH
2:0
Instruction Code, Address, Option Code and Data Width