PIC32MZ1024ECG144 SPI4 registers

The 5 registers of SPI4 (SPI 4), from 0xBF821600, with their reset value and every field. The PIC32MZ1024ECG144 has 1245 registers in 92 peripherals, one page each.

Most PIC32 SFRs have three more registers right after them: CLR at +4, SET at +8 and INV at +C (T1CONCLR, T1CONSET, T1CONINV), which clear, set or flip just the bits written as 1, in one write.

SPI4 SPI 4

SPI4CON

Address
0xBF821600
Reset
0x00000000
Access
read/write
Size
32-bit
22 fields
FieldBitsWhat it does
FRMSYNC30
FRMPOL29
MSSEN28
FRMSYPW27
FRMCNT26:24
MCLKSEL23
SPIFE17
ENHBUF16
ON15
SIDL13
DISSDO12
MODE3211
MODE1610
SMP9
CKE8
SSEN7
CKP6
MSTEN5
DISSDI4
STXISEL3:2
SRXISEL1:0
FRMEN31

SPI4STAT

Address
0xBF821610
Reset
0x00000000
Access
read/write
Size
32-bit
11 fields
FieldBitsWhat it does
RXBUFELM28:24
TXBUFELM20:16
FRMERR12
SPIBUSY11
SPITUR8
SRMT7
SPIROV6
SPIRBE5
SPITBE3
SPITBF1
SPIRBF0

SPI4BUF

Address
0xBF821620
Reset
0x00000000
Access
read/write
Size
32-bit

SPI4BRG

Address
0xBF821630
Reset
0x00000000
Access
read/write
Size
32-bit

SPI4CON2

Address
0xBF821640
Reset
0x00000000
Access
read/write
Size
32-bit
9 fields
FieldBitsWhat it does
SPISGNEXT15
FRMERREN12
SPIROVEN11
SPITUREN10
IGNROV9
IGNTUR8
AUDEN7
AUDMONO3
AUDMOD1:0