s5920 Applied Micro Circuits Corporation (AMCC), s5920 Datasheet - Page 91
![no-image](/images/no-image-200.jpg)
s5920
Manufacturer Part Number
s5920
Description
Pci Product
Manufacturer
Applied Micro Circuits Corporation (AMCC)
Datasheet
1.S5920.pdf
(165 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
s5920Q
Manufacturer:
AMCC
Quantity:
5 510
S5920 – PCI Product: Initialization
INTRODUCTION
All PCI bus agents and bridges are required to imple-
ment PCI Configuration Registers. When multiple PCI
devices are present, these registers must be unique to
each device in the system. The specified PCI proce-
dure for uniquely selecting a device’s configuration
space involves a dedicated signal, called IDSEL, con-
nected to each motherboard PCI bus device and PCI
slot.
After reset, the host executes configuration cycles to
each device on the PCI bus. The configuration regis-
ters provide information on PCI agent operation and
memory or I/O space requirements. These allow the
PCI BIOS to enable the device and locate it within sys-
tem memory or I/O space.
After a PCI reset, the S5920 can be configured for a
specific application by downloading device setup infor-
mation from an external non-volatile memory into the
device Configuration Registers. In order to use the
Pass-Thru regions, the S5920 must be used with an
external nvRAM boot device If no nvRAM is used, the
Base-Address Regions are disabled. However, the
mailboxes and other PCI/Add-on Operation Registers
can still be used (as Base-Address Region #0 comes
up in its default state, defining a 128-byte I/O region).
To configure the S5920, 64 bytes of setup information
are required. The rest of the boot device can be used
to implement an expansion BIOS, if desired. Some of
the setup information is used to initialize the S5920
PCI Configuration Registers, while other information is
used to define S5920 special operating modes.
PCI RESET
Immediately following the assertion of the PCI RST#
signal, the Add-On reset output SYSRST# is asserted.
The Add-On reset output (SYSRST#) can be used to
initialize external state machines, reset Add-On micro-
processors, or other Add-On logic devices.
All S5920 Operation Registers and Configuration Reg-
isters are initialized to their default states at reset. The
default values for the Configuration Registers will be
overwritten by the contents of the external nv boot
memory during device initialization. Configuration
accesses by the host CPU while the S5920 is loading
configuration will produce PCI bus retries until one of
the following events occurs:
AMCC Confidential and Proprietary
•
•
The S5920 identifies that there is no valid boot
memory (and default Configuration Register
values are used).
The S5920 finishes downloading all configura-
tion information from a valid boot memory.
LOADING THE SERIAL NV MEMORY
Serial nv memory data transfers are performed
through a two-wire, bi-directional data transfer protocol
as defined by commercial serial EEPROM offerings.
These devices have the advantages of low pin counts,
small package size, and economical price.
A serial nv memory is initially considered valid if the
first serial accesses contain the correct per-byte
acknowledgments (see Figure 5). If the serial per-byte
acknowledgment is not observed, the S5920 deter-
mines that no external serial nv memory is present
and the AMCC default Configuration Register values
specified in the PCI Configuration Register Chapter
are used. Please note that the Pass-Thru interface will
not operate unless a valid nv memory has been read.
The serial nvRAM is first accessed at location 0040h
followed by a read to location 0041h. If either of these
accesses contain anything other than FFh, the next
four accesses are to locations 0050h, 0051h, 0052h
and 0053h. At these locations, the data must be 80h
(or 81h or 82h), FFh, E8h, and 10h, respectively, for
the external nv memory to be considered valid. Once a
valid external nv memory has been recognized, it is
read, sequentially from location 040h to 07Fh. The
data is loaded into the appropriate PCI configuration
register. Some of the boot device data is not down-
loaded into the Configuration Registers, but is used
instead to initialize some S5920 modes of operation
(location 0045h, for instance). Upon completion of this
sequence, the boot load terminates and PCI configu-
ration accesses to the S5920 are acknowledged with
the PCI Target Ready (TRDY#) output.
Table 1 lists the required nv memory contents for a
valid configuration nv memory device.
Two pins are used to transfer data between the S5920
PCI controller and the external serial memory: a serial
clock pin, SCL, and a serial data pin, SDA. The serial
clock pin is an open drain output from the S5920, and
the serial data pin is open drain bi-directional. The
serial clock is derived by dividing the PCI bus clock by
293. This means the frequency of the serial clock is
approximately 114 KHz for a 33 MHz PCI bus clock.
Note in Figure 1, a 4.7k pull-up is required on the SDA
and SCL lines. During boot-up, the S5920 will only
communicate with an EEPROM that has its address
pins set to 0 (A[2:0] = “000). When not accessing the
external nvRAM, the S5920 will tri-state the SCL and
SDA signals so other two-wire serial devices can use
the bus. The system designer must guarantee that the
two-wire serial bus is idle whenever the S5920 wants
to start an access. The S5920 does NOT perform two-
Revision 1.02 – April 12, 2007
Data Book
DS1596
91