General Configuration; Transmitting Data; Table 17-1. Bit Values To Select Ir Module - Cirrus Logic EP93 Series User Manual

Arm 9 embedded processor family
Table of Contents

Advertisement

17.3.2.1 General Configuration

17.3.2.1.1 Select Ir Mode
The IrEnable register selects which of the three Ir sub-modules is used to operate the IrDA
interface. Only one of the three may be active at any one time. The reset value for this
register is zero, which disables all three encoder/decoder modules. The bottom two bits of
this register select the encoder/decoder module according to the tabulated values:
IrEnable
EN1
SIR does not use the data transfer mechanism described in this section. After selecting SIR
mode, all data transfer operations are made through a UART, as if connection is through a
serial cable without handshake lines. The features described below are implemented for the
MIR and FIR modes.
17.3.2.1.2 Select Data Rate
The data rates for MIR and FIR are as follows:
• MIR - Clear BRD bit in IrControl (IrCon) for 0.576 Mbit/sec,
Set BRD bit in IrCon for 1.152 Mbit/sec.
• FIR - Fixed at 4 Mbit/sec.

17.3.2.2 Transmitting Data

17.3.2.2.1 Initialization
The principal method of data transfer from memory to the active IrDA encoder (MIR or FIR) is
by DMA. Typically DMA can be used to transfer data of any length into the transmit FIFO
when requested by the infrared peripheral. When polling or interrupts are used to perform the
data transfer, a mechanism exists for transmitting data packets that are not a multiple of 4
bytes in length. This uses a register called IrDataTail and its use is described in the next
section.
The DMA route is usually provided to overcome any large interrupt response times that may
exist in the SoC where the Infrared module is going to be used. These large interrupt
response times can make programmed I/O an impractical method for transferring large Ir
data packets.
DS785UM1

Table 17-1. Bit Values to Select Ir Module

IrEnable
0
0
1
1
Copyright 2007 Cirrus Logic
EN0
0
1
0
1
EP93xx User's Guide
Encoder
Selected
None
SIR
MIR
FIR
IrDA
17
17-3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EP93 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Ep9315Ep9301Ep9302Ep9307Ep9312

Table of Contents