50.6.3 SPI Control Register

Table 50-6. Register Bit Attribute Legend
Symbol Description Symbol Description Symbol Description
R Readable bit HC Cleared by Hardware (Grey cell) Unimplemented
W Writable bit HS Set by Hardware X Bit is unknown at Reset
K Write to clear S Software settable bit
Name: SPICTRL
Offset: 0x08
Reset: 0x00
Property: PAC Write-Protection

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
      SMPSPISGNEXT  
Access R/WR/W 
Reset 00 
Bit 76543210 
  CSENMSTENDISSDODISSDI MODE32MODE16 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 

Bit 10 – SMP SPI Data Input Sample Phase bit

Input data is always sampled at the middle of data output time regardless of the SMP setting in Client Mode.

ValueDescription
0 Input data sampled at the middle of data output time in Host Mode
1 Input data sampled at the end of data output time in Host Mode

Bit 9 – SPISGNEXT Sign Extend Read Data from the RXFIFO

ValueDescription
0 Data from RX FIFO is not sign extended
1 Data from RX FIFO is sign extended

Bit 6 – CSEN Host/Client Mode Select Enable bit

Note:
  • When FRMEN = 1, MSSEN is not used
  • Use is dependent on MSTEN bit
  • Can only be written when Enable =’0’
ValueDescription
0 Host Mode: Client select SPI support disabled
1 Host Mode: SPI Client Select support enabled with polarity determined by FRMPOL (SS pin automatically driven during transmission in Host Mode)
0 Client Mode: SS pin used by the macro in Client mode; (SS pin used as client select input)
1 Client Mode: SS pin not used by client mode

Bit 5 – MSTEN Host Mode Enable bit

Note: Can only be written when Enable =’0’.
ValueDescription
0 Client Mode
1 Host Mode

Bit 4 – DISSDO Disable SDO bit

Note: Can only be written when Enable =’0’.
ValueDescription
0 SDO pin is controlled by the macro.
1 SDO pin is not used by the macro. Pin controlled by PORT function.

Bit 3 – DISSDI Disable SDI bit

Note: Can only be written when Enable =’0’.
ValueDescription
0 SDI pin is controlled by the macro.
1 SDI pin is not used by the macro. Pin controlled by PORT function.

Bit 1 – MODE32 Serial Word Length bits for AUDEN=0

MODE32 - For AUDEN=0 Communication
1 32-bit
0 16-bit
0 8-bit
Note:
  • Can only be written when Enable =’0’
  • Not used when AUDEN=1
  • Channel is not meaningful for DSP/PCM mode as LRC follows FRMSYPW

Bit 0 – MODE16 Serial Word Length bits for AUDEN=0

MODE16 - For AUDEN=0 Communication
X 32-bit
1 16-bit
0 8-bit
Note:
  • Can only be written when Enable =’0’
  • Not used when AUDEN=1
  • Channel is not meaningful for DSP/PCM mode as LRC follows FRMSYPW