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-000089-03, Fourth Edition (April 2001)
This document describes the LSI Logic LSI53C895A PCI to Ultra2 SCSI
Controller 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.
Ultra SCSI is the term used by the SCSI Trade Association (STA) to describe
Fast-20 SCSI, as documented in the SCSI-3 Fast-20 Parallel Interface standard,
X3,277-199X.
Ultra2 SCSI is the term used by the SCSI Trade Association (STA) to describe
Fast-40 SCSI, as documented in the SCSI Parallel Interface-2 standard, (SPI-2)
X3710-1142D.
The LSI Logic logo design, TolerANT, LVDlink, and SCRIPTS are registered
trademarks or trademarks of LSI Logic Corporation. All other brand and product
names may be trademarks of their respective companies.
SR/HH
ii
Audience
Preface
This book is the primary reference and technical manual for the
LSI53C895A PCI to Ultra2 SCSI Controller. It contains a complete
functional description for the product and also includes complete physical
and electrical specifications.
This manual provides reference information on the LSI53C895A PCI to
Ultra2 SCSI Controller. It is intended for system designers and
programmers who are using this device to design an Ultra2 SCSI port for
PCI-based personal computers, workstations, servers or embedded
applications.
Organization
This document has the following chapters and appendixes:
•Chapter 1, General Description, includes general information about
the LSI53C895A.
•Chapter 2, Functional Description, describes the main functional
areas of the chip in more detail, including interfaces to the SCSI bus
and external memory.
•Chapter 3, Signal Descript ions, contains pin diagrams and signal
descriptions.
•Chapter 4, Registers, describes each bit in the operating registers,
and is organized by register address.
•Chapter 5, SCSI SCRIPTS Instruction Set, defines all of the SCSI
SCRIPTS instructions that are supported by the LSI53C895A.
Prefaceiii
•Chapter 6, Electrical Specifications, contains the electrical
•Appendix A, Register Summary , is a register summary.
11 W est 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-3 Parallel Interface)
characteristics and AC timing diagrams.
contains sever al example interface drawings for connecting the
LSI53C895A to external ROMs.
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 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
0.54/99Advance information version of the manual.
1.07/99Preliminary version of the manual.
1.19/99PCI timings corrected in Chapter 6, Table 6.3, and Figure 6.41 corrected.
2.02/00Final version.
2.17/00Added Figure 6.43.
2.24/01All product names changed from SYM to LSI. Updated DC electrical
specifications and test conditions.
Prefacev
viPreface
Contents
Chapter 1General Description
1.1New Features in the LSI53C895A1-3
1.2Benefits of Ultra2 SCSI1-4
1.3Benefits of LVDlink1-4
1.4TolerANT
1.5LSI53C895A Benefits Summary1-6
1.5.1SCSI Performance1-6
1.5.2PCI Performance1-7
1.5.3Integration1-8
1.5.4Ease of Use1-8
1.5.5Flexibility1-9
1.5.6Reliability1-9
1.5.7Testability1-10
®
Technology1-5
Chapter 2Functional Description
2.1PCI Functional Description2-2
2.1.1PCI Addressing2-2
2.1.2PCI Bus Commands and Functions Supported2-4
2.1.3PCI Cache Mode2-9
2.2SCSI Functional Description2-18
2.2.1SCRIPTS Processor2-19
2.2.2Internal SCRIPTS RAM2-20
2.2.364-Bit Addressing in SCRIPTS2-21
2.2.4Hardware Control of SCSI Activity LED2-21
2.2.5Designing an Ultra2 SCSI System2-22
2.2.6Prefetching SCRIPTS Instructions2-23
2.2.7Opcode Fetch Burst Capability2-24
2.2.8Load and Store Instructions2-24
2.2.9JTAG Boundary Scan Testing2-25
Contentsvii
2.2.10SCSI Loopback Mode2-26
2.2.11Parity Options2-26
2.2.12DMA FIFO2-29
2.2.13SCSI Bus Interface2-34
2.2.14Select/Reselect During Selection/Reselection2-39
The LSI53C895A PCI to Ultra2 SCSI Controller brings Ultra2 SCSI
performance to host adapter, workstation, and general computer designs,
making it easy to add a high-performance SCSI bus to any PCI system.
It supports Ultra2 SCSI transfer rates and allows increased SCSI
connectivity and cable length with Low Voltage Differential (LVD)
signaling for SCSI devices. The LSI53C895A is packaged in a
208 Plastic Quad Flat Pack (PQFP) and a 272 Ball Grid Array (BGA).
The LSI53C895A can be used as a drop-in replacement for the
LSI53C895.
The LSI53C895A has a local memory bus for local storage of the
device’s BIOS ROM in flash memory or standard EEPROMs. The
LSI53C895A supports programming of local flash memory for updates to
BIOS. Appendix B, “External Memory Interface Diagram Examples,” has
system diagrams showing the connections of the LSI53C895A with an
external ROM or flash memory.
LVDlink™ technology is the LSI Logic implementation of LVD. LVDlink
transceivers allow the LSI53C895A to perform either Single-Ended (SE)
or LVD transfers. It also supports external High Voltage Differential (HVD)
transceivers. The LSI53C895A integrates a high-performance SCSI core,
a 64-bit PCI bus master DMA core, and the LSI Logic SCSI SCRIPTS™
processor to meet the flexibility requirements of SCSI-3 and Ultra2 SCSI
LSI53C895A PCI to Ultra2 SCSI Controller1-1
standards. It implements multithreaded I/O algorithms with a minimum of
processor intervention, solving the protocol overhead problems of
previous intelligent and nonintelligent adapter designs.
Figure 1.1 illustrates a typical LSI53C895A system and Figure 1.2
illustrates a typical LSI53C895A board application.
Figure 1.1Typical LSI53C895A System Application
PCI Bus
Interface
Controller
Processor Bus
Central
Processing
Unit
(CPU)
PCI Bus
Typical PCI
Computer System
Architecture
LSI53C895A
PCItoWideUltra2
SCSI Controller
PCI Graphic Accelerator
PCI Fast Ethernet
Memory
Controller
Memory
SCSI Bus
Fixed Disk, Optical Disk
Printer, Tape, and Other
Peripherals
1-2General Description
Figure 1.2Typical LSI53C895A Board Application
SCSI Data,
Parity and
68 Pin
SCSI
Wide
Connector
Control
Signals
PCI Address, Data, Parity and Control Signals
LSI53C895A
32-Bit PCI to
SCSI Controller
PCI Interface
1.1 New Features in the LSI53C895A
The LSI53C895A is a drop-in replacement for the LSI53C895 PCI to
Ultra2 SCSI Controller, with these additional benefits:
•Supports 32-bit PCI Interface with 64-bit addressing.
Memory
Address/Data
Bus
GPIO[1:0]
Memory Control
Block
Flash EEPROM
Serial EEPROM
•Handles SCSI phase mismatches in SCRIPTS without interrupting
the CPU .
•Supports JTAG boundary scanning.
•Supports RAID ready alternative interrupt signaling.
•Supports PC99 Power Management.
–Automatically downloads Subsystem Vendor ID , Subsystem ID,
and PCI power management levels D0, D1, D2, and D3.
•Improves PCI bus efficiency through improved PCI caching design.
•Transfers Load/Store data to or from 8 Kbytes of internal SCRIPTS
RAM.
New Features in the LSI53C895A1-3
Additional features of the LSI53C895A include:
•Hardware control of SCSI activity LED.
•Nine GPIO Pins.
•32-bit ISTAT registers (Interrupt Status Zero (ISTAT0), Interrupt
Status One (ISTAT1), Mailbox Zero (MBOX0), and Mailbox One
(MBOX1)).
•Optional 944 byte DMA FIFO supports large block transfers at Ultra2
SCSI speeds. The default FIFO size of 112 bytes is also supported.
1.2 Benefits of Ultra2 SCSI
Ultra2 SCSI is an extension of the SPI-2 draft standard that allows faster
synchronous SCSI transfer rates. It also defines a new physical layer,
LVD SCSI, that provides an incremental evolution from SCSI-2 and Ultra
SCSI. When enabled, Ultra2 SCSI performs 40 megatransfers per
second, resulting in approximately twice the synchronous transfer rates
of Ultra SCSI. The LSI53C895A can perform 16-bit, Ultra2 SCSI
synchronous transfers as fast as 80 Mbytes/s. This advantage is most
noticeable in heavily loaded systems or with applications with large block
requirements, such as video on-demand and image processing.
An advantage of Ultra2 SCSI is that it significantly improves SCSI
bandwidth while preserving existing hardware and software investments.
The primary software changes required enable the chip to perform
synchronous negotiations for Ultra2 SCSI rates and to enable the clock
quadrupler. Ultra2 SCSI uses the same connectors as Ultra SCSI, but
can operate with longer cables and more devices on the bus.
Chapter 2, “Functional Description,” contains more information on
migrating an Ultra SCSI design to support Ultra2 SCSI.
1.3 Benefits of LVDlink
The LSI53C895A supports LVD for SCSI. This signaling technology
increases the reliability of SCSI data transfers over longer distances than
are supported by SE SCSI. The low current output of LVD allows the I/O
transceivers to be integrated directly onto the chip. LVD provides the
reliability of HVD SCSI without the added cost of external differential
1-4General Description
transceivers. Ultra2 SCSI with LVD allows a longer SCSI cable and more
devices on the bus, with the same cables defined in the SCSI-3 Parallel
Interface standard for Ultra SCSI. LVD provides a long-term migration
path to even faster SCSI transfer rates without compromising signal
integrity , cable length, or connectivity.
For backward compatibility to existing SE devices, the LSI53C895A
features universal LVDlink transceivers that can support LVD SCSI, SE,
and HVD modes. The LVDlink technology also supports HVD signaling
in legacy systems when external transceivers are connected to the
LSI53C895A. This allows use of the LSI53C895A in both legacy and
Ultra2 SCSI applications.
1.4 TolerANT®Technology
The LSI53C895A 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.
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. When used with the LVDlink transceivers, TolerANT
technology provides excellent signal quality and data reliability in real
world cabling environments.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.5 LSI53C895A Benefits Summary
This section of the chapter provides an overview of the LSI53C895A
features and benefits. It contains these topics:
–Support SE, LVD, and HVD signals (with external transceivers).
–Allow greater device connectivity and longer cable length.
–Save the cost of external differential transceivers.
–Support a long-term performance migration path.
•Bursts up to 512 bytes across the PCI bus through its 944 byte FIFO.
•Performs wide, Ultra2 SCSI synchronous transfers as fast as
80 Mbytes/s.
•Can handle phase mismatches in SCRIPTS without interrupting the
system processor, eliminating the need for CPU intervention during
an I/O disconnect/reselect sequence.
•Achieve Ultra2 SCSI transfer rates with an input frequency of 40 MHz
with the on-chip SCSI clock quadrupler .
•Includes 8 Kbytes internal RAM for SCRIPTS instruction storage.
•Has 31 levels of SCSI synchronous offset.
•Supports variable block size and scatter/gather data transfers.
1-6General Description
•Performs sustained memory-to-memory DMA transfers to
approximately 100 Mbytes/s.
•Minimizes SCSI I/O start latency.
•Performs complex bus sequences without interrupts, including
restoring data pointers.
•Reduces ISR overhead through a unique interrupt status reporting
method.
•Uses Load/Store SCRIPTS instructions which increase performance
of data transfers to and from the chip registers without using PCI
cycles.
•Has SCRIPTS support for 64-bit addressing.
•Supports multithreaded I/O algorithms in SCSI SCRIPTS with fast
I/O context switching.
•Supports additional arithmetic capability with the Expanded Register
Move instruction.
1.5.2 PCI Performance
To improve PCI performance, the LSI53C895A:
•Complies with PCI 2.2 specification.
•Supports 32-bit 33 MHz PCI interface with 64-bit addressing.
•Supports dual address cycles which can be generated for all
SCRIPTS for > 4 Gbyte addressability.
•Bursts 2, 4, 8, 16, 32, 64, or 128 Dword transfers across the 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.
•Perf orms 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.
•Complies with PCI Bus Power Management Specification
Revision 1.1.
LSI53C895A Benefits Summary1-7
1.5.3 Integration
Features of the LSI53C895A which ease integration include:
•High-perfor mance SCSI core.
•Integrated LVD transceivers.
•Full 32-bit PCI DMA bus master.
•Integrated SCRIPTS processor.
•Memory-to-Memory Move instructions allow use as a third-party PCI
1.5.4 Ease of Use
The LSI53C895A provides:
•Easy, drop-in replacement for the LSI53C895.
•Up to one megabyte of add-in memory support for BIOS and
•Reduced SCSI development effort.
•Compiler-compatible with existing LSI53C7XX and LSI53C8XX
bus DMA controller.
SCRIPTS storage.
family SCRIPTS.
•Direct connection to PCI and SCSI SE, LVD and HVD (needs
external transceivers).
•Development tools and sample SCSI SCRIPTS available.
•Nine GPIO pins.
•Maskable and pollable interrupts.
•Wide SCSI, A or P cable, and up to 15 devices supported.
•Three programmable SCSI timers: Select/Reselect,
Handshake-to-Handshake, and General Purpose. The time-out
period is programmable from 100
•Software for PC-based operating system support.
•Support for relative jumps.
•SCSI Selected as ID bits for responding with multiple IDs.
1-8General Description
µs to greater than 25.6 seconds.
1.5.5 Flexibility
The LSI53C895A provides:
•Universal LVD transceiversare backward compatible with SE or HVD
devices.
•High le vel programming interface (SCSI SCRIPTS).
•Ability to program local and bus flash memory.
•Selectable 112 or 944 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 quadrupler bits enable Ultra2 SCSI transfer rates with a
40 MHz SCSI clock input.
1.5.6 Reliability
•Selectable IRQ pin disable bit.
•Ability to route system clock to SCSI clock.
•Compatible with 3.3 V and 5 V PCI.
Enhanced reliability features of the LSI53C895A include:
•2 kV ESD protection on SCSI signals.
•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).
•High proportion (> 25%) of device pins are power or ground.
LSI53C895A Benefits Summary1-9
1.5.7 Testability
•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.
The LSI53C895A provides improved testability through:
•Access to all SCSI signals through programmed I/O.
The LSI53C895A PCI to Ultra2 SCSI Controller is composed of the
following modules:
•32-bit PCI Interface with 64-bit addressing
•PCI-to-Wide Ultra2 SCSI Controller
•ROM/Flash Memory Controller
•Serial EEPROM Controller
Figure 2.1 illustrates the relationship between these modules.
LSI53C895A PCI to Ultra2 SCSI Controller2-1
Figure 2 .1LSI53C895A Block Diagram
PCI Bus
32-Bit PCI Interface, PCI Configuration Register
Wide Ultra2 SCSI Controller
8Kbyte
SCRIPTS RAM
8 Dword SCRIPTS
Prefetch Buffer
944 byte
DMA FIFO
SCSI FIFO and S C SI Control Block
JTAG
JTAG BusWide Ultra2 S CSI
Processor
SCSI SCRIPTS
Universal TolerANT
Drivers and Receivers
Bus
Operating
2.1 PCI Functional Description
The LSI53C895A implements a PCI-to-Wide Ultra2 SCSI controller.
2.1.1 PCI Addressing
There are three physical PCI-defined address spaces:
•PCI Configuration space.
Registers
ROM/Flash Memory Control
Local
Memory
Bus
ROM/Flash
Memory
Bus
and Autoconfiguration
Serial EEPROM Controller
2-Wire Serial
EEPROM
Bus
•I/O space for operating registers.
•Memory space for operating registers.
2-2Functional Description
2.1.1.1 Configuration Space
The host processor uses the PCI configuration space to initialize the
LSI53C895A through a defined set of configuration space registers. The
Configuration registers are accessible only by system BIOS during PCI
configuration cycles. The configuration space is a contiguous
256 X 8-bit set of addresses. Decoding C_BE[3:0]/ determines if a PCI
cycle is intended to access the configuration register space. The IDSEL
bus signal is a “chip select” that allows access to the configuration
register space only. A configuration read/write cycle without IDSEL is
ignored. The eight lower order address bits, AD[7:0], select a specific
8-bit register. AD[10:8] are decoded as well, but they must be zero or the
LSI53C895A does not respond. According to the PCI specification,
AD[10:8] are reserved for multifunction devices.
At initialization time, each PCI device is assigned a base address for I/O
and memory accesses. In the case of the LSI53C895A, the upper 24 bits
of the address are selected. On every access, the LSI53C895A
compares its assigned base addresses with the value on the
Address/Data bus during the PCI address phase. If the upper 24 bits
match, the access is for the LSI53C895A and the low-order eight bits
define the register being accessed. A decode of C_BE[3:0]/ determines
which registers and what type of access is to be performed.
2.1.1.2 I/O Space
The PCI specification defines I/O space as a contiguous
32-bit I/O address that is shared by all system resources, including the
LSI53C895A. Base Address Register Zero (I/O) determines which
256-byte I/O area this device occupies.
2.1.1.3 Memory Space
The PCI specification defines memory space as a contiguous 64-bit
memory address that is shared by all system resources, including the
LSI53C895A. Base Address Register One (MEMORY) determines which
1 Kbyte memory area this device occupies. Base Address Register Two
(SCRIPTS RAM) determines the 8 Kbyte memory area occupied by
SCRIPTS RAM.
PCI Functional Description2-3
2.1.2 PCI Bus Commands and Functions Supported
Bus commands indicate to the target the type of transaction the master
is requesting. Bus commands are encoded on the C_BE[3:0]/ lines
during the address phase. PCI bus commands and encoding types
appear in Table 2.1.
Table 2.1PCI Bus Commands and Encoding Types for the LSI53C895A
C_BE[3:0]/ Command TypeSupported as MasterSupported as Slave