Clock-Asynchronous Serial I/O (Uart); Overview - Renesas M16C Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30240 Group

2.5 Clock-Asynchronous Serial I/O (UART)

2.5.1 Overview

UART handles communications by means of character-by-character synchronization. The transmission
side and the reception side are independent of each other, so full-duplex communication is possible. The
following is an overview of the clock-asynchronous serial I/O.
2.5.1.1
Transmission/reception format
Figure 2.55 shows the transmission/reception format, and Table 2.16 shows the names and functions
of transmission data.
Transfer data length: 7 bits
Transfer data length: 8 bits
Transfer data length: 9 bits
Figure 2.55: Transmission/reception format
Table 2.17:
Transmission data names and functions
Name
ST (start bit)
DATA (character bits)
PAR (parity bit)
SP (stop bit)
Rev.1.00 Sep 24, 2003 Page 200 of 360
Function
A 1-bit "L" signal is added immediately before the character bits. This bit signals the start of
data transmission.
Transmission data set in the UARTi transmit buffer register.
A signal is added immediately after the character bits in order to increase data reliability. The
level of this signal varies so, the total number of 1's in the character bits and this bit always
become even or odd depending on which parity is chosen.
Either 1-bit or 2-bit "H" signal is added immediately after the character bits (after the parity bit
and when the parity bit is checked). This indicates the end of data transmission.
1ST
7DATA
1SP
1ST
7DATA
2SP
1ST
7DATA
1PAR
1SP
1ST
7DATA
1PAR
2SP
1ST
8DATA
1SP
1ST
8DATA
2SP
1ST
8DATA
1PAR
1SP
1ST
8DATA
1PAR
2SP
1ST
9DATA
1SP
1ST
9DATA
2SP
1ST
9DATA
1PAR
1SP
1ST
9DATA
1PAR
2SP
ST
: Start bit
DATA : Character bit (Transfer data)
PAR : Parity bit
SP
: Stop bit
Clock-Asynchronous Serial I/O

Advertisement

Table of Contents
loading

Table of Contents