XR17C158 Exar Corporation, XR17C158 Datasheet - Page 29

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
XR17C158
REV. 1.0.0
N
available in the XR17C158. They are present for 16C550
compatibility during Internal loopback, see
The transmitter section comprises of a 64 bytes of
FIFO, a byte-wide Transmit Holding Register (THR)
and a 8-bit Transmit Shift Register (TSR). THR re-
ceives a data byte from the host (non-FIFO mode) or
a data byte from the FIFO when the FIFO is enabled
by FCR bit-0. TSR shifts out every data bit with the
16X or 8X internal clock. A bit time is 16 or 8 clock pe-
riods. The transmitter sends the start bit followed by
the number of data bits, inserts the proper parity bit if
enable, and adds the stop bit(s). The status of the
THR and TSR are reported in the Line Status Regis-
ter (LSR bit-5 and bit-6).
The host may fill the transmit FIFO with up to 64
bytes of transmit data. The THR empty flag (LSR bit-
5) is set whenever the FIFO is empty. The THR emp-
ty flag can generate a transmit empty interrupt (ISR
bit-1) when the amount of data in the FIFO falls below
its programmed trigger level (see TXTRG register).
The transmit empty interrupt is enabled by IER bit-1.
The TSR flag (LSR bit-6) is set when TSR becomes
completely empty. Furthermore, with the RS485 half-
duplex direction control enabled (FCTR bit-5=1) the
source of the transmit empty interrupt changes to
TSR empty instead of THR empty. This is to ensure
the RTS# output is not changed until the last stop bit
of the last character is shifted out.
F
4.6 T
4.6.1 Transmit Holding Register (THR)
4.6.3 Transmitter Operation in FIFO
OTE
IGURE
: MCR bits 2 and 3 (OP1 and OP2 outputs) are not
RANSMITTER
12. T
(8XMODE
16X or 8X
Register)
RANSMITTER
PCI BUS OCTAL UART
Clock
Data
Byte
O
PERATION IN NON
Transmit Shift Register (TSR)
Figure 11
Transmit
Register
Holding
(THR)
-FIFO M
.
ODE
29
The transmit holding register is a 8-bit register provid-
ing a data interface to the host processor. The host
writes transmit data byte to the THR to be converted
into a serial data stream including start-bit, data bits,
parity-bit and stop-bit(s). The least-significant-bit (Bit-
0) becomes first data bit to go out. The THR is also
the input register to the transmit FIFO of 64 bytes
when FIFO operation is enabled by FCR bit-0. A THR
empty interrupt can be generated when it is enabled
in IER bit-1.
The host loads transmit data to THR one character at
a time. The THR empty flag (LSR bit-5) is set when
the data byte is transferred to TSR. THR flag can
generate a transmit empty interrupt (ISR bit-1) when
it is enabled by IER bit-1. The TSR flag (LSR bit-6) is
set when TSR becomes completely empty.
The auto RS485 half-duplex direction control chang-
es the behavior of the transmitter when enabled by
FCTR bit-5. It de-asserts RTS# or DTR# after a spec-
ified delay indicated in MSR[7:4] following the last
stop bit of the last character that has been transmit-
ted. This helps in turning around the transceiver to re-
ceive the remote station’s response. The delay opti-
mizes the time needed for the last transmission to
reach the farthest station on a long cable network be-
fore switching off the line driver. This delay prevents
undesirable line signal disturbance that causes signal
degradation. It also changes the transmitter empty in-
terrupt to TSR empty instead of THR empty.
4.6.2 Transmitter Operation in non-FIFO
4.6.4 Auto RS485 Operation
THR Interrupt (ISR bit-
Enabled by IER bit-1
1)
M
S
B
PRELIMINARY
TXNOFIFO1
L
S
B

Related parts for XR17C158