English
Language : 

SH7713 Datasheet, PDF (603/904 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Section 16 Serial Communication Interface with FIFO (SCIF)
Data Transfer Operations:
The SCIF Initialization: Before transmitting and receiving data, it is necessary to clear the TE
and RE bits in SCSCR to 0, then initialize the SCIF as described below.
When the transfer format, etc., is changed, the TE and RE bits must be cleared to 0 before making
the change using the following procedure. When the TE bit is cleared to 0, SCTSR is initialized.
Note that clearing the TE and RE bits to 0 does not change the contents of SCFSR, SCFTDR, or
SCFRDR. The TE bit should be cleared to 0 after all transmit data has been sent and the TEND bit
in SCFSR has been set to 1. Clearing to 0 can also be performed during transmission, but the data
being transmitted will go to the high-impedance state after the clearance. Before setting TE to 1
again to start transmission, the TFRST bit in SCFCR should first be set to 1 to reset SCFTDR.
When an external clock is used, the clock should not be stopped during operation including
initialization because its operation becomes unreliable.
Figure 16.3 shows a sample the SCIF initialization flowchart.
Rev.1.50 Aug. 30, 2006 Page 563 of 860
REJ09B0288-0150