Irda Operation; Figure 16.35 Clock Stop And Restart Procedure; Figure 16.36 Irda Block Diagram - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Section 16 Serial Communication Interface (SCI, IrDA, and CRC)
[1] [2] [3]
16.8

IrDA Operation

IrDA operation can be used with SCI_1. Figure 16.36 shows an IrDA block diagram.
If the IrDA function is enabled using the IrE bit in SCICR, the TxD1 and RxD1 pins in SCI_1 are
allowed to encode and decode the waveform based on the IrDA standard version 1.0 (function as
the IrTxD and IrRxD pins). Connecting these pins to the infrared data transceiver achieves
infrared data communication based on the system defined by the IrDA standard version 1.0.
In the system defined by the IrDA standard version 1.0, communication is started at a transfer rate
of 9600 bps, which can be modified as required. The IrDA interface provided by this LSI does not
incorporate the capability of automatic modification of the transfer rate; the transfer rate must be
modified through programming.
TxD1/IrTxD
RxD1/IrRxD
Transmission: During transmission, the output signals from the SCI (UART frames) are
converted to IR frames using the IrDA interface (see figure 16.37).
For serial data of level 0, a high-level pulse having a width of 3/16 of the bit rate (1-bit interval) is
output (initial setting). The high-level pulse can be selected using the IrCKS2 to IrCKS0 bits in
SCICR.
Rev. 3.00 Jan 25, 2006 page 456 of 872
REJ09B0286-0300
Normal operation
[4] [5]

Figure 16.35 Clock Stop and Restart Procedure

IrDA

Figure 16.36 IrDA Block Diagram

Software
Normal operation
standby
[6]
[7]
Pulse encoder
Pulse decoder
SCICR
SCI_1
TxD1
RxD1

Advertisement

Table of Contents
loading

Table of Contents