Figure 13.27 Sample Flowchart For Mode Transition During Transmission - Hitachi H8S/2215 Series Hardware Manual

Hitachi single-chip microcomputer
Table of Contents

Advertisement

Operation should also be stopped (by clearing TE, TIE, and TEIE to 0) before making a
transition from transmission by DTC transfer to module stop mode, software standby mode, or
subsleep mode transition. To perform transmission with the DTC after the relevant mode is
cleared, setting TE and TIE to 1 will set the TXI flag and start DTC transmission.
<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.27 Sample Flowchart for Mode Transition during Transmission

No
[1]
[1]
No
[2]
[2]
[3]
[3]
No
TE= 1
Data being transmitted is interrupted.
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.
If TIE and TEIE are set to 1, clear
them to 0 in the same way.
Includes module stop mode.
Rev. 3.0, 10/02, page 411 of 686

Advertisement

Table of Contents
loading

Table of Contents