English
Language : 

XR16L788 Datasheet, PDF (16/42 Pages) Exar Corporation – HIGH PERFORMANCE OCTAL UART
áçýýýýýýýýýýýý
XR16L788 OCTAL UART
REV. 1.1.4
4.3 INFRARED MODE
Each UART in the 788 includes the infrared encoder
and decoder compatible to the IrDA (Infrared Data
Association) version 1.0. The input pin ENIR conve-
niently activates all 8 UART channels to start up in
the infrared mode. This global control pin enables the
MCR bit-6 function in every UART channel register.
After power up or a reset, the software can overwrite
MCR bit-6 if so desired. ENIR and MCR bit-6 also dis-
able the receiver while the transmitter is sending da-
ta. This prevents echoed data from reaching the re-
ceiver. The global activation ENIR pin prevents the in-
frared emitter from turning on and drawing large
amount of current while the system is starting up.
When the infrared feature is enabled, the transmit da-
ta outputs, TX[7:0], would idle at logic zero level.
Likewise, the RX [7:0] inputs assume an idle level of
logic zero.
The infrared encoder sends out a 3/16 of a bit wide
HIGH-pulse for each “0” bit in the transmit data
stream. This signal encoding reduces the on-time of
the infrared LED, hence reduces the power consump-
tion. See Figure 9 below.
The infrared decoder receives the input pulse from
the infrared sensing diode on RX pin. Each time it
senses a light pulse, it returns a logic zero to the data
bit stream. The decoder also accepts (when FCTR
bit-4 = 1) an inverted IR-encoded input signal. This
option supports active low instead of normal active
high pulse from some infrared modules on the mar-
ket.
FIGURE 9. INFRARED TRANSMIT DATA ENCODING AND RECEIVE DATA DECODING
C h a ra cte r
Data Bits
TX Data 0 1 0 1 0 0 1 1 0 1
Transm it
IR Pulse
(TX Pin)
Receive
IR Pulse
(RX pin)
Bit Tim e
3/16 Bit Tim e
Bit Time
1/16 Clock Delay
1/2 Bit Tim e
IrEncoder-1
RX Data
0 1 0 1 0 0 11 0 1
Data Bits
Character
IRdecoder-1
4.4 INTERNAL LOOPBACK
Each UART channel provides an internal loopback
capability for system diagnostic purposes. The inter-
nal loopback mode is enabled by setting MCR regis-
ter bit-4 to logic 1. All regular UART functions operate
normally. Figure 10 shows how the modem port sig-
nals are re-configured. Transmit data from the trans-
mit shift register output is internally routed to the re-
ceive shift register input allowing the system to re-
ceive the same data that it was sending. The TX pin
is held at logic 1 or mark condition while RTS# and
DTR# are de-asserted, and CTS#, DSR# CD# and
RI# inputs are ignored.
16