Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1063 of 1852
Nov 30, 2020
RX23W Group 33. Serial Communications Interface (SCIg, SCIh)
33.6.6 Serial Data Transmission (Except in Block Transfer Mode)
Serial data transmission in smart card interface mode (except in block transfer mode), in that an error signal is sampled
and data can be retransmitted, is different from that in non-smart card interface mode.
Figure 33.40 shows the data
retransmit operation during transmission.
Figure 33.40 Data Retransmit Operation in SCI Transmit Mode
(1) When an error signal from the receiver end is sampled after one-frame data has been transmitted, the SSR.ERS flag
is set to 1. If the SCR.RIE bit is 1 at this time, an ERI interrupt request is generated. Clear the ERS flag before the
next parity bit is sampled.
(2) For a frame in which an error signal is received, the SSR.TEND flag is not set. Data is retransferred from the TDR
register to the TSR register allowing automatic data retransmission.
(3) If no error signal is returned from the receiver, the ERS flag is not set to 1.
(4) In this case, the SCI judges that transmission of one-frame data (including retransmission) has been completed, and
the TEND flag is set. If the SCR.TIE bit is 1 at this time, a TXI interrupt request is generated. Writing transmit data
to the TDR register starts transmission of the next data.
Retransmitted framenth transmitted frame
(n + 1)-th
transmitted frame
(1)
(2) (4)
(3)
(DE)
SSR.FER flag/
SSR.ERS flag
Ds D0 D1 D2 D6 D7 DpD3 D4 D5 DE D6 D7 DpD5
TXI interrupt signal
Ds D0 D1 D2 D3 D4 Ds D0 D1 D2 D3 D4