LSI53C1030 PCI-X to
Dual Channel Ultra320
SCSI Multifunction
Controller
September 2003
Version 2.2
®
DB14-000156-05
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-000156-05, Version 2.2 (September 2003)
This document describes LSI Logic Corporation’s LSI53C1030 PCI-X to
Dual Channel Ultra320 SCSI Multifunction Controller and will remain the official
reference source for all revisions/releases of this product 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 Striping, LVDlink, SDMS, SureLINK, and TolerANT are trademarks or
registered trademarks of LSI Logic Corporation. ARM and Multi-ICE are
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
centers, view our web page located at
http://www.lsilogic.com/contacts/index.html
This book is the primary reference and technical manual for the
LSI53C1030 PCI-X to Dual Channel Ultra320 SCSI Multifunction
Controller. It contains a functional description for the LSI53C1030 and
the physical and electrical specifications for the LSI53C1030.
This document assumes that you have some familiarity with
microprocessors and related support devices. The people who benefit
from this book are:
•Engineers and managers who are evaluating the LSI53C1030 for use
in a system
•Engineers who are designing the LSI53C1030 into a system
Organization
This document has the following chapters and appendixes:
•Chapter 1, Introduction, provides an overview of the LSI53C1030
features and capabilities.
•Chapter 2, Functional Description, provides a detailed functional
description of the LSI53C1030 operation. This chapter describes
how the LSI53C1030 implements the PCI, PCI-X, and SCSI bus
specifications.
•Chapter 3, Signal Description, provides a detailed signal
description for the LSI53C1030.
•Chapter 4, PCI Host Register Description, provides a bit level
description of the host register set of the LSI53C1030.
LSI53C1030 PCI-X to Dual Channel Ultra320 SCSI Multifunction Controlleriii
2575 N. E. Katherine
Hillsboro, OR 97214
(800) 433-5177; (503) 693-6232 (International); FAX (503) 693-8344
Conventions Used in This Manual
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
Version 2.29/2003Corrected SCSI clock period and LOW/HIGH times in Table 5.13.
Version 2.16/2003Updated the external memory timing diagrams.
Version 2.04/2002Added register summary appendix.
Preliminary
Version 1.0
12/2001 Updated the description of Fusion-MPT architecture in Chapter 1.
Updated references to Integrated RAID (IR).
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.
Updated External Memory Interface descriptions in Chapter 2.
Added Test Interface description to Chapter 2.
Added Zero Channel RAID interface description to Chapters 2 and 3.
Updated the MAD Power-On Sense pin description in Chapter 3.
Updated signal descriptions and lists to include the ZCR-related pins.
Updated electrical and environmental characteristics in Chapter 5.
Removed figures relating to SE SCSI electrical and timing characteristics
from Chapter 5.
Removed SCSI timing information from Chapter 5 and referred readers to
the SCSI specification.
Removed PSBRAM interface and all related information.
This chapter provides a general overview of the LSI53C1030 PCI-X to
Dual Channel Ultra320 SCSI Multifunction 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 LSI53C1030 Features”
1.1General Description
The LSI53C1030 PCI-X to Dual Channel Ultra320 SCSI Multifunction
Controller brings Ultra320 SCSI performance to host adapter,
workstation, and server designs, making it easy to add a
high-performance SCSI bus to any PCI or PCI-X system. The
LSI53C1030 supports both the PCI Local Bus Specification, Revision
2.2, and the PCI-X Addendum to the PCI Local Bus Specification,
Revision 1.0a.
1. In some instances, this manual references PCI-X explicitly. References to the PCI
bus may be inclusive of both the PCI specification and PCI-X addendum, or they
may refer only to the PCI bus depending on the operating mode of the device.
LSI53C1030 PCI-X to Dual Channel Ultra320 SCSI Multifunction Controller1-1
The LSI53C1030 is pin compatible with the LSI53C1010R PCI to Dual
Channel Ultra160 SCSI Multifunction Controller to provide an easy and
safe migration path to Ultra320 SCSI. The LSI53C1030 supports up to a
64-bit, 133 MHz PCI-X bus. The Ultra320 SCSI features for the
LSI53C1030 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 LSI53C1030 to achieve data transfer rates of up
to 320 megabytes per second (Mbytes/s) on each SCSI channel, for a
total bandwidth of 640 Mbytes/s on both SCSI channels. Packetized
protocol 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 bus
free phase. Skew compensation permits the LSI53C1030 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
LSI53C1030 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 LSI53C1030 supports a local memory bus, which supports a
standard serial EEPROM and allows local storage of the BIOS in Flash
ROM memory. The LSI53C1030 supports programming of local Flash
ROM memory for BIOS updates. Figure 1.1 shows a typical LSI53C1030
board application connected to external ROM memory.
The LSI53C1030 integrates two high-performance SCSI Ultra320 cores
and a 64-bit, 133 MHz PCI-X bus master DMA core. The LSI53C1030
employs three ARM966E-S processors to meet the data transfer flexibility
requirements of the Ultra320 SCSI, PCI, and PCI-X specifications.
Separate ARM®processors support each SCSI channel and the
PCI/PCI-X interface.
These processors implement the LSI Logic 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 LSI53C1030 to
perform either Single-Ended (SE) or LVD transfers. Figure 1.2 illustrates
a typical LSI53C1030 system application.
The LSI Logic 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 Integrated RAID are:
•Integrated Mirroring™ (IM), which provides features of RAID 1 and
RAID 1E. IM provides physical mirroring of the boot volume through
LSI53C1030 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 LSI Logic Fusion-MPT architecture provides the interface to the
SCSI chip/firmware to enable Integrated Striping and Integrated
Mirroring. 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 LSI Logic Integrated RAID solution, see
the Integrated RAID User’s Guide, DB15-000292-00.
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 interchangable 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 off loads the intensive work of
managing SCSI I/Os from the system processor to the LSI53C1030.
Developed from the proven LSI Logic SDMS™ solution, the Fusion-MPT
architecture delivers unmatched performance of up to 100,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
since the device driver need not change for each revision of the
LSI53C1030 silicon or firmware. This architecture is a reliable, constant
interface between the host device driver and the LSI53C1030. Changes
within the LSI53C1030 are transparent to the host device driver,
operating system, and user. The Fusion-MPT architecture also saves the
user significant development and maintenance effort since it is not
necessary to alter or redevelop the device driver when a revision of the
LSI53C1030 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 LSI53C1030 supports up to a 133 MHz, 64-bit PCI-X bus and is
backward compatible with previous versions of the PCI/PCI-X
specification. The LSI53C1030 is a true multifunction PCI-X device and
presents a single electrical load to the PCI bus. The LSI53C1030 uses
a single REQ/-GNT/ pair to arbitrate for PCI bus mastership. Separate
interrupt signals for PCI Function [0] and PCI Function [1] allow
independent control of the two PCI functions.
Per the PCI-X addendum, the LSI53C1030 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 LSI53C1030 clocks PCI-X data directly into
and out of registers, which creates a more efficient data path. The
LSI53C1030 increases bus efficiency since 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.
1.4Benefits of Ultra320 SCSI
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 LSI53C1030 performs 16-bit, Ultra320 SCSI
synchronous data transfers as fast as 320 Mbytes/s on each SCSI
channel. 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 intersymbol interference (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, etc. 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 LSI53C1030 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 LSI53C1030. SureLINK Domain Validationsoftware
provides domain validation management at boot time as well as during
system operation.
SureLINK Domain Validation ensures robust system operation by
providing 3 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 LSI53C1030 supports Low Voltage Differential (LVD) through
LVDlink technology. This signalling technology increases the reliability of
SCSI data transfers over longer distances than are supported by SE
(Single Ended) 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 LSI53C1030 in both legacy and Ultra320 SCSI applications, this
device features universal LVDlink transceivers that support LVD SCSI
and SE SCSI.
The LSI53C1030 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 built-in
feature of the LSI53C1030 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 the American National Standards
Institute.
This section provides a summary of the LSI53C1030 features and
benefits. It contains information on SCSI Performance, PCI Performance,
Integration, Flexibility, Reliability, and Testability.
1.8.1 SCSI Performance
The LSI53C1030 contains the following SCSI performance features:
•Supports Ultra320 SCSI
–Paced transfers using a free running clock
–320 Mbyte/s data transfer rate on each SCSI channel
–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
–Three ARM966E-S processors provide high performance with
•Uses provenintegrated 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 support for Windows, Linux, Solaris, SCO Openserver,
UnixWare, OpenUnix 8, and NetWare operating systems
•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
–Provides a theoretical 1066 Mbytes/s zero wait state transfer rate
–Complies with the PCI Local Bus Specification, Revision 2.2
–Complies with the PCI-X Addendum to the PCI Local Bus
–Complies with PCI Power Management Interface Specification,
–Complies with PC2001 System Design Guide
•Offers unmatched performance through the Fusion-MPT architecture
•Provides high throughput and low CPU utilization to off load the host
processor
Cycles (DAC)
Specification, Revision 1.0a
Revision 1.1
•Presents a single electrical load to the PCI Bus (True PCI
Multifunction Device)
•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 8 PCI-X outstanding split transactions
These features make the LSI53C1030 easy to integrate:
•Is backward compatible with previous revisions of the PCI and SCSI
specifications
•Is pin compatible with the LSI53C1010R PCI to Dual Channel
Ultra160 SCSI Multifunction Controller
•Provides a low-risk migration path to Ultra320 SCSI from the
LSI53C1010R
•Is a dual channel Ultra320 SCSI to PCI/PCI-X multifunction controller
•Supports a 32-bit or 64-bit PCI/PCI-X DMA bus master
•Reduces time to market with the Fusion-MPT architecture
–Single driver binary for SCSI and Fibre Channel products
–Thin, easy to develop drivers
–Reduced integration and certification effort
•Provides integrated LVDlink transceivers
These features increase the flexibility of the LSI53C1030:
•Universal LVD transceivers are backward compatible with SE devices
•Provides a flexible programming interface to tune I/O performance or
to adapt to unique SCSI devices
•Supports MSI or pin-based (INTx/ or ALT_INTx/) interrupt signalling
•Can respond with multiple SCSI IDs
•Is compatible with 3.3 V and 5.0 V PCI signalling
–Drives and receives 3.3 V PCI signals
–Receives 5.0 V PCI if the PCI5VBIAS pin connects to 5 V, but
This chapter provides a subsytem level overview of the LSI53C1030, a
discussion of the Fusion-MPT architecture, and a functional description
of the LSI53C1030 interfaces. This chapter contains the following
sections:
The LSI53C1030 is a high performance, intelligent PCI-X to Dual
Channel Ultra320 SCSI Multifunction Controller. The LSI53C1030
supports the PCI Local Bus Specification, Revision 2.2, the PCI-XAddendum to the PCI Local Bus Specification, Revision 1.0a, and the
proposed SCSI Parallel Interface-4 (SPI-4) draft standard.
The LSI53C1030 employs the LSI Logic 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 Fusion-MPT architecture.
LSI53C1030 PCI-X to Dual Channel Ultra320 SCSI Multifunction Controller2-1
The LSI53C1030 consists of three major modules: a host interface
module and two independent Ultra320 SCSI channel modules. 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 two SCSI channels. The host interface module controls system
DMA transfers and the host side of the LSI Logic Fusion-MPT
architecture. It also supports the external memory, serial EEPROM, and
General Purpose I/O (GPIO) interfaces. This section provides a detailed
explanation of the host interface submodules.
The LSI53C1030 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.”
2.1.1.2 System Interface
The system interface efficiently passes messages between the
LSI53C1030 and other I/O agents using a high performance, packetized,
mailbox architecture. The 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.3 I/O Processor (IOP)
The LSI53C1030 I/O processor (IOP) is a 32-bit ARM966E-S RISC
processor. The IOP controls the system interface and uses the LSI Logic
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,”
for more information on the Fusion-MPT architecture.
2.1.1.4 DMA 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 modules
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.6 External Memory Controller
The external memory control subsystem provides a direct interface
between the primary bus and the external memory subsystem. MAD[7:0]
and MADP[0] comprise the external memory bus. The LSI53C1030
supports the Flash ROM and NVSRAM interfaces through the external
memory controller. The Flash ROM is optional if the LSI53C1030 is not
the boot device and a suitable driver exists to initialize the device. The
LSI53C1030 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 Interface.”
During power up or reset the LSI53C1030 uses the MAD[15:0] and
MADP[1:0] signals as Power-On Sense pins, which configure the
LSI53C1030 through their pull-up or pull-down settings. Refer to
Section 3.10, “Power-On Sense Pins Description,”for a description of the
Power-On Sense pin configuration options.
2.1.1.7 Timer, GPIO, and Configuration
This subsystem provides a free running timer to allow event time
stamping and also controls the general purpose I/O (GPIO), LED, and
serial EEPROM interfaces. The LSI53C1030 uses the free running timer
to aid in tracking and managing SCSI I/Os. The LSI53C1030 generates
the free running timer’s microsecond time base by dividing the SCSI
reference clock by 40.
The LSI53C1030 provides eight GPIO pins (GPIO[7:0]). These pins are
under the control of the LSI53C1030 and default to the input mode upon
PCI reset. The LSI53C1030 also provides three LED pins: A_LED/,
B_LED/, and HB_LED/. Either firmware or hardware control A_LED/ and
B_LED/. The LSI53C1030 firmware controls HB_LED/ (heartbeat LED),
which 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 LSI53C1030. Refer to Section 2.6, “Serial EEPROM
Interface,” for more information concerning the serial EEPROM.
2.1.2 SCSI Channel Module Description
The LSI53C1030 provides two independent Ultra320 SCSI bus channels.
Separate Ultra320 SCSI cores, datapath engines, and context managers
support each SCSI channel. Refer to Section 2.4, “Ultra320 SCSI
Functional Description,” for an operational description of the LSI53C1030
SCSI bus channels.
2.1.2.1 Ultra320 SCSI Cores
The Ultra320 SCSI cores control their individual SCSI bus interface.
2.1.2.2 Datapath Engines
The datapath engines manage the SCSI side of DMA transactions
between their individual SCSI bus and the host system.
2.1.2.3 Context Managers
The context managers are ARM966E-S processors. Each context
manager controls the SCSI channel side of the LSI53C1030 Fusion-MPT
architecture for their individual SCSI bus. The context managers control
the outbound queues, target mode I/O mapping, disconnect and reselect
sequences, scatter/gather lists, and status reports.
2.2Fusion-MPT Architecture Overview
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 LSI53C1030
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 LSI53C1030 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 LSI53C1030, and the LSI53C1030 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. Since data transport
through the system doorbell occurs a single Dword at a time, use the
LSI53C1030 message queues for normal operation and data transport.
The host PCI interface complies with the PCI Local Bus Specification,
Revision 2.2, and the PCI-X Addendum to the PCI Local Bus
Specification, Revision 1.0a. The LSI53C1030 supports up to a 133 MHz,
64-bit PCI-X bus. The LSI53C1030 provides support for 64-bit
addressing with Dual Address Cycle (DAC).
The LSI53C1030 is a true multifunction PCI-X device and presents a
single electrical load to the PCI bus. The LSI53C1030 uses a single
REQ/-GNT/ pair to arbitrate for PCI bus mastership. Separate interrupt
signals for PCI Function [0] and PCI Function [1] allow independent
control of the two PCI functions.
2.3.1 PCI 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.1 PCI Configuration Space
The LSI53C1030 defines an independent set of PCI Configuration Space
registers for each PCI function. Each configuration space is a contiguous
256 x 8-bit set of addresses. The system BIOS initializes the
configuration registers using PCI configuration cycles. The LSI53C1030
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
LSI53C1030 ignores configuration read/write cycles when IDSEL is not
asserted.
Since the LSI53C1030 is a multifunction PCI device, bits AD[10:8]
decode either the PCI Function [0] Configuration Space (AD[10:8] =
0b000) or the PCI Function [1] Configuration Space (AD[10:8] = 0b001).
The LSI53C1030 does not respond to any other encodings of AD[10:8].
Bits AD[7:2] select one of the sixty-four Dword registers in the device’s
PCI Configuration Space. Bits AD[1:0] determine if the configuration
command is a Type 0 Configuration Command (AD[1:0] = 0b00) or a
Type 1 Configuration Command (AD[1:0] = 0b01). Since the LSI53C1030
is not a PCI Bridge device, all PCI Configuration Commands designated
for the LSI53C1030 must be Type 0. C_BE[3:0]/ address the individual
bytes within each Dword and determine the type of access to perform.
2.3.1.2 PCI 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 LSI53C1030. The
I/O Base Address register determines the 256-byte PCI I/O area that the
PCI device occupies.
2.3.1.3 PCI Memory Space
The LSI53C1030 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 LSI53C1030 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.2 PCI 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 LSI53C1030 ignores this command as a slave and never generates
it as a master.
2.3.2.3 I/O Read Command
The I/O Read command reads data from an agent mapped in the I/O
address space. When decoding I/O commands, the LSI53C1030
decodes the lower 32 address bits and ignores the upper 32 address
bits. The LSI53C1030 supports this command when operating in either
the PCI or PCI-X bus mode.
2.3.2.4 I/O Write Command
The I/O Write command writes data to an agent mapped in the I/O
address space. When decoding I/O commands, the LSI53C1030
decodes the lower 32 address bits and ignores the upper 32 address
bits. The LSI53C1030 supports this command when operating in either
the PCI or PCI-X bus mode.
2.3.2.5 Memory Read Command
The LSI53C1030 uses the Memory Read 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 LSI53C1030
supports this command when operating in the PCI bus mode.
2.3.2.6 Memory Read Dword Command
The Memory Read Dword 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 LSI53C1030 supports
this command when operating in the PCI-X bus mode.
2.3.2.7 Memory Write Command
The Memory Write command writes data to an agent mapped in the
memory address space. The target assumes responsibility for data
coherency when it returns “ready.” The LSI53C1030 supports this
command when operating in either the PCI or PCI-X bus mode.
This command is reserved for future implementations of the PCI
specification. The LSI53C1030 never generates this command as a
master.When a slave, the LSI53C1030 supports this command using the
Memory Read Block command.
2.3.2.9 Alias to Memory Write Block Command
This command is reserved for future implementations of the PCI
specification. The LSI53C1030 never generates this command as a
master.When a slave, the LSI53C1030 supports this command using the
Memory Write Block command.
2.3.2.10 Configuration Read Command
The Configuration Read command reads the configuration space of a
device. The LSI53C1030 nevergenerates this command as a master, but
does respond to it as a slave. A device on the PCI bus selects the
LSI53C1030 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 either the
PCI Function [0] Configuration Space (AD[10:8] = 0b000) or the PCI
Function [1] Configuration Space (AD[10:8] = 0b001). The LSI53C1030
treats AD[63:11] as logical don’t cares.
2.3.2.11 Configuration Write Command
The Configuration Write command writes the configuration space of a
device. The LSI53C1030 nevergenerates this command as a master, but
does respond to it as a slave. A device on the PCI bus selects the
LSI53C1030 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 either the
PCI Function [0] Configuration Space (AD[10:8] = 0b000) or the PCI
Function [1] Configuration Space (AD[10:8] = 0b001). The LSI53C1030
treats AD[63:11] as logical don’t cares.
The Memory Read Multiple command is identical to the Memory Read
command, except it additionally indicates that the master intends to fetch
multiple cache lines before disconnecting. The LSI53C1030 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 LSI53C1030 reads is a multiple of the cache line size, which
Revision 2.2 of the PCI specification provides. The LSI53C1030 selects
the largest multiple of the cache line size based on the amount of data
to transfer.
2.3.2.13 Split Completion Command
Split transactions in PCI-X replace the delayed transactions in
conventional PCI. The LSI53C1030 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 LSI53C1030
supports the Split Completion command for all of these commands
except the Interrupt Acknowledge command, which the LSI53C1030
neither responds to nor generates.
2.3.2.14 Dual Address Cycles (DAC) Command
The LSI53C1030 performs Dual Address Cycles (DAC), per the PCI
Local Bus Specification, Revision 2.2. The LSI53C1030 supports this
command when operating in either the PCI or PCI-X bus mode.
This command is identical to the Memory Read command except it
additionally indicates that the master intends to fetch a complete cache
line. The LSI53C1030 supports this command when operating in the PCI
mode.
2.3.2.16 Memory Read Block Command
The LSI53C1030 uses this command to read from memory. The
LSI53C1030 supports this command when operating in the PCI-X mode.
2.3.2.17 Memory Write and Invalidate Command
The Memory Write and Invalidate 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 LSI53C1030
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 LSI53C1030 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 LSI53C1030 bursts data using a noncache
command. If the starting address aligns, the LSI53C1030 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 LSI53C1030 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
LSI53C1030 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 LSI53C1030 issues a Memory
Write command on the next cache boundary to complete the data
transfer.
The LSI53C1030 uses this command to burst data to memory. The
LSI53C1030 supports this command when operating in the PCI-X bus
mode.
2.3.3 PCI Arbitration
The LSI53C1030 contains independent bus mastering functions for each
of the SCSI functions 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 channels.
The LSI53C1030 uses a single 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 three
internal bus mastering functions can arbitrate for access to the PCI bus.
2.3.4 PCI Cache Mode
The LSI53C1030 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 LSI53C1030
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.5 PCI Interrupts
The LSI53C1030 signals an interrupt to the host processor either using
PCI interrupt pins, INTx/ and ALT_INTx/, or using Message Signalled
Interrupts (MSI). 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 INTx/ and/or the ALT_INTx/ pin.
The Interrupt Pin register configures the routing of each PCI function’s
interrupt signals to either the interrupt A pins (INTA/, ALT_INTA/) or the
interrupt B pins (INTB/ or ALT_INTB/).
If using MSI, the LSI53C1030 does not signal interrupts on INTx/ or
ALT_INTx/. Note that enabling MSI to mask PCI interrupts is a violation
of the PCI specification. Each PCI function of the LSI53C1030
implements its own MSI register set. The LSI53C1030 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.
2.3.6 Power Management
The LSI53C1030 complies with the PCI Power Management Interface
Specification, Revision 1.1, and the PC2001 System Design Guide. The
LSI53C01030 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 each PCI device on the
LSI53C1030. Table 2.2 provides the power state bit settings.
Table 2.2Power States
Power Management Control and
Status Register, Bits [1:0]Power StateFunction
Power State.
cold
, and D3
hot
hot
or D3
power states.
cold
. Powering a
cold
0b00D0Maximum Power
0b01D1Snooze Mode
0b10D2Coma Mode
0b11D3Minimum Power
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 each SCSI function. Power state actions are separate
for each SCSI function.
Power State D0 is the maximum power state and is the power-up default
state for each function. The LSI53C1030 is fully functional in this state.
2.3.6.2 Power State D1
Per the PCI Power Management Interface Specification, Power State D1
must have an equal or lower power level 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.3 Power State D2
Per the PCI Power Management Interface Specification, Power State D2
must have an equal or lower power level 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 function's memory and I/O spaces 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 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.4 Power State D3
Per the PCI Power Management Interface Specification, Power State D3
must have an equal or lower power level than Power State D2. Power
State D3 is the minimum power state and includes the D3
settings. D3
allows the device to transition to D0 using software. D3
hot
and D3
cold
cold
removes power from the LSI53C1030. D3
applying VCC and resetting the device.
Placing a function in Power State D3 puts the LSI53C1030 core in the
coma mode, clears the function's PCI Command register, and continually
asserts the function's soft reset. Asserting soft reset clears all pending
interrupts and 3-states the SCSI bus.
2.4 Ultra320 SCSI Functional Description
The LSI53C1030 provides two independent Ultra320 SCSI channels on
a single chip. Each 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 LSI53C1030 controller supports the Ultra320
SCSI, Ultra160 SCSI, Ultra2 SCSI, Ultra SCSI, and Fast SCSI interfaces.
2.4.1 Ultra320 SCSI Features
This section describes how the LSI53C1030 implements the features in
the SPI-4 draft specification.
can transition to D0 by
cold
2.4.1.1 Parallel 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.2 Double 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 the use of
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
The LSI53C1030 uses the PPR negotiation that the SPI-4 draft standard
describes to establish a paced transferagreement for each initiator-target
pair.
Precompensation – When transmitting in the Ultra320 SCSI mode, the
LSI53C1030 uses precompensation to adjust the strength of the REQ,
ACK, parity, and data signals. When a signal transitions to HIGH or LOW,
the LSI53C1030 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 LSI53C1030
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.
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 LSI53C1030 transmits pad bytes to bring the byte
count to a multiple of four.
2.4.1.5 Quick 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 LSI53C1030 employs a fairness
algorithm to ensure that all devices have equal bus access.
2.4.1.6 Skew Compensation
The LSI53C1030 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 LSI53C1030 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.7 Cyclic 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.
2.4.1.8 SureLINK Domain Validation
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 3 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.2 SCSI Bus Interface
This section describes the SCSI bus modes that the LSI53C1030
supports and the SCSI bus termination methods necessary to operate a
high speed SCSI bus.
2.4.2.1 SCSI Bus Modes
The LSI53C1030 supports SE and LVD transfers. To increase device
connectivity and SCSI cable length, the LSI53C1030 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 A_DIFFSENS or B_DIFFSENS signals detect the different input
voltages for HVD, LVD, and SE. The LSI53C1030 drivers are tolerant of
HVD signal strengths, but do not support the HVD bus mode. The
LSI53C1030 SCSI device 3-states its SCSI drivers when it detects an
HVD signal level.
2.4.2.2 SCSI Termination
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 LSI53C1030 in a design with an 8-bit SCSI bus,
The LSI53C1030 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 LSI53C1030 is not the boot
device and a suitable driver exists to initialize the LSI53C1030. Integrated
Mirroring (IM) technology requires an NVSRAM for write journaling. The
nonvolatile external serial EEPROM stores configuration parameters for
the LSI53C1030.
2.5.1 Flash 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 LSI53C1030 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
0b11
1. Choose this setting for a 128 Kbyte or 512 Kbyte Flash ROM.
The LSI53C1030 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 LSI53C1030 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.
Figure 2.4Flash ROM Block Diagram
FLSHALE[1]/
FLSHALE[0]/
FLSHALE[1]/
FLSHALE[0]/
MAD[7:0]
FLSHCE/
MOE/
BWE[0]/
Upper Address
CK
D
Middle Address
CK
D
Lower Address
CK
D
Q
Q
Q
A[21:16]
A[15:8]
A[7:0]
Flash ROM (512 K x 8)
D[7:0]
CE/
OE/
WE/
The LSI53C1030 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
LSI53C1030 compares the values read to the Flash signature values that
Table 2.4 provides. If the signature values match, the LSI53C1030
performs the instruction located at Flash address 0x000000. If the
signature values do not match, the LSI53C1030 records an error and
ignores the Flash instruction. The Flash signature does not include the
first three bytes of Flash memory as these bytes contain a branch offset
instruction.
The LSI53C1030 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.
The nonvolatile external serial EEPROM stores configuration fields for
the LSI53C1030. The serial EEPROM contains fields for the Subsystem
ID(s), Subsystem Vendor ID(s), and the size of the PCI Diagnostic
Memory Space. The LSI53C1030 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.”
CPLD
CY37032
MAS[1:0]
MAD[7:0]
MAD[14:0]A[14:0]
D[7:0]
CE/
OE/
WE/
3.3 V
NVSRAM (32 K x 8)
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.
0x00PCI Function [0] Subsystem ID, bits [7:0]
0x01PCI Function [0] Subsystem ID, bits [15:8]
0x02PCI Function [0] Subsystem Vendor ID, bits [7:0]
0x03PCI Function [0] Subsystem Vendor ID, bits [15:8]
0x04PCI Diagnostic Memory Size
0x05Reserved
0x06PCI Function [1] Subsystem ID, bits [7:0]
0x07PCI Function [1] Subsystem ID, bits [15:8]
0x08PCI Function [1] Subsystem Vendor ID, bits [7:0]
0x09PCI Function [1] Subsystem Vendor ID, bits [15:8]
0x0AChecksum
2.7 Zero Channel RAID
Zero channel RAID (ZCR) capabilities enable the LSI53C1030 to
respond to accesses from a PCI RAID controller card or chip that is able
to generate ZCR cycles. The LSI53C1030’s 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 LSI53C1030. Pulling
ZCR_EN/ HIGH disables ZCR support on the LSI53C1030 and causes
the LSI53C1030 to behave as a normal PCI-X to Ultra320 SCSI
controller. When ZCR is disabled, the IOPD_GNT/ signal has no effect
on the LSI53C1030 operation.
Pulling ZCR_EN/ LOW enables ZCR operation. When ZCR is enabled,
the LSI53C1030 responds to PCI configuration cycles when the
IOPD_GNT/ and IDSEL signal are asserted. Connect the IOPD_GNT/
pin on the LSI53C1030 to the PCI GNT/ signal of the external I/O
processor. This allows the I/O processor to perform PCI configuration
cycles to the LSI53C1030 when the I/O processor is granted the PCI bus.
This configuration also prevents the system processor from accessing
the LSI53C1030 PCI configuration registers.
LSI53C1030 based designs do not use the M66EN pin to determine the
PCI bus speed.
Figure 2.6 illustrates how to connect the LSI53C1030 to enable ZCR.
This figure also contains information for connecting the LSI53C1010R
based designs to a ZCR design and migrating from LSI53C1010R based
designs to LSI53C1030 based designs. Notice that the LSI53C1030 does
not require the 2:1 mux.
Figure 2.6ZCR Circuit Diagram for LSI53C1030 and LSI53C1010R
ZCR PCI
Slot
Int A/ (A6)
Int B/ (B7)
Int C/ (A7)
Int D/ (B8)
Vdd
Vdd
Vdd
Vdd
0.1 kΩ
Vdd
0.1 kΩ
4.7 kΩ
TDI (A4)
GNT/ (A17)
TMS (A3)
IDSEL (A26)
AD21 (B29)
Host System
Int A/
Int B/
Int C/
Int D/
AD21
AD19
Note: To maintain proper interrupt mapping, select the address line for use as IDSEL on the
LSI53C1010R/LSI53C1030 to be +2 address lines above IDSEL on ZCR slot.
This section describes the LSI Logic requirements for the Multi-ICE test
interface. LSI Logic recommends that all test signals be routed 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 LSI53C1030.
The chapter consists of 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 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.
LSI53C1030 PCI-X to Dual Channel Ultra320 SCSI Multifunction Controller 3-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 contains the functional signal groupings of the LSI53C1030.
Figure 5.12 on page 5-20 provides a diagram of the LSI53C1030
456 Ball Grid Array (BGA). Table 5.20 and Table 5.21 on page 5-22 and
page 5-24 provide pinout listings for the LSI53C1030.
This section describes the PCI interface. The PCI interface consists of
the System, Address and Data, Interface Control, Arbitration, Error
Reporting, and Interrupt signal groups.
3.2.1 PCI System Signals
Table 3.1 describes the PCI System signals group.
Table 3.1PCI System Signals
Signal NameBGA PositionTypeStrength Description
CLKAC22IN/ARefer to the PCI Local Bus Specification,
RST/AB10IN/ARefer to the PCI Local Bus Specification,
Version 2.2, and the PCI-X Addendum to the
PCI Local Bus Specification, Version 1.0a,for
this signal description.
Version 2.2, and the PCI-X Addendum to the
PCI Local Bus Specification, Version 1.0a,for
PVT2, PVT1AF4, AE5IN/APVT2 and PVT1 provide biasing for PCI
Active LOW Alternate Interrupt A indicates
that PCI Function [0] 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 PCI Host
Interrupt Mask register, control the routing of
interrupt signals to INTA/ and/or ALT_INTA/.
Active LOW Alternate Interrupt B indicates
that PCI Function [1] is requesting service
from its host device driver. ALT_INTB/ is an
open drain signal. The interrupt request
routing mode bits, bits [9:8] in the PCI Host
Interrupt Mask register, control the routing of
interrupt signals to INTB/ and/or ALT_INTB/.
signals. Connect a 49.9 Ω, 1% resistor
between PVT2 and PVT1.
The SCSI Interface signals section describes the signals for the SCSI
Channel [0] and SCSI Channel [1] interfaces. Table 3.8 describes the
SCSI bus clock signal that is common to both SCSI Channel [0] and
SCSI Channel [1].
In the LVD mode, the negative and positive signals form the differential
pair. In the SE mode, the negative signals represent the signal pin and
the positive signals are a virtual ground. The LSI53C1030 does not
support the HVD mode. If HVD signalling is present, the SCSI channel
3-states its drivers.
Table 3.8SCSI Bus Clock Signal
Signal NameBGA PositionType Strength Description
SCLKF3IN/ASCSI Clock provides the 80 MHz reference
clock source for the ARM966E-S
processors and all SCSI-related timings.
3.4.1 SCSI Channel [0] Signals
Table 3.9 describes the SCSI Channel [0] Interface signals.
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.
MADP[1:0]C22, B24I/O8 mAThe Memory Address and Data Parity
signals provide parity checking for
MAD[15:0]. By default, the LSI53C1030
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.
MOE/G26O4 mAThe LSI53C1030 asserts active LOW
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.
BWE[1:0]/E24, H23O8 mAThe LSI53C1030 asserts active LOW
Memory Byte Write Enables to allow
single byte writes to the NVSRAM. BWE0/
enables writes on MAD[7:0].
RAMCE/D20O8 mAWhen MAD[3] is pulled HIGH, the
LSI53C1030 asserts active LOW
synchronous RAM Chip Enable to select
the NVSRAM.
FLSHCE/G25O8 mAThe LSI53C1030 asserts active LOW
Flash Chip Enable to enable data
transfers with a single 8-bit device.
FLSHALE[1:0]/ J24, K22O8 mAThe Flash ROM and NVSRAM interfaces
use active LOW Flash Address LatchEnable. For the Flash ROM, these signals
provide clocks for address latches. For the
NVSRAM, these signals provide the
memory address strobe.
SCANENN22IN/ASCANEN is for use only by LSI Logic.
SCANMODEE7IN/ASCANMODE is for use only by LSI Logic.
IDDTNY4IN/AIDDTN is for use only by LSI Logic.
CLKMODE_0AA22IN/ACLKMODE_0 is for use only by LSI Logic.
CLKMODE_1AC2IN/ACLKMODE_1 is for use only by LSI Logic.
DIS_PCI_FSN/A24IN/APulling DIS_PCI_FSN/ LOW disables 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 LSI53C1030
controls the PCI FSN.
DIS_SCSI_FSN/ AC4IN/ADIS_SCSI_FSN/ is for use only by LSI Logic.
TESTACLKAB6IN/ATESTACLK is for use only by LSI Logic.
TESTHCLKAE2IN/ATESTHCLK is for use only by LSI Logic.
TNC5IN/ATN is for use only by LSI Logic.
TESTCLKEND7IN/ATESTCLKEN is for use only by LSI Logic.
for the PCI bus
drivers/receivers,SCSI bus
drivers/receivers, local
memory interface
drivers/receivers, and
other I/O pins.
GN/AVSS_IO provides ground
for the PCI bus
drivers/receivers,SCSI bus
drivers/receivers, local
memory interface
drivers/receivers, and
other I/O pins.
circuit power for the PLL
circuit.
circuit ground for the PLL
circuit.
PN/AVDDC provides power for
the core logic.
GN/AVSSC provides ground for
the core logic.
PCI5VBIASM23, W25, Y22, AB22, AC10, AD9,
AD18, AE6, AF12
NCAC9–N/ANo Connect.
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 eighteen Power-On Sense
pins that configure global operating conditions within the LSI53C1030.
The MAD[15:0] and MADP[1:0] pins haveinternal 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 connect a 4.7 kΩ resistor between the appropriate pin and VDD
to pull the pin HIGH. The LSI53C1030 samples these pins during PCI
reset and holds their values upon the removal of PCI reset. Table 3.20
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.
Table 3.20MAD Power-On Sense Pin Options
MAD Pin FunctionPulled-Down (Default)Pulled-Up
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 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]Reserved
MAD[11]ID Control [1]Has no effect.Sets bit [15] of the PCI Function
MAD[10]ID Control [0]Has no effect.Sets bit [15] of the PCI Function
MAD[9:8]Reserved
MAD[7]Serial EEPROM
Download
Enable
MAD[6]IOP Boot Enable Enables the IOP boot process.Disables the IOP boot process.
Enables the download of the PCI
configuration information from
the serial EEPROM.
Configures the LSI53C1030 according to Table 3.21.
[1] Subsystem ID register to 0b1.
[0] Subsystem ID register to 0b1.
Disables the download of the PCI
configuration information from the
serial EEPROM.
Table 3.20MAD Power-On Sense Pin Options (Cont.)
MAD Pin FunctionPulled-Down (Default)Pulled-Up
MAD[3]NVSRAM SelectHas no effect.Configures the LSI53C1030 to
MAD[2:1] Flash ROM SizeConfigures the Flash ROM size according to Table 3.22.
MAD[0]Reserved
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 LSI53C1030. Pulling this pin HIGH
disables the PCI-X mode on the LSI53C1030. 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 LSI53C1030 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], Reserved.
•MAD[11], ID Control [1] – By default, internal logic pulls this pin
LOW. Pulling this signal LOW either allows the serial EEPROM to
program bit 15 of the PCI Function [1] Subsystem ID register or allows
this bit to default to 0b0. Pulling this pin HIGH sets this bit to 0b1.
•MAD[10], ID Control [0] – By default, internal logic pulls this pin
LOW. Pulling this signal LOW either allows the serial EEPROM to
program bit 15 of the PCI Function [0] 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
Subsystem ID register for the respective PCI Function to either
0x1000 if MAD[11:10] are pulled LOW or to 0x8000 if MAD[11:10]
are 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], PCI Single/Multifunction and SCSI Single/Dual
Channel Configuration – These pins work in conjunction with each
other to configure the LSI53C1030 as a single function PCI-X to
single channel SCSI controller or a multifunction PCI-X to dual
channel SCSI controller. By default, hardware internally pulls
MAD[5:4] down to configure the LSI53C1030 as multifunction PCI-X
to dual channel SCSI controller. The user may pull MAD[5:4] HIGH
to configure the LSI53C1030 as a single function PCI-X to single
channel SCSI controller. This configuration enables PCI Function [0]
and SCSI Channel [0], disables PCI Function [1] and SCSI
Channel [1], and programs the PCI Function [0] Header Typeregister
to indicate a single function PCI device. LSI Logic does not support
multifunction PCI-X to single channel SCSI or single function PCI-X
to dual channel SCSI configurations. Table 3.21 provides the
MAD[5:4] pin encoding definitions.
Table 3.21PCI-X Function to SCSI Channel Configurations
MAD[5:4] Options LSI53C1030 Configuration
0b00Multifunction PCI-X to Dual Channel SCSI Controller
0b01Reserved
0b10Reserved
0b11Single Function PCI-X to Single Channel SCSI Controller
•MAD[3], NVSRAM Select – By default, internal logic pulls this pin
LOW, which has no effect on the LSI53C1030. Pulling this pin HIGH
configures the external memory interface as an NVSRAM interface.
•MAD[2:1], ROM Size – These pins program the size of the Flash
ROM memory. Refer to Table 3.22 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.22Flash ROM Size Programming
MAD[2:1] OptionsFlash ROM Size
0b00Flash ROM not present (Default)
0b01Up to 1024 Kbytes
1
0b10
0b11
1. Choose this setting for a 128 Kbyte or 512 Kbyte Flash ROM.
This chapter describes the PCI host register space. This chapter consists
of the following sections:
•Section 4.1, “PCI Configuration Space Register Description”
•Section 4.2, “PCI I/O Space and Memory Space Register
Description”
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 the reserved address areas.
There are two PCI functions on the LSI53C1030. Each PCI function has
its own independent interrupt pin and its own PCI Address space. 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 LSI53C1030 PCI devices.
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.
4.1 PCI Configuration Space Register Description
This section provides bit level descriptions of the PCI Configuration
Space registers. Table 4.1 defines the PCI Configuration Space registers.
A separate set of PCI Configuration Space registers exists for each PCI
function.
The LSI53C1030 enables, orders, and locates the PCI extended
capability register structures (Power Management, Messaged Signalled
LSI53C1030 PCI-X to Dual Channel Ultra320 SCSI Multifunction Controller 4-1
Interrupts, and PCI-X) to optimize device performance. The LSI53C1030
does not hard code the location and order of the PCI 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.1LSI53C1030 PCI Configuration Space Address Map
3116 150 Offset Page
Device IDVendor ID0x004-3
StatusCommand0x044-3
Class CodeRevision ID0x084-7
ReservedHeader TypeLatency TimerCache Line Size0x0C4-7
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 for the LSI53C1030 is 0x0030.
Register: 0x04–0x05
Command
Read/Write
159876543210
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 LSI53C1030 PCI function from the PCI
bus for all accesses except configuration accesses.
Setting this bit enables the LSI53C1030 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 LSI53C1030 PCI function to
detect parity errors on the PCI bus and report these
errors to the system. Clearing this bit causes the
LSI53C1030 PCI function to set the Detected Parity Error
bit, bit 15 in the PCI Status register, but not 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.
Enable Memory Space1
This bit controls the ability of the PCI function to respond
to Memory Space accesses. Setting this bit allows the
LSI53C1030 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 PCI Memory
Space accesses.
This bit controls the LSI53C1030 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
15141312111098765430
Status
0000001000110000
Reads to this 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 per the PCI Local Bus Specification, Revision 2.2, and PCI-X Addendum to the PCI Local Bus
Specification, Revision 1.0a.
Signalled System Error14
The LSI53C1030 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).
Received Target Abort (from Master)12
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 LSI53C1030 only
supports medium DEVSEL/ timing. The possible timing
values are:
0b00Fast
0b01Medium
0b10Slow
0b11Reserved
Data Parity Error Reported8
This bit is set per 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
LSI53C1030 PCI function is capable of operating at
66 MHz. Pulling MAD[13] HIGH clears this bit and indicates to the host system that the LSI53C1030 PCI function is not configured to operate at 66 MHz. Refer to
Section 3.10, “Power-On Sense Pins Description,” for
more information.
New Capabilities4
The LSI53C1030 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 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.
Register: 0x0C
Cache Line Size
Read/Write
7320
Cache Line Size
00000
Cache Line Size[7:3]
This register specifies the system cache line size in units
of 32-bit words. In the conventional PCI mode, the
LSI53C1030 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
7430
Latency Timer
0X000000
Latency Timer[7:4]
The Latency Timer register specifies, in units of PCI bus
clocks, the value of the Latency Timer for this PCI bus
master. If the LSI53C1030 initializes in the PCI mode, the
default value of this register is 0x00. If the LSI53C1030
initializes in the PCI-X mode, the default value of this register is 0x40.
Reserved[3:0]
This field is reserved.
Register: 0x0E
Header Type
Read Only
70
X0000000
Header Type[7:0]
This 8-bit register identifies the layout of bytes 0x10
through 0x3F in configuration space and also indicates if
the device is a single function or multifunction PCI device.
If the LSI53C1030 is configured as a multifunction PCI
device, bit 7 is set. If the LSI53C1030 is configured as a
single function PCI device, bit 7 is cleared.
The I/O Base Address register maps the operating register set into I/O
Space. The LSI53C1030 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.
I/O Base Address[31:2]
This field contains the I/O Base address.
Reserved[1:0]
This field is reserved.
Register: 0x14–0x17
Memory [0] Low
Read/Write
310
Memory [0] Low
0000000000000000000000 0 0 0 0 0 0 0 1 0 0
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 LSI53C1030 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
LSI53C1030 requires 1024 bytes of memory space.
Memory [0] High[31:0]
This field contains the Memory [0] High address.
Register: 0x1C–0x1F
Memory [1] Low
Read/Write
310
Memory [1] Low
0000000000000000000 0 0 0 0 0 0 0 0 0 0 1 0 0
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 LSI53C1030 requires 64 Kbytes of memory for Memory Space [1].
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 LSI53C1030 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
LSI53C1030 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 LSI53C1030 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-21, for more
information.
Register: 0x2E–0x2F
Subsystem ID
Read Only
150
xxxxxxxxxxxxxxxx
Subsystem ID[15:0]
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 dis-
tinguish 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 pins (MAD[11] for PCI
Function [1]; MAD[10] for PCI Function [0]) 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
LSI53C1030 to load this register from the serial EEPROM
at power up. Pulling MAD[7] HIGH disables the serial
EEPROM interface. Allowing the ID Control pins to
remain internally pulled LOW has no effect on this register. Pulling the ID Control pins HIGH sets bit [15] of this
register for the given PCI function. Pulling the ID Control
pins 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 pins
are internally pulled LOW, this register contains 0x1000.
If the serial EEPROM interface is disabled and the ID
Control pins are pulled HIGH, this register contains
0x8000. If a download from the serial EEPROM fails and
the ID Control pins are internally pulled LOW, this register
contains 0x0000. If a download from the serial EEPROM
fails and the ID Control pins are pulled HIGH, this register
contains 0x8000. Refer to Section 3.10, “Power-On
Sense Pins Description,” for additional information.
Table 4.2Subsystem ID Register Download Conditions and Values
MAD[7] StateMAD[11] or MAD[10] LOWMAD[11] or MAD[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.
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
LSI53C1030 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.
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.