English
Language : 

SH7708 Datasheet, PDF (399/633 Pages) Renesas Technology Corp – SuperH™ RISC engine
Start reception
Set MPIE bit in SCSCR to 1 (1)
Read ORER and FER
bits in SCSSR
FER = 1 or ORER = 1?
Yes
No
Read RDRF bit in SCSSR (2)
No
RDRF = 1?
Yes
Read receive data in SCRDR
No
Is ID the
station’s ID?
Yes
Read ORER and FER
bits in SSCSR
FER = 1 or ORER = 1?
Yes
No
Read RDRF bit in SCSSR (3)
RDRF = 1?
No
Yes
Read receive data in SCRDR
No
All data received?
Yes
Clear RE bit in SCSCR to 0
(4)
Error handling
End reception
Note: Numbers in parentheses refer to the preceding procedure.
Figure 13.12 Sample Flowchart for Receiving Multiprocessor Serial Data
381