Hitachi H8S/2646 Hardware Manual page 525

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

• Reception
Receive operation should be stopped (by clearing RE to 0) before making a module stop mode,
software standby mode, watch mode, subactive mode, or subsleep mode transition. RSR,
RDR, and SSR are reset. If a transition is made without stopping operation, the data being
received will be invalid.
To continue receiving without changing the reception mode after the relevant mode is cleared,
set RE to 1 before starting reception. To receive with a different receive mode, the procedure
must be started again from initialization.
Figure 13-26 shows a sample flowchart for mode transition during reception.
<Transmission>
All data
transmitted?
Yes
Read TEND flag in SSR
TEND = 1
Yes
TE = 0
Transition to software
standby mode, etc.
Exit from software
standby mode, etc.
Change
operating mode?
Yes
Initialization
<Start of transmission>
Figure 13-23 Sample Flowchart for Mode Transition during Transmission
No
[1]
[1] Data being transmitted is interrupted.
No
[2] If TIE and TEIE are set to 1, clear
[2]
[3] Includes module stop mode.
[3]
No
TE = 1
After exiting software standby mode,
etc., normal CPU transmission is
possible by setting TE to 1, reading
SSR, writing TDR, and clearing
TDRE to 0, but note that if the DTC
has been activated, the remaining
data in DTCRAM will be transmitted
when TE and TIE are set to 1.
them to 0 in the same way.
493

Advertisement

Table of Contents
loading

Table of Contents