XR17D158 Exar Corporation, XR17D158 Datasheet - Page 53

no-image

XR17D158

Manufacturer Part Number
XR17D158
Description
Eight-channel Pci-bus Uart
Manufacturer
Exar Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
XR17D158CV
Manufacturer:
Exar Corporation
Quantity:
10 000
Part Number:
XR17D158CV-F
Manufacturer:
Exar Corporation
Quantity:
10 000
Part Number:
XR17D158CV-F
Manufacturer:
EXAR/艾科嘉
Quantity:
20 000
Part Number:
XR17D158IV
Manufacturer:
Exar Corporation
Quantity:
10 000
Part Number:
XR17D158IV-F
Manufacturer:
EXAR21
Quantity:
100
Part Number:
XR17D158IV-F
Manufacturer:
Exar Corporation
Quantity:
10 000
Part Number:
XR17D158IV-F
Manufacturer:
EXAR/艾科嘉
Quantity:
20 000
XR17D158
UNIVERSAL (3.3V AND 5V) PCI BUS OCTAL UART
REV. P1.0.0
It is suggested that before starting to read the Special Receive FIFO Data with Status to unload data from any
UART channel (address 0x180 for channel 0), do a dummy read to the Device ID (DVID) register in the Config-
uration Register of the device. The Special Receive FIFO Data with Status register can then be read multiple
times subsequently without any byte-swapping problem as long as no other register (except the Device ID reg-
ister) is accessed in between data unload. If you must read or write to another register, make that dummy read
to the DVID register again and continue with data unloading.
A step by step procedure describing the sequence for a target channel is shown below. From the receive data
service routine:
N
Some Examples of using the Special Receive FIFO Data with Status:
E
E
E
* In case some other registers need to be accessed in between ‘Special Receive FIFO Data with Status’
reads, a ‘Read DVID’ instruction has to be inserted before resuming ‘Special Receive FIFO Data with Status’
read operation.
6.0 PROGRAMMING EXAMPLES
6.1
OTE
XAMPLE
XAMPLE
XAMPLE
Do a dummy read to Device ID (DVID) register. Address 0x8D in BYTE alignment or address 0x8C in
DWORD alignment.
Read the data byte and its associated error status from ‘Special Receive FIFO Data with Status’ register of
the target channel until done or empty when one of the LSR status byte bit-0=0.
.....................
Read LSR
Read DVID
Read Special Receive FIFO Data with Status (address 0x180 for channel 0, etc)
Read Special Receive FIFO Data with Status (address 0x180 for channel 0, etc)*
Read Special Receive FIFO Data with Status (address 0x180 for channel 0, etc)
....................
.....................
Read Global Interrupt Register INT0 (address 0x080)
Read INT1 through INT3 registers to identify interrupting channel (address 0x081 through 0x083)
Read DVID
Read Special Receive FIFO Data with Status (address 0x180 for channel 0, etc)
Read Special Receive FIFO Data with Status (address 0x180 for channel 0, etc)*
Read Special Receive FIFO Data with Status (address 0x180 for channel 0, etc)
................
................
Read Global Interrupt Register INT0 (address 0x080)
Read ISR register of interrupting channel
Read DVID
Read Special Receive FIFO Data with Status (address 0x180 for channel 0, etc)
Read Special Receive FIFO Data with Status (address 0x180 for channel 0, etc)*
Read Special Receive FIFO Data with Status (address 0x180 for channel 0, etc)
................
: If you must do other Read/Write operations to other register(s) during data unloading, repeat steps 1 & 2 to continue
unloading data plus status from the ‘Special Receive FIFO Data with Status’ register of the target channel.
Unloading Receive Data Using the Special Receive FIFO Data with Status
I: P
2: I
3: I
NTERRUPT
NTERRUPT
OLLING
S
S
ERVICE USING
ERVICE USING
I
I
NTERRUPT
NTERRUPT
I
I
NFORMATION IN
NFORMATION IN
53
D
I
NDIVIDUAL
EVICE
C
ONFIGURATION
C
HANNEL
S
PRELIMINARY
R
R
EGISTERS
EGISTER
áç
áç
áç
áç
S
ET

Related parts for XR17D158