Rev. 1.0, 03/01, page 180 of 280
Yes
<End>
No
Start reception
[1]
[4]
No
Yes
Read RDRF flag in SSR
[2]
[3]
Clear RE bit in SCR3 to 0
Error processing
(Continued below)
Read receive data in RDR
No
Yes
OER = 1
RDRF = 1
All data received?
Read OER flag in SSR
<End>
Error processing
Overrun error processing
Clear OER flag in SSR to 0
[4]
[1]
Read the OER flag in the serial status
register (SSR) to determine if there is an
error. If an overrun error has occurred,
execute overrun error processing.
[2]
Read SSR and check that the RDRF flag is
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, reading RDR, and
clearing the RDRF flag to 0 should be
finished. When data is read from RDR, the
RDRF flag is automatically cleared to 0.
[4]
If an overrun error occurs, read the OER
flag in SSR, and after performing the
appropriate error processing, clear the OER
Figure 13-13 Sample Serial Reception Flowchart(Clocked Synchronous Mode)
Summary of Contents for H8/3670F-ZTAT HD64F3670
Page 2: ...Rev 2 0 03 01 page ii of xxiv ...
Page 4: ...Rev 2 0 03 01 page iv of xxiv ...
Page 14: ...Rev 2 0 03 01 page xiv of xxiv ...
Page 20: ...Rev 1 0 03 01 page xx of xxiv ...
Page 24: ...Rev 1 0 03 01 page xxiv of xxiv ...
Page 78: ...Rev 1 0 03 01 page 54 of 280 ...
Page 112: ...Rev 1 0 03 01 page 88 of 280 ...
Page 248: ...Rev 1 0 03 01 page 224 of 280 ...