R01UH0823EJ0100 Rev.1.00 Page 1111 of 1823
Jul 31, 2019
RX23W Group 34. IrDA Interface
34.3.2 Reception
In reception, the IR frame data is converted to the UART frame data through the IrDA interface and is input to the SCI5.
Low-level data is input when the IRCR.IRRXINV bit is 0 and a high-level pulse is detected; high-level data is input
when no pulse is detected for a 1-bit period.
34.3.3 Selecting High-Level Pulse Width
The IRCKS[2:0] bits need to be set to encode waveforms that meet the IrDA standard (the minimum pulse width should
be 1.41 μs and the maximum should be the bit period × (3/16 + 2.5%) or (the bit period × 3/16) + 1.08 μs).
The default value of the IRCKS[2:0] bits is 000b (the bit period × 3/16).
Table 34.2 lists IRCKS[2:0] bit settings and the
corresponding operating frequencies and bit rates of this module, which can be used when setting the pulse width shorter
than the default value.
Note 1. Bit rates cannot be set for the IrDA interface. For details on bit rate settings, section 33, Serial Communications Interface (SCIg,
SCIh).
Note 2. A pulse width which is less than the bit period × 3/16 cannot be set. Set the IRCKS[2:0] bits to 000b.
Table 34.2 IRCKS[2:0] Bit Settings (When setting the pulse width shorter than IRCKS[2:0] = 000b (the bit
period × 3/16))
Peripheral Module
Operating
Frequency PCLK
(MHz)
Bit Rate (bps) (Upper Row)/Bit Period × 3/16 (μs) (Lower Row)*
1
2400 9600 19200 38400 57600 115200
78.13 19.53 9.77 4.88 3.26 1.63
4.9152 011b-111b 011b-110b 011b-101b 011b-100b 011b-100b 011b
5 011b-111b 011b-110b 011b-101b 011b-100b 011b-100b 011b
6 100b-111b 100b-110b 100b-101b 100b 100b —*
2
6.144 100b-111b 100b-110b 100b-101b 100b 100b —*
2
7.3728 100b-111b 100b-110b 100b-101b 100b-101b 100b —*
2
8 100b-111b 100b-111b 100b-110b 100b-101b 100b —*
2
9.8304 100b-111b 100b-111b 100b-110b 100b-101b 100b-101b 100b
10 100b-111b 100b-111b 100b-110b 100b-101b 100b-101b 100b
12 101b-111b 101b-111b 101b-110b 101b 101b —*
2
12.288 101b-111b 101b-111b 101b-110b 101b 101b —*
2
14 101b-111b 101b-111b 101b-111b 101b-110b 101b —*
2
14.7456 101b-111b 101b-111b 101b-111b 101b-110b 101b —*
2
16 101b-111b 101b-111b 101b-111b 101b-110b 101b —*
2
16.9344 101b-111b 101b-111b 101b-111b 101b-110b 101b —*
2
17.2032 101b-111b 101b-111b 101b-111b 101b-110b 101b —*
2
18 101b-111b 101b-111b 101b-111b 101b-110b 101b —*
2
19.6608 101b-111b 101b-111b 101b-111b 101b-110b 101b-110b 101b
20 101b-111b 101b-111b 101b-111b 101b-110b 101b-110b 101b
25 110b-111b 110b-111b 110b-111b 110b 110b —*
2