This document contains proprietary information of LSI Logic Corporation. The
information contained herein is not to be used by or disclosed to third parties
without the express written permission of an officer of LSI Logic Corporation.
LSI Logic products are not intended for use in life-support appliances, devices,
or systems. Use of any LSI Logic product in such applications without written
consent of the appropriate LSI Logic officer is prohibited.
Document DB14-000165-01, Sixth Edition (April 2003)
This document describes the LSI Logic LSI53C875/875E PCI to Ultra SCSI I/O
Processor and will remain the official reference source for all revisions/releases
of this product until rescinded by an update.
To receive product literature, visit us at http://www.lsilogic.com.
LSI Logic Corporation reserves the right to make changes to any products herein
at any time without notice. LSI Logic does not assume any responsibility or
liability arising out of the application or use of any product described herein,
except as expressly agreed to in writing by LSI Logic; nor does the purchase or
use of a product from LSI Logic convey a license under any patent rights,
copyrights, trademark rights, or any other of the intellectual property rights of
LSI Logic or third parties.
The LSI Logic logo design, TolerANT, SDMS, and SCRIPTS are registered
trademarks or trademarks of LSI Logic Corporation. All other brand and product
names may be trademarks of their respective companies.
ii
Audience
Organization
Preface
This book is the primary reference and technical manual for the LSI Logic
LSI53C875/875E PCI to Ultra SCSI I/O Processor.It contains a complete
functional description for the LSI53C875/875E and includes complete
physical and electrical specifications for the LSI53C875/875E.
This technical manual is intended for system designers and programmers
who are using this device to design a SCSI port for PCI-based personal
computers, workstations, or embedded applications.
This document has the following chapters and appendixes:
•Chapter 1, General Description, includes general information about
the LSI53C875 and other members of the LSI53C8XX family of PCI
to SCSI I/O Processors.
•Chapter 2, Functional Description, describes the main functional
areas of the chip in more detail, including the interfaces to the SCSI
bus.
•Chapter 3, PCI Functional Description, describes the chip’s
connection to the PCI bus, including the PCI commands and
configuration registers supported.
•Chapter 4, Signal Descriptions, contains the pin diagrams and
definitions of each signal.
•Chapter 5, SCSI Operating Registers, describes each bit in the
operating registers, organized by address.
Prefaceiii
•Chapter 6, Instruction Set of the I/O Processor, defines all of the
•Chapter 7, Instruction Set of the I/O Processor, contains the
•Appendix A, Register Summary, is a register summary.
11 West 42nd Street
New York, NY 10036
(212) 642-4900
Ask for document number X3.131-199X (SCSI-2)
Global Engineering Documents
15 Inverness Way East
Englewood, CO 80112
(800) 854-7179 or (303) 397-7956 (outside U.S.) FAX (303) 397-2740
Ask for document number X3.131-1994 (SCSI-2); X3.253 (SCSI-3Parallel Interface)
SCSI SCRIPTS instructions that are supported by the LSI53C875.
electrical characteristics and AC timings for the chip.
contains several example interface drawings to connect the
LSI53C875 to an external ROM.
ENDL Publications
14426 Black Walnut Court
Saratoga, CA 95070
(408) 867-6642
Document names: SCSI Bench Reference, SCSI Encyclopedia, SCSI
Tutor
Prentice Hall
113 Sylvan Avenue
Englewood Cliffs, NJ 07632
(800) 947-7700
Ask for document number ISBN 0-13-796855-8, SCSI: Understanding
the Small Computer System Interface
ivPreface
LSI Logic World Wide Web Home Page
www.lsilogic.com
SCSI SCRIPTS™ Processors Programming Guide, Version 2.2,
Order Number S14044.A
PCI Special Interest Group
2575 N. E. Katherine
Hillsboro, OR 97214
(800) 433-5177; (503) 693-6232 (International); FAX (503) 693-8344
Conventions Used in This Manual
The word assert means to drive a signal true or active. The word
deassert means to drive a signal false or inactive.
Hexadecimal numbers are indicated by the prefix “0x” —for example,
0x32CF. Binary numbers are indicated by the prefix “0b” —for example,
0b0011.0010.1100.1111.
Revision Record
RevisionDateRemarks
1.06/95Revision 1.0
2.03/96Revision 2.0. Fast-20 changed to Ultra SCSI throughout.
3.09/96Revision 3.0. Minor copy changes throughout.
4.02/98Revision 4.0. Minor copy changes throughout
4.13/01Product names changed from SYM to LSI.
4.24/03Revision 4.2. Correct V
Prefacev
-S in Table 4.3
DD
viPreface
Contents
Chapter 1General Description
1.1Package and Feature Options1-4
1.2Benefits of Ultra SCSI1-4
1.3TolerANT®Technology1-5
1.4LSI53C875 Benefits Summary1-6
1.4.1SCSI Performance1-6
1.4.2PCI Performance1-7
1.4.3Integration1-7
1.4.4Ease of Use1-7
1.4.5Flexibility1-8
1.4.6Reliability1-9
1.4.7Testability1-9
Chapter 2Functional Description
2.1SCSI Functional Description2-1
2.1.1SCSI Core2-1
2.1.2DMA Core2-2
2.1.3SCRIPTS Processor2-2
2.1.4Internal SCRIPTS RAM2-3
2.1.5SDMS Software: The Total SCSI Solution2-3
2.2Designing an Ultra SCSI System2-4
2.2.1Using the SCSI Clock Doubler2-4
2.3Prefetching SCRIPTS Instructions2-5
2.3.1Opcode Fetch Burst Capability2-6
2.4External Memory Interface2-6
2.5PCI Cache Mode2-8
2.5.1Load/Store Instructions2-8
2.5.23.3 V/5 V PCI Interface2-9
2.5.3Additional Access to General Purpose Pins2-9
Contentsvii
2.5.4JTAG Boundary Scan Testing2-10
2.5.5Big and Little Endian Support2-10
2.5.6Loopback Mode2-12
2.5.7Parity Options2-12
2.5.8DMA FIFO2-15
2.5.9SCSI Bus Interface2-19
2.5.10Select/Reselect During Selection/Reselection2-25
This manual combines information on the LSI53C875 and LSI53C875E,
which are PCI to Ultra SCSI I/O Processors. The LSI53C875E is a minor
modification of the existing LSI53C875 product. It has all the functionality
of the LSI53C875 with the addition of features to enable it to comply with
the Microsoft PC 97 Hardware Design Guide. Specifically, the
LSI53C875E has a Power Management Support enhancement. Because
there are only slight differences between them, the LSI53C875 and
LSI53C875E are referred to as LSI53C875 throughout this technical
manual. Only the new enhancements are referred to as LSI53C875E.
®
Technology”
This technical manual assumes the user is familiar with the current and
proposed standards for SCSI and PCI. For additional background
information on these topics, please refer to the list of reference materials
provided in the Preface of this document.
The LSI53C875 brings high-performance I/O solutions to host adapter,
workstation, and general computer designs, making it easy to add SCSI
to any PCI system. The LSI53C875 has a local memory bus for local
storage of the device’s BIOS ROM in Flash memory or standard
EPROMs. Most versions of the LSI53C875 support big and little endian
byte addressing to accommodate a variety of data configurations. The
LSI53C875 supports programming of local Flash memory for updates to
BIOS or SCRIPTS™ programs.
LSI53C875/875E PCI to Ultra SCSI I/O Processor1-1
The LSI53C875 is a pin-for-pin replacement for the LSI53C825 PCI to
SCSI I/O processor, with added support for the SCSI-3 Ultra standard as
well as other new features. Some software enhancements are needed to
take advantage of the features and Ultra SCSI transfer rates supported
by the LSI53C875. The LSI53C875 performs Ultra SCSI transfers or fast
8- or 16- bit SCSI transfers in Single-Ended (SE) or differential mode,
and improves performance by optimizing PCI bus utilization. A system
diagram showing the connections of the LSI53C875 with an external
ROM or Flash memory is pictured in Figure 1.1.
Figure 1.1LSI53C875 External Memory Interface
PCI Bus
SCSI Bus
GPIO4
MWE/
MOE/
MCE/
MAD[7:0]
MAS0/
LSI53C875
MAS1/
GPIO2_MAS2/
BIG_LIT
V
PP
V
PP
Translator
(Optional)
HCT374
HCT374
HCT374
(Optional)
V
PP
ROM or Flash
Memory
D[7:0]
A[7:0]
A[15:8]
A[19:16]
1-2General Description
A block diagram of the LSI53C875 is pictured in Figure 1.2.
Figure 1.2LSI53C875 Chip Block Diagram
PCI
PCI Master and Slave Control Block
External
Memory
Memory
Control
Local
Bus
Memory
Data
FIFO
536 Bytes
SCSI
SCRIPTS
Processor
SCSI FIFO and SCSI Control Block
Operating
Registers
TolerANT Drivers and Receivers
SCSI Bus
Configuration
Registers
SCRIPTS
RAM
The LSI53C875 integrates a high-performance SCSI core, a PCI bus
master DMA core, and the LSI Logic SCSI SCRIPTS processor to meet
the flexibility requirements of SCSI-3 and Ultra SCSI standards. It is
designed to implement multithreaded I/O algorithms with a minimum of
processor intervention, solving the protocol overhead problems of
previous intelligent and nonintelligent adapter designs.
The LSI53C875 is fully supported by the LSI Logic Storage Device
Management System (SDMS™), a software package that supports the
Advanced SCSI Protocol Interface (ASPI) and the ANSI Common
Access Method (CAM). SDMS software provides BIOS and driver
support for hard disk, tape, removable media products, and CD-ROM
under the major PC operating systems.
1-3
1.1Package and Feature Options
The LSI53C875 is available in three versions with different packaging
and feature options. The LSI53C875 is packaged in a 160-pin Plastic
Quad Flat Pack (PQFP). The LSI53C875J is identical to the LSI53C875
with additional pins that support JTAG boundary scan testing. The JTAG
boundary scan signals replace the TESTIN, MAC/_TESTOUT, BIG_LIT/,
and SDIRP1 pins.
The LSI53C875N includes all of the signals in the LSI53C875, with the
addition of the JTAG pins and four additional signals for extended parity
checking and generation. It is packaged in a 208-pin PQFP.
The LSI53C875JB is identical to the LSI53C875J, but is packaged in a
169-pin Ball Grid Array (BGA). The LSI53C875E, LSI53C875JE, and
LSI53C875JBE have been upgraded to include the power management
features.
1.2Benefits of Ultra SCSI
Ultra SCSI is an extension of the SCSI-3 standard that expands the
bandwidth of the SCSI bus and allows faster synchronous SCSI transfer
rates. When enabled, Ultra SCSI performs 20 megatransfers during an
I/O operation, resulting in approximately twice the synchronous transfer
rates of fast SCSI-2. The LSI53C875 can perform 8-bit, Ultra SCSI
synchronous transfers as fast as 20 Mbytes/s. This advantage is most
noticeable in heavily loaded systems, or large block size requirements,
such as video on-demand and image processing.
An advantage of Ultra SCSI is that it significantly improves SCSI
bandwidth while preserving existing hardware and software investments.
The LSI53C875 is compatible with all existing LSI53C825 and
LSI53C825A software; the only changes required are to enable the chip
to perform synchronous negotiations for Ultra SCSI rates. The
LSI53C875 can use the same board socket as an LSI53C825, with the
addition of an 80 MHz SCLK or enabling the internal SCSI clock doubler
to provide the correct frequency when transferring synchronous SCSI
data at 50 nanosecond transfer rates. Some changes to existing cabling
or system designs may be needed to maintain signal integrity at Ultra
SCSI synchronous transfer rates. These design issues are discussed in
Chapter 2, “Functional Description.”
1-4General Description
1.3TolerANT®Technology
The LSI53C875 features TolerANT technology, which includes active
negation on the SCSI drivers and input signal filtering on the SCSI
receivers. Active negation actively drives the SCSI Request,
Acknowledge, Data, and Parity signals HIGH rather than allowing them
to be passively pulled up by terminators. Active negation is enabled by
setting bit 7 in the SCSI Test Three (STEST3) register.
TolerANT receiver technology improves data integrity in unreliable
cabling environments, where other devices would be subject to data
corruption. TolerANT receivers filter the SCSI bus signals to eliminate
unwanted transitions, without the long signal delay associated with
RC-type input filters. This improved driver and receiver technology helps
eliminate double clocking of data, the single biggest reliability issue with
SCSI operations. TolerANT technology input signal filtering is a built-in
feature of the LSI53C875 and all LSI Logic fast SCSI devices. On the
LSI53C875, the user may select a filtering period of 30 or 60 ns, with
bit 1 in the SCSI Test Two (STEST2) register.
The benefits of TolerANT technology include increased immunity to noise
when the signal is going HIGH, better performance due to balanced duty
cycles, and improved fast SCSI transfer rates. In addition, TolerANT
SCSI devices do not cause glitches on the SCSI bus at power-up or
power-down, so other devices on the bus are also protected from data
corruption. TolerANT technology is compatible with both the Alternative
One and Alternative Two termination schemes proposed by the
American National Standards Institute.
TolerANT®Technology1-5
1.4LSI53C875 Benefits Summary
The section provides an overview of the LSI53C875 features and
benefits. It contains information on SCSI Performance, PCI Performance,
Integration, Ease of Use, Flexibility, Reliability, and Testability.
1.4.1 SCSI Performance
To improve SCSI performance, the LSI53C875:
•Includes 4 Kbyte internal RAM for SCRIPTS instruction storage.
•Performs wide, Ultra SCSI synchronous transfers as fast as
40 Mbytes/s.
•Increases SCSI synchronous offset from 8 to 16 levels.
•Supports variable block size and scatter/gather data transfers.
•Performs sustained memory-to-memory DMA transfers faster than
47 Mbytes/s (@ 33 MHz).
•Minimizes SCSI I/O start latency.
•Performs complex bus sequences without interrupts, including
restore data pointers.
•Reduces interrupt service routine overhead through a unique
interrupt status reporting method.
•Performs fast and wide SCSI bus transfers in SE and differential
mode.
–10 Mbytes/s asynchronous (20 Mbytes/s with Ultra SCSI).
–20 Mbytes/s synchronous (40 Mbytes/s with Ultra SCSI).
•Supports Load and Store SCRIPTS instructions to increase the
performance of data transfers to and from chip registers.
•Supports target disconnect and later reconnect with no interrupt to
the system processor.
•Supports multithreaded I/O algorithms in SCSI SCRIPTS with fast
I/O context switching.
•Supports expanded Register Move instructions to support additional
arithmetic capability.
•Complies with PCI Bus Power Management Specification
(LSI53C875E) Revision 1.0.
1-6General Description
1.4.2 PCI Performance
To improve PCI performance, the LSI53C875:
•Complies with PCI 2.1 specification.
•Bursts 2, 4, 8, 16, 32, 64, or 128 Dwords across PCI bus.
•Supports 32-bit word data bursts with variable burst lengths.
•Prefetches up to 8 Dwords of SCRIPTS instructions.
•Bursts SCRIPTS opcode fetches across the PCI bus.
•Performs zero wait-state bus master data bursts faster than
110 Mbytes/s (@ 33 MHz).
•Supports PCI Cache Line Size register.
•Supports PCI Write and Invalidate, Read Line, and Read Multiple
commands.
1.4.3 Integration
The following features ease integration of the LSI53C875 into a system:
•3.3 V/5 V PCI interface.
•Full 32-bit PCI DMA bus master.
•Memory Move instructions allow use as a third-party PCI bus DMA
•High-performance SCSI core.
•Integrated SCRIPTS processor.
1.4.4 Ease of Use
The following features of the LSI53C875 make the device user friendly:
•Up to 1 Mbyte of add-in memory support for BIOS and SCRIPTS
•Direct PCI to SCSI connection.
•Reduced SCSI development effort.
•Easily adapted to the Advanced SCSI Protocol Interface (ASPI) or
LSI53C875 Benefits Summary1-7
controller.
storage.
the ANSI Common Access Method (CAM), with SDMS software.
1.4.5 Flexibility
•Compiler-compatible with existing LSI53C7XX and LSI53C8XX
family SCRIPTS.
•Direct connection to PCI, and SCSI SE and differential buses.
•Development tools and sample SCSI SCRIPTS available.
•Maskable and pollable interrupts.
•Wide SCSI, A or P cable, and up to 16 devices are supported.
Handshake, and General Purpose. The time-out period is
programmable from 100 µs to greater than 25.6 seconds.
•SDMS software for complete PC-based operating system support.
•Support for relative jumps.
•SCSI Selected As ID bits for responding with multiple IDs.
The following features increase the flexibility of the LSI53C875:
•High level programming interface (SCSI SCRIPTS).
•Programs local memory and bus Flash memory.
•Big/little endian support.
•Selectable 88 or 536 byte DMA FIFO for backward compatibility.
•Tailored SCSI sequences execute from main system RAM or internal
SCRIPTS RAM.
•Flexible programming interface to tune I/O performance or to adapt
to unique SCSI devices.
•Support for changes in the logical I/O interface definition.
•Low level access to all registers and all SCSI bus signals.
•Fetch, Master, and Memory Access control pins.
•Separate SCSI and system clocks.
•SCSI clock doubler bits enable Ultra SCSI transfer rates with a
40 MHz SCSI clock.
•Selectable IRQ pin disable bit.
•32 additional scratch pad registers.
•Ability to route system clock to SCSI clock.
1-8General Description
1.4.6 Reliability
The following features enhance the reliability of the LSI53C875:
•2 kV ESD protection on SCSI signals.
•Typical 300 mV SCSI bus hysteresis.
•Protection against bus reflections due to impedance mismatches.
•Controlled bus assertion times (reduces RFI, improves reliability, and
eases FCC certification).
•Latch-up protection greater than 150 mA.
•Voltage feed-through protection (minimum leakage current through
SCSI pads).
•A high proportion (> 25%) of pins are power and ground.
•Power and ground isolation of I/O pads and internal chip logic.
•TolerANT technology which provides:
–Active negation of SCSI Data, Parity, Request, and Acknowledge
signals for improved fast SCSI transfer rates.
–Input signal filtering on SCSI receivers improves data integrity,
even in noisy cabling environments.
•JTAG Boundary scan support (LSI53C875J, LSI53C875JB,
LSI53C875N only).
1.4.7 Testability
•Extended PCI parity checking and generation (LSI53C875N only).
•Extended SCSI parity checking.
The following features enhance the testability of the LSI53C875:
•Access to all SCSI signals through programmed I/O.
•SCSI loopback diagnostics.
•SCSI bus signal continuity checking.
•Support for single step mode operation.
•Test mode (AND tree) to check pin continuity to the board (most
package options).
•JTAG Boundary scan support (LSI53C875J, LSI53C875JB,
LSI53C875N only).
LSI53C875 Benefits Summary1-9
1-10General Description
Chapter 2
Functional Description
Chapter 2 is divided into the following sections:
•Section 2.1, “SCSI Functional Description”
•Section 2.2, “Designing an Ultra SCSI System”
•Section 2.3, “Prefetching SCRIPTS Instructions”
•Section 2.4, “External Memory Interface”
•Section 2.5, “PCI Cache Mode”
•Section 2.6, “Power Management”
2.1SCSI Functional Description
The LSI53C875 is composed of three functional blocks: the SCSI Core,
the DMA Core, and the SCRIPTS Processor. The LSI53C875 is fully
supported by SDMS software, a complete software package that
supports the LSI Logic product line of SCSI processors and controllers.
The PCI Bus Power Management support (LSI53C875E) is discussed
Section 2.6, “Power Management.”
2.1.1 SCSI Core
The SCSI core supports the 8-bit or 16-bit data bus. It supports Ultra
SCSI synchronous transfer rates up to 40 Mbytes/s, SCSI synchronous
transfer rates up to 20 Mbytes/s, and asynchronous transfer rates up to
10 Mbytes/s on a 16-bit wide SCSI bus. The SCSI core can be
programmed with SCSI SCRIPTS, making it easy to “fine tune” the
system for specific mass storage devices or SCSI-3 requirements.
LSI53C875/875E PCI to Ultra SCSI I/O Processor2-1
2.1.2 DMA Core
The SCSI core offers low level register access or a high level control
interface. Like first generation SCSI devices, the LSI53C875 SCSI core
can be accessed as a register oriented device. The ability to sample
and/or assert any signal on the SCSI bus can be used in error recovery
and diagnostic procedures. In support of loopback diagnostics, the SCSI
core may perform a self-selection and operate as both an initiator and a
target.
The LSI53C875 SCSI core is controlled by the integrated SCRIPTS
processor through a high level logical interface. Commands controlling
the SCSI core are fetched out of the main host memory or local memory.
These commands instruct the SCSI core to Select, Reselect, Disconnect,
Wait for a Disconnect, Transfer Information, Change Bus Phases and, in
general, implement all aspects of the SCSI protocol. The SCRIPTS
processor is a special high speed processor optimized for SCSI protocol.
The DMA core is a bus master DMA device that attaches directly to the
industry standard PCI Bus. The DMA core is tightly coupled to the SCSI
core through the SCRIPTS processor, which supports uninterrupted
scatter/gather memory operations.
The LSI53C875 supports 32-bit memory and automatically supports
misaligned DMA transfers. A 536-byte FIFO allows the LSI53C875 to
support 2, 4, 8, 16, 32, 64, or 128 longword bursts across the PCI bus
interface.
2.1.3 SCRIPTS Processor
The SCSI SCRIPTS processor allows both DMA and SCSI commands
to be fetched from host memory or internal SCRIPTS RAM. Algorithms
written in SCSI SCRIPTS control the actions of the SCSI and DMA cores
and are executed from 32-bit system RAM. The SCRIPTS processor
executes complex SCSI bus sequences independently of the host CPU.
The SCRIPTS processor can begin a SCSI I/O operation in
approximately 500 ns. This compares with 2–8 ms required for traditional
intelligent host adapters. Algorithms may be designed to tune SCSI bus
performance, to adjust to new bus device types (such as scanners,
communication gateways, etc.), or to incorporate changes in the SCSI-2
2-2Functional Description
or SCSI-3 logical bus definitions without sacrificing I/O performance.
SCSI SCRIPTS are hardware independent, so they can be used
interchangeably on any host or CPU system bus.
2.1.4 Internal SCRIPTS RAM
The LSI53C875 has 4 Kbyte (1024 x 32 bits) of internal, general purpose
RAM. The RAM is designed for SCRIPTS program storage, but is not
limited to this type of information. When the chip fetches SCRIPTS
instructions or Table Indirect information from the internal RAM, these
fetches remain internal to the chip and do not use the PCI bus. Other
types of access to the RAM by the LSI53C875 use the PCI bus, as if
they were external accesses. The MAD5 pin enables the 4 Kbyte internal
RAM. To disable the internal RAM, connect a 4.7 kΩ resistor between
the MAD5 pin and V
The RAM can be relocated by the PCI system BIOS anywhere in 32-bit
address space. The RAM Base Address register in PCI configuration
space contains the base address of the internal RAM. This register is
similar to the ROM Base Address register in PCI configuration space. To
simplify loading of SCRIPTS instructions, the base address of the RAM
will appear in the Scratch Register B (SCRATCHB) register when bit 3 of
the Chip Test Two (CTEST2) register is set. The RAM is byte accessible
from the PCI bus and is visible to any bus mastering device on the bus.
External accesses to the RAM (by the CPU) follow the same timing
sequence as a standard slave register access, except that the target
wait-states required drop from 5 to 3.
SS
.
A complete set of development tools is available for writing custom
drivers with SCSI SCRIPTS. For more information on the SCSI SCRIPTS
instructions supported by the LSI53C875, see Chapter 6, “Instruction Set
of the I/O Processor.”
2.1.5 SDMS Software: The Total SCSI Solution
For users who do not need to develop custom drivers, LSI Logic provides
a total SCSI solution in PC environments with the SDMS. SDMS
software provides BIOS driver support for hard disk, tape, and removable
media peripherals for the major PC-based operating systems.
SCSI Functional Description2-3
SDMS software includes a SCSI BIOS to manage all SCSI functions
related to the device. It also provides a series of SCSI device drivers that
support most major operating systems. SDMS software supports a
multithreaded I/O application programming interface (API) for user
developed SCSI applications. SDMS software supports both the ASPI
and CAM SCSI software specifications.
2.2Designing an Ultra SCSI System
Migrating an existing SE SCSI design from SCSI-2 to Ultra SCSI requires
minor software modifications as well as consideration for some hardware
design guidelines. Since Ultra SCSI is based on existing SCSI standards,
it can use existing software programs as long as the software is able to
negotiate for Ultra SCSI synchronous transfer rates.
In the area of hardware, the primary area of concern in SE systems is to
maintain signal integrity at high data transfer rates. To assure reliable
operation at Ultra SCSI transfer speeds, follow the system design
parameters recommended in the SCSI-3 Ultra Parallel Interface
standard. Chapter 7, “Instruction Set of the I/O Processor,” contains Ultra
SCSI timing information. In addition to the guidelines in the draft
standard, make the following software and hardware adjustments to
accommodate Ultra SCSI transfers:
•Set the Ultra Enable bit to enable Ultra SCSI transfers.
•Set the TolerANT Enable bit, bit 7 in the SCSI Test Three (STEST3)
register whenever the Ultra Enable bit is set.
•Do not extend the SREQ/SACK filtering period with SCSI Test Two
(STEST2), bit 1.
2.2.1 Using the SCSI Clock Doubler
The LSI53C875 can double the frequency of a 40–50 MHz SCSI clock,
allowing the system to perform Ultra SCSI transfers in systems that do
not have 80 MHz clock input. This option is user selectable with bit
settings in the SCSI Test One (STEST1), SCSI Test Three (STEST3),
and SCSI Control Three (SCNTL3) registers. At power-on or reset, the
doubler is disabled and powered down. Follow these steps to use the
clock doubler:
2-4Functional Description
Step 1.Set the SCLK Doubler Enable bit (SCSI Test One (STEST1),
bit 3).
Step 2.Wait 20 µs.
Step 3.Halt the SCSI clock by setting the Halt SCSI Clock bit (SCSI
Test Three (STEST3), bit 5).
Step 4.Set the clock conversion factor using the SCF and CCF fields
in the SCSI Control Three (SCNTL3) register.
Step 5.Set the SCLK Doubler Select bit (SCSI Test One (STEST1),
bit 2).
Step 6.Clear the Halt SCSI Clock bit.
2.3Prefetching SCRIPTS Instructions
When enabled by setting the Prefetch Enable bit in the DMA Control
(DCNTL) register, the prefetch logic in the LSI53C875 fetches 8 Dwords
of instructions. The prefetch logic automatically determines the maximum
burst size that it can perform, based on the burst length as determined
by the values in the DMA Mode (DMODE) register. If the unit cannot
perform bursts of at least four Dwords, it disables itself. While the
LSI53C875 is prefetching SCRIPTS instructions, the PCI Cache Line
Size register value does not have any effect and the Read Line, Read
Multiple, and Write and Invalidate commands are not used.
The LSI53C875 may flush the contents of the prefetch unit under certain
conditions, listed below, to ensure that the chip always operates from the
most current version of the software. When one of these conditions
apply, the contents of the prefetch unit are automatically flushed.
•On every Memory Move instruction. The Memory Move instruction is
often used to place modified code directly into memory. To make
sure that the chip executes all recent modifications, the prefetch unit
flushes its contents and loads the modified code every time an
instruction is issued. To avoid inadvertently flushing the prefetch unit
contents, use the No Flush option for all Memory Move operations
that do not modify code within the next 8 Dwords. For more
information on this instruction, refer to Chapter 6, “Instruction Set of
the I/O Processor.”
Prefetching SCRIPTS Instructions2-5
•On every Store instruction. The Store instruction may also be used
to place modified code directly into memory. To avoid inadvertently
flushing the prefetch unit contents use the No Flush option for all
Store operations that do not modify code within the next 8 Dwords.
•On every write to the DMA SCRIPTS Pointer (DSP).
•On all Transfer Control instructions when the transfer conditions are
met. This is necessary because the next instruction to execute is not
the sequential next instruction in the prefetch unit.
•When the Prefetch Flush bit (DMA Control (DCNTL), bit 6) is set. The
unit flushes whenever this bit is set. The bit is self-clearing.
2.3.1 Opcode Fetch Burst Capability
Setting the Burst Opcode Fetch Enable bit in the DMA Mode (DMODE)
register (0x38) causes the LSI53C875 to burst in the first two longwords
of all instruction fetches. If the instruction is a Memory-to-Memory Move,
the third longword is accessed in a separate ownership. If the instruction
is an indirect type, the additional longword is accessed in a subsequent
bus ownership. If the instruction is a Table Indirect Block Move, the chip
uses two accesses to obtain the four longwords required, in two bursts
of two longwords each.
Note:This feature is only useful if prefetching is disabled.
2.4External Memory Interface
The LSI53C875 supports up to one megabyte of external memory in
binary increments from 16 Kbytes, to allow the use of expansion ROM
for add-in PCI cards. The device also supports Flash ROM updates
through the add-in interface and the GPIO4 pin (used to control VPP, the
power supply for programming external memory). This interface is
designed for low speed operations such as downloading instruction code
from ROM. It is not intended for dynamic activities such as executing
instructions.
System requirements include the LSI53C875, two or three external 8-bit
address holding registers (HCT273 or HCT374), and the appropriate
memory device. The 4.7 kΩ pull-down resistors on the MAD bus require
HC or HCT external components to be used. If in-system Flash ROM
2-6Functional Description
Loading...
+ 284 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.