21.3.4 SPI Buffer Register

Note:
  1. Changing the BRG value when SPIEN = 1 causes undefined behavior.

Legend: R = Readable bit, W = Writable bit

Name: SPIxBUF
Offset: 0x180C, 0x182C, 0x184C, 0x186C

Bit 3130292827262524 
 SPIxBUF[31:24] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
 SPIxBUF[23:16] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 SPIxBUF[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 SPIxBUF[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 31:0 – SPIxBUF[31:0] SPIx FIFO Data bits(1)

Table 21-4 summarizes the valid data field for possible values of MODE32, MODE16 and WLENGTH[4:0] bits.
Table 21-4. MODE32, MODE16 and WLENGTH[4:0] Data Fields
MODE32MODE16WLENGTH[4:0]COMMUNICATIONValid Data Field Data
1X032-bitDATA[31:0]
01016-bitDATA[15:0]
0008-bitDATA[07:0]
XX16 < N < 31(N+1)-bitDATA[31:(31-N)]
XX8 < N < 15(N+1)-bitDATA[15:(15-N)]
XX1 < N < 7(N+1)-bitDATA[07:(07-N)]