Datasheet
Section 14 Serial Communication Interface (SCI)
Rev.6.00 Sep. 27, 2007 Page 652 of 1268
REJ09B0220-0600
Transfer direction
Bit 7
Serial data
Serial clock
1 frame
TDRE
TEND
Bit 0 Bit 7 Bit 0 Bit 1 Bit 7Bit 6
Data written to TDR
and TDRE flag
cleared to 0 in TXI
interrupt handling routine
TEI interrupt
request generated
TXI interrupt
request generated
TXI interrupt
request generated
Figure 14.17 Example of SCI Transmit Operation
Serial data reception (synchronous mode): Figure 14.18 shows a sample flowchart for serial
reception.
The following procedure should be used for serial data reception.
When changing the operating mode from asynchronous to synchronous, be sure to check that the
ORER, PER, and FER flags are all cleared to 0.
The RDRF flag will not be set if the FER or PER flag is set to 1, and neither transmit nor receive
operations will be possible.