beautypg.com

Renesas SH7641 User Manual

Page 781

background image

Section 19 Serial Communication Interface with FIFO (SCIF)

Rev. 4.00 Sep. 14, 2005 Page 731 of 982

REJ09B0023-0400

Error handling

Receive error handling

ER = 1?

BRK = 1?

Break handling

DR = 1?

Read receive data in SCFRDR

Clear DR, ER, BRK flags

in SCFSR,

and ORER flag in SCLSR, to 0

End

Yes

Yes

Yes

No

Overrun error handling

ORER = 1?

Yes

No

No

No

[1] Whether a framing error or parity error

has occurred in the receive data that
is to be read from SCFRDR can be
ascertained from the FER and PER
bits in SCFSR.

[2] When a break signal is received,

receive data is not transferred to
SCFRDR while the BRK flag is set.
However, note that the last data in
SCFRDR is H'00, and the break data
in which a framing error occurred is
stored.

Figure 19.8 Sample Flowchart for Receiving Serial Data (cont)

This manual is related to the following products: