Figure 12.37 shows a sample flowchart for mode transition during reception.
Read TEND flag in SSR
software standby mode
Cancel software standby mode
Change operating mode?
Figure 12.34 Sample Flowchart for Mode Transition during Transmission
Transmission
All data transmitted?
Yes
TEND = 1
Yes
TE = 0
[2]
Make transition to
Yes
Initialization
Start transmission
Section 12 Serial Communication Interface (SCI)
[1]
No
[1] Data being transmitted is lost
halfway. Data can be normally
transmitted from the CPU by
setting the TE bit to 1, reading
SSR, writing to TDR, and
clearing the TDRE bit to 0 after
clearing software standby mode.
No
[2] Clear the TIE and TEIE bits to 0
when they are 1.
[3] Module stop mode is included.
[3]
No
TE = 1
Rev. 3.00 Mar. 14, 2006 Page 445 of 804
REJ09B0104-0300