English
Language : 

XR17V358 Datasheet, PDF (10/68 Pages) Exar Corporation – HIGH PERFORMANCE OCTAL PCI EXPRESS UART
XR17V358
PRELIMINARY
HIGH PERFORMANCE OCTAL PCI EXPRESS UART
REV. P1.0.2
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
D evice C onfiguration and
U A R T[7:0] C onfiguration
R egisters are m apped on
to the Base Address
R egister (B A R ) in a 8K -
byte of m em ory address
space
PCI Local Bus
Interface
PCI Local Bus
C onfiguration S pace
R egisters for P lug-
and-P lay A uto
C onfiguration
Vendor and Sub-vendor ID
and Product M odel Num ber
in E xternal E E P R O M
Channel 0
IN T, M PIO ,
TIM ER , R EG
Channel 0
Channel 1
Channel 2
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
0x0000
0x0080
0x0400
0x0800
0x0C00
0x1000
0x1400
0x1800
0x1C00
0x1FFF
D evice C onfiguration R egisters
8 channel Interrupts,
M ultipurpose I/O s,
16-bit T im er/C ounter,
Sleep, R eset, D VID , D R E V
U A R T[7:0] C onfiguration
R egisters
16550 C om patible and E X A R
E nhanced R egisters
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
information (see “Section 1.2, EEPROM Interface” on page 14) required by the auto-configuration setup.
10