Hitachi SH7032 Hardware Manual page 425

Superh risc engine
Table of Contents

Advertisement

Figure 13.12 Sample Flowchart for Receiving Multiprocessor Serial Data
390
Initialization
Start receiving
Set the MPIE bit in SCR to 1
Read the ORER and FER
bits in SSR
FER = 1 or ORER = 1?
Read the RDRF bit in SSR
No
RDRF = 1?
Read the receive data in RDR
No
Own ID?
Yes
Read the ORER and FER
bits in SSR
FER = 1 or ORER = 1?
Read the RDRF bit in SSR
RDRF = 1?
Read the receive data in RDR
No
Total count received?
Clear the RE bit in SCR to 0
Reception ends
(1)
(2)
Yes
No
(3)
Yes
Yes
No
(5)
No
Yes
Error handling
Yes
(4)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents