11 UART (UART3)
S1C17M12/M13 TECHNICAL MANUAL
Seiko Epson Corporation
11-1
(Rev. 1.2)
11 UART (UART3)
11.1 Overview
The UART3 is an asynchronous serial interface. The features of the UART3 are listed below.
• Includes a baud rate generator for generating the transfer clock.
• Supports 7- and 8-bit data length (LSB first).
• Odd parity, even parity, or non-parity mode is selectable.
• The start bit length is fixed at 1 bit.
• The stop bit length is selectable from 1 bit and 2 bits.
• Supports full-duplex communications.
• Includes a 2-byte receive data buffer and a 1-byte transmit data buffer.
• Includes an RZI modulator/demodulator circuit to support IrDA 1.0-compatible infrared communications.
• Can detect parity error, framing error, and overrun error.
• Can generate receive buffer full (1 byte/2 bytes), transmit buffer empty, end of transmission, parity error, framing
error, and overrun error interrupts.
• Input pin can be pulled up with an internal resistor.
• The output pin is configurable as an open-drain output.
• Provides the carrier modulation output function.
Figure 11.1.1 shows the UART3 configuration.
Table 11.1.1 UART3 Channel Configuration of S1C17M12/M13
Item
S1C17M12
S1C17M13
Number of channels
1 channel (Ch.0)
UART3 Ch.n
Interrupt
control circuit
TENDIE
FEIE
PEIE
OEIE
RB2FIE
RB1FIE
TBEIE
TENDIF
FEIF
PEIF
OEIF
RB2FIF
RB1FIF
TBEIF
CLKSRC[1:0]
CLKDIV[1:0]
Baud rate
generator
Transmit/receive
control circuit
Receive data buffer
RXD[7:0]
Clock generator
Interrupt
controller
DBRUN
MODEN
CLK_UART3_n
Shift register
RZI demodulator
Transmit data buffer
TXD[7:0]
Shift register
RZI modulator
Carrier modulator
PUEN
STPB
OUTMD
IRMD
INVTX
INVRX
SFTRST
RBSY
TBSY
PRMD
PREN
CHLN
FMD[3:0]
BRT[7:0]
BRDIV
USINn
USOUTn
Inter
nal data
bu
s
PECAR
CAREN
CRPER[7:0]
Figure 11.1.1 UART3 Configuration