![](http://datasheet.mmic.net.cn/Exar-Corporation/XR17V358IB176-F_datasheet_100076/XR17V358IB176-F_10.png)
XR17V358
10
HIGH PERFORMANCE OCTAL PCI EXPRESS UART
REV. 1.0.4
1.0 XR17V358 INTERNAL REGISTERS
The XR17V358 UART register set is very similar to the previous generation PCI UARTs. This makes the V358
software compatible with the previous generation PCI UARTs. Minimal changes are needed to the software
driver of an existing Exar PCI UART driver so that it can be used with the V358 PCIe UART.
There are three different sets of registers as shown in Figure 3. The PCI Local Bus Configuration Space Registers is needed for plug-and-play auto-configuration. This auto-configuration feature makes installation
very easy into a PCI system and it is part of the PCI local bus specification. The second register set is the
Device Configuration Registers that are also accessible directly from the PCI bus for programming general
operating conditions of the device and monitoring the status of various functions common to all eight channels.
These functions include all 8 channel UARTs’ interrupt control and status, 16-bit general purpose timer control
and status, multipurpose inputs/outputs control and status, sleep mode, soft-reset, and device identification
and revision. And lastly, each UART channel has its own set of internal UART Configuration Registers for its
own operation control and status reporting. All 8 sets of channel registers are embedded inside the device
configuration registers space, which provides faster access. The second and third set of registers are mapped
into 8K of the PCI bus memory address space. The following paragraphs describe all 3 sets of registers in
detail.
FIGURE 3. THE XR17V358 REGISTER SETS
C hannel 0
IN T , M P IO ,
T IM E R, RE G
D evice C onfiguration and
U A R T [7:0] C onfiguration
R egis ters are m appe d on
to th e B a se A d d re ss
R egis ter (B A R ) in a 8K -
by te of m em ory address
spac e
P C I Loc al B us
In te rfa ce
C hann el 0
C hann el 1
C hann el 2
C hann el 3
C hann el 4
C hann el 5
C hann el 6
C hann el 7
D evice C onfig ura tion R egis ters
8 channel Interrupts,
M ultipurpose I/O s ,
16-bit T im er/C ounter,
S le e p , R e s e t, D V ID , D R E V
U A R T [7:0 ] C onfiguration
Re g iste rs
16550 C om patible and E X A R
E nhanc ed R egisters
PC I L o ca l Bu s
C onfiguration S pac e
R egis ters for P lug -
and-P lay A uto
C onfiguration
V endor and S ub-vendor ID
and P rod uct M odel N um ber
in Ex te rn a l EE PR O M
0x 0000
0x 0400
0x 0800
0x0C 00
0x 1000
0x1 400
0x 18 00
0x 1C 00
0x 0080
0x1F F F
1.1
PCI LOCAL BUS CONFIGURATION SPACE REGISTERS
The PCI local bus configuration space registers are responsible for setting up the device’s operating
environment in the PCI local bus. The pre-defined operating parameters of the device is read by the PCI bus
plug-and-play auto-configuration manager in the operating system. After the PCI bus has collected all data
from every device/card on the bus, it defines and downloads the memory mapping information to each device/
card about their individual operation memory address location and conditions. The operating memory mapped
address location is downloaded into the Base Address Register (BAR) register, located at an address offset of
0x10 in the configuration space. Custom modification of certain registers is possible by using an external
93C46 EEPROM. The EEPROM contains the device vendor and sub-vendor data, along with 6 other words of