HD6417320 RENESAS [Renesas Technology Corp], HD6417320 Datasheet - Page 677

no-image

HD6417320

Manufacturer Part Number
HD6417320
Description
Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Table 18.3 Serial Transmit/Receive Formats
(2)
Either an internal clock generated by the on-chip baud rate generator or an external clock input at
the SCK pin can be selected as the SCI's serial clock, according to the setting of the CKE bit in the
serial control register (SCSCR).
When an external clock is input at the SCK pin, the clock appropriate for the sampling rate should
be input. For example, when the sampling rate is 1/16, the clock frequency should be 8 times the
bit rate used.
(3)
Before transmitting or receiving, clear the TE and RE bits to 0 in SCSCR, then initialize the SCIF
as follows.
When changing 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 (SCSSR), transmit
FIFO data register (SCFTDR), or receive FIFO data register (SCFRDR), which retain their
previous contents.
Clear TE to 0 after all transmit data are transmitted and the TEND bit in the SCSSR is set. The
transmitting data enters the high impedance state after clearing to 0 although the bit can be cleared
CHR PE
0
0
0
0
1
1
1
1
SCSMR Bits
Clock
Transmitting and Receiving Data (SCIF Initialization)
0
0
1
1
0
0
1
1
STOP
0
1
0
1
0
1
0
1
START
START
START
START
START
START
START
START
1
Serial Transmit/Receive Format and Frame Length
2
3
4
7-Bit data
7-Bit data
7-Bit data
7-Bit data
8-Bit data
8-Bit data
8-Bit data
8-Bit data
Section 18
5
6
7
Serial Communication Interface with FIFO (SCIF)
8
Rev. 3.00 Jan. 18, 2008 Page 615 of 1458
STOP
STOP STOP
P
P
9
STOP
STOP STOP
STOP
STOP STOP
10
P
P
STOP
STOP STOP
11
REJ09B0033-0300
12

Related parts for HD6417320