Exar DAN-136 Exar xr16l580 compared Datasheet

DATA COMMUNICATIONS APPLICATION NOTE
DAN137
November 2003
EXAR XR16L580 COMPARED WITH TI’S TL16C550C (48-TQFP)
Author: BL & PY
1.0 INTRODUCTION
This application note describes the major differences between Exar’s XR16L580 and TI’s TL16C550C (PT and
PFB packages). This application note is applicable to the 48-TQFP package only. These devices are very
similar, with a few minor hardware, bus timing and firmware-related differences. In most applications, the
XR16L580IM will fit and operate in a TL16C550CPT or TL16C550CPFB socket.
1.1 HARDWARE DIFFERENCES (48-TQFP)
• The XR16L580 and TL16C550C are both available in the 48-pin TQFP package. Additionally, the XR16L580
is available in the 32-pin QFN package and the TL16C550C is available in the 44-pin PLCC and 40-pin PDIP
packages. In the 48-pin TQFP package, the XR16L580 and TL16C550C are pin-to-pin compatible, but
some legacy signals are not available (“No Connects”) in the XR16L580 (see Table 1). These legacy signals
are typically not used in most applications, hence they are likely not needed.
• The XR16L580 has two new pins, 16/68# pin to select Intel or Motorola bus and PwrSave pin to reduce Isleep
(sleep current) to less than 30 uA in Sleep mode. The Power-Save feature is perfect for battery operated
designs. These two pins are ‘No Connects’ in the TL16C550C. Since the 16/68# pin has an internal pull-up
resistor and the PwrSave pin has an internal pull-down resistor in the XR16L580IM, these pins can be left
open when installing the XR16L580 into the TL16C550C socket. The pads on the PCB for these two pins
should have no connection.
• The 32-pin QFN package of the XR16L580 is a new package and should be considered for new designs. It
is the industry’s smallest package full-featured UART well suited for limited board space designs.
• The oscillator circuitry is similar, but there are some differences when using a crystal oscillator and when
using an external clock. See Figure 1 below for the differences in the oscillator circuitry for a crystal oscillator. For most cases, the XR16L580 will work with the oscillator circuitry for the TL16C550C. When using an
external clock input for frequencies greater than 24 MHz, the XR16L580 will require a 2K pull-up resistor on
the XTAL2 pin. For applications using crystal clock frequencies in the range 1.8432-14.7456MHz, there is virtually no difference in the set up.
1.2 BUS TIMING DIFFERENCES
1.2.1 Chip Select (-CS) and Read (-IOR) / Write (-IOW) Timing
The TL16C550C requires that the -CS pin be asserted first before the -IOR or -IOW pin and the -IOR or -IOW
pin must be de-asserted before the -CS pin is de-asserted. During a read, the Exar UARTs can have either the
-CS or the -IOR signal asserted first and have either signal be de-asserted first. The signals are wire-ORed in
the Exar UARTs, therefore the second signal asserted will initiate the read cycle and the first signal deasserted terminates the read cycle. The same is true during a write for -CS and -IOW. The flexibility of the
Exar UARTs timing can be important in DSP, ARM, and MIPS designs. Also, because of this flexibility, the Exar
UARTs will work with the timing used for the TL16C550C.
EXAR Corporation 48720 Kato Road, Fremont CA, 94538 • (510) 668-7000 • FAX (510) 668-7017 • www.exar.com • [email protected]
DATA COMMUNICATIONS APPLICATION NOTE
DAN137
TABLE 1: LEGACY SIGNALS IN THE TL16C550C, 48-TQFP PACKAGE
PIN NAMES
48-TQFP PIN#
RCLK
5
-BAUDOUT
12
CS0
9
CS1
10
IOR
20
DESCRIPTION
The RCLK needs to be connected to the BAUDOUT external to the uart on the
TL16C550C. This is done internally in the XR16L580.
These are redundant Chip Select signals on the TL16C550C and have been removed
in the XR16L580.
These are redundant control signals on the TL16C550C and have been removed in the
XR16L580.
IOW
17
-TXRDY
23
-RXRDY
29
-AS
24
The Address Strobe signal is used to latch the address inside the uart on the
TL16C550C. The XR16L580 automatically latches the address internally and hence
this signal has been removed.
-DDIS
22
Data Disable output. Rarely used in today’s applications.
-OP1
34
General Purpose outputs. Rarely used in today’s applications.
-OP2
31
These are status indicator outputs on the TL16C550C that are rarely used in most applications and have been removed in the XR16L580.
FIGURE 1. CRYSTAL OSCILLATOR CIRCUITRY DIFFERENCES
TL16C550CPT/PFB
XTAL1
XR16L580IM
XTAL2
XTAL1
XTAL2
R1
1.5 KΩ
R2
1 ΜΩ
Y1
C1
10-30 pF
C2
40-60 pF
R2
500 ΚΩ − 1 ΜΩ
1.8432
MHz
to
16
MHz
Y1
C1
22-47 pF
2
C2
22-47 pF
R1
0-120 Ω
(Optional)
1.8432
MHz
to
24
MHz
DATA COMMUNICATIONS APPLICATION NOTE
DAN137
1.3 FIRMWARE DIFFERENCES BETWEEN THE XR16L580 AND TL16C550C
The internal registers in the XR16L580 and TL16C550C are similar with some exceptions:
TABLE 2: XR16L580 AND TL16C550C REGISTER SET DIFFERENCES
A2:A0
R/W
XR16L580
TL16C550C
LCR Bit-7 = 0
001
R/W
Interrupt Enable Register (IER)
• Bit-7 = Auto CTS# Interrupt Enable
Interrupt Enable Register (IER)
Bit-7 = Not Used
•
•
•
•
• Bit-6 = Auto RTS# Interrupt Enable
• Bit-5 = Xoff Interrupt Enable
• Bit-4 = Sleep Mode Enable
010
W
FIFO Control Register (FCR)
• Bit-5 = TX FIFO Trigger Level Select Bit-1
• Bit-4 = TX FIFO Trigger Level Select Bit-0
010
R
Interrupt Status Register (ISR)
• Bit-5 = RTS/CTS Interrupt
R/W
Bit-5 = Not Used
Bit-4 = Not Used
FIFO Control Register (FCR)
• Bit-5 = Not Used
• Bit-4 = Not Used
Interrupt Status Register (ISR)
• Bit-4 = Xoff or Special Character Interrupt
100
Bit-6 = Not Used
• Bit-5 = Not Used
• Bit-4 = Not Used
Modem Control Register (MCR)
Bit-7 = Not Used
Modem Control Register (MCR)
• Bit-7 = BRG Prescaler Select
• Bit-6 = IR Mode Enable
• Bit-5 = Xon any (while in Xoff state, start transmission upon receiving any character)
•
•
•
•
Bit-6 = Not Used
Bit-5 = Auto RTS/CTS Flow Control Enable
Bit-2 = control OP1 output
• Bit-2 = control OP1 output (in internal loopback)/
Invert Infrared RX signal polarity (if EFR bit-4 =
1)
LCR = 0xBF
010
R/W
Enhanced Feature Register (EFR)
• Auto RTS/CTS Enable, Enhanced Functions
Enable, Software Flow Control Select
N/A
100
R/W
XON1
N/A
101
R/W
XON2
N/A
110
R/W
XOFF1
N/A
111
R/W
XOFF2
N/A
R = Read-Only, W = Write-Only, R/W = Read/Write
3
DATA COMMUNICATIONS APPLICATION NOTE
DAN137
2.0 SUMMARY OF DIFFERENCES BETWEEN THE XR16L580 AND TL16C550C
The differences between the XR16L580 and TL16C550C are summarized in the table below.
TABLE 3: DIFFERENCES BETWEEN EXAR ’S XR16L580 AND TI’S TL16C550C
COMPARISON
XR16L580
TL16C550C
Data Bus Standard
Intel or Motorola
Intel
Power Supply Operation
2.5, 3.3 and 5 V
3.3 and 5 V
Yes
No
24 MHz @ 2.5V
33 MHz @ 3.3V
50 MHz @ 5V
14 MHz @ 3.3V
16 MHz @ 5V
5V Tolerant Inputs
Max Frequency on XTAL1
1 or 4
1
Package
BRG Prescaler
32-QFN, 48-TQFP
44-PLCC, 48-TQFP, 40-PDIP
Extra Pins Available in XR16L580
16/68#, PwrSave
N/A
N/A
(RCLK is internally connected
to Baudout)
RCLK, CS0, CS1, Baudout, WR2, RD2,
DDIS, -TXRDY, -ADS, -RXRDY,
-OUT1, -OUT2
Industrial
Commercial and Industrial
1.2 mm (TQFP)
1.6 mm (LQFP)
16
16
Extra Pins Available in
TL16C550C and ST1C550
Operating Temperature Ranges
48-pin package thickness
TX/RX FIFO Size
TX/RX Trigger Tables
1 Trigger Table
1 Trigger Table
TX FIFO Interrupt Trigger Levels
4 Selectable
1
RX FIFO Interrupt Trigger Levels
4 Selectable
4 Selectable
Yes
No
Hardware Flow Control
Auto RTS/CTS
Flow Control
Auto RTS/CTS
Flow Control
Software Flow Control
Auto Xon/Xoff
Flow Control
No
IrDA encoder/decoder (ver 1.0)
No
Yes
No
Sleep Mode
Sleep Mode with
Auto Wake-up
No
Low Power Mode
Yes (Power-Save)
No
Diagnostic Modes
Local Loopback
Local Loopback
Wake-up Interrupt
Infrared Mode
Invert Infrared RX signal control
3.0 REPLACING THE TL16C550CPT/PFB WITH THE XR16L580IM IN THE 48-TQFP PACKAGE
You can install the XR16L580IM into the TL16C550C socket with no hardware changes when using the 48TQFP package under these conditions: crystal oscillator frequency of 1.8432 - 14.7456 MHz, the legacy signals in Table 1 are unused and the pads for the 16/68# and PwrSave pins have no connections.
When replacing the TL16C550CPT/PFB with the XR16L580IM and if Auto RTS/CTS flow control feature is
used (MCR bit-5), the software will need to be modified since Auto RTS/CTS Hardware Flow Control is
enabled differently in the XR16L580. Also, one can take advantage of the enhanced features in the XR16L580
that are not available in the TL16C550C, like Sleep Mode with Power-Save, Automatic Xon/Xoff Software Flow
Control, and Infrared Mode.
4
NOTICE
EXAR Corporation reserves the right to make changes to the products contained in this publication in order
to improve design, performance or reliability. EXAR Corporation assumes no responsibility for the use of
any circuits described herein, conveys no license under any patent or other right, and makes no representation that the circuits are free of patent infringement. Charts and schedules contained here in are only for
illustration purposes and may vary depending upon a user’s specific application. While the information in
this publication has been carefully checked; no responsibility, however, is assumed for inaccuracies.
EXAR Corporation does not recommend the use of any of its products in life support applications where
the failure or malfunction of the product can reasonably be expected to cause failure of the life support system or to significantly affect its safety or effectiveness. Products are not authorized for use in such applications unless EXAR Corporation receives, in writing, assurances to its satisfaction that: (a) the risk of injury
or damage has been minimized; (b) the user assumes all such risks; (c) potential liability of EXAR Corporation is adequately protected under the circumstances.
Copyright November 2003 EXAR Corporation
Send your UART technical inquiry with technical details to hotline: [email protected]
Reproduction, in part or whole, without the prior written consent of EXAR Corporation is prohibited.
5
Similar pages