Datasheet

Section 15 Serial Communication Interface (SCI, IrDA)
R01UH0309EJ0500 Rev. 5.00 Page 945 of 1408
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
Figure 15.39 shows a sample flowchart for mode transition during reception.
Read TEND flag in SSR
TE = 0
Transition to software
standby mode
Exit from software
standby mode
Change
operating mode?
No
All data
transmitted?
TEND = 1
Yes
Yes
Yes
<Transmission>
No
No
[1]
[3]
[2]
TE = 1Initialization
<Start of transmission>
[1] Data being transmitted is interrupted.
After exiting software standby mode,
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.
[2] If TIE and TEIE are set to 1, clear
them to 0 in the same way.
[3] Includes setting of module stop state.
Figure 15.36 Sample Flowchart for Mode Transition during Transmission