Section 16 CIR Interface
Rev. 1.00 Apr. 28, 2008 Page 482 of 994
REJ09B0452-0100
16.4 Operation
The communication protocol of the NEC format is shown in figure 16.2. In the NEC format, data
consists of a header part, an address part, a command part, and a stop part. The TFM bits in CCR2
can select which data bytes to be stored in CIRRDR: four bytes of the address,
address
, command,
and
command
, or two bytes of the address and command. The carrier frequency is 38kHz.
Header
Address
Address
Command
Command
Stop
CIRI
Figure 16.2 NEC Format
(1)
Header, Address, and Command
When a 9-ms high level and the following 4.5-ms low level are detected, they are recognized as a
header. For addresses and commands, when both of a high-level period and the following low-
level period are 0.56 ms, they are recognized as logic 0. When a high-level period is 0.56 ms and
the following low-level period is 1.78 ms, they are recognized as logic 1.
Header
Logic 1
Logic 0
A = 9.0 ms
B = 4.5 ms
C = 0.56 ms
C
C
CIRI
D = 1.78 ms
A: High-level period for a header
B: Low-level period for a header
C: High-level period for logic 0/1 and low-level period for logic 0
D: Low-level period for logic 1
[Legend]
Figure 16.3 Header, Address, and Command
Summary of Contents for H8S/2100 Series
Page 2: ...Rev 1 00 Apr 28 2008 Page ii of xxvi...
Page 54: ...Section 1 Overview Rev 1 00 Apr 28 2008 Page 28 of 994 REJ09B0452 0100...
Page 92: ...Section 2 CPU Rev 1 00 Apr 28 2008 Page 66 of 994 REJ09B0452 0100...
Page 158: ...Section 5 Interrupt Controller Rev 1 00 Apr 28 2008 Page 132 of 994 REJ09B0452 0100...
Page 244: ...Section 8 8 Bit PWM Timer PWMU Rev 1 00 Apr 28 2008 Page 218 of 994 REJ09B0452 0100...
Page 330: ...Section 10 16 Bit Timer Pulse Unit TPU Rev 1 00 Apr 28 2008 Page 304 of 994 REJ09B0452 0100...
Page 416: ...Section 13 8 Bit Timer TMR Rev 1 00 Apr 28 2008 Page 390 of 994 REJ09B0452 0100...
Page 612: ...Section 18 I 2 C Bus Interface IIC Rev 1 00 Apr 28 2008 Page 586 of 994 REJ09B0452 0100...
Page 706: ...Section 20 LPC Interface LPC Rev 1 00 Apr 28 2008 Page 680 of 994 REJ09B0452 0100...
Page 752: ...Section 21 FSI Interface Rev 1 00 Apr 28 2008 Page 726 of 994 REJ09B0452 0100...
Page 774: ...Section 23 RAM Rev 1 00 Apr 28 2008 Page 748 of 994 REJ09B0452 0100...
Page 1008: ...Section 28 Electrical Characteristics Rev 1 00 Apr 28 2008 Page 982 of 994 REJ09B0452 0100...
Page 1020: ...Rev 1 00 Apr 28 2008 Page 994 of 994 REJ09B0452 0100...
Page 1023: ......
Page 1024: ...H8S 2117R Group Hardware Manual...