PIC32MZ2048ECG100 SPI2 registers

The 5 registers of SPI2 (SPI 2), from 0xBF821200, with their reset value and every field. The PIC32MZ2048ECG100 has 1188 registers in 89 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.

SPI2 SPI 2

SPI2CON

Address
0xBF821200
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

SPI2STAT

Address
0xBF821210
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

SPI2BUF

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

SPI2BRG

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

SPI2CON2

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