XR17C158 Exar Corporation, XR17C158 Datasheet - Page 35
![no-image](/images/manufacturer_photos/0/2/243/exar_corporation_sml.jpg)
XR17C158
Manufacturer Part Number
XR17C158
Description
Eight-channel Pci-based (UART)
Manufacturer
Exar Corporation
Datasheet
1.XR17C158.pdf
(51 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
XR17C158CV
Manufacturer:
EXAR
Quantity:
15
Company:
Part Number:
XR17C158CV-F
Manufacturer:
Exar Corporation
Quantity:
10 000
Part Number:
XR17C158CV-F
Manufacturer:
EXAR/艾科嘉
Quantity:
20 000
Company:
Part Number:
XR17C158IV-F
Manufacturer:
TI
Quantity:
265
Company:
Part Number:
XR17C158IV-F
Manufacturer:
Exar Corporation
Quantity:
10 000
XR17C158
REV. 1.0.0
Line Control Register (LCR)
The Line Control Register is used to specify the asyn-
chronous data communication format. The word or
character length, the number of stop bits, and the
parity are selected by writing the appropriate bits in
this register.
LCR[1-0]: TX and RX Word Length Select
These two bits specify the word length to be transmit-
ted or received.
LCR[2]: TX and RX Stop-bit Length Select
The length of stop bit is specified by this bit in con-
junction with the programmed word length.
LCR[3]: TX and RX Parity Select
Parity or no parity can be selected via this bit. The
parity bit is a simple way used in communications for
data integrity check. See
summary below.
• Logic 0 = No parity.
• Logic 1 = A parity bit is generated during the trans-
LCR[4]: TX and RX Parity Select
If the parity bit is enabled with LCR bit-3 set to a logic
1, LCR BIT-4 selects the even or odd parity format.
Logic 0 = ODD Parity is generated by forcing an odd
number of logic 1’s in the transmitted character. The
receiver must be programmed to check the same for-
mat. (default).
• Logic 1 = EVEN Parity is generated by forcing an
LCR[5]: TX and RX Parity Select
If the parity bit is enabled, LCR BIT-5 selects the
forced parity format.
mission while the receiver checks for parity error of
the data character received.
even the number of logic 1’s in the transmitted
character. The receiver must be programmed to
check the same format.
BIT-1
BIT-2
0
0
1
1
0
1
1
W
PCI BUS OCTAL UART
ORD LENGTH
BIT-0
5,6,7,8
6,7,8
0
1
0
1
5
Table 14
S
W
TOP BIT LENGTH
(B
5 (default)
for parity selection
ORD LENGTH
1 (default)
IT TIME
1-1/2
6
7
8
2
(
S
))
35
• LCR BIT-5 = logic 0, parity is not forced. (default)
• LCR BIT-5 = logic 1 and LCR BIT-4 = logic 0, parity
• LCR BIT-5 = logic 1 and LCR BIT-4 = logic 1, parity
LCR[6]: Transmit Break Enable
• When enabled the Break control bit it causes a
• Logic 0 = No TX break condition. (default)
• Logic 1 = Forces the transmitter output (TX) to a
LCR[7]: Baud Rate Divisors Enable
Baud rate generator divisor (DLL/DLM) enable.
• Logic 0 = Data registers are selected. (default)
• Logic 1 = Divisor latch registers are selected.
Modem Control Register (MCR) or General Pur-
pose Outputs Control.
This register controls the serial interface signals with
the modem or a peripheral device.
Modem Control Register (MCR)
The MCR register is used for controlling the modem
interface signals or general purpose inputs/outputs.
MCR[0]: DTR# Pins
The DTR# pin may be used for automatic hardware
flow control enabled by EFR bit-6 and MCR bit-2=1. If
the modem interface is not used, this output may be
used for general purpose.
• Logic 0 = Force DTR# output to a logic 1. (default)
• Logic 1 = Force DTR# output to a logic 0.
MCR[1]: RTS# Pins
The RTS# pin may be used for automatic hardware
flow control by enabled by EFR bit-6 and MCR bit-
LCR B
bit is forced to a logical 1 for the transmit and
receive data.
bit is forced to a logical 0 for the transmit and
receive data.
break condition to be transmitted (the TX output is
forced to a “space’, logic 0, state). This condition
remains until disabled by setting LCR bit-6 to a
logic 0.
“space”, logic 0, for alerting the remote receiver of
a line break condition.
X
0
0
1
1
IT
-5 LCR B
T
ABLE
X
0
1
0
1
IT
-4 LCR B
14: P
ARITY SELECTION
0
1
1
1
1
IT
-3
PRELIMINARY
Force parity to mark, “1”
Forced parity to space,
P
ARITY SELECTION
Even parity
Odd parity
No parity
“0”