h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 473

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
15.3.2
In asynchronous mode, characters are sent or received, each preceded by a start bit indicating the
start of communication and followed by one or two stop bits indicating the end of communication.
Serial communication is thus carried out with synchronization established on a character-by-
character basis.
Inside the SCI, the transmitter and receiver are independent units, enabling full-duplex
communication. Both the transmitter and the receiver also have a double-buffered structure, so
that data can be read or written during transmission or reception, enabling continuous data
transfer.
Figure 15.2 shows the general format for asynchronous serial communication.
In asynchronous serial communication, the transmission line is usually held in the mark state (high
level). The SCI monitors the transmission line, and when it goes to the space state (low level),
recognizes a start bit and starts serial communication.
One serial communication character consists of a start bit (low level), followed by data (in LSB-
first order), a parity bit (high or low level), and finally one or two stop bits (high level).
In asynchronous mode, the SCI performs synchronization at the falling edge of the start bit in
reception. The SCI samples the data on the 8th pulse of a clock with a frequency of 16 times the
length of one bit, so that the transfer data is latched at the center of each bit.
Serial
data
1
Start
bit
1 bit
0
Operation in Asynchronous Mode
LSB
D0
Figure 15.2 Data Format in Asynchronous Communication
One unit of transfer data (character or frame)
D1
(Example with 8-Bit Data, Parity, Two Stop Bits)
D2
Transmit/receive data
D3
7 or 8 bits
D4
Section 15 Serial Communication Interface (SCI, IrDA)
D5
D6
Rev. 4.00 Jun 06, 2006 page 419 of 1004
MSB
D7
Parity
bit
1 bit,
or none
0/1
Stop bit(s)
1
1 or
2 bits
REJ09B0301-0400
1
Idle state
(mark state)
1

Related parts for h8s-2138