Section 15 Serial Communication Interface with FIFO (SCIF)
Rev. 0.50 May 18, 2006 Page 744 of 1588
REJ09B0313-0050
(2) Clock
An internal clock generated by the on-chip baud rate generator or an external clock input from the
SCK pin can be selected as the SCIF transmit/receive clock. The clock source is selected by the
C/
A
bit in the serial mode register (SCSMR) and the CKE1 and CKE0 bits in the serial control
register (SCSCR). For clock source selection, refer to table 15.10, SCSMR and SCSCR Settings
and SCIF Clock Source Selection.
When an external clock is input at the SCK pin, it must have a frequency equal to 16 or 8 times
the desired bit rate.
When the SCIF operates on an internal clock, it can output a clock signal on the SCK pin. The
frequency of this output clock is 16 or 8 times the desired bit rate.
(3) Transmitting
and Receiving Data
•
SCIF Initialization (Asynchronous Mode)
Before transmitting or receiving, clear the TE and RE bits to 0 in the serial control register
(SCSCR), then initialize the SCIF as follows.
When changing the operation mode or the communication format, always clear the TE and RE
bits to 0 before following the procedure given below. Clearing TE to 0 initializes the transmit
shift register (SCTSR). Clearing TE and RE to 0, however, does not initialize the serial status
register (SCFSR), transmit FIFO data register (SCFTDR), or receive FIFO data register
(SCFRDR), which retain their previous contents. Clear TE to 0 after all transmit data has been
transmitted and the TEND flag in the SCFSR is set. The TE bit can be cleared to 0 during
transmission, but the transmit data goes to the Mark state after the bit is cleared to 0. Set the
TFRST bit in SCFCR to 1 and reset SCFTDR before TE is set again to start transmission.
When an external clock is used, the clock should not be stopped during initialization or
subsequent operation. SCIF operation becomes unreliable if the clock is stopped.
Summary of Contents for Single-Chip Microcomputer SH7203
Page 2: ...Rev 0 50 May 18 2006 Page ii of xxx ...
Page 30: ...Rev 0 50 May 18 2006 Page xxx of xxx ...
Page 52: ...Section 1 Overview Rev 0 50 May 18 2006 Page 22 of 1588 REJ09B0313 0050 ...
Page 98: ...Section 2 CPU Rev 0 50 May 18 2006 Page 68 of 1588 REJ09B0313 0050 ...
Page 128: ...Section 4 Clock Pulse Generator CPG Rev 0 50 May 18 2006 Page 98 of 1588 REJ09B0313 0050 ...
Page 200: ...Section 6 Interrupt Controller INTC Rev 0 50 May 18 2006 Page 170 of 1588 REJ09B0313 0050 ...
Page 242: ...Section 8 Cache Rev 0 50 May 18 2006 Page 212 of 1588 REJ09B0313 0050 ...
Page 400: ...Section 9 Bus State Controller BSC Rev 0 50 May 18 2006 Page 370 of 1588 REJ09B0313 0050 ...
Page 696: ...Section 13 Watchdog Timer WDT Rev 0 50 May 18 2006 Page 666 of 1588 REJ09B0313 0050 ...
Page 726: ...Section 14 Realtime Clock RTC Rev 0 50 May 18 2006 Page 696 of 1588 REJ09B0313 0050 ...
Page 876: ...Section 17 I2 C Bus Interface 3 IIC3 Rev 0 50 May 18 2006 Page 846 of 1588 REJ09B0313 0050 ...
Page 1054: ...Section 21 D A Converter DAC Rev 0 50 May 18 2006 Page 1024 of 1588 REJ09B0313 0050 ...
Page 1294: ...Section 24 LCD Controller LCDC Rev 0 50 May 18 2006 Page 1264 of 1588 REJ09B0313 0050 ...
Page 1386: ...Section 26 I O Ports Rev 0 50 May 18 2006 Page 1356 of 1588 REJ09B0313 0050 ...
Page 1512: ...Section 30 List of Registers Rev 0 50 May 18 2006 Page 1482 of 1588 REJ09B0313 0050 ...
Page 1598: ...Section 31 Electrical Characteristics Rev 0 50 May 18 2006 Page 1568 of 1588 REJ09B0313 0050 ...
Page 1606: ...Appendix Rev 0 50 May 18 2006 Page 1576 of 1588 REJ09B0313 0050 ...
Page 1618: ...Rev 0 50 May 18 2006 Page 1588 of 1588 REJ09B0313 0050 ...
Page 1621: ......
Page 1622: ...SH7203 Group Hardware Manual ...