R01UH0823EJ0100 Rev.1.00
Page 1410 of 1823
Jul 31, 2019
RX23W Group
38. Serial Peripheral Interface (RSPIa)
38.4
Link Operation by Event Linking
The RSPI0 supports the following event output for the event link controller (ELC). The event link output signal is output
regardless of the interrupt enable bit setting.
38.4.1
Receive Buffer Full Event Output
This event signal is output when received data have been transferred from the shift register to the SPDR on completion of
serial transfer.
38.4.2
Transmit Buffer Empty Event Output
This event signal is output when data for transmission have been transferred from the transmit buffer to the shift register
and when the value of the SPE bit has changed from 0 to 1.
38.4.3
Mode Fault, Overrun, or Parity Error Event Output
(1) Mode Fault
lists the occurrence conditions of a mode fault event.
(2) Overrun
The condition for this event signal being output in response to an overrun is completion of serial transfer while the
receive buffer contains data that have not been read and the value of the SPCR.TXMD bit is 0, in which case the OVRF
flag is set to 1.
(3) Parity Error
The condition for this event signal being output in response to a parity error is detection of a parity error on completion
of serial transfer while the value of the TXMD bit in SPCR is 0 and the value of the SPPE bit in SPCR2 is 1.
Table 38.14
Occurrence Conditions of Mode Fault Event
SPCR.MODFEN Bit
SSLA0 Pin
Remarks
Master
(SPCR.MSTR bit = 1)
1
Active
Under the condition (the SPCR.MSTR bit is 1 and the
MODFEN bit is 1), if the SPCR.SPMS bit is 0, mode fault
error, overrun error, and parity error event output cannot be
used.
Do not set the ELSRn register to 52h.
Slave
(SPCR.MSTR bit = 0)
1
Not active
Event is output only when the pin is deactivated during
transmission.