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-000159-00, Fourth Edition (January 2001)
This document describes the LSI Logic LSI53C825A/AE PCI to 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
LSI53C825A/825AE PCI to SCSI I/O Processor. It contains a complete
functional description for the LSI53C825A/825AE and includes complete
physical and electrical specifications for the LSI53C825A/825AE.
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, Introduction, includes general information about the
LSI53C825A 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, Signal Descriptions, describes the chip’s connection to
the PCI bus, including the PCI commands and configuration registers
supported.
•Chapter 4, Registers, contains the pin diagrams and definitions of
each signal.
•Chapter 5, SCSI SCRIPTS Instruction Set, describes each bit in the
operating registers, organized by address.
Prefaceiii
•Chapter 6, Specifications, defines all of the SCSI SCRIPTS
•Appendix A, Register Summary, contains 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 (
Parallel Interface
instructions that are supported by the LSI53C825A.
contains several example interface drawings to connect the
LSI53C825A to an external ROM.
SCSI-3
)
ENDL Publications
14426 Black Walnut Court
Saratoga, CA 95070
(408) 867-6642
Document names:
Tutor
Prentice Hall
113 Sylvan Avenue
Englewood Cliffs, NJ 07632
(800) 947-7700
Ask for document number ISBN 0-13-796855-8,
the Small Computer System Interface
LSI Logic World Wide Web Home Page
www.lsilogic.com
ivPreface
SCSI Bench Reference, SCSI Encyclopedia, SCSI
SCSI: Understanding
SCSI SCRIPTS™ Processors Programming Guide
Order Number S15044.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
, Version 2.2,
The word
deassert
assert
means to drive a signal true or active. The word
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
3.012/97Revision 3.0
3.11/01Product names changed from SYM to LSI.
Prefacev
viPreface
Contents
Chapter 1Introduction
1.1General Description1-1
1.2Package and Feature Options1-2
1.2.1PCI Pad Power-up Sequence1-3
1.3TolerANT®Technology1-3
1.4LSI53C825A Benefits Summary1-4
1.4.1SCSI Performance1-4
1.4.2PCI Performance1-5
1.4.3Integration1-6
1.4.4Ease of Use1-6
1.4.5Flexibility1-7
1.4.6Reliability1-7
1.4.7Testability1-8
Chapter 2Functional Description
2.1PCI Addressing2-1
2.1.1Configuration Space2-1
2.1.2PCI Bus Commands and Functions Supported2-2
2.1.3PCI Cache Mode2-4
2.2SCSI Functional Description2-10
2.2.1SCSI Core2-10
2.2.2DMA Core2-11
2.2.3SCRIPTS Processor2-11
2.2.4Internal SCRIPTS RAM2-11
2.2.5SDMS: The Total SCSI Solution2-12
2.2.6Prefetching SCRIPTS Instructions2-13
2.2.7Opcode Fetch Burst Capability2-14
2.3External Memory Interface2-14
2.4PCI Cache Mode2-17
Contentsvii
2.4.1Load and Store Instructions2-17
2.4.23.3 V/5 V PCI Interface2-17
2.4.3Additional Access to General Purpose Pins2-17
2.4.4JTAG Boundary Scan Testing2-18
2.4.5Big and Little Endian Support2-19
2.4.6Loopback Mode2-20
2.4.7Parity Options2-21
2.4.8DMA FIFO2-23
2.4.9SCSI Bus Interface2-27
2.4.10Select/Reselect During Selection/Reselection2-33
This chapter includes general information about the LSI53C825A and
other members of the LSI53C8XX family of PCI to SCSI I/O Processors
and contains the following sections:
•Section 1.1, “General Description”
•Section 1.2, “Package and Feature Options”
•Section 1.3, “TolerANT
•Section 1.4, “LSI53C825A Benefits Summary”
1.1General Description
This manual combines information on the LSI53C825A and
LSI53C825AE, which are PCI to SCSI I/O Processors. The
LSI53C825AE is a minor modification of the existing LSI53C825A
product. It has all the functionality of the LSI53C825A with the addition
of features to enable it to comply with the Microsoft PC 97 Hardware
Design Guide. Specifically, the LSI53C825AE has a Power Management
Support enhancement. Because there are only slight differences
between them, the LSI53C825A and LSI53C825AE are referred to as
LSI53C825A throughout this technical manual. Only the new
enhancements are referred to as LSI53C825AE.
®
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 LSI53C825A PCI to SCSI I/O Processor brings high-performance
I/O solutions to host adapter, workstation, and general computer designs,
making it easy to add SCSI to any PCI system. It provides a local
LSI53C825A/825AE PCI to SCSI I/O Processor1-1
memory bus for local storage of the device’s BIOS ROM in flash memory
or standard EPROMs. The LSI53C825A supports big and little endian
byte addressing to accommodate a variety of data configurations. The
LSI53C825A supports programming of local FLASH memory for updates
to BIOS or SCRIPTS™ programs.
The LSI53C825A is a pin-for-pin replacement for the LSI53C825 PCI to
SCSI I/O processor, although some software enhancements are needed
to take advantage of the features in the LSI53C825A. The LSI53C825A
performs fast 8-bit or 16-bit SCSI transfers in Single-Ended (SE) or
differential mode, and improves performance by optimizing PCI bus
utilization.
The LSI53C825A 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 future 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 LSI53C825A is fully supported by the LSI Logic Storage Device
Management System (SDMS™), a software package that supports the
Advanced SCSI Protocol Interface(ASPI)andtheANSICommonAccess
Method (CAM). SDMS provides BIOS and driver support for hard disk,
tape, removable media products, and CD-ROM under the major PC
operating systems.
1.2Package and Feature Options
The LSI53C825A is packaged in a 160-pin plastic quad flat pack. The
device is also available, as the LSI53C825AJ, 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
devices that have been upgraded to include the power management
features are the LSI53C825AE and LSI53C825AJE.
1-2Introduction
1.2.1 PCI Pad Power-up Sequence
This power-up sequence should be followed when separate power
supplies are being applied to the VDD-IO and VDD-CORE pins in a chip
testing environment. Following this recommended power-up sequence
helps prevent potential damage to these devices.
1.2.1.1 Description of the Issue
The Universal PCI pad input receiver in this cell library has all devices in
a common N well attached to the 5 V core VDD supply. The P channel
is powered from the VDD PCI supply.
In the event that the I/O VDD PCI supply goes high prior to the core VDD
supply, the parasitic diode between the P channel source and the N well
of the device can become forward biased. This creates an excessive
current flow between the two nodes, and it causes damage to the device.
1.2.1.2 Solution for the Issue
In most system applications and production environments, the two VDD
pins power-up simultaneously. The user should know of this potential
hazard if using separate power supplies in a testing environment.
Either power-up the Core and I/O VDD PCI simultaneously, or if this is
not possible, power-up the Core VDD before powering up the I/O VDD
PCI supply.
Note that a power-down situation can have the same effect. The I/O must
always power-down prior to the Core.
1.3TolerANT®Technology
The LSI53C825A features TolerANT technology, which includes active
negation on the SCSI drivers and input signal filtering on the SCSI
receivers. Active negation drives the SCSI Request, Acknowledge, Data,
and Parity signals HIGH rather than passively pulled up by terminators.
Active negation is enabled by setting bit 7 in the SCSI Test Three
(STEST3) register.
TolerANT®Technology1-3
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 input signal filtering is a built-in feature of the
LSI53C825A and all LSI Logic fast SCSI devices. On the LSI53C825A,
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 improvedfast 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.
1.4LSI53C825A Benefits Summary
This section provides an overview of the LSI53C825A 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 LSI53C825A:
•Includes 4 Kbyte internal RAM for SCRIPTS instruction storage
•SCSI synchronous offset increased 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
1-4Introduction
•Reduces ISR overhead through a unique interrupt status reporting
method
•Performs fast and wide SCSI bus transfers in SE and differential
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 (SSAID) for responding with multiple IDs
1-6Introduction
1.4.5 Flexibility
The LSI53C825A contains these flexibility features:
•High level programming interface (SCSI SCRIPTS)
•Programs local memory bus Flash memory
•Big/little endian support
•Selectable 88-byte 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
•Selectable IRQ pins disable bit
•32 additional scratch pad registers
•Ability to route system clock to SCSI clock
1.4.6 Reliability
The LSI53C825A contains these reliability features:
•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)
•25% of pins are power and ground
•Power and ground isolation of I/O pads and internal chip logic
LSI53C825A Benefits Summary1-7
1.4.7 Testability
•TolerANT technology 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 (LSI53C825AJ only)
The LSI53C825A contains these testability features:
•All SCSI signals accessible 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 (LSI53C825AJ only)
A system diagram showing the connections of the LSI53C825A with an
external ROM or Flash memory is pictured in Figure 1.1. A block diagram
of the LSI53C825A is pictured in Figure 1.2.
1-8Introduction
Figure 1.1LSI53C825A External Memory Interface
PCI Bus
SCSI Bus
GPIO4
MWE/
MOE/
MCE/
MAD[7:0]
MAS0/
LSI53C825A
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]
LSI53C825A Benefits Summary1-9
Figure 1.2LSI53C825A 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
1-10Introduction
Chapter 2
Functional Description
Chapter 2 is divided into the following sections:
•Section 2.1, “PCI Addressing”
•Section 2.2, “SCSI Functional Description”
•Section 2.3, “External Memory Interface”
•Section 2.4, “PCI Cache Mode”
•Section 2.5, “Power Management”
2.1PCI Addressing
There are three physical PCI-defined address spaces:
•PCI Configuration Space
•I/O Space
•Memory Space
2.1.1 Configuration Space
Configuration space is a contiguous 256 x 8-bit set of addresses
dedicated to each “slot” or “stub” on the bus. Decoding C_BE/[3:0]
determines if a PCI cycle is intended to access 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 addresses are used to select a
specific 8-bit register. AD[10:8] are decoded as well, but they must be
zero or the LSI53C825A does not respond. According to the PCI
specification, AD[10:8] are to be used for multifunction devices. The host
processor uses the PCI configuration space to initialize the LSI53C825A.
LSI53C825A/825AE PCI to SCSI I/O Processor2-1
The lower 128 bytes of the LSI53C825A configuration space hold system
parameters while the upper 128 bytes map into the LSI53C825A
operating registers. For all PCI cycles except configuration cycles, the
LSI53C825A registers are located on the 256-byte block boundary
defined by the base address assigned through the configured register.
The LSI53C825A operating registers are available in both the upper and
lower 128-byte portions of the 256-byte space selected.
At initialization time, each PCI device is assigned a base address (in the
case of the LSI53C825A, the upper 24 bits of the address are selected)
for memory accesses and I/O accesses. On every access, the
LSI53C825A 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 LSI53C825A and the low-order eight bits
define the register to be accessed. A decode of C_BE/ [3:0] determines
which registers and what type of access is to be performed.
I/O Space – PCI defines memory space as a contiguous 32-bit memory
address that is shared by all system resources, including the
LSI53C825A. Base Address One (Memory) determines which 256-byte
memory area this device will occupy.
Memory Space – PCI defines I/O space as a contiguous 32-bit I/O
address that is shared by all system resources, including the
LSI53C825A. Base Address Zero (I/O) determines which 256-byte I/O
area this device will occupy.
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 command encoding and types appear
in Table 2.1.
2-2Functional Description
Table 2.1PCI Bus Commands and Encoding Types
C_BE[3:0] Command TypeSupported as Master Supported as Slave
No (defaults to 0110)
1101Dual Address CycleNoNo
1110Memory Read LineYes
1111Memory Write and InvalidateYes
1. This operation is selectable by bit 2 in the DMA Mode (DMODE) operating register.
2. This operation is selectable by bit 3 in the DMA Mode (DMODE) operating register.
3. This operation is selectable by bit 0 in the Chip Test Three (CTEST3) operating register.
2
3
No (defaults to 0110)
No (defaults to 0111)
2.1.2.1 I/O Read Command
The I/O Read command reads data from an agent mapped in I/O
address space. All 32 address bits are decoded.
2.1.2.2 I/O Write Command
The I/O Write command writes data to an agent when mapped in I/O
address space. All 32 address bits are decoded.
PCI Addressing2-3
2.1.2.3 Memory Read Command
The Memory Read command reads data from an agent mapped in
memory address space. All 32 address bits are decoded.
2.1.2.4 Memory Write Command
The Memory Write command writes data to an agent when mapped in
memory address space. All 32 address bits are decoded.
2.1.2.5 Memory Read Multiple Command
The Memory Read Multiple command reads data from an agent mapped
in memory address space. All 32 address bits are decoded.
2.1.2.6 Memory Read Line Command
The Memory Read Line command reads data from an agent mapped in
memory address space. All 32 address bits are decoded.
2.1.2.7 Memory Write and Invalidate Command
The Memory Write and Invalidate command writes data to an agent
when mapped in memory address space. All 32 address bits are
decoded.
2.1.3 PCI Cache Mode
The LSI53C825A supports the PCI specification for an 8-bit Cache Line
Size register located in PCI configuration space. The Cache Line Size
register provides the ability to sense and react to nonaligned addresses
corresponding to cache line boundaries. In conjunction with the Cache
Line Size register, the PCI commands Read Line, Read Multiple, and
Write and Invalidate are each software enabled or disabled to allow the
user full flexibility in using these commands.
2.1.3.1 Support for PCI Cache Line Size Register
The LSI53C825A supports the PCI specification for an 8-bit Cache Line
Size register in PCI configuration space. It can sense and react to
nonaligned addresses corresponding to cache line boundaries.
2-4Functional Description
2.1.3.2 Selection of Cache Line Size
The cache logic selects a cache line size based on the values for the
burst size in the DMA Mode (DMODE) register, bit 2 in the Chip Test Five
(CTEST5) register, and the PCI Cache Line Size register.
Note:The LSI53C825A does not automatically use the value in
the PCI Cache Line Size register as the cache line size
value. The chip scales the value of the Cache Line Size
register down to the nearest binary burst size allowed by
the chip (2, 4, 8, 16, 32, 64, or 128), compares this value
to the burst size defined by the values of the DMA Mode
(DMODE) register and bit 2 of the Chip TestFive (CTEST5)
register, then selects the smallest as the value for the
cache line size. The LSI53C825A uses this value for all
burst data transfers.
2.1.3.3 Alignment
The LSI53C825A uses the calculated line size value to monitor the
current address for alignment to the cache line size. When it is not
aligned, the chip attempts to align to the cache boundary by using a
“smart aligning” scheme. This means that it attempts to use the largest
burst size possible that is less than the cache line size, to reach the
cache boundary quickly with no overflow. This process is a stepping
mechanism that steps up to the highest possible burst size based on the
current address.
The stepping process begins at a 4 Dword boundary. The LSI53C825A
will first try to align to a 4 Dword boundary (0x00, 0x010, 0x020, etc.) by
using single Dword transfers (no bursting). Once this boundary is
reached the chip evaluates the current alignment to various burst sizes
allowed, and selects the largest possible as the next burst size, while not
exceeding the cache line size. The chip then issues this burst, and
reevaluates the alignment to various burst sizes, again selecting the
largest possible while not exceeding the cache line size, as the next burst
size. This stepping process continues until the chip reaches the cache
line size boundary or runs out of data. Once a cache line boundary is
reached, the chip uses the cache line size as the burst size from then
on, except in the case of multiples (explained below). The alignment
process is finished at this point.
PCI Addressing2-5
Example: Cache Line Size - 16, Current Address = 0x01 – The chip
is not aligned to a 4 Dword cache boundary (the stepping threshold), so
it issues four single Dword transfers (the first is a 3-byte transfer). At
address 0x10, the chip is aligned to a 4 Dword boundary, but not aligned
to any higher burst size boundaries that are less than the cache line size.
So, the part issues a burst of 4. At this point, the address is 0x20, and
the chip evaluates that it is aligned not only toa4Dwordboundary, but
also to an 8 Dword boundary. It selects the highest, 8, and burst
8 Dwords. At this point, the address is 0x40, which is a cache line size
boundary. Alignment stops, and the burst size from then on is switched
to 16.
2.1.3.4 Memory Move Misalignment
The LSI53C825A does not operate in a cache alignment mode when a
Memory Move instruction type is issued and the read and write
addresses are different distances from the nearest cache line boundary.
For example, if the read address is 0x21F and the write address is 0x42F,
and the cache line size is 8, the addresses are byte aligned, but they are
not the same distance from the nearest cache boundary. The read
address is 1 byte from the cache boundary 0x220 and the write address
is 17 bytes from the cache boundary 0x440. In this situation, the chip
does not align to cache boundaries and operates as a LSI53C825.
2.1.3.5 Memory Write and Invalidate Command
The Memory Write and Invalidate command is identical to the Memory
Write command, except that it additionally guarantees a minimum
transfer of one complete cache line; that is to say, the master intends to
write all bytes within the addressed cache line in a single PCI transaction
unless interrupted by the target. This command requires implementation
of the PCI Cache Line Size register at address 0x0C in PCI configuration
space. The LSI53C825A enables Memory Write and Invalidate cycles
when bit 0 in the Chip Test Three (CTEST3) register (WRIE) and bit 4 in
the PCI Command register are set. When the following conditions are
met, Memory Write and Invalidate commands are issued:
•The CLSE bit, WRIE bit, and PCI configuration Command register,
bit 4 are set.
2-6Functional Description
Loading...
+ 276 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.