Section 16 Serial Communication Interface (SCI, IrDA, and CRC)
All data transmitted?
Read TEND flag in SSR
Make transition to software standby mode etc.
Cancel software standby mode etc.
Change operating mode?
Figure 16.39 Sample Flowchart for Mode Transition during Transmission
TE bit
SCK
output pin
TxD
Port
input/output
output pin
Port
Figure 16.40 Pin States during Transmission in Asynchronous Mode (Internal Clock)
Rev. 3.00 Jan 25, 2006 page 464 of 872
REJ09B0286-0300
Transmission
Yes
TEND = 1
Yes
TE = 0
[2]
Yes
Initialization
Start transmission
Transmission start
High output
Start
SCI TxD output
[1]
No
[1] Data being transmitted is lost
halfway. Data can be normally
transmitted from the CPU by
setting TE to 1, reading SSR,
writing to TDR, and clearing
TDRE to 0 after mode
cancellation; however, if the DTC
has been initiated, the data
No
remaining in DTC RAM will be
transmitted when TE and TIE are
set to 0.
[2] Also clear TIE and TEIE to 0
when they are 1.
[3]
[3] Module stop, watch, sub-active,
and sub-sleep modes are
included.
No
TE = 1
Transmission end
Stop
Transition to
Software standby
software standby
mode cancelled
mode
Port
input/output
Port input/output
High output
Port
SCI
TxD output