R01UH0823EJ0100 Rev.1.00
Page 1338 of 1823
Jul 31, 2019
RX23W Group
38. Serial Peripheral Interface (RSPIa)
38.2.3
RSPI Pin Control Register (SPPCR)
Do not change the SPPCR register while the SPCR.SPE bit is 1.
The SPLP bit selects the mode of the RSPI pins.
When the SPLP bit is set to 1, the RSPI shuts off the path between the MISOA pin and the shift register if the
SPCR.MSTR bit is 1, and between the MOSIA pin and the shift register if the SPCR.MSTR bit is 0, and connects
(inverts) the input path and output path for the shift register (loopback mode).
SPLP2 Bit (RSPI Loopback 2)
The SPLP2 bit selects the mode of the RSPI pins.
When the SPLP2 bit is set to 1, the RSPI shuts off the path between the MISOA pin and the shift register if the
SPCR.MSTR bit is 1, and between the MOSIA pin and the shift register if the SPCR.MSTR bit is 0, and connects the
input path and output path for the shift register (loopback mode).
MOIFV Bit (MOSI Idle Fixed Value)
If the MOIFE bit is 1 in master mode, the MOIFV bit determines the MOSIA pin output value during the SSL negation
period (including the SSL retention period during a burst transfer).
MOIFE Bit (MOSI Idle Value Fixing Enable)
The MOIFE bit fixes the MOSIA output value when the RSPI in master mode is in an SSL negation period (including the
SSL retention period during a burst transfer). When the MOIFE bit is 0, the RSPI outputs the last data from the previous
serial transfer during the SSL negation period to the MOSIA pin. When the MOIFE bit is 1, the RSPI outputs the fixed
value set in the MOIFV bit to the MOSIA pin.
Address(es): RSPI0.SPPCR 0008 8382h
b7
b6
b5
b4
b3
b2
b1
b0
—
—
MOIFE MOIFV
—
—
SPLP2 SPLP
Value after reset:
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b0
RSPI Loopback
0: Normal mode
1: Loopback mode (data is inverted for transmission)
R/W
b1
RSPI Loopback 2
0: Normal mode
1: Loopback mode (data is not inverted for transmission)
R/W
b3, b2
—
Reserved
These bits are read as 0. The write value should be 0.
R/W
b4
MOSI Idle Fixed Value
0: The level output on the MOSIA pin during MOSI idling corresponds
to low
1: The level output on the MOSIA pin during MOSI idling corresponds
to high
R/W
b5
MOSI Idle Value Fixing
Enable
0: MOSI output value equals final data from previous transfer
1: MOSI output value equals the value set in the MOIFV bit
R/W
b7, b6
—
Reserved
These bits are read as 0. The write value should be 0.
R/W