Uart; Uart Configuration - Epson S1C17001 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

18 UART

18.1 UART Configuration

The S1C17001 incorporates a single-channel UART. The UART transfers asynchronous data with external devices
at a transfer rate of 150 to 460,800 bps (115,200 bps in IrDA mode). It includes a 2-byte receive data buffer and
1-byte transmit data buffer and is capable of full-duplex communications. The transfer clock can be either the inter-
nal clock using the timer module or an external clock input via the SCLK (P25) pin. Data length (7 or 8 bits), stop
bit length (1 or 2 bits), and parity mode (even, odd, no parity) can be selected via the software. The start bit is fixed
at 1 bit. Overrun errors, framing errors, and parity errors can be detected while receiving data. The UART generates
three different interrupt types (transmit buffer empty, receive buffer full, and receive error) and enables efficient
processing of serial data transfer using interrupt processing.
This UART module also incorporates an RZI modulation/demodulation circuit that enables IrDA 1.0-compatible
infrared communications simply by adding basic external circuits.
Figure 18.1.1 illustrates the UART configuration.
Internal bus
ITC
sclk
(from 8-bit timer)
S1C17001 TECHNICAL MANUAL
Receive data
buffer (2 bytes)
Bus I/F
and
control
register
Transmit data
buffer (1 byte)
Interrupt
control
Figure 18.1.1: UART configuration
Shift register
Clock/transfer control
Shift register
EPSON
18 UART
RZI demodulation
SIN (P23)
circuit
SCLK (P25)
RZI modulation
SOUT (P24)
circuit
UART
211

Advertisement

Table of Contents
loading

Table of Contents