18 UART
S1C17001 TECHNICAL MANUAL
EPSON
211
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.
Shift register
Receive data
buffer (2 bytes)
SIN (P23)
sclk
(from 8-bit timer)
Internal bus
ITC
UART
Bus I/F
and
control
register
SCLK (P25)
Shift register
Transmit data
buffer (1 byte)
Clock/transfer control
SOUT (P24)
RZI demodulation
circuit
RZI modulation
circuit
Interrupt
control
Figure 18.1.1: UART configuration
Summary of Contents for S1C17001
Page 1: ...Technical Manual S1C17001 CMOS 16 BIT SINGLE CHIP MICROCONTROLLER ...
Page 33: ...4 POWER SUPPLY VOLTAGE 24 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 63: ...6 INITERRUPT CONTROLLER 54 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 87: ...8 CLOCK GENERATOR CLG 78 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 91: ...9 PRESCALER PSC 82 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 133: ...11 16 BIT TIMER T16 124 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 211: ...16 STOPWATCH TIMER SWT 202 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 219: ...17 WATCHDOG TIMER WDT 210 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 241: ...18 UART 232 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 277: ...20 I2 C 268 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Page 313: ...25 PACKAGE 304 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...