17-20
DS785UM1
Copyright 2007 Cirrus Logic
IrDA
EP93xx User’s Guide
1
7
1
7
17
When unexpected frame termination is selected and an underrun occurs, the transmit logic
outputs an abort and interrupts the CPU. An abort continues to be transmitted until data is
once again available in the transmit buffer. The FIR then transmits 16 preambles, a start flag
and starts the new frame. The remote receiver may choose to ignore the abort and continue
to receive data, or to signal the FIR to retry transmission of the aborted frame.
At the end of each frame transmitted, the FIR outputs a pulse called the serial infrared
interaction pulse (SIP). A SIP is required at least every 500 ms to keep slower speed devices
(115.2 kbps and slower) from colliding with the higher speed transmission. The SIP simulates
a start bit which causes all low speed devices to stay off the bus for at least another 500 ms.
Transmission of the SIP pulse causes the transmit pin to be forced high for a duration of
1.625
μ
s and low for 7.375
μ
s (total SIP period = 9.0
μ
s). After the 9.0
μ
s elapses, the
preamble is then transmitted continuously to indicate to the remote receiver that the FIR’s
transmitter is in the idle state. The preamble continues to be transmitted until new data is
available within the transmit buffer, or the FIR’s transmitter is disabled. Note that it is the
responsibility of the user to ensure that a frame completes once every 500 ms such that a
SIP pulse is produced keeping all low speed devices from interrupting transmission. Because
most IrDA compatible devices produce a SIP after each frame transmitted, the user may only
need to ensure that a frame is either transmitted or received by the FIR every 500 ms.
Note that frame length does not represent a significant portion of the 500 ms time frame in
which a SIP must be produced. At 4.0 Mbps, the longest frame allowed is 16,568 bits, which
takes just over 4 ms to transmit. Also note that the FIR issues a SIP when the transmitter is
first enabled, to ensure all low speed devices are silenced before transmitting its first frame.
If the user disables the FIR’s transmitter during operation, transmission of the current data
byte is stopped immediately, the serial shifter and transmit buffer are cleared. All clocks used
by the transmit logic are automatically shut off to conserve power.
17.5.3 IrDA Connectivity
The IrDA controller uses package pins RXD1 and TXD1. The IrDA input signal is always
RXD1. Syscon register DeviceCfg.IonU2 controls what drives bit TXD1. See
.
Therefore, to use any IrDA mode, FIR, MIR or SIR, set IonU2. To use UART2 as a UART,
clear IonU2.
Table 17-4. DeviceCfg.IonU2 Pin Function
DeviceCfg.IonU2
Pin TXD1 Function
0
UART2 is the output signal
1
Logical OR of IrDA output signal and UART2 SIR output signal
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 ...