Operation In Asynchronous Mode - Renesas H8 Series Hardware Manual

8-bit single-chip microcomputer
Hide thumbs Also See for H8 Series:
Table of Contents

Advertisement

Section 10 Serial Communication Interface
10.3.2

Operation in Asynchronous Mode

In asynchronous mode, serial communication is performed with synchronization provided
character by character. A start bit indicating the start of communication and one or two stop bits
indicating the end of communication are added to each character before it is sent.
SCI3 has separate transmission and reception units, allowing full-duplex communication. As the
transmission and reception units are both double-buffered, data can be written during transmission
and read during reception, making possible continuous transmission and reception.
Data Transfer Format
The general data transfer format in asynchronous communication is shown in figure 10.3.
(LSB)
(MSB)
1
Serial
Start
Parity
Stop
Mark
Transmit/receive data
data
bit
bit
bit(s)
state
1 bit
1 or 2 bits
1 bit
5, 7, or 8 bits
or none
One transfer data unit (character or frame)
Figure 10.3 Data Format in Asynchronous Communication
In asynchronous communication, the communication line is normally in the mark state (high
level). SCI3 monitors the communication line and when it detects a space (low level), identifies
this as a start bit and begins serial data communication.
One transfer data character consists of a start bit (low level), followed by transmit/receive data
(LSB-first format, starting from the least significant bit), a parity bit (high or low level), and
finally one or two stop bits (high level).
In asynchronous mode, synchronization is performed by the falling edge of the start bit during
reception. The data is sampled on the 8th pulse of a clock with a frequency 16 times the bit
period, so that the transfer data is latched at the center of each bit.
Rev. 7.00 Mar 10, 2005 page 360 of 652
REJ09B0042-0700

Advertisement

Table of Contents
loading

Table of Contents