UG-1262
Rev. B | Page 251 of 312
Bits Bit
Name Settings Description
Reset Access
3
CPOL
Serial Clock Polarity.
0x0
R/W
0
Serial clock idles low.
1
Serial clock idles high.
2 CPHA
Serial
Clock Phase Mode.
0x0
R/W
0
Serial clock pulses at the end of each serial bit transfer.
1
Serial clock pulses at the beginning of each serial bit transfer.
1
MASEN
Master Mode Enable.
0x0
R/W
0
Enable slave mode.
1
Enable master mode.
0 SPIEN
SPI
Enable.
0x0 R/W
0
Disable the SPI.
1
Enable the SPI.
INTERRUPT CONFIGURATION REGISTERS
Address: 0x40004014, Reset: 0x0000, Name: SPI0_IEN
Address: 0x40024014, Reset: 0x0000, Name: SPI1_IEN
Table 311. Bit Descriptions for SPI0_IEN, SPI1_IEN
Bits Bit
Name Settings Description
Reset Access
15 Reserved
Reserved.
0x0 R
14 TXEMPTY
Transmit FIFO Empty Interrupt Enable. This bit enables the SPIx_STAT, Bit 2 interrupt
whenever the transmit FIFO is emptied.
0x0 R/W
0
TXEMPTY interrupt is disabled.
1
TXEMPTY interrupt is enabled.
13
XFRDONE
SPI Transfer Completion Interrupt Enable. This bit enables the SPIx_STAT, Bit 1 interrupt.
0x0
R/W
0
XFRDONE interrupt is disabled.
1
XFRDONE interrupt is enabled.
12 TXDONE
SPI Transmit Done Interrupt Enable. This bit enables the SPIx_STAT, Bit 3 interrupt in read
command mode. This interrupt can be used to signal the change of SPI transfer direction
in read command mode.
0x0 R/W
0
TXDONE interrupt is disabled.
1
TXDONE interrupt is enabled.
11 RDY
Ready Signal Edge Interrupt Enable. This bit enables the SPIx_STAT, Bit 15 interrupt
whenever an active edge occurs on P0.3 signals. If SPIx_FLOW_CTL, Bits[1:0] = 0b10, this
bit is set whenever an active edge is detected on the P0.3 signal. If SPIx_FLOW_CTL,
Bits[1:0] = 0b11, this bit is set if an active edge is detected on the MISO signal. If
SPIx_FLOW_CTL, Bits[1:0] = 0b00 or 0b01, this bit is always 0. The active edge (rising or
falling) is determined by SPIx_FLOW_CTL, Bit 4.
0x0 R/W
0
Ready signal edge interrupt is disabled.
1
Ready signal edge interrupt is enabled.
10
RXOVR
Receive Overflow Interrupt Enable.
0x0
R/W
0
Receive overflow interrupt is disabled.
1
Receive overflow interrupt is enabled.
9 TXUNDR
Transmit
Underflow Interrupt Enable.
0x0
R/W
0
Transmit underflow interrupt is disabled.
1
Transmit underflow interrupt is enabled.
8
CS
Enable Interrupt on Every Chip Select Edge in Slave Continuous Mode.
0x0
R/W
0
No interrupt is generated and the status bits are not asserted.
1
If the SPI module is configured as a slave in continuous mode, any edge on chip select
generates an interrupt and the corresponding status bits (SPIx_STAT, Bit 14 and
SPIx_STAT, Bit 13) are asserted. This bit has no effect if the SPI is not in continuous mode
or if it is a master.
[7:3] Reserved
Reserved.
0x0 R