Datasheet
Section 17 Serial Communication Interface with FIFO (SCIF)
Rev. 2.00 Sep. 28, 2009 Page 523 of 994
REJ09B0452-0200
(5) Data Reception
Figure 17.10 shows an example of the data reception flowchart.
Read FLSR
Receive data ready interrupt
Read receive FIFO
Read FLSR
Error processing
(Transmission/reception standby flow)
BI = 1, FE = 1,
PE = 1, or OE = 1
DR = 0
No
Yes
[2]
[1]
[3]
[4]
[1] When data is received, a receive data ready
interrupt occurs. Go to the data reception flow
by using this interrupt trigger.
[2] Confirm that the BI, FE, PE, and OE flags in
FLSR are all cleared. If any one of these flags
is set to 1, perform error processing.
[3] Read the receive FIFO.
[4] Check the DR flag in FLSR. When the DR flag
is cleared and all of the data has been read, data
reception is complete.
Figure 17.10 Example of Data Reception Flowchart










