R01UH0822EJ0100 Rev.1.00
Page 697 of 1041
Jul 31, 2019
RX13T Group
23. Serial Communications Interface (SCIg, SCIh)
Figure 23.62
Example of Start Frame Transmission (2/2)
Set 1 to TCR.TCST
STR.BFDF = 1?
No
Yes
Set TCR.TCST to 0
Set SCR.TE to 0 and then 1
TXI interrupt?
No
Yes
Write transmit data in Control Field 0
to TDR
No
Yes
TXI interrupt?
Write transmit data in Control Field 1
to TDR
Set 1 to STCR.BFDCL
A
Information Frame communications
Start the timer counter and output of the Break Field low width.
The STR.BFDF flag is set to 1 on output of the Break Field low width. At
this time, if the ICR.BFDIE bit is 1, an SCIX0 interrupt is generated.
Clear the BFDF flag.
After output of the Break Field low width is completed, stop the timer
counting before the next underflow of the timer occurs.
After setting the SCR.TE bit to 0, set it to 1.
The transmit data empty interrupt (TXI) request is generated. Write
transmit data in Control Field 0 to the TDR register with the TXI interrupt
handling routine.
The transmit data empty interrupt (TXI) request is generated. Write
transmit data in Control Field 1 to the TDR register with the TXI interrupt
handling routine.
Send the Information Frame.