Datasheet
Section 15 Serial Communication Interface with FIFO (SCIF)
Rev. 2.00 Aug. 20, 2008 Page 537 of 1198
REJ09B0403-0200
(5) Data Reception
Figure 15.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
[1]
[2]
[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 15.10 Example of Data Reception Flowchart










