SPIxCON1

SPI Control Register 1
Name:
SPIxCON1
Address:
0x085,0x092
Reset:
Access:
Bit76543210
SMPCKECKPFSTSSPSDIPSDOP
AccessR/WR/WR/WR/WR/WR/WR/W
Reset0000100

Bit 7 – SMP: SPI Input Sample Phase Control

SPI Input Sample Phase Control

ValueNameDescription
1 Slave Reserved
1 Master SDI input is sampled at the end of data output time
0 Slave or Master SDI input is sampled in the middle of data output time

Bit 6 – CKE: Clock Edge Select

Clock Edge Select

ValueDescription
1 Output data changes on transition from Active to Idle clock state
0 Output data changes on transition from Idle to Active clock state

Bit 5 – CKP: Clock Polarity Select

Clock Polarity Select

ValueDescription
1 Idle state for SCK is high level
0 Idle state for SCK is low level

Bit 4 – FST: Fast Start Enable

Fast Start Enable

ValueNameDescription
x Slave This bit is ignored
1 Master Delay to first SCK may be less than ½ baud period
0 Master Delay to first SCK will be at least ½ baud period

Bit 2 – SSP: Slave Select Input/Output Polarity Control

Slave Select Input/Output Polarity Control

ValueDescription
1 SS is active-low
0 SS is active-high

Bit 1 – SDIP: SPI Input Polarity Control

SPI Input Polarity Control

ValueDescription
1 SDI input is active-low
0 SDI input is active-high

Bit 0 – SDOP: SPI Output Polarity Control

SPI Output Polarity Control

ValueDescription
1 SDO output is active-low
0 SDO output is active-high