xr17l154iv Exar Corporation, xr17l154iv Datasheet - Page 30
![no-image](/images/manufacturer_photos/0/2/243/exar_corporation_sml.jpg)
xr17l154iv
Manufacturer Part Number
xr17l154iv
Description
3.3v Pci Bus Quad Uart
Manufacturer
Exar Corporation
Datasheet
1.XR17L154IV.pdf
(56 pages)
áç
áç
áç
áç
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 empty 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.
The auto RS485 half-duplex direction control changes the behavior of the transmitter when enabled by FCTR
bit-5. It de-asserts RTS# or DTR# after a specified delay indicated in MSR[7:4] following the last stop bit of the
last character that has been transmitted. This helps in turning around the transceiver to receive the remote
station’s response. The delay optimizes the time needed for the last transmission to reach the farthest station
on a long cable network before switching off the line driver. This delay prevents undesirable line signal
disturbance that causes signal degradation. It also changes the transmitter empty interrupt to TSR empty
instead of THR empty.
The receiver section contains an 8-bit Receive Shift Register (RSR) and Receive Holding Register (RHR). The
RSR uses the 16X or 8X clock for timing. It verifies and validates every bit on the incoming character in the
middle of each data bit. On the falling edge of a start or false start bit, an internal receiver counter starts
counting at the 16X or 8X clock rate. After 8 or 4 clocks the start bit period should be at the center of the start
bit. At this time the start bit is sampled and if it is still a logic 0 it is validated. Evaluating the start bit in this
manner prevents the receiver from assembling a false character. The rest of the data bits and stop bits are
sampled and validated in this same manner to prevent false framing. If there were any error(s), they are
reported in the LSR register bits 1- 4 and an LSR interrupt is generated immediately if IER bit-2 is enabled.
Upon unloading the receive data byte from RHR, the receive FIFO pointer is bumped and the error tags are
immediately updated to reflect the status of the data byte in RHR register. RHR can generate a receive data
ready interrupt upon receiving a character or delay until it reaches the FIFO trigger level. Furthermore, data
delivery to the host is guaranteed by a receive data ready time-out function when receive data does not reach
the receive FIFO trigger level. This time-out delay is 4 word lengths as defined by LCR[1:0] plus 12 bits time.
The RHR interrupt is enabled by IER bit-0.
F
DISCONTINUED
4.7
4.6.3
4.6.4
IGURE
13. T
Receiver
(8X M O D E R e g iste r)
A u to S o ftw are F low C o n trol
(X o ff1 /2 a nd X o n 1 /2 R e g .
A u to C T S F lo w C o n tro l (C T S # p in)
F lo w C on tro l C h a racters
1 6 X or 8 X C lo ck
Transmitter Operation in FIFO
Auto RS485 Operation
RANSMIITTER
O
D ata B yte
T ra n sm it
PERATION IN
FIFO
T ra n sm it D a ta S h ift R e g iste r
AND
F
(64 -B yte )
T ra n sm it
LOW
F IF O
(T S R )
30
C
ONTROL
M
ODE
T H R In te rru p t (IS R b it-1 ) fa lls
w he n b e co m es em p ty. F IF O
b e lo w P ro gra m m e d T rig g e r
is E n a b le d b y F C R b it-0 = 1
L e ve l (T X T R G ) an d th e n
3.3V PCI BUS QUAD UART
T X F IF O 1
XR17L154
REV. 1.1.0