English
Language : 

SH7763 Datasheet, PDF (1162/2026 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 27 Serial Communication Interface with FIFO (SCIF)
(2) Clock
Either an internal clock generated by the on-chip baud rate generator or an external clock input at
the SCIF_SCK pin can be selected as the SCIF's serial clock, according to the settings of the C/A
bit in SCSMR and the CKE1 and CKE0 bits in SCSCR. For details of SCIF clock source
selection, see table 27.6.
When an external clock is input at the SCIF_SCK pin, the clock frequency should be 16 times the
bit rate used.
When the SCIF is operated on an internal clock, a clock whose frequency is 16 times the bit rate is
output from the SCIF_SCK pin.
(3) SCIF Initialization (Asynchronous Mode)
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 operating mode or transfer format, etc., is changed, the TE and RE bits must be cleared
to 0 before making the change using the following procedure.
1. 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.
2. The TE bit should be cleared to 0 after all transmit data has been sent and the TEND flag in
SCFSR has been set. TEND can also be cleared to 0 during transmission, but the data being
transmitted will go to the mark state after the clearance. Before setting TE again to start
transmission, the TFCL bit in SCFCR should first be set to 1 to reset SCFTDR.
3. When an external clock is used the clock should not be stopped during operation, including
initialization, since operation will be unreliable in this case.
Rev. 1.00 Oct. 01, 2007 Page 1096 of 1956
REJ09B0256-0100