Datasheet

Table Of Contents
Section 18 Serial Communication Interface 4 (SCI4)
Rev. 2.00 Jul. 04, 2007 Page 423 of 692
REJ09B0309-0200
18.4.3 Data Transmission/Reception
Before data transmission and reception, clear the TE and RE bits in SCR4 to 0 and then initialize
as the following procedure of figure 18.3.
Note: Before changing operating modes or communication format, the TE and RE bits must be
cleared to 0. Clearing the TE bit to 0 sets the TDRE flag to 1. Note that clearing the RE bit
to 0 does not affect the RDRF or ORER flag and the contents of RDR4.
When the external clock is used, the clock must not be supplied during operation including
initialization.
<Transmission/reception started>
Start of Initialization
Clear TE and RE bits in SCR4 to 0
Clear CKS3 to CKS0 bits in
SCSR4 to 0
Set TE and RE bits in SCR4 to 1.
Set RIE, TIE, and TEIE bits.
Figure 18.3 Flowchart Example of SCI4 Initialization