Figure 17.9 Sample Reception Processing Flowchart - Hitachi SH7751 Hardware Manual

Superh risc engine
Table of Contents

Advertisement

No
No
Mode Switching Operation: When switching from receive mode to transmit mode, first confirm
that the receive operation has been completed, then start from initialization, clearing RE to 0 and
setting TE to 1. The RDRF flag or the PER and ORER flags can be used to check that the receive
operation has been completed.
When switching from transmit mode to receive mode, first confirm that the transmit operation has
been completed, then start from initialization, clearing TE to 0 and setting RE to 1. The TEND
flag can be used to check that the transmit operation has been completed.
Start
Initialization
Start of reception
ORER = 0 and PER = 0?
Yes
RDRF = 1?
Yes
Read receive data from
SCRDR1 and clear RDRF flag
in SCSSR1 to 0
All data received?
Yes
Clear RE bit in SCSCR1 to 0
End of reception

Figure 17.9 Sample Reception Processing Flowchart

1
2
No
Error handling
3
4
5
6
Rev. 3.0, 04/02, page 699 of 1064

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7751r

Table of Contents