Operation; Overview; Table 16.3 Scsmr2 Settings For Serial Transfer Format Selection - Hitachi SH7750 Hardware Manual

Sh7750 series superh risc engine
Hide thumbs Also See for SH7750:
Table of Contents

Advertisement

16.3

Operation

16.3.1

Overview

The SCIF can carry out serial communication in asynchronous mode, in which synchronization is
achieved character by character. See section 15.3.2, Operation in Asynchronous Mode, for details.
Sixteen-stage FIFO buffers are provided for both transmission and reception, reducing the CPU
overhead and enabling fast, continuous communication to be performed. RTS2 and CTS2 signals
are also provided as modem control signals.
The transmission format is selected using the serial mode register (SCSMR2), as shown in table
16.3. The SCIF clock source is determined by the CKE1 bit in the serial control register
(SCSCR2), as shown in table 16.4.
• Data length: Choice of 7 or 8 bits
• Choice of parity addition and addition of 1 or 2 stop bits (the combination of these parameters
determines the transfer format and character length)
• Detection of framing errors, parity errors, receive-FIFO-data-full state, overrun errors, receive-
data-ready state, and breaks, during reception
• Indication of the number of data bytes stored in the transmit and receive FIFO registers
• Choice of internal or external clock as SCIF clock source
When internal clock is selected: The SCIF operates on the baud rate generator clock, and can
output a clock with a frequency of 16 times the bit rate.
When external clock is selected: A clock with a frequency of 16 times the bit rate must be
input (the on-chip baud rate generator is not used).

Table 16.3 SCSMR2 Settings for Serial Transfer Format Selection

SCSMR2 Settings
Bit 6:
Bit 5:
Bit 3:
CHR
PE
STOP
0
0
0
1
1
0
1
1
0
0
1
1
0
1
Mode
Asynchronous mode
SCIF Transfer Format
Data
Multiprocessor
Length
Bit
8-bit data No
7-bit data
Rev. 6.0, 07/02, page 685 of 986
Parity
Stop Bit
Bit
Length
No
1 bit
2 bits
Yes
1 bit
2 bits
No
1 bit
2 bits
Yes
1 bit
2 bits

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7750rSh7750s

Table of Contents