LSI53C1020/1020A
PCI-X to Ultra320
SCSI Controller
February 2004
Version 2.4
®
DB14-000176-06
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-000176-06, Version 2.4 (February 2004)
This document describes LSI Logic Corporation’s LSI53C1020 and
LSI53C1020A PCI-X to Ultra320 SCSI Controllers and will remain the official
reference source for all revisions/releases of these products until rescinded by an
update.
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.
LSI Logic, the LSI Logic logo design, Fusion-MPT, Integrated Mirroring,
Integrated RAID, Integrated Striping, LVDlink, SDMS, SureLINK, and TolerANT
are trademarks or registered trademarks of LSI Logic Corporation. ARM,
ARM966E-S, and Multi-ICE are trademarks or registered trademarks of ARM
Ltd., used under license. Windows is a registered trademarks of Microsoft
Corporation. NetWare is a registered trademarks of Novell Corporation. Linux is
a registered trademark of Linus Torvalds. Solaris is a trademark of Sun
Microsystems, Inc. SCO OpenServer is a trademark of Caldera International, Inc.
UnixWare is a trademark of The Open Group. All other brand and product names
may be trademarks of their respective companies.
KL
To receive product literature, visit us at http://www.lsilogic.com.
For a current list of our distributors, sales offices, and design resource
This book is the primary reference and technical manual for the
LSI53C1020/1020A PCI-X to Ultra320 SCSI Controller. It contains a
functional description and electrical specifications for the
LSI53C1020/1020A.
This document assumes that you have some familiarity with
microprocessors and related support devices. The people who benefit
from this book are:
Organization
•Engineers and managers who are evaluating the LSI53C1020/1020A
for use in a system
•Engineers who are designing the LSI53C1020/1020A into a system
This document has the following chapters and appendix:
•Chapter 1, Introduction, provides an overview of the
LSI53C1020/1020A features and capabilities.
•Chapter 2, Functional Description, provides a detailed functional
description of the LSI53C1020/1020A operation. This chapter
describes how the LSI53C1020/1020A implements the PCI/PCI-X
and SCSI bus specifications.
•Chapter 3, Signal Description, provides detailed descriptions of all
LSI53C1020/1020A signals.
•Chapter 4, PCI Host Register Description, provides a bit level
description of the LSI53C1020/1020A host register set.
LSI53C1020/1020A PCI-X to Ultra320 SCSI Controller Technical Manualiii
The first time a word or phrase is defined in this manual, it is italicized.
The word assert means to drive a signal true or active. The word
deassert means to drive a signal false or inactive. Signals that are active
LOW end with a “/.”
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 History
RevisionDateRemarks
v2.42/2004Corrected PCI support information and package/pin compatibility information
in Chapter 1.
v2.32/2004Added 384-pin entries to signal description tables in Chapter 3.
Corrected and updated pin/signal names and ball assignments throughout
the document. Verified that this data is now consistent for the 384-pin and
456-pin packages.
Added a statement that LSI53C1020A controller supports v2.3 of the PCI
spec.
Added descriptions of the Interrupt Disable and Interrupt Status bits to the
PCI Command Register and PCI Status Register sections in Chapter 4 and
noted that the LSI53C1020A controller supports these functions.
Deleted this sentence from section 2.7: “LSI53C1020 based designs do not
use the M66EN pin to determine the PCI bus speed.” (The sentence was not
relevant, since the chip has no M66EN pin.)
Made this correction in description of Diagnostic Read/Write Address register: “The address increments by a dword whenever the host system
accesses the Diagnostic Read/Write
Data register.”
v2.212/2003 Updated references to Integrated RAID throughout the document.
Corrected SCSI clock, SCLK LOW, and SCLK HIGH timings in Table 5.13.
Added pinout information for 448 EPBGA and 384 EPBGA packages of the
LSI53C1020A chip. Edited descriptions of Request Queue and Reply Queue
registers (formerly called “Request FIFO” and “Reply FIFO,” respectively).
v2.16/2003Updated the external memory timing diagrams.
Updated the default Subsystem ID value.
Updated the ZCR behavior description.
Updated the Multi-ICE test interface description.
Updated the electrical characteristics.
Updated the Index.
Prelim v1.02/2002Updated the description of Fusion-MPT architecture in Chapter 1.
Updated the External Memory Interface descriptions in Chapter 2.
Added the Test Interface description to Chapter 2.
Added the Zero Channel RAID interface description to Chapters 2 and 3.
Updated the MAD Power-On Sense pin description in Chapter 3.
Updated the signal descriptions and lists to include the ZCR-related pins.
Updated the electrical and environmental characteristics in Chapter 5.
Removed SE SCSI electrical/timing characteristics figures from Chapter 5.
Removed SCSI timing information from Chapter 5 and referred readers to
the SCSI spec.
Removed the PSBRAM interface and all related information.
Cache Line Size4-8
Latency Timer4-8
Header Type4-9
I/O Base Address4-9
Memory [0] Low4-10
Memory [0] High4-10
Memory [1] Low4-11
Memory [1] High4-11
Subsystem Vendor ID4-13
Subsystem ID4-14
Expansion ROM Base Address4-15
Capabilities Pointer4-16
Interrupt Line4-17
Interrupt Pin4-17
Minimum Grant4-18
Maximum Latency4-18
Power Management Capability ID4-19
Power Management Next Pointer4-19
Power Management Capabilities4-20
Power Management Control/Status4-21
Power Management Bridge Support Extensions4-22
Power Management Data4-22
MSI Capability ID4-22
MSI Next Pointer4-23
Message Control4-23
Message Address4-25
Message Upper Address4-25
Message Data4-26
PCI-X Capability ID4-26
PCI-X Next Pointer4-27
PCI-X Command4-27
PCI-X Status4-29
4.2I/O Space and Memory Space Register Descriptions4-32
System Doorbell4-34
Write Sequence4-35
Host Diagnostic4-36
Test Base Address4-37
Diagnostic Read/Write Data4-38
This chapter provides a general overview of the LSI53C1020/1020A
PCI-X to Ultra320 SCSI Controller. This chapter contains the following
sections:
•Section 1.1, “General Description”
•Section 1.2, “Benefits of the Fusion-MPT Architecture”
•Section 1.3, “Benefits of PCI-X”
•Section 1.4, “Benefits of Ultra320 SCSI”
•Section 1.5, “Benefits of SureLINK (Ultra320 SCSI Domain
Validation)”
•Section 1.6, “Benefits of LVDlink Technology”
•Section 1.7, “Benefits of TolerANT® Technology”
•Section 1.8, “Summary of LSI53C1020 Features”
1.1General Description
The LSI53C1020/1020A PCI-X to Single Channel Ultra320 SCSI
Controllers bring Ultra320 SCSI performance to host adapter,
workstation, and server designs, making it easy to add a highperformance SCSI bus to any PCI or PCI-X system.
The LSI53C1020 SCSI controller is available in a 456-pin BGA package.
The LSI53C1020A SCSI controller is available in a 448-pin BGA package
that is pin-compatible with the LSI53C1020 controller and also in a
smaller 384-pin BGA package.
LSI53C1020/1020A PCI-X to Ultra320 SCSI Controller Technical Manual1-1
The LSI53C1020 controller and the 448-pin BGA package of the
LSI53C1020A controller are pin compatible with the LSI53C1000R PCI
to Ultra160 SCSI Controller, to provide an easy and safe migration path
to Ultra320 SCSI. The LSI53C1020/1020A supports up to a 64-bit, 133
MHz PCI-X bus. The Ultra320 SCSI features for the LSI53C1020/1020A
include: double transition (DT) clocking, packetized protocol, paced
transfers, quick arbitrate and select (QAS), skew compensation,
intersymbol interference (ISI) compensation, cyclic redundancy check
(CRC), and domain validation technology. These features comply with
the American National Standard Institute (ANSI) T10 SCSI Parallel
Interface-4 (SPI-4) draft specification.
DT clocking enables the LSI53C1020/1020A to achieve data transfer
rates of up to 320 megabytes per second (Mbytes/s). Packetizedprotocol
increases data transfer capabilities with SCSI information units. QAS
minimizes SCSI bus latency by allowing the bus to directly enter the
arbitration/selection bus phase after a SCSI disconnect and skip the busfree phase. Skew compensation permits the LSI53C1020/1020A to
adjust for cable and bus skew on a per-device basis. Paced transfers
enable high-speed data transfers during DT data phases by using the
REQ/ACK transition as a free-running data clock. Precompensation
enables the LSI53C1020/1020A to adjust the signal drive strength to
compensate for the charge present on the cable. CRC improves the
SCSI data transmission integrity through enhanced detection of
communication errors. SureLINK™ Domain Validation detects the SCSI
bus configuration and adjusts the SCSI transfer rate to optimize bus
interoperability and SCSI data transfer rates. SureLINK Domain
Validation provides three levels of domain validation, assuring robust
system operation.
The LSI53C1020/1020A supports a local memory bus, which supports a
standard serial EEPROM and allows local storage of the BIOS in Flash
ROM memory. The LSI53C1020/1020A supports programming of local
Flash ROM memory for BIOS updates. Figure 1.1 shows a typical
LSI53C1020/1020A board application connected to external ROM
memory.
Note:In the rest of this document, LSI53C1020 refers to both the
LSI53C1020 SCSI controller and the LSI53C1020A SCSI
controller, unless specifically noted. Chapter 5 includes
pinout diagrams and mechanical drawings for both of these
SCSI controllers.
Figure 1.1Typical LSI53C1020 Board Application
Memory Control
Block
68-PinWide SCSI
Connector
and
Terminator
Memory
Address/Data
Bus
Serial Data
Serial Clock
Flash ROM
NVSRAM
Serial EEPROM
SCSI Signals
LSI53C1020
64-Bit, 133 MHz
PCI-X to
Ultra320 SCSI
Controller
PCI-X Interface
The LSI53C1020 integrates a high-performance Ultra320 SCSI core and
a 64-bit, 133 MHz PCI-X bus master direct memory access (DMA) core.
The LSI53C1020 employs two ARM966E-S
™
processors to meet the
data transfer flexibility requirements of the Ultra320 SCSI, PCI, and PCIX specifications. Separate ARM®processors support the SCSI channel
and the PCI/PCI-X interface.
These processors implement the Fusion-MPT™ architecture, a
multithreaded I/O algorithm that supports data transfers between the host
system and SCSI devices with minimal host processor intervention.
Fusion-MPT technology provides an efficient architecture that solves the
protocol overhead problems of previous intelligent and nonintelligent
adapter designs.
LVDlink™ technology is the LSI Logic implementation of Low Voltage
Differential (LVD) SCSI. LVDlink transceivers allow the LSI53C1020 to
perform either Single-Ended (SE) or LVD transfers. Figure 1.2 illustrates
a typical LSI53C1020 system application.
The LSI53C1020 supports the Integrated RAID™ solution. The
Integrated RAID solution provides cost benefits for the server or
workstation market where the extra performance, storage capacity,
and/or redundancy of a RAID configuration are required. The two
components of the Integrated RAID solution are:
•Integrated Mirroring™ (IM), which provides features of RAID 1 and
RAID 1E. The Integrated Mirroring feature provides physical
mirroring of the boot volume through LSI53C1020 firmware. This
feature provides extra reliability for the system’s boot volume without
burdening the host CPU. The runtime mirroring of the boot drive is
transparent to the BIOS, drivers, and operating system.
•Integrated Striping™ (IS), which provides features of RAID 0. The
IS feature writes data across multiple disks instead of onto one disk.
This is accomplished by partitioning each disk’s storage space into
64 Kbyte stripes. These stripes are interleaved round-robin, so that
the combined storage space is composed alternately of stripes from
each disk.
The Fusion-MPT architecture provides the interface to the SCSI
chip/firmware to enable the Integrated Striping and Integrated Mirroring
features. LSI Logic’s CIM interface software is used to continuously
monitor IM volumes and IS volumes and to report status and error
conditions as they arise.
A BIOS-based configuration utility is provided to create the IM and IS
volumes. A DOS-based configuration utility is also provided for use on
the manufacturing floor.
For more information about the Integrated RAID solution, see the
Integrated RAID User’s Guide, DB15-000292.
1.2Benefits of the Fusion-MPT Architecture
The Fusion-MPT architecture provides an open architecture that is ideal
for SCSI, Fibre Channel, and other emerging interfaces. The I/O interface
is interchangeable at the system and application level; embedded
software uses the same device interface for SCSI and Fibre Channel
implementations, just as application software uses the same storage
management interfaces for SCSI and Fibre Channel implementations.
LSI Logic provides Fusion-MPT device drivers that are binary compatible
between Fibre Channel and Ultra320 SCSI interfaces.
The Fusion-MPT architecture improves overall system performance by
requiring only a thin device driver, which offloads the intensive work of
managing SCSI I/Os from the system processor to the LSI53C1020.
Developed from the proven SDMS™ solution, the Fusion-MPT
architecture delivers unmatched performance of up to 50,000 Ultra320
SCSI I/Os per second with minimal system overhead or device
maintenance. The use of thin, easy-to-develop, common OS device
drivers accelerates time to market by reducing device driver development
and certification times.
The Fusion-MPT architecture provides an interrupt coalescing feature.
Interrupt coalescing allows an I/O controller to send multiple reply
messages in a single interrupt to the host processor. Sending multiple
reply messages per interrupt reduces context switching of the host
processor and maximizes the host processor efficiency, which results in
a significant improvement of system performance. To use the interrupt
coalescing feature, the host processor must be able to accept and
manage multiple replies per interrupt.
The Fusion-MPT architecture also provides built-in device driver stability
because the device driver need not change for each revision of the
LSI53C1020 silicon or firmware. This architecture is a reliable, constant
interface between the host device driver and the LSI53C1020. Changes
within the LSI53C1020 are transparent to the host device driver,
operating system, and user. The Fusion-MPT architecture also saves the
user significant development and maintenance effort because it is not
necessary to alter or redevelop the device driver when a revision of the
LSI53C1020 device or firmware occurs.
1.3Benefits of PCI-X
PCI-X doubles the maximum clock frequency of the conventional PCI
bus. The PCI-X Addendum to the PCI Local Bus Specification,
Revision 1.0a, defines enhancements to the proven PCI Local Bus
Specification, Revision 2.2. PCI-X provides more efficient data transfers
by enabling registered inputs and outputs, improves buffer management
by including transaction information with each data transfer, and reduces
bus overheadby restricting the use of wait states and disconnects. PCI-X
also reduces host processor overhead by providing a wide range of error
recovery implementations.
The LSI53C1020 supports up to a 133 MHz, 64-bit PCI-X bus and is
backward compatible with previous versions of the PCI/PCI-X bus. The
LSI53C1020 includes transaction information with all PCI-X transactions
to enable more efficient buffer management schemes. Each PCI-X
transaction contains a transaction sequence identifier (Tag), the identity
of the initiator, and the number of bytes in the sequence. The
LSI53C1020 clocks PCI-X data directly into and out of registers, which
creates a more efficient data path. The LSI53C1020 increases bus
efficiency because it does not insert wait states after the initial data
phase when acting as a PCI-X target and never inserts wait states when
acting as a PCI-X initiator.
Ultra320 SCSI is an extension of the SPI-4 draft specification that allows
faster synchronous SCSI data transfer rates than Ultra160 SCSI. When
enabled, Ultra320 SCSI performs 160 megatransfers per second,
resulting in approximately double the synchronous data transfer rates of
Ultra160 SCSI. The LSI53C1020 performs 16-bit, Ultra320 SCSI
synchronous data transfers as fast as 320 Mbytes/s. This advantage is
most noticeable in heavily loaded systems or large block size
applications, such as video on-demand and image processing.
Ultra320 SCSI doubles both the data and clock frequencies from
Ultra160 SCSI. Due to the increased data and clock speeds,
Ultra320 SCSI introduces skew compensation and ISI compensation.
These new features simplify system design by resolving timing issues at
the chip level. Skew compensation adjusts for timing differences between
data and clock signals caused by cabling, board traces, and so on. ISI
compensation enhances the first pulse after a change in state to ensure
data integrity.
Ultra320 SCSI includes CRC, which offers higher levels of data reliability
by ensuring complete integrity of transferred data. CRC is a 32-bit
scheme, referred to as CRC-32. CRC guarantees detection of all single
or double bit errors, as well as any combination of bit errors within a
single 32-bit range.
1.5Benefits of SureLINK (Ultra320 SCSI Domain Validation)
SureLINK Domain Validation software ensures robust SCSI interconnect
management and low-risk Ultra320 SCSI implementations by extending
the domain validation guidelines documented in the SPI-4 specifications.
Domain validation verifies that the system is capable of transferring data
at Ultra320 SCSI speeds, allowing the LSI53C1020 to renegotiate to a
lower data transfer speed and bus width if necessary. SureLINK Domain
Validation is the software control for the domain validation manageability
enhancements in the LSI53C1020. SureLINK Domain Validationsoftware
provides domain validation management at boot time as well as during
system operation.
SureLINK Domain Validation provides three levels of integrity checking
on a per-device basis: Basic (Level 1) with inquiry command; Enhanced
(Level 2) with read/write buffer; and Margined (Level 3) with margining
of drive strength and slew rates.
1.6Benefits of LVDlink Technology
The LSI53C1020 supports LVD through LVDlink technology. 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.
To allow the use of the LSI53C1020 in both legacy and Ultra320 SCSI
applications, this device features universal LVDlink transceivers that
support LVD SCSI and SE SCSI.
1.7Benefits of TolerANT®Technology
The LSI53C1020 features TolerANT technology, which provides active
negation on the SCSI drivers and input signal filtering on the SCSI
receivers. Active negation causes the SCSI Request, Acknowledge,
Data, and Parity signals to be actively driven HIGH rather than passively
pulled up by terminators.
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
ensure correct clocking of data. TolerANT input signal filtering is a builtin feature of the LSI53C1020 and all LSI Logic Fast SCSI, Ultra SCSI,
Ultra2 SCSI, Ultra160 SCSI, and Ultra320 SCSI devices.
TolerANT technology increases noise immunity, balances duty cycles,
and improves SCSI transfer rates. In addition, TolerANT SCSI devices
do not cause glitches on the SCSI bus at power-up or power-down,
which protects other devices on the bus 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 ANSI.
1.8Summary of LSI53C1020 Features
This section provides a summary of the LSI53C1020 features and
benefits. It contains information on SCSI Performance, PCI Performance,
Integration, Flexibility, Reliability, and Testability.
1.8.1SCSI Performance
The LSI53C1020 contains the following SCSI performance features:
•Supports Ultra320 SCSI
–Paced transfers using a free-running clock
–320 Mbytes/s SCSI data transfer rate
–Mandatory packetized protocol
–Quick arbitrate and select (QAS)
–Skew compensation with bus training
–Transmitter precompensation to overcome ISI effects for SCSI
data signals
–Retained training information (RTI)
•Offers a performance-optimized architecture
–Two ARM966E-S processors provide high performance with low
latency
–Designed for optimal packetized performance
•Uses proven integrated LVDlink transceivers for direct attach to either
LVD or SE SCSI buses with precision-controlled slew rates
•Supports expander communication protocol (ECP)
•Uses the Fusion-MPT (Message Passing Technology) drivers to
provide full operating system support for the Windows, Linux,Solaris,
SCO OpenServer, UnixWare, OpenUnix 8, and NetWare operating
systems
The LSI53C1020 supports the following PCI features:
•Has a 133 MHz, 64-bit PCI/PCI-X interface that:
–Operates at 33 MHz or 66 MHz PCI
–Operates at up to 133 MHz PCI-X
–Supports 32-bit or 64-bit data
–Supports 32-bit or 64-bit addressing through Dual Address Cycles
(DA Cs)
–Provides a theoretical 1066 Mbytes/s zero wait state transfer rate
–Complies with PCI Local Bus Specification, Revision 2.2
(LSI53C1020) or Revision 2.3 (LSI53C1020A)
–Complies with the PCI-X Addendum to the PCI Local Bus
Specification, Revision 1.0a
–Complies with the PCI Power Management Interface
Specification, Revision 1.1
–Complies with the PC2001 System Design Guide
•Offers unmatched performance through the Fusion-MPT architecture
•Provides high throughput and low CPU utilization to offload the host
processor
•Uses SCSI Interrupt Steering Logic (SISL) to provide alternate
interrupt routing for RAID applications
•Reduces Interrupt Service Routine (ISR) overhead with interrupt
coalescing
•Supports 32-bit or 64-bit data bursts with variable burst lengths
•Supports the PCI Cache Line Size register
•Supports the PCI Memory Write and Invalidate, Memory Read Line,
and Memory Read Multiple commands
•Supports the PCI-X Memory Read Dword, Split Completion, Memory
Read Block, and Memory Write Block commands
•Supports up to eight PCI-X outstanding split transactions
This chapter provides a subsytem level overview of the LSI53C1020, a
discussion of the Fusion-MPT architecture, and a functional description
of the LSI53C1020 interfaces. This chapter contains the following
sections:
The LSI53C1020 is a high-performance, intelligent PCI-X to Ultra320
SCSI Controller. The LSI53C1020 controller supports the PCI Local BusSpecification, Revision 2.2; the LSI53C1020A controller supports
Revision 2.3 of this spec. Both controllers support the PCI-X Addendum
to the PCI Local Bus Specification, Revision 1.0a and the proposed SCSI
Parallel Interface-4 (SPI-4) draft standard.
Note:In the rest of this chapter, LSI53C1020 refers to both the
LSI53C1020 SCSI controller and the LSI53C1020A SCSI
controller, unless specifically noted.
The LSI53C1020 employs the Fusion-MPT architecture to ensure robust
system performance, to support binary compatibility of host software
between the LSI Logic SCSI and Fibre Channel products, and to
significantly reduce software development time. Refer to the Fusion-MPT
Device Management User’s Guide for more information on the
LSI53C1020/1020A PCI-X to Ultra320 SCSI Controller Technical Manual2-1
Fusion-MPT architecture and how to control the LSI53C1020 using
Fusion-MPT technology.
2.1Block Diagram Description
The LSI53C1020 consists of two major modules: a host interface module
and an Ultra320 SCSI channel module. The modules consist of the
following components:
•Host Interface Module
–Up to a 64-bit, 133 MHz PCI/PCI-X Interface
–System Interface
–I/O Processor (IOP)
–DMA Arbiter and Router
–Shared RAM
–External Memory Interface
The host interface module provides an interface between the host driver
and the SCSI channel. The host interface module controls system DMA
transfers and the host side of the Fusion-MPT architecture. It also
supports the external memory, serial EEPROM, and GPIO interfaces.
This subsection provides a detailed explanation of the host interface
submodules.
The LSI53C1020 provides a PCI-X interface that supports up to a 64-bit,
133 MHz PCI-X bus. The interface is compatible with all previous
implementations of the PCI specification. For more information on the
PCI interface, refer to Section 2.3, “PCI Functional Description,”
page 2-8.
2.1.1.2System Interface
The system interface efficiently passes messages between the
LSI53C1020 and other I/O agents using a high-performance, packetized,
mailbox architecture. The LSI53C1020 system interface coalesces PCI
interrupts to minimize traffic on the PCI bus and maximize system
performance.
All host accesses to the IOP, external memory, and timer and
configuration subsystems pass through the system interface and use the
primary bus. The host system initiates data transactions on the primary
bus with the system interface registers. PCI Memory Space [0] and the
PCI I/O Base Address registers identify the location of the system
interface register set. Chapter 4, “PCI Host Register Description,”
provides a bit-level description of the system interface register set.
2.1.1.3I/O Processor (IOP)
The LSI53C1020 I/O processor (IOP) is a 32-bit ARM966E-S RISC
processor. The IOP controls the system interface and uses the
Fusion-MPT architecture to manage the host side of non-DMA accesses
to the Ultra320 SCSI bus. The context manager uses the Fusion-MPT
architecture to control the SCSI side of data transfers. The IOP and
Context Manager completely manage all SCSI I/Os without host
intervention. Refer to Section 2.2, “Fusion-MPT Architecture Overview,”
page 2-7, for more information on the Fusion-MPT architecture.
2.1.1.4DMA Arbiter and Router
The descriptor-based DMA Arbiter and Router subsystem manages the
transfer of memory blocks between local memory and the host system.
The DMA channel includes PCI bus master interface logic, the internal
bus interface logic, and a 256-byte system DMA FIFO.
The host interface module physically contains the 96 Kbyte shared RAM.
However, both the host interface module and the SCSI channel module
access the shared RAM. The shared RAM holds a portion of the IOP and
context manager firmware, as well as the request message queue and
reply message queue. All non-DMA data transfers that use the request
and reply message queues pass through the shared RAM.
2.1.1.6External Memory Controller
The external memory controller subsystem provides a direct interface
between the primary bus and the external memory subsystem. MAD[7:0]
and MADP[0] compose the external memory bus. The LSI53C1020
supports the Flash ROM and NVSRAM interfaces through the external
memory controller. The Flash ROM is optional if the LSI53C1020 is not
the boot device and a suitable driver exists to initialize the device. The
LSI53C1020 uses the NVSRAM for write journaling when an Integrated
Mirroring (IM) volume is defined. Write journaling is used to verify that
the mirrored disks in the IM volume are synchronized with each other.
For a detailed description of this block refer to Section 2.5, “External
Memory Interfaces,” page 2-23.
During power-up or reset the LSI53C1020 uses the MAD[15:0] and
MADP[1:0] signals as Power-On Sense pins, which configure the
LSI53C1020 through their pull-up or pull-down settings. Refer to
Section 3.10, “Power-On Sense Pins Description,” page 3-18, for a
description of the Power-On Sense pin configuration options.
2.1.1.7Timer, GPIO, and Configuration
This subsystem provides a free-running timer to allow event time
stamping and also controls the GPIO, LED, and serial EEPROM
interfaces. The LSI53C1020 uses the free-running timer to aid in tracking
and managing SCSI I/Os. The LSI53C1020 generates the free-running
timer’s microsecond time base by dividing the SCSI reference clock by
40.
The LSI53C1020 provides eight GPIO pins (GPIO[7:0]). These pins are
under the control of the LSI53C1020 and default to the input mode upon
PCI reset. The LSI53C1020 also provides two LED pins: A_LED/ and
HB_LED/. Either firmware or hardware controls A_LED/. The
LSI53C1020 firmware controls HB_LED/ (heartbeat LED). HB_LED/
indicates that the IOP is operational.
A 2-wire serial interface provides a connection to a nonvolatile external
serial EEPROM. The serial EEPROM stores PCI configuration
parameters for the LSI53C1020. Refer to Section 2.6, “Serial EEPROM
Interface,” page 2-27, for more information concerning the serial
EEPROM.
2.1.2SCSI Channel Module Description
The LSI53C1020 provides one SCSI bus channel. An Ultra320 SCSI
core, a datapath engine, and a context manager support this SCSI
channel. Refer to Section 2.4, “Ultra320 SCSI Functional Description,”
page 2-18, for an operational description of the LSI53C1020 SCSI
channel.
2.1.2.1Ultra320 SCSI Core
The Ultra320 SCSI core controls the SCSI bus interface.
2.1.2.2Datapath Engine
The datapath engine manages the SCSI side of DMA transactions
between the SCSI bus and the host system.
2.1.2.3Context Manager
The context manager is an ARM966E-S processor. It controls the SCSI
channel side of the LSI53C1020 Fusion-MPT architecture. The context
manager controls the outbound queues, target mode I/O mapping,
disconnect and reselect sequences, scatter/gather lists, and status
reports.
The Fusion-MPT architecture provides two I/O methods for the host
system to communicate with the IOP: the system interface doorbell and
the message queues.
The system interface doorbell is a simple, message-passing mechanism
that allows the PCI host system and IOP to exchange single, 32-bit
dword messages. When the host system writes to the doorbell, the
LSI53C1020 hardware generates a maskable interrupt to the IOP, which
can then read the doorbell value and take the appropriate action. When
the IOP writes a value to the doorbell, the LSI53C1020 hardware
generates a maskable interrupt to the host system. The host system can
then read the doorbell value and take the appropriate action.
There are two 32-bit message queues: the request message queue and
the reply message queue. The host uses the request queue to request
an action by the LSI53C1020, and the LSI53C1020 uses the reply queue
to return status information to the host. The request message queue
consists of only the request post FIFO. The reply message queue
consists of both the reply post FIFO and the reply free FIFO. The shared
RAM contains the message queues.
Communication using the message queues occurs through request
messages and reply messages. Request message frame descriptors are
pointers to the request message frames and are passed through the
request post FIFO. The request message frame data structure is up to
128 bytes in length and includes a message header and a payload. The
header uniquely identifies the message. The payload contains
information that is specific to the request. Reply message frame
descriptors have one of two formats and are passed through the reply
post FIFO. When indicating the successful completion of a SCSI I/O, the
IOP writes the reply message frame descriptor using the Context Reply
format, which is a message context. If a SCSI I/O does not complete
successfully, the IOP uses the Address Reply format. In this case, the
IOP pops a reply message frame from the reply free FIFO, generates a
reply message describing the error, writes the reply message to system
memory, and writes the address of the reply message frame to the reply
post FIFO. The host can then read the reply message and take the
appropriate action.
The doorbell mechanism provides both a high-priority communication
path that interrupts the host system device driver and an alternative
communication path to the message queues. Because data transport
through the system doorbell occurs a single dword at a time, use the
LSI53C1020 message queues for normal operation and data transport.
2.3PCI Functional Description
The host PCI interface complies with the PCI Local Bus Specification,
Revision 2.2 (LSI53C1020 controller), or Revision 2.3 (LSI53C1020Acontroller) and with the PCI-X Addendum to the PCI Local Bus
Specification, Revision 1.0a. The LSI53C1020 supports up to a 133 MHz,
64-bit PCI-X bus. The LSI53C1020 provides support for 64-bit
addressing with Dual Address Cycle (DAC).
2.3.1PCI Addressing
The three physical address spaces the PCI specification defines are:
•PCI Configuration Space
•PCI I/O Space for operating registers
•PCI Memory Space for operating registers
The following sections describe the PCI address spaces.
2.3.1.1PCI Configuration Space
The LSI53C1020 defines the PCI Configuration Space registers for the
PCI function. The configuration space is a contiguous 256 x 8-bit set of
addresses. The system BIOS initializes the configuration registers using
PCI configuration cycles. The LSI53C1020 decodes C_BE[3:0]/ to
determine if a PCI cycle intends to access the configuration register
space. The IDSEL signal behaves as a chip select signal that enables
access to the configuration register space only. The LSI53C1020 ignores
configuration read/write cycles when IDSEL is not asserted.
2.3.1.2PCI I/O Space
The PCI specification defines I/O Space as a contiguous, 32-bit I/O
address that all system resources share, including the LSI53C1020. The
I/O Base Address register determines the 256-byte PCI I/O area that the
PCI device occupies.
2.3.1.3PCI Memory Space
The LSI53C1020 contains two PCI memory spaces: PCI Memory
Space [0] and PCI Memory Space [1]. PCI Memory Space [0] supports
normal memory accesses, while PCI Memory Space [1] supports
diagnostic memory accesses. The LSI53C1020 requires 64 Kbytes of
memory space.
The PCI specification defines memory space as a contiguous, 64-bit
memory address that all system resources share. The Memory [0] Low
and Memory [0] High registers determine which 64 Kbyte memory area
PCI Memory Space [0] occupies. The Memory [1] Low and Memory [1]
High registers determine which 64 Kbyte memory area PCI Memory
Space [1] occupies.
2.3.2PCI Commands and Functions
Bus commands indicate to the target the type of transaction the master
is requesting. The master encodes the bus commands on the C_BE[3:0]/
lines during the address phase. The PCI bus command encodings
appear in Table 2.1.
The LSI53C1020 ignores this command as a slave and never generates
it as a master.
2.3.2.3I/O Read Command
This command reads data from an agent mapped in the I/O address
space. When decoding I/O commands, the LSI53C1020 decodes the
lower 32 address bits and ignores the upper 32 address bits. The
LSI53C1020 supports this command when operating in either the PCI or
PCI-X bus mode.
2.3.2.4I/O Write Command
This command writes data to an agent mapped in the I/O address space.
When decoding I/O commands, the LSI53C1020 decodes the lower 32
address bits and ignores the upper 32 address bits. The LSI53C1020
supports this command when operating in either the PCI or PCI-X bus
mode.
2.3.2.5Memory Read Command
The LSI53C1020 uses this command to read data from an agent
mapped in the memory address space. The target can perform an
anticipatory read if such a read produces no side effects. The
LSI53C1020 supports this command when operating in the PCI bus
mode.
2.3.2.6Memory Read Dword Command
This command reads up to a single dword of data from an agent mapped
in the memory address space and can only be initiated as a 32-bit
transaction. The target can perform an anticipatory read if such a read
produces no side effects. The LSI53C1020 supports this command when
operating in the PCI-X bus mode.
2.3.2.7Memory Write Command
This command writes data to an agent mapped in the memory address
space. The target assumes responsibility for data coherency when it
returns “ready.” The LSI53C1020 supports this command when operating
in either the PCI or PCI-X bus mode.
2.3.2.8Alias to Memory Read Block Command
This command is reserved for future implementations of the PCI
specification. The LSI53C1020 never generates this command as a
master.When a slave, the LSI53C1020 supports this command using the
Memory Read Block command.
2.3.2.9Alias to Memory Write Block Command
This command is reserved for future implementations of the PCI
specification. The LSI53C1020 never generates this command as a
master.When a slave, the LSI53C1020 supports this command using the
Memory Write Block command.
2.3.2.10Configuration Read Command
This command reads the configuration space of a device. The
LSI53C1020 never generates this command as a master, but does
respond to it as a slave. A device on the PCI bus selects the LSI53C1020
by asserting its IDSEL signal when AD[1:0] equal 0b00. During the
address phase of a configuration cycle, AD[7:2] address one of the 64
dword registers in the configuration space of each device. C_BE[3:0]/
address the individual bytes within each dword register and determine
the type of access to perform. Bits AD[10:8] address the PCI Function
Configuration Space (AD[10:8] = 0b000). The LSI53C1020 treats
AD[63:11] as logical don’t cares.
2.3.2.11Configuration Write Command
This command writes the configuration space of a device. The
LSI53C1020 never generates this command as a master, but does
respond to it as a slave. A device on the PCI bus selects the LSI53C1020
by asserting its IDSEL signal when bits AD[1:0] equal 0b00. During the
address phase of a configuration cycle, bits AD[7:2] address one of the
64 Dword registers in the configuration space of each device. C_BE[3:0]/
address the individual bytes within each Dword register and determine
the type of access to perform. Bits AD[10:8] decode the PCI Function
Configuration Space (AD[10:8] = 0b000). The LSI53C1020 treats
AD[63:11] as logical don’t cares.
This command is identical to the Memory Read command, except it
additionally indicates that the master intends to fetch multiple cache lines
before disconnecting. The LSI53C1020 supports PCI Memory Read
Multiple functionality when operating in the PCI mode and determines
when to issue a Memory Read Multiple command instead of a Memory
Read command.
Burst Size Selection – The Read Multiple command reads multiple
cache lines of data during a single bus ownership. The number of cache
lines the LSI53C1020 reads is a multiple of the cache line size, which
Revision 2.2 of the PCI specification provides. The LSI53C1020 selects
the largest multiple of the cache line size based on the amount of data
to transfer.
2.3.2.13Split Completion Command
Split transactions in PCI-X replace the delayed transactions in
conventional PCI. The LSI53C1020 supports up to eight outstanding split
transactions when operating in the PCI-X mode. A split transaction
consists of at least two separate bus transactions: a split request, which
the requester initiates, and one or more split completion commands,
which the completer initiates. Revision 1.0a of the PCI-X addendum
permits split transaction completion for the Memory Read Block, Alias to
Memory Read Block, Memory Read Dword, Interrupt Acknowledge,
I/O Read, I/O Write, Configuration Read, and Configuration Write
commands. When operating in the PCI-X mode, the LSI53C1020
supports the Split Completion command for all of these commands
except the Interrupt Acknowledge command, which the LSI53C1020
neither responds to nor generates.
2.3.2.14Dual Address Cycles Command
The LSI53C1020 performs Dual Address Cycles (DACs), according to
the PCI Local Bus Specification, Revision 2.2. The LSI53C1020 supports
this command when operating in either the PCI or PCI-X bus mode.
2.3.2.15Memory Read Line Command
This command is identical to the Memory Read command except it
additionally indicates that the master intends to fetch a complete cache
line. The LSI53C1020 supports this command when operating in the PCI
mode.
2.3.2.16Memory Read Block Command
The LSI53C1020 uses this command to read from memory. The
LSI53C1020 supports this command when operating in the PCI-X mode.
2.3.2.17Memory Write and Invalidate Command
This command is identical to the Memory Write command, except it
additionally guarantees a minimum transfer of one complete cache line.
The master uses this command when it 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. The LSI53C1020 determines when to issue a Write
and Invalidate command instead of a Memory Write command and
supports this command when operating in the PCI bus mode.
Alignment – The LSI53C1020 uses the calculated line size value to
determine if the current address aligns to the cache line size. If the
address does not align, the LSI53C1020 bursts data using a noncache
command. If the starting address aligns, the LSI53C1020 issues a
Memory Write and Invalidate command using the cache line size as the
burst size.
Multiple Cache Line Transfers – The Memory Write and Invalidate
command can write multiple cache lines of data in a single bus
ownership. The LSI53C1020 issues a burst transfer as soon as it
reaches a cache line boundary. The PCI Local Bus specification states
that the transfer size must be a multiple of the cache line size. The
LSI53C1020 selects the largest multiple of the cache line size based on
the transfer size. When the DMA buffer contains less data than the value
Cache Line Size register specifies, the LSI53C1020 issues a Memory
Write command on the next cache boundary to complete the data
transfer.
2.3.2.18Memory Write Block Command
The LSI53C1020 uses this command to burst data to memory. The
LSI53C1020 supports this command when operating in the PCI-X bus
mode.
The LSI53C1020 contains a bus mastering function for the SCSI function
and for the system interface. The system interface bus mastering
function manages DMA operations as well as the request and reply
message frames. The SCSI channel bus mastering functions manage
data transfers across the SCSI channel.
The LSI53C1020 uses a REQ/-GNT/ signal pair to arbitrate for access to
the PCI bus. To ensure fair access to the PCI bus, the internal arbiter
uses a round robin arbitration scheme to decide which of the two internal
bus mastering functions can arbitrate for access to the PCI bus.
2.3.4PCI Cache Mode
The LSI53C1020 supports an 8-bit Cache Line Size register. The
Cache Line Size register provides the ability to sense and react to
nonaligned addresses corresponding to cache line boundaries. The
LSI53C1020 determines when to issue a PCI cache command (Memory
Read Line, Memory Read Multiple, and Memory Write and Invalidate), or
PCI noncache command (Memory Read or Memory Write command).
2.3.5PCI Interrupts
The LSI53C1020 signals an interrupt to the host processor either using
PCI interrupt pins, INTA/ and ALT_INTA/, or using Message Signaled
Interrupts (MSIs). If using the PCI interrupt pins, the Interrupt Request
Routing Mode bits in the Host Interrupt Mask register configure the
routing of each interrupt to either the INTA/ and/or the ALT_INTA/ pin.
If using MSI, the LSI53C1020 does not signal interrupts on INTA/ or
ALT_INTA/. Note that enabling MSI to mask PCI interrupts is a violation
of the PCI specification. The LSI53C1020 supports one requested
message and disables MSI after the chip powers up or resets.
The Host Interrupt Mask register also prevents the assertion of a PCI
interrupt to the host processor by selectively masking reply interrupts and
system doorbell interrupts. This register masks both pin-based and MSIbased interrupts.
The LSI53C1020 complies with the PCI Power Management Interface
Specification, Revision 1.1, and the PC2001 System Design Guide. The
LSI53C1020 supports the D0, D1, D2, D3
D0 is the maximum power state, and D3 is the minimum power state.
Power State D3 is further categorized as D3
function off places it in the D3
Bits [1:0] of the Power Management Control/Status register
independently control the power state of the PCI device on the
LSI53C1020. Table 2.2 provides the power state bit settings.
Table 2.2Power States
Power Management Control
and Status Register, Bits [1:0]Power StateFunction
, and D3
hot
or D3
hot
power state.
cold
0b00D0Maximum Power
0b01D1Snooze Mode
power states.
cold
. Powering the
cold
The following sections describe the PCI Function Power States D0, D1,
D2, and D3. As the device transitions from one power level to a lower
one, the attributes that occur in the higher power state level carry into
the lower power state level. For example, Power State D2 includes the
attributes for Power State D1, as well as the attributes defined for Power
State D2. The following sections describe the PCI Function power states
in conjunction with the SCSI function.
2.3.6.1Power State D0
Power State D0 is the maximum power state and is the power-up default
state for each function. The LSI53C1020 is fully functional in this state.
2.3.6.2Power State D1
According to the PCI Power Management Interface Specification, Power
State D1 must have a power level equal to or lower than Power State D0.
A function in Power State D1 places the SCSI core in the snooze mode.
In the snooze mode, a SCSI reset does not generate an IRQ/ signal.
2.3.6.3Power State D2
According to the PCI Power Management Interface Specification, Power
State D2 must have a power level equal to or lower than Power State D1.
A function in this state places the SCSI core in the coma mode. Placing
the PCI Function in Power State D2 disables the SCSI and DMA
interrupts, and suppresses the following PCI Configuration Space
Command register enable bits:
•I/O Space Enable
•Memory Space Enable
•Bus Mastering Enable
•SERR/Enable
•Enable Parity Error Response
Therefore, the memory and I/O spaces in a function cannot be accessed,
and the PCI function cannot be a PCI bus master.
If the PCI function is changed from Power State D2 to Power State D1
or Power State D0, the PCI function restores the previous values of the
PCI Command register and asserts any interrupts that were pending
before the function entered Power State D2.
2.3.6.4Power State D3
According to the PCI Power Management Interface Specification, Power
State D3 must have a power level equal to or lower than Power State D2.
Power State D3 is the minimum power state and includes the D3
D3
cold
D3
cold
by applying VCC and resetting the device.
Placing a function in Power State D3 puts the LSI53C1020 core in the
coma mode, clears the PCI Command register, and continually asserts
the function's soft reset. Asserting soft reset clears all pending interrupts
and 3-states the SCSI bus.
settings. D3
allows the device to transition to D0 using software.
The Ultra320 SCSI channel supports wide SCSI synchronous transfer
rates up to 320 Mbytes/s across an SE or LVD SCSI bus. The integrated
LVDlink transceivers support both LVD and SE signals and do not require
external transceivers. The LSI53C1020 supports the Ultra320 SCSI,
Ultra160 SCSI, Ultra2 SCSI, Ultra SCSI, and Fast SCSI interfaces.
2.4.1Ultra320 SCSI Features
This section describes how the LSI53C1020 implements the features in
the SPI-4 draft specification.
2.4.1.1Parallel Protocol Request (PPR)
A SCSI extended message negotiates the PPR parameters. The PPR
parameters include the (1) transfer period; (2) maximum REQ/ACK
offset; (3) QAS; (4) margin control settings (MCS); (5) transfer width;
(6) IU_Request; (7) write flow; (8) read streaming; (9) RTI;
(10) precompensation enable; (11) information unit transfers; and the
(12) DT data phases between an initiator and a target.
2.4.1.2Double Transition (DT) Clocking
Ultra160 SCSI and Ultra320 SCSI implement DT clocking to provide
speeds up to 80 megatransfers per second (megatransfers/s) for
Ultra160 SCSI, and up to 160 megatransfers/s for Ultra320 SCSI. When
implementing DT clocking, a SCSI device samples data on both the
asserting and deasserting edge of REQ/ACK. DT clocking is only valid
using an LVD SCSI bus.
ISI Compensation uses paced transfers and precompensation to enable
high data transfer rates. Ultra320 SCSI data transfers require
ISI Compensation.
Paced Transfers – The initiator and target must establish a paced
transfer agreement that specifies the REQ/ACK offset and the transfer
period before using this feature. Devices can only perform paced
transfers during Ultra320 SCSI DT data phases. In paced transfers, the
device sourcing the data drives the REQ/ACK signal as a free-running
clock. The transition of the REQ/ACK signal, either the assertion or the
negation, clocks data across the bus. For successful completion of a
paced transfer, the number of ACK transitions must equal the number of
REQ transitions and both the REQ and ACK lines must be negated.
The P1 line indicates valid data in 4-byte quantities by using its phase.
The transmitting device indicates the start of valid data state by holding
the state of the P1 line for the first two data transfer periods. Beginning
on the third data transfer period, the transmitting device continues the
valid data state by toggling the state of the P1 line every two data transfer
periods for as long as the data is valid. The transmitting device must
toggle the P1 line coincident with the REQ/ACK assertion. The method
provides a minimum data valid period of two transfer periods.
To pause the data transfer, the transmitting device reverses the phase of
P1 by withholding the next transition of P1 at the start of the first two
invalid data transfer periods. Beginning with the third invalid data transfer
period, the transmitting device toggles the P1 line every two invalid data
transfer periods until it sends valid data. The transmitting device returns
to the valid data state by reversing the phase of the P1 line. The invalid
data state must experience at least one P1 transition before returning to
the valid data state. This method provides a minimum data invalid period
of four transfer periods.
Figure 2.2 provides a waveform diagram of paced data transfers and
illustrates the use of the P1 line.
Figure 2.2Paced Transfer Example
Data Not ValidData ValidData ValidData Not Valid
REQ
ACK
P1
DA TA
The LSI53C1020 uses the PPR negotiation that the SPI-4 draft standard
describes to establish a paced transfer agreement for each
initiator-target pair.
Precompensation – When transmitting in the Ultra320 SCSI mode, the
LSI53C1020 uses precompensation to adjust the strength of the REQ,
ACK, parity, and data signals. When a signal transitions to HIGH or LOW,
the LSI53C1020 boosts the signal drive strength for the first data transfer
period, and then lowers the signal drive strength on the second data
transfer period if the signal remains in the same state. The LSI53C1020
maintains the lower signal drive strength until the signal again transitions
HIGH or LOW. Figure 2.3 illustrates the drivers performance with
precompensation enabled and disabled.
Figure 2.3Example of Precompensation
a. Drivers with Precompensation Disabled
Normal Drive Strength
b. Drivers with Precompensation Enabled
Boosted Drive Strength
2.4.1.4Packetized Transfers
Packetized transfers are also referred to as information unit transfers.
They reduce overhead on the SCSI bus by merging several of the SCSI
bus phases. Packetized transfers can only occur in DT Data phases. The
initiator and target must establish either a DT synchronous transfer
agreement or a paced transfer agreement before performing packetized
transfers.
The number of bytes in an information unit transfer is always a multiple
of four. If the number of bytes to transfer in the information unit is not a
multiple of four, the LSI53C1020 transmits pad bytes to bring the byte
count to a multiple of four.
2.4.1.5Quick Arbitration and Selection (QAS)
When using packetized transfers, QAS allows devices to arbitrate for the
bus immediately after the message phase. QAS reduces the bus
overhead and maximizes bus bandwidth by skipping the bus free phase
that normally follows a SCSI connection.
To perform QAS, the target sends a QAS request message to the initiator
during the message phase of the bus. QAS-capable devices snoop the
SCSI bus for the QAS request message. If a QAS request message is
seen, devices can immediately move to the arbitration phase without
going to the bus free phase. The LSI53C1020 employs a fairness
algorithm to ensure that all devices have equal bus access.
2.4.1.6Skew Compensation
The LSI53C1020 provides a method to account for and control system
skew between the clock and data signals. Skew compensation is only
available when the device operates in the Ultra320 SCSI mode. The
initiator-target pair uses the training sequences in the SPI-4 draft
standard to determine the skew compensation. Depending on the state
of the RTI bit in the PPR negotiation, the LSI53C1020 can either execute
this training pattern during each connection, or can execute the training
pattern, store the adjustment parameters, and recall them on subsequent
connections with the given device. The target determines when to
execute the training pattern.
2.4.1.7Cyclic Redundancy Check (CRC)
Ultra320 SCSI and Ultra160 SCSI devices employ CRC as an error
detection code during the DT Data phases. These devices transfer four
CRC bytes during the DT Data phases to ensure reliable data transfers.
SureLINK Domain Validation establishes the integrity of a SCSI bus
connection between an initiator and a target. Under the SureLINK
Domain Validation procedure, a host queries a device to determine its
ability to communicate at the negotiated data transfer rate.
SureLINK Domain Validation provides three levels of integrity checking:
Basic (Level 1) with inquiry command; Enhanced (Level 2) with
read/write buffer; and Margined (Level 3) with drive strength margining
and slew rate control. The basic check consists of an inquiry command
to detect gross problems. The enhanced check sends a known data
pattern using the read and write buffer commands to detect additional
problems. The margined check verifies that the physical parameters have
a reasonable operating margin. Use SureLINK Domain Validation only
during the diagnostic system checks and not during normal system
operation. If transmission errors occur during any of these checks, the
system can reduce the transmission rate on a per-target basis to ensure
robust system operation.
2.4.2SCSI Bus Interface
This section describes the SCSI bus modes that the LSI53C1020
supports and the SCSI bus termination methods necessary to operate a
high speed SCSI bus.
2.4.2.1SCSI Bus Modes
The LSI53C1020 supports SE and LVD transfers. To increase device
connectivity and SCSI cable length, the LSI53C1020 features LVDlink
technology, which is the LSI Logic implementation of LVD SCSI. LVDlink
transceivers provide the inherent reliability of differential SCSI and a
long-term migration path for faster SCSI transfer rates.
The DIFFSENS signal detects the different input voltages for HVD, LVD,
and SE. The LSI53C1020 drivers are tolerant of HVD signal strengths,
but do not support the HVD bus mode. The LSI53C1020 SCSI device
3-states its SCSI drivers when it detects an HVD signal level.
The terminator networks pull signals to an inactive voltage level and
match the impedance seen at the end of the cable to the characteristic
impedance of the cable. Install terminators at the extreme ends of the
SCSI chain, and only at the ends; all SCSI buses must have exactly two
terminators.
Note:If using the LSI53C1020 in a design with an 8-bit SCSI bus,
designers must terminate all 16 data lines.
2.5External Memory Interfaces
The LSI53C1020 provides Flash ROM, NVSRAM, and serial EEPROM
interfaces. The Flash ROM interface stores the SCSI BIOS and firmware
image. The Flash ROM is optional if the LSI53C1020 is not the boot
device and a suitable driver exists to initialize the LSI53C1020. Integrated
Mirroring (IM) technology requires an NVSRAM for write journaling. The
nonvolatile external serial EEPROM stores configuration parameters for
the LSI53C1020.
2.5.1Flash ROM Interface
The Flash ROM interface multiplexes the 8-bit address and data buses
on the MAD[7:0] pins. The interface latches the address into three 8-bit
latches to support up to 1 Mbyte of address space. The interface
supports byte, word, and dword accesses. The LSI53C1020 dword aligns
dword reads, word aligns word reads, and byte aligns byte reads. The
remaining bits from word and byte reads are meaningless.
The MAD[2:1] Power-On Sense pin configurations define the size of the
Flash ROM address space. Table 2.3 provides the pin encoding for these
pins. By default, internal logic pulls these pins down to indicate that no
Flash ROM is present.
Table 2.3Flash ROM Size Programming
MAD[2:1] OptionsFlash ROM Size
0b00No Flash ROM present (Default)
0b01Up to 1024 Kbytes
0b10
Reserved
0b11
1. Choose this setting for a 128 Kbyte or 512 Kbyte Flash ROM.
1
The LSI53C1020 defines only the middle (MA[15:8]) and lower (MA[7:0])
address ranges if the Flash ROM addressable space is 64 Kbytes or
less. The LSI53C1020 defines the upper (MA[21:16]), middle (MA[15:8]),
and lower (MA[7:0]) address ranges if the Flash ROM addressable space
is 128 Kbytes or more. Figure 2.4 provides an example of a Flash ROM
configuration.
The LSI53C1020 implements a Flash signature recognition mechanism
to determine if the Flash contains a valid image. The Flash can be
present and not contain a valid image either before its initial
programming or during board testing. The first access to the Flash is a
16-byte burst read beginning at Flash address 0x000000. The
LSI53C1020 compares the values read to the Flash signature values that
Table 2.4 provides. If the signature values match, the LSI53C1020
performs the instruction located at Flash address 0x000000. If the
signature values do not match, the LSI53C1020 records an error and
ignores the Flash instruction. The Flash signature does not include the
first three bytes of Flash memory because these bytes contain a branch
offset instruction.
The LSI53C1020 Fusion-MPT firmware is capable of maintaining an
Integrated Mirroring (IM) volume of the boot drive. IM firmware requires
a 32 Kbyte NVSRAM in order to perform write journaling. Write journaling
is used to verify that the mirrored disks in the IM volume are
synchronized with each other. The NVSRAM also stores additional code
and data used for error and exception handling, and it stores IM
configuration information during serial EEPROM updates. The disk write
log uses approximately 4 Kbytes of the NVSRAM.
Figure 2.5 provides a block diagram illustrating how to connect the
NVSRAM. This design employs the CPLD to latch the address instead
of using separate address latches.
When using an NVSRAM, pull the MAD[3] Power-On Sense pin HIGH
during board boot-up. This configures the external memory interface as
an NVSRAM interface. During operation, RAMCE/ selects the NVSRAM
when MAD[3] is pulled HIGH.
2.6Serial EEPROM Interface
The nonvolatile external serial EEPROM stores configuration fields for
the LSI53C1020. The serial EEPROM contains fields for the Subsystem
ID, Subsystem Vendor ID, and the size of the PCI Diagnostic Memory
Space. The LSI53C1020 must establish each of these parameters prior
to reading system BIOS and loading the PCI Configuration Space
registers. The power-on option settings enable the download of PCI
configuration data from the serial EEPROM. For more information on the
setting of the power-on options, refer to Section 3.10, “Power-On Sense
Pins Description,” page 3-18.
A 2-wire serial interface provides the connection to the serial EEPROM.
During initialization, the firmware checks if a serial EEPROM exists.
Firmware uses the checksum byte to determine if the configuration held
in the serial EEPROM is valid. If the checksum fails, the firmware checks
for a valid NVData signature. If a valid NVData signature is found, the
firmware individually checksums each persistent configuration page to
find the invalid page or pages. Table 2.5 provides the structure of the
configuration record in the serial EEPROM.
Zero channel RAID (ZCR) capabilities enable the LSI53C1020 to
respond to accesses from a PCI RAID controller card or chip that is able
to generate ZCR cycles. The LSI53C1020 ZCR functionality is controlled
through the ZCR_EN/ and the IOPD_GNT signals. Both of these signals
have internal pull-ups and are active LOW.
The ZCR_EN/ signal enables ZCR support on the LSI53C1020. Pulling
ZCR_EN/ HIGH disables ZCR support on the LSI53C1020 and causes
the LSI53C1020 to behave as a normal PCI-X to Ultra320 SCSI
controller. When ZCR is disabled, the IOPD_GNT signal has no effect on
the LSI53C1020 operation.
Pulling ZCR_EN/ LOW enables ZCR operation. When ZCR is enabled,
the LSI53C1020 responds to PCI configuration cycles when the
IOPD_GNT and IDSEL signal are asserted. Connect the IOPD_GNT pin
on the LSI53C1020 to the PCI GNT/ signal of the external I/O processor.
This allows the I/O processor to perform PCI configuration cycles to the
LSI53C1020 when the I/O processor is granted the PCI bus. This
configuration also prevents the system processor from accessing the
LSI53C1020 PCI configuration registers.
Figure 2.6 illustrates how to connect the LSI53C1020 to enable ZCR.
This figure also contains information for connecting the
LSI53C1000R-based designs to a ZCR design and migrating from
LSI53C1000R-based designs to LSI53C1020-based designs. Notice that
the LSI53C1020 does not require the 2:1 mux.
Figure 2.6ZCR Circuit Diagram for the LSI53C1020 and LSI53C1000R
ZCR PCI
Slot
Vdd
Int A/ (A6)
Int B/ (B7)
Int C/ (A7)
Int D/ (B8)
TDI (A4)
GNT/ (A17)
TMS (A3)
IDSEL (A26)
AD21 (B29)
Host System
Int A/
Int B/
Int C/
Int D/
AD21
AD19
Vdd
4.7 kΩ
Vdd
Vdd
0.1 kΩ
4.7 kΩ
Vdd
0.1 kΩ
4.7 kΩ
No Pop for LSI53C1020
0.1 kΩ
220 Ω
2:1 Mux
A0
A1
S0
B0
0 Ω
No Pop for
LSI53C1000R
INTA/
ZCR_EN/
IOPD_GNT
0 Ω
IDSEL
No Pop for
LS53C1000R
LSI53C1000R/
LSI53C1020
LSI53C1020 Only
Note: To maintain proper interrupt mapping, select the address line for use as IDSEL on the
LSI53C1000R/LSI53C1020 to be +2 address lines above IDSEL on ZCR slot.
2.8Multi-ICE Test Interface
This section describes the LSI Logic requirements for the Multi-ICE test
interface. LSI Logic recommends routing all test signals to a header on
the board.
The Multi-ICE test interface header is a 20-pin header for Multi-ICE
debugging through the ICE JTAG port. This header is essential for
debugging both the firmware and the design functionality and must be
included in board designs. The connector is a 20-pin header that mates
with the IDC sockets mounted on a ribbon cable. Table 2.6 details the
pinout of the 20-pin header.
This chapter describes the input and output signals of the LSI53C1020.
This chapter contains the following sections:
•Section 3.1, “Signal Organization”
•Section 3.2, “PCI Bus Interface Signals”
•Section 3.3, “PCI-Related Signals”
•Section 3.4, “SCSI Interface Signals”
•Section 3.5, “Memory Interface”
•Section 3.6, “Zero Channel RAID (ZCR) Interface”
•Section 3.7, “Test Interface”
•Section 3.8, “GPIO and LED Signals”
•Section 3.9, “Power and Ground Pins”
•Section 3.10, “Power-On Sense Pins Description”
•Section 3.11, “Internal Pull-Ups and Pull-Downs”
A slash (/) at the end of a signal indicates that the signal is active LOW.
When the slash is absent, the signal is active HIGH. NC designates a
No Connect signal.
LSI53C1020/1020A PCI-X to Ultra320 SCSI Controller Technical Manual3-1
There are five signal types:
IInput, a standard input-only signal
OOutput, a standard output driver (typically a Totem Pole output)
I/OInput and output (bidirectional)
PPower
GGround
Figure 3.1 shows the functional signal groupings of the
LSI53C1020/1020A.
•Figure 5.12 on page 5-21 shows a diagram of the LSI53C1020
456 Ball Grid Array (BGA). Table 5.20 on page 5-22 and Table 5.21
on page 5-24 list pinouts for this package.
•Figure 5.13 on page 5-26 shows a diagram of the LSI53C1020A
384 Ball Grid Array (BGA). Table 5.22 on page 5-27 and Table 5.23
on page 5-29 list pinouts for this package.
This section describes the PCI interface, which consists of the System,
Address and Data, Interface Control, Arbitration, Error Reporting, and
Interrupt signal groups.
3.2.1PCI System Signals
Table 3.1 describes the PCI System signals group.
Table 3.1PCI System Signals
456-Ball
Signal Name
CLKAC22AB25IN/ARefer to the PCI Local Bus Specification
RST/AB10AD12IN/A
Package
384-Ball
PackageType StrengthDescription
(Version 2.2 for the LSI53C1020, or
Version 2.3 for the LSI53C1020A), and
the PCI-X Addendum to the PCI LocalBus Specification, Version 1.0a,for
descriptions of these signals.
Refer to the PCI Local BusSpecification (Version 2.2 for the
LSI53C1020, or Version 2.3 for the
LSI53C1020A), and the PCI-X
Addendum to the PCI Local Bus
Specification, Version 1.0a,for
descriptions of these signals.
3.2.5PCI Error Reporting Signals
Table 3.5 describes the PCI Error Reporting signals group.
Table 3.5PCI Error Reporting Signals
456-Ball
Signal Name
PERR/AE17AD20I/O8 mA
SERR/AC17AF21I/O8 mA
Package
384-Ball
PackageTypeStrength Description
PCI
PCI
3.2.6PCI Interrupt Signals
Table 3.6 describes the PCI Interrupt signal.
Table 3.6PCI Interrupt Signal
456-Ball
Signal Name
INTA/AC8AE11O8 mA
Package
384-Ball
PackageTypeStrength Description
PCI
Refer to the PCI Local Bus Specification
(Version 2.2 for the LSI53C1020, or
Version 2.3 for the LSI53C1020A), and
the PCI-X Addendum to the PCI LocalBus Specification, Version 1.0a,for
descriptions of these signals.
Referto the PCI Local Bus Specification
(Version 2.2 for the LSI53C1020, or
Version 2.3 for the LSI53C1020A), and
the PCI-X Addendum to the PCI LocalBus Specification, Version 1.0a, for this
signal description.
The LSI53C1020 can route the interrupt
signal to INTA/ and/or ALT_INTA/. The
interrupt request routing mode bits, bits
[9:8] in the Host Interrupt Mask register,
control the routing of interrupt signals to
INTA/ and/or ALT_INTA/. Refer to the
Table 3.7 describes the PCI-related signals group.
Table 3.7PCI-Related Signals
456-Ball
Signal Name
ALT_INTA/AF7AF11O8 mA
BZVDD,
BZRESET
Package
AF4, AE5AD11, AF10IN/ABZVDD is the VDD for the BZ controller
384-Ball
PackageType Strength Description
PCI
Active LOW Alternate Interrupt A
indicates that the PCI Function is
requesting service from its host device
driver. ALT_INTA/ is an open drain
signal. The interrupt request routing
mode bits, bits [9:8] in the Host Interrupt
Mask register , controls the routing of
interrupt signals to INT A/ and/or
ALT_INTA/. Refer to the Host Interrupt
Mask register , page 4-41, for more
detailed information.
(PVT control block for PCI) and is
equivalent to PVT2 in the LSI53C1030
chip.
BZRESET is the reset input for the for
BZ controller and is equivalent to PVT1
in the LSI53C1030 chip.
Connect a 49.9 Ω, 1% resistor between
BZVDD and BZRESET.
This section describes the signals for the SCSI Channel interface.
Table 3.8 describes the SCSI bus interface clock signal.
In LVD mode, the negative and positive signals form the differential pair.
In SE mode, the negative signals represent the signal pin and the
positive signals are a virtual ground. The LSI53C1020 does not support
HVD mode. If HVD signaling is present, the SCSI channel 3-states its
drivers.
Table 3.8SCSI Bus Clock Signal
456-Ball
Signal Name
SCLKF3B4IN/ASCSI Clock provides the 80 MHz
Package
384-Ball
PackageTypeStrength Description
reference clock source for the
ARM966E-S processors and all SCSIrelated timings.
Table 3.9 describes the SCSI Channel Interface signals group.
kΩ resistor between the
VDDBIAS and RBIAS pins to
generate the L VD signaling
pad bias current.
DIFFSENSE2E1IN/AThe SCSI Channel
Differential Sense pin
detects the mode of the SCSI
bus.This signalis 5V tolerant
and must connect to the
DIFFSENS signal on the
physical SCSI bus.
SE Mode: Driving this pin
below 0.5 V (LOW) indicates
SE mode and places the
SCSI channel in SE bus
mode.
LVD Mode: Driving between
0.7 V and 1.9 V
(intermediate) indicates LVD
mode and places the SCSI
channel in L VD bus mode.
HVD Mode: Driving this pin
above 2.0 V (HIGH)
indicates HVD mode and
causes the SCSI channel to
3-state its SCSI drivers.
carries the memory and address signals
for the Flash ROM and NVSRAM
interfaces on MAD[7:0]. These pins also
provide the Power-On Sense options
that configure operating parameters
during chip power-up or reset.
signals provide parity checking for
MAD[15:0]. By default, the LSI53C1020
uses even parity. The user can enable
odd parity through the Fusion-MPT
architecture.
These pins also provide the Power-On
Sense options that configure operating
parameters during chip power-up or
reset.
Memory Output Enable to indicate that
the selected NVSRAM or Flash ROM
device can drive data. This signal is
typically an asynchronous input to
NVSRAM and/or Flash ROM devices.
RAMWE[1:0]/E24, H23A11, A15O8 mAThe LSI53C1020 asserts active LOW
Memory Byte Write Enables to allow
single byte writes to the NVSRAM.
RAMWE0/ enables writes on MAD[7:0].
RAMCE/D20A7O8 mAWhen MAD[3] is pulled HIGH, the
LSI53C1020 asserts active LOW
synchronous RAM Chip Enable to
select the NVSRAM.
FLSHCE/G25B15O8 mAThe LSI53C1020 asserts active LOW
Flash Chip Enable to enable data
transfers with a single 8-bit device.
the PCI FSN. Pulling this pin HIGH
allows the chip to enable the PCI FSN
when operating in PCI-X mode, or to
disable the PCI FSN when operating in
PCI mode. The LSI53C1020 controls
the PCI FSN.
ground for the PCI
bus drivers/
receivers, SCSI
bus drivers/
receivers, local
memory interface
drivers/receivers,
and other I/O pins.
analog circuit
power for PLL
circuit.
analog circuit
ground for PLL
circuit.
PN/AVDDC provides
power for core
logic.
VSSCC21, C26, F25, G4, L22,
P2, AB5, AB7, AB8,
AB23, AB24, AD14
B5, B18, C7, C13,
C14, P1, R23,
T26, AC18, AD8,
GN/AVSSC provides
ground for core
logic.
AE10, AF6
PCI5VBIASM23, W25, Y22, AB22,
AC10, AD9, AD18, AE6,
AF12
C19, K25, R25,
U25, AC11, AC12,
AE17, AF13,
AF23
IN/AConnects the PCI
5 V Tolerant pins
to 5 V in a 5 V
system or to 3.3 V
in a 3.3 V system.
1. To reduce signal noise that can affect FSN functionality, place a ferrite bead in series with the VDDA
and VSSA pins. LSI Logic recommends a bead with a rating of 150 Ω at 100 MHz.
In addition to providing the address/data bus for the external memory
interface, MAD[15:0] and MADP[1:0] provide 18 Power-On Sense pins
that configure global operating conditions within the LSI53C1020. The
MAD[15:0] and MADP[1:0] pins have internal pull-down current sinks and
sense a logical 0 if no pull-up resistor is present on the pin. To program
a particular option, allow the internal pull-down to pull the pin LOW or a
4.7 kΩ resistor between the appropriate pin and VDD to pull the pin
HIGH. The LSI53C1020 samples these pins during PCI reset and holds
their values upon the removal of PCI reset. Table 3.19 provides the
MAD Power-On Sense pin configuration options. LSI Logic expects most
configurations to employ the default settings. Provide pull-up options for
all MAD pins.
MADP[1]Reserved
MADP[0]PCI-X modeEnables the PCI-X mode.Disables the PCI-X mode.
MAD[15]133 MHz PCI-XEnables 133 MHz PCI-X mode. Disables the 133 MHz PCI-X mode.
MAD[14]64-bit PCIConfigures a 64-bit PCI bus.Configures a 32-bit PCI bus.
MAD[13]66 MHz PCIEnables the 66 MHz PCI mode. Disables the 66 MHz PCI mode.
MAD[12:11]Reserved
MAD[10]ID ControlHas no effect.Sets bit [15] of the Subsystem ID
register to 0b1.
MAD[9:8]Reserved
MAD[7]Serial EEPROM
Download
Enable
MAD[6]IOP Boot
Enable
MAD[5:4]Reserved
MAD[3]
MAD[2:1]Flash ROM Size Configures the Flash ROM Size according to Table 3.20.
MAD[0]Reserved
NVSRAM Select Has no effect.Configures the LSI53C1020 to
Enables the download of the
PCI configuration information
from the serial EEPROM.
Enables the IOP boot process.Disables the IOP boot process.
Disables the download of the PCI
configuration information from the
serial EEPROM.
support an NVSRAM.
•MADP[1], Reserved.
•MADP[0], PCI-X Mode – By default, internal logic pulls this pin LOW
to enable the PCI-X mode on the LSI53C1020. Pulling this pin HIGH
disables the PCI-X mode on the LSI53C1020. Pull this pin HIGH
when the host board does not support the PCI-X mode. The setting
of this pin must coincide with the setting of the PCI_CAP pin on the
host board. When the PCI-X mode is disabled, the PCI-X extended
capabilities register structure is not visible in PCI Configuration
Space.
•MAD[15], 133 MHz PCI-X – By default, internal logic pulls this pin
LOW to enable 133 MHz PCI-X operation and to set the
133 MHz Capable bit in the PCI-X Status register. Pulling this pin
HIGH disables 133 MHz PCI-X operation and clears the
133 MHz Capable bit in the PCI-X Status register.
•MAD[14], 64-bit PCI – By default, internal logic pulls this pin LOW
to enable 64-bit PCI operation and to set the 64-bit Enable bit in the
PCI-X Status register. Pulling this pin HIGH configures the PCI
connection as a 32-bit connection and clears the 64-bit Enable bit in
the PCI-X Status register.
•MAD[13], 66 MHz PCI – By default, internal logic pulls this pin LOW
to enable 66 MHz PCI operation on the LSI53C1020 and to set the
66 MHz Capable bit in the PCI Status register. Pulling this pin HIGH
disables 66 MHz PCI operation and clears the 66 MHz Capable bit
in the PCI Status register.
•MAD[12:11], Reserved.
•MAD[10], ID Control – By default, internal logic pulls this pin LOW.
Pulling this signal LOW either allows the serial EEPROM to program
bit 15 of the Subsystem ID register or allows this bit to default to 0b0.
Pulling this pin HIGH sets this bit to 0b1.
•MAD[9:8], Reserved.
•MAD[7], Serial EEPROM Download Enable – By default, internal
logic pulls this pin LOW to enable the download of PCI configuration
information from the serial EEPROM. Pulling this pin HIGH disables
the download of the PCI configuration information from the serial
EEPROM. Disabling the download of PCI configuration information
defaults the Subsystem Vendor ID register to 0x1000 and defaults
the Subsystem ID register to either 0x1000 if MAD[10] is pulled LOW
or to 0x8000 if MAD[10] is pulled HIGH.
•MAD[6], IOP Boot Enable – By default, internal logic pulls this pin
LOW. In the default mode, the IOP starts the boot process and
downloads firmware from the Flash ROM. Pulling this pin HIGH
causes the IOP to await a firmware download from the host system.
•MAD[5:4], Reserved.
•MAD[3], NVSRAM Select – By default, internal logic pulls this pin
LOW, which has no effect on the LSI53C1020. Pulling this pin HIGH
configures the external memory interface as an NVSRAM interface.
•MAD[2:1], Flash ROM Size – These pins program the size of the
Flash ROM memory. Refer to Table 3.20 for the pin encoding. By
default, internal logic pulls these pins LOW to indicate that a Flash
ROM is not present in the system.
Table 3.20Flash ROM Size Programming
MAD[2:1] OptionsFlash ROM Size
0b00Flash ROM Not Present (Default)
0b01Up to 1024 Kbytes
0b10
Reserved
0b11
1. Choose this setting for a 128 Kbyte or 512 Kbyte Flash ROM.
externally to enable correct operation of the PCI
FSN.
Chapter 4
PCI Host Register
Description
This chapter describes the PCI host register space. This chapter
contains the following sections:
•Section 4.1, “PCI Configuration Space Register Descriptions”
•Section 4.2, “I/O Space and Memory Space Register Descriptions”
The register map at the beginning of each register description provides
the default bit settings for the register. Shading indicates a reserved bit
or register. Do not access reserved address areas.
The PCI System Address space consists of three regions: Configuration
Space, Memory Space, and I/O Space. PCI Configuration Space
supports the identification, configuration, initialization, and error
management functions for the LSI53C1020 PCI device.
PCI Memory Space [0] and Memory Space [1] form the PCI Memory
Space. PCI Memory Space [0] provides normal system accesses to
memory, and PCI Memory Space [1] provides diagnostic memory
accesses. PCI I/O Space provides normal system access to memory.
Note:In this chapter, LSI53C1020 refers to both the LSI53C1020
SCSI controller and the LSI53C1020A SCSI controller,
unless specifically noted.
4.1PCI Configuration Space Register Descriptions
This section provides bit level descriptions of the Fusion-MPT PCI
Configuration Space registers. Table 4.1 defines the PCI Configuration
Space registers. The LSI53C1020 enables, orders, and locates the PCI
extended capability register structures (Power Management, Messaged
Signaled Interrupts, and PCI-X) to optimize device performance. The
LSI53C1020 does not hard code the location and order of the PCI
LSI53C1020/1020A PCI-X to Ultra320 SCSI Controller Technical Manual4-1
extended capability structures. The address and location of the PCI
extended capability structures are subject to change. To access a PCI
extended capability structure, follow the pointers held in the Capability
Pointer registers and identify the extended capability structure with the
Capability ID register for the given structure.
Table 4.1LSI53C1020 PCI Configuration Space Address Map
3124231615870OffsetPage
Device IDVendor ID0x004-3
StatusCommand0x044-3
Class CodeRevision ID0x084-7
ReservedHeader TypeLatency TimerCache Line Size0x0C4-8
I/O Base Address0x104-9
Memory [0] Low0x144-10
Memory [0] High0x184-10
Memory [1] Low0x1C4-11
Memory [1] High0x204-11
Reserved
Subsystem IDSubsystem Vendor ID0x2C4-13
Expansion ROM Base Address0x304-15
Capabilities Pointer0x344-16
Reserved
Maximum LatencyMinimum GrantInterrupt PinInterrupt Line0x3C4-17
Reserved
Power Management CapabilitiesPM Next PointerPM Capability ID4-19
PM DataPM BSEPower Management Control/Status4-21
Reserved–
Message ControlMSI Next PointerMSI Capability ID4-23
Message Address4-25
Message Upper Address4-25
Message Data4-26
Reserved–
PCI-X CommandPCI-X Next PointerPCI-X Capability ID4-27
This 16-bit register identifies the manufacturer of the
device. The Vendor ID is 0x1000.
Register: 0x02–0x03
Device ID
Read Only
150
Device ID
0000000000110000
Device ID[15:0]
This 16-bit register identifies the particular device. The
default Device ID is 0x0030.
Register: 0x04–0x05
Command
Read/Write
15109876543210
Command
0000000000000000
The Command register provides coarse control over the PCI function’s
ability to generate and respond to PCI cycles. Writing a zero to this
register logically disconnects the LSI53C1020 PCI function from the PCI
bus for all accesses except configuration accesses.
Setting this bit disables the LSI53C1020A from asserting
the interrupt signal. Clearing this bit enablesthe assertion
of its interrupt signal. This bit’s state after RST/ is 0.
(Interrupt Disable is supported only by the LSI53C1020A
controller.)
Reserved9
This bit is reserved.
SERR/ Enable8
Setting this bit enables the LSI53C1020 to activate the
SERR/ driver. Clearing this bit disables the SERR/ driver.
Reserved7
This bit is reserved.
Enable Parity Error Response6
Setting this bit enables the LSI53C1020 PCI function to
detect parity errors on the PCI bus and report these
errors to the system. Clearing this bit causes the
LSI53C1020 PCI function to set the Detected Parity Error
bit, bit 15 in the PCI Status register, but not to assert
PERR/ when the PCI function detects a parity error. This
bit only affects parity checking. The PCI function always
generates parity for the PCI bus.
Reserved5
This bit is reserved.
Write and Invalidate Enable4
Setting this bit enables the PCI function to generate write
and invalidate commands on the PCI bus when operating
in the conventional PCI mode.
Reserved3
This bit is reserved.
Enable Bus Mastering2
Setting this bit allows the PCI function to behave as a PCI
bus master. Clearing this bit disables the PCI function
from generating PCI bus master accesses.
This bit controls the ability of the PCI function to respond
to Memory Space accesses. Setting this bit allows the
LSI53C1020 to respond to Memory Space accesses at
the address range specified by the Memory [0] Low,
Memory [0] High, Memory [1] Low, Memory [1] High, and
Expansion ROM Base Address registers. Clearing this bit
disables the PCI function’s response to Memory Space
accesses.
Enable I/O Space0
This bit controls the PCI function’s response to I/O Space
accesses. Setting this bit enables the PCI function to
respond to I/O Space accesses at the address range the
PCI Configuration Space I/O Base Address register specifies. Clearing this bit disables the PCI function’s
response to I/O Space accesses.
Register:0x06–0x07
Status
Read/Write
151413121110987654320
Status
0000001000110000
Reads to this 16-bit register behave normally. To clear a bit location that
is currently set, write the bit to one (1). For example, to clear bit 15 when
it is set, without affecting any other bits, write 0x8000 to the register.
Detected Parity Error (from Slave)15
This bit is set according to the PCI Local Bus Specification, Revision 2.2, and PCI-X Addendum to the PCI Local
Bus Specification, Revision 1.0a.
Signaled System Error14
The LSI53C1020 PCI function sets this bit when asserting the SERR/ signal.
Received Master Abort (from Master)13
A master device sets this bit when a Master Abort command terminates its transaction (except for Special
Cycle).
A master device sets this bit when a Target Abort command terminates its transaction.
Reserved11
This bit is reserved.
DEVSEL/ Timing[10:9]
These two read-only bits encode the timing of DEVSEL/
and indicate the slowest time that a device asserts
DEVSEL/ for any bus command except Configuration
Read and Configuration Write. The LSI53C1020 only
supports medium DEVSEL/ timing. The possible timing
values are as follows:
0b00Fast
0b01Medium
0b10Slow
0b11Reserved
Data Parity Error Reported8
This bit is set according to the PCI Local Bus Specification, Revision 2.2, and PCI-X Addendum to the PCI Local
Bus Specification, Revision 1.0a. Refer to bit 0 of the
PCI-X Command register for more information.
Reserved[7:6]
This field is reserved.
66 MHz Capable5
The MAD[13] Power-On Sense pin controls this bit.
Allowing the internal pull-down to pull MAD[13] LOW sets
this bit and indicates to the host system that the
LSI53C1020 PCI function is capable of operating at
66 MHz. Pulling MAD[13] HIGH clears this bit and indicates to the host system that the LSI53C1020 PCI function is not configured to operate at 66 MHz. Refer to
Section 3.10, “Power-On Sense Pins Description,”
page 3-18, for more information.
New Capabilities4
The LSI53C1020 PCI function sets this read-only bit to
indicate a list of PCI extended capabilities such as PCI
Power Management, MSI, and PCI-X support.
This read-only bit reflects the state of the interrupt in the
LSI53C1020A. The interrupt signal is asserted only when
the Interrupt Disable bit in the command register is
cleared and this Interrupt Status bit is set. (Interrupt Status is supported only by the LSI53C1020A controller.)
Reserved[2:0]
This field is reserved.
Register: 0x08
Revision ID
Read/Write
70
Revision ID
XXXXXXXX
Revision ID[7:0]
This 8-bit register indicates the current revision level of
the device.
Register: 0x09–0x0B
Class Code
Read Only
230
Class Code
000000010000000000000000
Class Code[23:0]
This 24-bit register identifies the generic function of the
device. The upper byte of this register is a base class
code, the middle byte is a subclass code, and the lower
byte identifies a specific register-level programming interface. The value of this register is 0x010000, which identifies a SCSI controller.
This 8-bit register specifies the system cache line size in
units of 32-bit words. In the conventional PCI mode, the
LSI53C1020 PCI function uses this register to determine
whether to use Write and Invalidate or Write commands
for performing write cycles. Programming this register to
a number other than a nonzero power of two disables the
the use of the PCI performance commands to execute
data transfers. The PCI function ignores this register
when operating in the PCI-X mode.
Reserved[2:0]
This field is reserved.
Register: 0x0D
Latency Timer
Read/Write
000
7430
0X000000
Latency Timer[7:4]
This 8-bit register specifies, in units of PCI bus clocks, the
value of the Latency Timer for this PCI bus master. If the
LSI53C1020 initializes in the PCI mode, the default value
of this register is 0x00. If the LSI53C1020 initializes in the
PCI-X mode, the default value of this register is 0x40.
This 8-bit register identifies the layout of bytes 0x10
through 0x3F in configuration space and identifies the
LSI53C1020 as a single function PCI device.
Register: 0x0F
Reserved
70
Reserved
00000000
Reserved[7:0]
This register is reserved.
Register: 0x10–0x13
I/O Base Address
Read/Write
31210
I/O Base Address
0000000000000000000000000000000 1
The I/O Base Address register maps the operating register set into
I/O Space. The LSI53C1020 requires 256 bytes of I/O Space for this
base address register. Hardware sets bit 0 to 0b1. Bit 1 is reserved and
returns 0b0 on all reads.
The Memory [0] Low register and the Memory [0] High register map
SCSI operating registers into Memory Space [0]. This register contains
the lower 32 bits of the Memory Space [0] base address. Hardware
programs bits [9:0] to 0b0000000100, which indicates that the Memory
Space [0] base address is 64 bits wide and that the memory data is not
prefetchable. The LSI53C1020 requires 1024 bytes of memory space.
Memory [0] Low[31:0]
This field contains the Memory [0] Low address.
Register: 0x18–0x1B
Memory [0] High
Read/Write
310
Memory [0] High
00000000000000000000000000000000
The Memory [0] High register and the Memory [0] Low register map
SCSI operating registers into Memory Space [0]. This register contains
the upper 32 bits of the Memory Space [0] base address. The
LSI53C1020 requires 1024 bytes of memory space.
The Memory [1] Low register and the Memory [1] High register map the
RAM into Memory Space [1]. This register contains the lower 32 bits of
the Memory Space [1] base address. Hardware programs bits [12:0] to
0b0000000000100, which indicates that the Memory Space [1] base
address is 64 bits wide and that the memory data is not prefetchable.
The LSI53C1020 requires 64 Kbytes of memory for Memory Space [1].
Memory [1] Low[31:0]
This field contains the Memory [1] Low address.
Register: 0x20–0x23
Memory [1] High
Read/Write
310
Memory [1] High
00000000000000000000000000000000
The Memory [1] High register and the Memory [1] Low register map the
RAM into Memory Space [1]. This register contains the upper 32 bits of
the Memory Space [1] base address. The LSI53C1020 requires
64 Kbytes of memory for Memory Space [1].
This 16-bit register uniquely identifies the vendor that
manufactures the add-in board or subsystem where the
LSI53C1020 resides. This register provides a mechanism
for an add-in card vendor to distinguish their cards from
another vendor’s cards, even if the cards use the same
PCI controller (and have the same Vendor ID and
Device ID).
The external serial EEPROM can hold a vendor-specific,
16-bit value for this register, which the board designer
must obtain from the PCI Special Interest Group
(PCI-SIG). By default, an internal pull-down on the
MAD[7] Power-On Sense pin enables the serial EEPROM
interface so that the LSI53C1020 can load this register
from the serial EEPROM at power-up. If the download
from the EEPROM fails, this register contains 0x0000.
If the board designer disables the EEPROM interface by
pulling the MAD[7] Power-On Sense pin HIGH, this register returns a value of 0x1000. Refer to Section 3.10,
“Power-On Sense Pins Description,” page 3-18, for more
This 16-bit register uniquely identifies the add-in board or
subsystem where this PCI device resides. This register
provides a mechanism for an add-in card vendor to distinguish their cards from one another even if the cards
use the same PCI controller (and have the same
Vendor ID and Device ID). The board designer can store
a vendor-specific, 16-bit value in an external serial
EEPROM.
The ID Control Power-On Sense pin (MAD[10]) and the
serial EEPROM enable Power-On Sense pin (MAD[7])
control the value of this register. These pins have internal
pull-downs. Allowing MAD[7] to remain internally pulled
down enables the serial EEPROM interface and permits
the LSI53C1020 to load this register from the serial
EEPROM at power up. Pulling MAD[7] HIGH disables the
serial EEPROM interface. Allowing the ID Control pin to
remain internally pulled LOW has no effect on this register. Pulling the ID Control pin HIGH sets bit [15] of this
register. Pulling the ID Control pin HIGH takes precedence over all other settings for bit [15].
Table 4.2 lists the configuration options for the Power-On
Sense pins and settings for this register. If the serial
EEPROM interface is disabled and the ID Control pin is
internally pulled LOW, this register contains 0x1000. If the
serial EEPROM interface is disabled and the ID Control
pin is pulled HIGH, this register contains 0x8000. If a
download from the serial EEPROM fails and the
ID Control pin is internally pulled LOW, this register contains 0x0000. If a download from the serial EEPROM fails
and the ID Control pin is pulled HIGH, this register contains 0x8000. Refer to Section 3.10, “Power-On Sense
Pins Description,” page 3-18, for additional information.
Table 4.2Subsystem ID Register Download Conditions and Values
MAD[7] StateMAD[10] LOWMAD[10] HIGH
MAD[7] LOW
MAD[7] HIGH
1. The Subsystem ID register returns 0x0000 if the serial EEPROM download fails.
2. The Subsystem ID register returns 0x8000 if the serial EEPROM download fails.
Subsystem ID = 0xXXXX
Bits [15:0] are downloaded.
Subsystem ID register = 0x1000.Subsystem ID = 0x8000.
1
(Default)
Subsystem ID = 0b1XXXXXXXXXXXXXXX
Bits [14:0] are downloaded with Bit [15] set.
Register: 0x30–0x33
Expansion ROM Base Address
Read/Write
3111 1010
Expansion ROM Base Address
000000000000000000000
This four-byte register contains the base address and size information for
the expansion ROM.
Expansion ROM Base Address[31:11]
These bits correspond to the upper 21 bits of the expansion ROM base address. The host system detects the
size of the external memory by first writing 0xFFFFFFFF
to this register and then reading the register back. The
LSI53C1020 responds with zeros in all don’t care locations. The least significant one (1) that remains represents the binary version of the external memory size. For
example, to indicate an external memory size of 32
Kbytes, this register returns ones in the upper 17 bits
when written with 0xFFFFFFFF and read back.
0 00000000 00
2
Reserved[10:1]
This field is reserved.
Expansion ROM Enable0
This bit controls if the device accepts accesses to its
expansion ROM. Setting this bit enables address decoding. Depending on the system configuration, the device
can optionally use an expansion ROM. Note that to
access the expansion ROM, the user must also set bit 1
in the PCI Command register.
Register: 0x34
Capabilities Pointer
Read Only
70
Capabilities Pointer
XXXXXXXX
Capabilities Pointer[7:0]
This 8-bit register indicates the location of the first
extended capabilities register in PCI Configuration
Space. The value of this register varies according to system configuration.
This 8-bit register communicates interrupt line routing
information. Power-On-Self-Test (POST) software writes
the routing information into this register as it configures
the system. This register indicates the system interrupt
controller input to which the PCI function’s interrupt pin
connects. System architecture determines the values in
this register.
Register: 0x3D
Interrupt Pin
Read Only
70
Interrupt Pin
00000001
Interrupt Pin[7:0]
The encoding of this read-only register indicates which
interrupt pin the function uses. The value for the PCI
function is 0x01, which indicates that the PCI function
presents interrupts on the INTA/ or ALT_INTA pins. The
Interrupt Request Routing Mode bits, bits [9:8] in the Host
Interrupt Mask register, determine if the function presents
This 8-bit register specifies the desired settings for the
latency timer values in units of 0.25 µs. This register
specifies how long of a burst period the device needs.
The LSI53C1020 sets this register to 0x10, indicating a
burst period of 4.0 µs.
Register: 0x3F
Maximum Latency
Read Only
70
Maximum Latency
00000110
Max_Lat[7:0]
This 8-bit register specifies the desired settings for the
latency timer values in units of 0.25 µs. This register
specifies how often the device needs to gain access to
the PCI bus. The LSI53C1020 SCSI function sets this
register to 0x06 because it requires the PCI bus every
1.5 µs to maintain a data transfer rate of 320 Mbytes/s.
This 8-bit register indicates the type of the current data
structure. This register is set to 0x01 to indicate the
Power Management Data Structure.
Register: 0xXX
Power Management Next Pointer
Read Only
70
Power Management Next Pointer
XXXXXXXX
Power Management Next Pointer[7:0]
This 8-bit register contains the pointer to the next item in
the PCI function’s extended capabilities list. The value of
this register varies according to system configuration.
These bits define the power management states in which
the device asserts the Power Management Event (PME)
pin. The LSI53C1020 clears these bits because the
LSI53C1020 does not provide a PME signal.
D2_Support10
The PCI function sets this bit because the LSI53C1020
supports power management state D2.
D1_Support9
The PCI function sets this bit because the LSI53C1020
supports power management state D1.
Aux_Current[8:6]
The PCI function clears this field because the
LSI53C1020 does not support Aux_Current.
Device Specific Initialization5
The PCI function clears this bit because no special initialization is required before a generic class device driver
can use it.
Reserved4
This bit is reserved.
PME Clock3
The LSI53C1020 clears this bit because the chip does
not provide a PME pin.
Version[2:0]
The PCI function programs these bits to 0b010 to indicate
that the LSI53C1020 complies with the PCI Power Man-
Power Management Bridge Support Extensions
Read Only
70
Power Management Bridge Support Extensions
00000000
Power Management Bridge Support Extensions [7:0]
This 8-bit register indicates PCI Bridge specific functionality. The LSI53C1020 always returns 0x00 in this register.
Register: 0xXX
Power Management Data
Read Only
70
Power Management Data
00000000
Power Management Data[7:0]
This 8-bit register provides an optional mechanism for the
function to report state-dependent operating data. The
LSI53C1020 always returns 0x00 in this register.
Register: 0xXX
MSI Capability ID
Read Only
70
MSI Capability ID
00000101
MSI Capability ID[7:0]
This 8-bit register indicates the type of the current data
structure. This register always returns 0x05, indicating
Message Signaled Interrupts (MSIs).