Datasheet
Section 15 Serial Communication Interface with FIFO (SCIF)
Rev. 2.00 Sep. 28, 2009 Page 434 of 870
REJ09B0429-0200
(5) Data Reception
Figure 15.10 shows an example of the data reception flowchart.
Read BI, FE, PE, and
OE flag in FLSR
Receive data ready interrupt
Read receive FIFO
Read DR flag in 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 15.10 Example of Data Reception Flowchart










