Section 16 Serial Communication Interface with FIFO (SCIF)
SH7751 Group, SH7751R Group
Page 710 of 1128
R01UH0457EJ0301 Rev. 3.01
Sep 24, 2013
Error handlin
g
Receive error handlin
g
ER = 1
?
BRK = 1
?
Break handlin
g
DR = 1
?
Read receive data in SCFRDR2
Clear DR, ER, BRK fla
g
s
in SCFSR2,
and ORER fla
g
in SCLSR2, to 0
End
Yes
Yes
Yes
No
Overrun error handlin
g
ORER = 1
?
Yes
No
No
No
1. Whether a framin
g
error or parity error
has occurred in the receive data read
from SCFRDR2 can be ascertained
from the FER and PER bits in
SCFSR2.
2. When a break si
g
nal is received,
receive data is not transferred to
SCFRDR2 while the BRK fla
g
is set.
However, note that the last data in
SCFRDR2 is H'00 (the break data in
which a framin
g
error occurred is
stored).
Figure 16.11 Sample Serial Reception Flowchart (2)