English
Language : 

TI380PCIA Datasheet, PDF (13/40 Pages) Texas Instruments – PCI BUS INTERFACE FOR THE TI380 COMMPROCESSORS
TI380PCIA
PCI BUS INTERFACE FOR THE TI380 COMMPROCESSORS™
SPWS035 – JUNE 1997
address/data-parity checking and generation (continued)
During PCI master cycles, PCIIF is able to handle the following:
D Master-abort termination: due to no DEVSEL response
D Slave-initiated termination: disconnect / retry and slave-abort
D Parity-error processing
TI380C2x† interface (SIF )
The SIF handles all communications between the TI380C2x† and the TI380PCIA.
The TI2000 software standard‡ requires that the TI380PCIA SIF include a configuration register at I / O address
0xE– 0xF. This is the same location as the TI380C2x† DIO DMALEN register; therefore, access to the DIO
DMALEN register from the TI380PCIA is masked, and the TI2000 configuration register information is
presented instead.
When there is no DIO access pending, the TI380PCIA SIF acknowledges all SBRQ from the TI380C2x† and
allows the TI380C2x† to control the SIF bus. If the PCIIF initiates a DIO access while the TI380C2x† is controlling
the SIF bus and is performing a DMA access, the SIF signals the TI380C2x† to relinquish control of the SIF bus
and let the DIO proceed. On completion of the DIO cycle, the SIF logic again grants the SIF bus to the TI380C2x†
if the interrupted DMA sequence is not complete.
The interface between the TI380PCIA and the TI380C2x† operates in Motorola mode. The interface is designed
so it can operate with drivers that use 8- or 16-bit I/O instructions on the host. Accesses to the SIFDAT,
SIFDAT/INC, and SIFADR registers are ideally made with 16-bit I/O instructions from the host. If a driver has
to perform byte-accesses to these registers, then the odd byte must be accessed before the even byte.
Note that on Intel platforms, the “INSTR word” and the “OUTSTR word” 16-bit I/O instructions use a little-endian
byte-ordering that does not work without additional byte-swapping when used with the TI380PCIA
Motorola-mode big-endian interface. These instructions are typically used only in 16-bit pseudo DMA drivers.
For more information on byte operations between the host and the TI380C2x†, see the description of DIO
operations on pages 4-16 and 4-28 of the TMS380 Second Generation Token Ring User’s Guide (literature
number SPWU005).
interrupt request
interrupting the PCI host
The SIF takes an SIRQ from the TI380C2x†, sends it to the PCIIF, and the PCIIF then translates it into an INTA
on the PCI bus. The generation of INTA on the PCI bus is held off until the data in the TI380PCIA FIFO has been
emptied. This interrupt is done to ensure data coherency.
clearing the host interrupt request
Driver software running on the host can clear the SIRQ interrupt by writing a 0 to bit 8 (SYSTEM_INTERRUPT)
of the SIFCMD register in the TI380C2x†. Writing a 1 to this location has no effect [see Section 4.3.10.1 in the
TMS380 Second Generation Token Ring User’s Guide (literature number SPWU005)].
ROM interface (ROMIF)
The ROMIF supports remote program load for PCI LAN adapter cards. This interface supports a 64K-byte ROM
address range aligned on a 64K-byte boundary. Since the PCI bus can access the ROM in any byte order, the
ROMIF reads all 32 bits for each PCI ROM access. This latency is acceptable because the PCI bus does not
execute code out of the ROM. The ROM is normally accessed during system configuration when performance
is not critical. The ROMIF uses either 14 or 16 bits of the address, depending on the setting of bit 17 in the
MISCCTRL register. In 14-bit mode, the ROMIF appends two bits to the most significant end of the address from
† TI380C3x devices can be used with TI380PCIA in the same way as TI380C2x devices.
‡ TI2000 software standard specification is available from the local TI Sales Office.
• POST OFFICE BOX 1443 HOUSTON, TEXAS 77251–1443
13