Retransmission when SCI is in Transmit Mode (See Figure 14-12):
(6) After transmitting one frame, if the receiving device returns an error signal, the SCI sets the
ERS flag to 1 in SSR. If the RIE bit in SCR is set to the enable state, an ERI interrupt is
requested. The ERS flag should be cleared to 0 in SSR before the next parity bit sampling
timing.
(7) The TEND bit in SSR is not set for the frame in which the error signal was received,
indicating an error.
(8) If no error signal is returned from the receiving device, the ERS flag is not set in SSR.
(9) If no error signal is returned from the receiving device, transmission of the frame, including
retransmission, is assumed to be complete, and the TEND bit is set to 1 in SSR. If the TIE bit
in SCR is set to the enable state, a TXI interrupt is requested. If TXI is enabled as a DMA
transfer activation source, the next data can be written in TDR automatically. When the
DMAC writes data in TDR, it automatically clears the TDRE bit to 0.
Figure 14-12 Retransmission in SCI Transmit Mode
Ds D0 D1 D2 D3 D4 D5 D6 D7 Dp
DE
Ds D0 D1 D2 D3 D4 D5 D6 D7 Dp
Ds
(DE)
D0 D1 D2 D3 D4
Frame n
(9)
(7)
Transfer from
TDR to TSR
Transfer from TDR to TSR
Transfer from TDR to TSR
TDRE
TEND
ERS
(6)
(8)
Retransmitted frame
Frame n + 1
522
www.DataSheet4U.com