
V PeRiPheRaL MoDuLes 3 (inteRFaCe): GeneRaL-PuRPose seRiaL inteRFaCe (eFsio)
V-1-26
ePson
s1C33L17 teChniCaL ManuaL
selecting the irDa interface function
To use the IrDA interface function, select it using IRMDx[1:0] (D[1:0]/0x300Bx4) and then set the 8-bit (or
7-bit) asynchronous mode as the transfer mode.
Table V.1.5.2.1 Setting of IrDA Interface
iRMDx1
1
0
iRMDx0
1
0
1
0
interface mode
Do not set. (reserved)
IrDA 1.0 interface
Do not set. (reserved)
Normal interface
iRMDx[1:0]: Serial I/F Ch.x Interface Mode Select Bits in the Serial I/F Ch.x IrDA Register (D[1:0]/0x300Bx4)
note: IRMDx[1:0] (D[1:0]/0x300Bx4) 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 RZI modulator circuit can be
changed in accordance with the infrared-ray communication module or the circuit connected externally to the
chip. The logic of the internal serial interface is “active-low.” If the input/output signals are active-high, the
logic of these signals must be inverted before they can be used. The input SINx and output SOUTx logic can be
set individually through the use of IRRLx (D2/0x300Bx4) and IRTLx (D3/0x300Bx4), respectively.
iRRLx: Serial I/F Ch.x IrDA I/F Input Logic Inversion Bit in the Serial I/F Ch.x IrDA Register (D2/0x300Bx4)
iRtLx: Serial I/F Ch.x IrDA I/F Output Logic Inversion Bit in the Serial I/F Ch.x IrDA Register (D3/0x300Bx4)
The logic of the input/output signal is inverted by writing 1 to IRRLx (D2/0x300Bx4)/IRTLx (D3/0x300Bx4).
Logic is not inverted if the bit is set to 0.
RZI modulator input (I/F output)
RZI modulator output (SOUTx)
(1) IRTLx = 0
When transmitting
RZI modulator input (I/F output)
RZI modulator output (SOUTx)
(2) IRTLx = 1
RZI modulator input (SINx)
RZI modulator output (I/F input)
(1) IRRLx = 0
When receiving
RZI modulator input (SINx)
RZI modulator output (I/F input)
(2) IRRLx = 1
Figure V.1.5.2.1 IRRLx and IRTLx Settings
note: IRRLx (D2/0x300Bx4) and IRTLx (D3/0x300Bx4) become indeterminate at initial reset, so be sure
to initialize them in the software.