Operation In Asynchronous Mode - Hitachi H8/3006 Hardware Manual

Table of Contents

Advertisement

Table 13.9 SMR and SCR Settings and SCI Clock Source Selection
SMR
SCR Setting
Bit 7
Bit 1
Bit 0
C/A
CKE1
CKE0 Mode
0
0
0
1
1
0
1
1
0
0
1
1
0
1
13.3.2

Operation in Asynchronous Mode

In asynchronous mode, each transmitted or received character begins with a start bit and ends with
one or two stop bits. 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 the 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 13.2 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), parity bit
(high or low), and one or two stop bits (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.
SCI Transmit/Receive clock
Clock Source SCK Pin Function
Asynchronous
Internal
mode
External
Synchronous
Internal
mode
External
SCI does not use the SCK pin
Outputs clock with frequency matching the
bit rate
Inputs clock with frequency 16 times the bit
rate
Outputs the serial clock
Inputs the serial clock
457

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3007Hd6413006Hd6413007

Table of Contents