Rev. 1.0, 03/01, page 187 of 280
Yes
<End>
No
Start reception
No
Yes
[4]
Clear RE bit in SCR3 to 0
Error processing
(Continued on
next page)
[5]
No
Yes
FER+OER = 1
RDRF = 1
All data received?
Read MPIE bit in SCR3
[1]
[2]
Read OER and FER flags in SSR
Read RDRF flag in SSR
[3]
Read receive data in RDR
No
Yes
[A]
This station’s ID?
Read OER and FER flags in SSR
Yes
No
Read RDRF flag in SSR
No
Yes
FER+OER=1
Read receive data in RDR
RDRF = 1
[1]
Set the MPIE bit in SCR to 1.
[2] Read OER and FER in SSR to check for
errors. Receive error processing is performed
in cases where a receive error occurs.
[3]
Read SSR and check that the RDRF flag is
set to 1, then read the receive data in RDR
and compare it with this station’s ID.
If the data is not this station’s ID, set the MPIE
bit to 1 again, and clear the RDRF flag to 0.
When data is read from RDR, the RDRF flag
is automatically cleared to 0.
[4]
SCI status check and data reception:
Read SSR and check that the RDRF flag is
set to 1, then read the data in RDR.
[5]
If a receive error occurs, read the OER and
FER flags in SSR to identify the error. After
performing the appropriate error processing,
ensure that the OER and FER flags are all
cleared to 0.
Reception cannot be resumed if either of
these flags is set to 1.
In the case of a framing error, a break can be
detected by reading the RxD pin value.
Figure 13-17 Sample Multiprocessor Serial Reception Flowchart (1)
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 ...