XR17C158 Exar Corporation, XR17C158 Datasheet - Page 32

no-image

XR17C158

Manufacturer Part Number
XR17C158
Description
Eight-channel Pci-based (UART)
Manufacturer
Exar Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
XR17C158CV
Manufacturer:
EXAR
Quantity:
15
Part Number:
XR17C158CV
Manufacturer:
Exar Corporation
Quantity:
10 000
Part Number:
XR17C158CV-F
Manufacturer:
Exar Corporation
Quantity:
10 000
Part Number:
XR17C158CV-F
Manufacturer:
EXAR/艾科嘉
Quantity:
20 000
Part Number:
XR17C158IV
Manufacturer:
Exar Corporation
Quantity:
10 000
Part Number:
XR17C158IV-F
Manufacturer:
TI
Quantity:
265
Part Number:
XR17C158IV-F
Manufacturer:
Exar Corporation
Quantity:
10 000
PRELIMINARY
The Baud Rate Generator (BRG) is a 16-bit counter
that generates the data rate for the transmitter and
receiver. The rate is programmed through registers
DLL and DLM which are only accessible when LCR
bit-7 is set to logic 1. See Programmable Baud Rate
Generator section for more detail.
The Interrupt Enable Register (IER) masks the inter-
rupts from receive data ready, transmit empty, line
status and modem status registers. These interrupts
are reported in the Interrupt Status Register (ISR)
register and also encoded in INT (INT0-INT3) register
in the Device Configuration Registers.
When the receive FIFO (FCR BIT-0 = a logic 1) and
receive interrupts (IER BIT-0 = logic 1) are enabled,
the RHR interrupts (see ISR bits 3 and 4) status will
reflect the following:
A. The receive data available interrupts are issued
B. FIFO level will be reflected in the ISR register
C. The receive data ready bit (LSR BIT-0) is set as
When FCR BIT-0 equals a logic 1 for FIFO enable;
resetting IER bits 0-3 enables the 158 in the FIFO
polled mode of operation. Since the receiver and
transmitter have separate bits in the LSR either or
both can be used in the polled mode by selecting re-
spective transmit or receive control bit(s).
A. LSR BIT-0 indicates there is data in RHR or RX
B. LSR BIT 1-4 provides the type of receive data er-
C. LSR BIT-5 indicates THR is empty.
D. LSR BIT-6 indicates when both the transmit FIFO
E. LSR BIT-7 indicates the Or’ed function of errors
DLM)
4.9 IER
4.10 IER
4.8.2 Baud Rate Generator Divisors (DLL and
4.8.3 Interrupt Enable Register (IER)
to the host when the FIFO has reached the pro-
grammed trigger level. It will be cleared when the
FIFO drops below the programmed trigger level.
when the FIFO trigger level is reached. Both the
ISR register status bit and the interrupt will be
cleared when the FIFO drops below the trigger
level.
soon as a character is transferred from the shift
register to the receive FIFO. It is reset when the
FIFO is empty.
FIFO.
rors encountered for the data byte in RHR, if any.
and TSR are empty.
in the RX FIFO.
O
M
PERATION
ODE
VERSUS
VERSUS
O
PERATION
R
R
ECEIVE
ECEIVE
/T
FIFO I
RANSMIT
NTERRUPT
FIFO P
M
OLLED
ODE
32
IER[0]: RHR Interrupt Enable
The receive data ready interrupt will be issued when
RHR has a data character in the non-FIFO mode or
when the receive FIFO has reached the programmed
trigger level in the FIFO mode.
Logic 0 = Disable the receive data ready interrupt.
(default)
Logic 1 = Enable the receiver data ready interrupt.
IER[1]: THR Interrupt Enable
This interrupt is associated with bit-5 in the LSR reg-
ister. An interrupt is issued whenever the THR be-
comes empty or when data in the FIFO falls below
the programmed trigger level.
Logic 0 = Disable Transmit Holding Register empty
interrupt. (default)
Logic 1 = Enable Transmit Holding Register empty
interrupt.
IER[2]: Receive Line Status Interrupt Enable
Any of the LSR register bits 1,2,3 or 4 becomes ac-
tive will generate an interrupt to inform the host con-
troller about the error status of the current data byte
in FIFO.
Logic 0 = Disable the receiver line status interrupt.
(default)
Logic 1 = Enable the receiver line status interrupt.
IER[3]: Modem Status Interrupt Enable
Logic 0 = Disable the modem status register interrupt.
(default)
Logic 1 = Enable the modem status register interrupt.
IER[4]:
IER[5]: Xoff Interrupt Enable (requires EFR bit-
4=1)
Logic 0 = Disable the software flow control, receive
Xoff interrupt. (default)
Logic 1 = Enable the software flow control, receive
Xoff interrupt. See Software Flow Control section for
details.
IER[6]: RTS# Output Interrupt Enable (requires
EFR bit-4=1)
Logic 0 = Disable the RTS# interrupt. (default ).
Logic 1 = Enable the RTS# interrupt. The UART is-
sues an interrupt when the RTS# pin makes a transi-
tion.
IER[7]: CTS# Input Interrupt Enable (requires EFR
bit-4=1)
Logic 0 = Disable the CTS# interrupt. (default).
Logic 1 = Enable the CTS# interrupt. The UART is-
sues an interrupt when CTS# pin makes a transition.
Reserved.
PCI BUS OCTAL UART
XR17C158
REV. 1.0.0

Related parts for XR17C158