English
Language : 

HD64F3687HV Datasheet, PDF (323/538 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Tiny Series
Section 16 Serial Communication Interface 3 (SCI3)
Start reception
[1] Read the OER flag in SSR to determine if
there is an error. If an overrun error has
Read OER flag in SSR
[1]
occurred, execute overrun error processing.
[2] Read SSR and check that the RDRF flag is
OER = 1
No
Yes
[4]
Error processing
(Continued below)
set to 1, then read the receive data in RDR.
When data is read from RDR, the RDRF
flag is automatically cleared to 0.
[3] To continue serial reception, before the
MSB (bit 7) of the current frame is received,
reading the RDRF flag and reading RDR
should be finished. When data is read from
Read RDRF flag in SSR
[2]
RDR, the RDRF flag is automatically
cleared to 0.
No
RDRF = 1
[4] If an overrun error occurs, read the OER
flag in SSR, and after performing the
appropriate error processing, clear the OER
Yes
flag to 0. Reception cannot be resumed if
the OER flag is set to 1.
Read receive data in RDR
Yes
All data received?
[3]
No
Clear RE bit in SCR3 to 0
<End>
[4]
Error processing
Overrun error processing
Clear OER flag in SSR to 0
<End>
Figure 16.13 Sample Serial Reception Flowchart (Clocked Synchronous Mode)
Rev.5.00 Nov. 02, 2005 Page 289 of 500
REJ09B0027-0500