3 shared irda interface feature, 1 overview, 2 functional description – Cirrus Logic EP93xx User Manual

Page 598: 3 shared irda interface feature -2, 1 overview -2 17.3.2 functional description -2

Advertising
background image

17-2

DS785UM1

Copyright 2007 Cirrus Logic

IrDA
EP93xx User’s Guide

1

7

1

7

17

17.3 Shared IrDA Interface Feature

This section describes features common to the MIR and FIR interfaces (the SIR interface has
been designed to share the enable register and device pins but is otherwise a separate
interface assumed to be controlled by UART2).

17.3.1 Overview

The Slow Infrared (SIR) Encoder/Decoder is used to modulate and demodulate serial data
using the Hewlett-Packard

®

Serial Infrared standard (HP-SIR) for bit encoding. Serial

transmit data from UART2 is modulated using return-to-zero (RTZ) encoding to produce an
output to drive the Ir transmitter LED, while data received from the Ir detector is converted
into a serial bit stream to drive a UART's serial input. The SIR supports data rates up to
115.2 kbit/s.

The Medium Speed Infrared (MIR) Encoder/Decoder encodes/decodes peripheral bus data
according to a modified HDLC standard, using flag characters, bit stuffing and a 16 bit CRC
checker. MIR uses the same RTZ modulation and demodulation scheme used by the SIR.
Two signal bit rates are supported: 0.576 Mbit/s and 1.152 Mbit/s.

The Fast Infrared Encoder/Decoder (FIR) operates at a fixed bit rate of 4 Mbit/s.
Modulation/demodulation is by a phase shift key scheme called pulse position modulation
(4 PPM). One of four signalling symbols represent each possible pair of data bits. Data
encoding uses a packet format that prefixes bit and symbol synchronization flags to data and
appends a 32-bit CRC and stop flag to the end of each packet. The start and stop flags use
signalling symbols that are not used to encode data, hence bit stuffing of data is not required
in this mode.

Only one of the Encoder/Decoder modules can be enabled to transmit and receive data from
the IrDA transducers at one time Selection of an Ir sub-module is by means of the IrEnable
register. The MIR and FIR sub-modules can be regarded by programmers as independent
entities which are operated using common control and data registers, but which report status
data via separate read registers.

Detailed descriptions of the MIR and FIR are given in the following sections. The SIR,
however, has no data or control registers. It interfaces directly to a UART's serial stream.
With the exception of the IrEnable register, it has no presence on the memory map and has
no interface to the APB via the Infrared interface.

17.3.2 Functional Description

This section gives a programmer's guide to operating the IrDA interface. It includes detail on
the general configuration and the transmit and receive processes.

Advertising