17-8
DS785UM1
Copyright 2007 Cirrus Logic
IrDA
EP93xx User’s Guide
1
7
1
7
17
17.3.3 Control Information Buffering
The ARM Core needs several items of information about a received frame that are not held in
data DMAed from the
receive FIFO, or stored in the DMA controller itself (because the DMA unit
may be receiving the next frame by the time the ARM Core starts to work on the frame just completed).
The additional information is as follows:
•
A receive overrun or framing error occurred during frame reception.
•
The frame failed the CRC check at the end of reception.
•
Transmission of the frame was aborted.
•
The number of bytes of valid data received in the frame (i.e. up to the end of frame or the
overrun/framing error
condition).
A control information buffer register is loaded whenever an end of received frame condition occurs.
This event also generates an interrupt, which must be serviced before the end of the next received
frame (at which point the buffered control information would be overwritten). The interrupt may be
cleared by reading from the control information buffer
register or by writing a ‘1’ to its status bit
position.
17.4 Medium IrDA Specific Features
The MIR comprises a dedicated serial port and RZI modulator/demodulator supporting the
Infrared Data Association (IrDA) standard for transmission/reception at 0.576 and
1.152 Mb/s.
Frames contain an 8 bit address, an optional control field, a data field of any size that is a
multiple of 8 bits and a 16-bit CRC-CCITT. The start/stop flag and CRC generation/checking
is performed in the hardware. Data can be selectively saved in the receive buffer by
programming an address with which to compare against all incoming frames. Interrupts are
signalled when CRC checks performed on received data indicate an error, when a receiver
abort occurs, when the transmit buffer underruns during an active frame and is aborted, when
the receive buffer overruns and data is lost.
17.4.1 Introduction
17.4.1.1 Bit Encoding
The MIR bit encoding uses an RZI modulation scheme where a “0” is represented by a light
pulse. For both 0.576 and 1.152 Mbps data rates, the optical pulse duration is normally 1/4 of
a bit duration. For example, if the data frame (in the order of transmission) is 11010010b, then
represents the signal that is actually transmitted.
Summary of Contents for EP93 Series
Page 28: ...P 6 DS785UM1 Copyright 2007 Cirrus Logic Preface EP93xx User s Guide PP P ...
Page 162: ...5 36 DS785UM1 Copyright 2007 Cirrus Logic System Controller EP93xx User s Guide 55 5 ...
Page 576: ...15 18 DS785UM1 Copyright 2007 Cirrus Logic UART2 EP93xx User s Guide 1515 15 ...
Page 634: ...17 38 DS785UM1 Copyright 2007 Cirrus Logic IrDA EP93xx User s Guide 1717 17 ...
Page 648: ...19 6 DS785UM1 Copyright 2007 Cirrus Logic Watchdog Timer EP93xx User s Guide 1919 19 ...
Page 688: ...21 32 DS785UM1 Copyright 2007 Cirrus Logic I2S Controller EP93xx User s Guide 2121 21 ...
Page 790: ...27 20 DS785UM1 Copyright 2007 Cirrus Logic IDE Interface EP93xx User s Guide 2727 27 ...
Page 808: ...28 18 DS785UM1 Copyright 2007 Cirrus Logic GPIO Interface EP93xx User s Guide 2828 28 ...