Operation In Asynchronous Mode - Hitachi SH7709S Hardware Manual

Superh risc engine
Table of Contents

Advertisement

14.3.2

Operation in Asynchronous Mode

In asynchronous mode, each transmitted or received character begins with a start bit and ends with
a stop bit. Serial communication is synchronized one character at a time.
The transmitting and receiving sections of the SCI are independent, so full duplex communication
is possible. The transmitter and receiver are both double buffered, so data can be written and read
while transmitting and receiving are in progress, enabling continuous transmitting and receiving.
Figure 14.5 shows the general format of asynchronous serial communication. In asynchronous
serial communication, the communication line is normally held in the mark (high) state. The SCI
monitors the line and starts serial communication when the line goes to the space (low) state,
indicating a start bit. One serial character consists of a start bit (low), data (LSB first; starting from
the lowerest bit), parity bit (high or low), and stop bit (high), in that order.
When receiving in asynchronous mode, the SCI synchronizes at the falling edge of the start bit.
The SCI samples each data bit on the eighth pulse of a clock with a frequency 16 times the bit rate.
Receive data is latched at the center of each bit.
Idle (mark) state
1
(LSB)
(MSB)
1
Serial
0
D
D
D
D
D
D
D
D
0/1
1
1
0
1
2
3
4
5
6
7
data
Start
Parity
Stop
bit
bit
bit
Transmit/receive data
7 or 8 bits
1 bit
1 or
1 or
no bit
2 bits
One unit of communication data (character or frame)
Figure 14.5 Example of Data Format in Asynchronous Communication
(8-Bit Data with Parity and Two Stop Bits)
460

Advertisement

Table of Contents
loading

Table of Contents