III PERIPHERAL BLOCK: SERIAL INTERFACE
Selecting the IrDA interface function
To use the IrDA interface function, select it using the control bits shown below and then set the
Ch.0 IrDA
Ch.1 IrDA
Ch.2 IrDA
Ch.3 IrDA
Table 8.7 Setting of IrDA Interface
IRMDx1 | IRMDx0 | Interface mode |
1 | 1 | Do not set. (reserved) |
1 | 0 | IrDA 1.0 interface |
0 | 1 | Do not set. (reserved) |
0 | 0 | Normal interface |
Note: The IRMDx bit becomes indeterminate when initially reset, so be sure to initialize it in the software.
Setting the input/output logic
When using the IrDA interface, the logic of the input/output signals of the PPM modulator circuit can be changed in accordance with the
| Table 8.8 | IrDA Input/Output Logic Inversion Bits |
| |
| Ch.0 (Serial I/F Ch.0 | Ch.1 (Serial I/F Ch.1 | Ch.2 (Serial I/F Ch.2 | Ch.3 (Serial I/F Ch.3 |
| control register) | control register) | control register) | control register) |
IrDA input logic | IRRL0(D2/0x401E4) | IRRL1(D2/0x401E9) | IRRL2(D2/0x401F4) | IRRL3(D2/0x401F9) |
inversion |
|
|
|
|
IrDA output logic | IRTL0(D3/0x401E4) | IRTL1(D3/0x401E9) | IRTL2(D3/0x401F4) | IRTL3(D3/0x401F9) |
inversion |
|
|
|
|
The logic of the input/output signal is inverted by writing "1" to each corresponding bit. Logic is not inverted if the bit is set to "0".
When transmitting
(1) IRTLx = "0"
PPM modulator input (I/F output)
PPM modulator output (SOUTx)
(2) IRTLx = "1"
PPM modulator input (I/F output)
PPM modulator output (SOUTx)
When receiving
(1) IRRLx = "0"
PPM modulator input (SINx)
PPM modulator output (I/F input)
(2) IRRLx = "1"
PPM modulator input (SINx)
PPM modulator output (I/F input)
Figure 8.15 IRRLx and IRTLx Settings
Note: The IRRLx and IRTLx bits become indeterminate at initial reset, so be sure to initialize them in the software.
EPSON | S1C33L03 FUNCTION PART |