18 UART
S1C17001 TECHNICAL MANUAL
EPSON
221
18.8 IrDA Interface
This UART module incorporates an RZI modulation/demodulation circuit enabling implementation of IrDA
1.0-compatible infrared communication simply by adding basic external circuits.
The transmission data output from the UART transmit shift register is input to the modulation circuit and output
from the SOUT pin after the Low pulse has been modulated to a 3/16 sclk cycle.
sclk
Modulation circuit input (shift register output)
Modulation circuit output (SOUT)
1
2 3
8 9 10 11
16
3
×
sclk
Modulation circuit input (shift register output)
Modulation circuit output (SOUT)
S1
D0
D1
D2
D3
D4
D5
D6
D7
P
S2
S3
(S1: Start bit, S2 & S3: Stop bits, P: Parity bit)
Figure 18.8.1: Transmission signal waveform
The received IrDA signal is input to the demodulation circuit and the Low pulse width is converted to 16 sclk cy-
cles before entry to the receive shift register. The demodulation circuit uses the pulse detection clock selected from
the prescaler output clock separately from the transfer cock to detect Low pulses input (when minimum pulse width
= 1.41
μ
s/115,200 bps).
(S1: Start bit, S2 & S3: Stop bits, P: Parity bit)
sclk
irclk
Demodulation circuit input (SIN)
Demodulation circuit output
(shift register input)
1
2 3 4
16
16
×
sclk
At least 2
×
irclk
Demodulation circuit input (SIN)
S1
D0
D1
D2
D3
D4
D5
D6
D7
P
S2
S3
Demodulation circuit output
(shift register input)
Figure 18.8.2: Receive signal waveform
IrDA enable
To use the IrDA interface function, set IRMD (D0/UART_EXP register) to 1. This enables the RZI modulation/
demodulation circuit.
∗
IRMD
: IrDA Mode Select Bit in the UART Expansion (UART_EXP) Register (D0/0x4105)
Note: This must be set before setting other UART conditions.
Содержание S1C17001
Страница 1: ...Technical Manual S1C17001 CMOS 16 BIT SINGLE CHIP MICROCONTROLLER ...
Страница 31: ...3 MEMORY MAP AND BUS CONTROL 22 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 33: ...4 POWER SUPPLY VOLTAGE 24 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 63: ...6 INITERRUPT CONTROLLER 54 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 87: ...8 CLOCK GENERATOR CLG 78 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 91: ...9 PRESCALER PSC 82 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 133: ...11 16 BIT TIMER T16 124 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 185: ...14 8 BIT OSC1 TIMER T8OSC1 176 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 211: ...16 STOPWATCH TIMER SWT 202 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 219: ...17 WATCHDOG TIMER WDT 210 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 241: ...18 UART 232 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 277: ...20 I2 C 268 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 297: ...21 REMOTE CONTROLLER REMC 288 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 303: ...22 ON CHIP DEBUGGER DBG 294 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 313: ...25 PACKAGE 304 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...