Epson S1C17624 Technical Manual page 192

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

If other interrupt conditions are satisfied, an interrupt occurs. You can inspect the PER, FER, and OER flags in
the UART interrupt handler routine to determine whether the UART interrupt was caused by a receive error. If
any of the error flags has the value 1, the interrupt handler routine will proceed with error recovery.
For more information on interrupt processing, see the "Interrupt Controller (ITC)" chapter.
18.8
irDa interface
This UART module includes an RZI modulator/demodulator circuit enabling implementation of IrDA 1.0-compatible
infrared communication function simply by adding basic external circuits.
The transmit data output from the UART transmit shift register is input to the modulator circuit and output from the
SOUTx pin after the Low pulse has been modulated to a 3 × sclk16 cycle.
Modulator input (shift register output)
Modulator output (SOUTx)
Modulator input (shift register output)
Modulator output (SOUTx)
The received IrDA signal is input to the demodulator circuit and the Low pulse width is converted to 16 × sclk16
cycles before entry to the receive shift register. The demodulator circuit uses the pulse detection clock selected
separately from the transfer clock to detect Low pulses input (when minimum pulse width = 1.41 µs/115,200 bps).
Demodulator input (SINx)
Demodulator output (shift register input)
Demodulator input (SINx)
Demodulator output (shift register input)
irDa enable
To use the IrDA interface function, set IRMD/UART_EXPx register to 1. This enables the RZI modulator/de-
modulator circuit.
note: This setting must be performed before setting other UART conditions.
irDa receive detection clock selection
The input pulse detection clock is generated by dividing PCLK. The division ratio can be selected using IR-
CLK[2:0]/UART_EXPx register.
S1C17624/604/622/602/621 TeChniCal Manual
S1
D0
D1
sclk16
1 2 3
Figure 18.
8.1 Transmission Signal Waveform
S1
D0
sclk16
1 2 3 4
irclk
2 × irclk or more
Figure 18.
8.2 Receive Signal Waveform
Seiko epson Corporation
(S1: Start bit, S2 & S3: Stop bits, P: Parity bit)
D2
D3
D4
D5
8 9 10 11
3 × sclk16
(S1: Start bit, S2 & S3: Stop bits, P: Parity bit)
D1
D2
D3
D4
D5
16 × sclk16
18 uaRT
D6
D7
P
S2
S3
16
D6
D7
P
S2
S3
16
18-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17604S1c17622S1c17602S1c17621

Table of Contents