
NUC126
Aug. 08, 2018
Page
614
of 943
Rev 1.03
NUC12
6 S
E
RI
E
S
T
E
CH
NI
CA
L R
E
F
E
RE
NCE
MA
NUA
L
Note:
1. The TX underflow event occurs if there is no any data in TX FIFO when the slave
selection signal is active.
2. This bit should be set as 0 in I
2
S mode.
3. When TX underflow event occurs, SPIx_MISO pin state will be determined by this
setting even though TX FIFO is not empty afterward. Data stored in TX FIFO will be
sent through SPIx_MISO pin in the next transfer frame.
[5]
RXOVIEN
Receive FIFO Overrun Interrupt Enable Bit
0 = Receive FIFO overrun interrupt Disabled.
1 = Receive FIFO overrun interrupt Enabled.
[4]
RXTOIEN
Slave Receive Time-out Interrupt Enable Bit
0 = Receive time-out interrupt Disabled.
1 = Receive time-out interrupt Enabled.
[3]
TXTHIEN
Transmit FIFO Threshold Interrupt Enable Bit
0 = TX FIFO threshold interrupt Disabled.
1 = TX FIFO threshold interrupt Enabled.
[2]
RXTHIEN
Receive FIFO Threshold Interrupt Enable Bit
0 = RX FIFO threshold interrupt Disabled.
1 = RX FIFO threshold interrupt Enabled.
[1]
TXRST
Transmit Reset
0 = No effect.
1 = Reset transmit FIFO pointer and transmit circuit. The TXFULL bit will be cleared
to 0 and the TXEMPTY bit will be set to 1. This bit will be cleared to 0 by hardware
about 3 system clock 2 peripheral clock cycles after it is set to 1. User can
read TXRXRST (SPIx_STATUS[23]) to check if reset is accomplished or not.
Note:
If TX underflow event occurs in SPI Slave mode, this bit can be used to make
SPI return to idle state.
[0]
RXRST
Receive Reset
0 = No effect.
1 = Reset receive FIFO pointer and receive circuit. The RXFULL bit will be cleared to
0 and the RXEMPTY bit will be set to 1. This bit will be cleared to 0 by hardware
about 3 system clock 2 peripheral clock cycles after it is set to 1. User can
read TXRXRST (SPIx_STATUS[23]) to check if reset is accomplished or not.