XIO2000 PCI Express to PCI Bus Translation Bridge Data Manual Literature Number: SCPS097B November 2005 Printed on Recycled Paper IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Applications Amplifiers amplifier.ti.com Audio www.ti.com/audio Data Converters dataconverter.ti.com Automotive www.ti.com/automotive DSP dsp.ti.com Broadband www.ti.com/broadband Interface interface.ti.com Digital Control www.ti.com/digitalcontrol Logic logic.ti.com Military www.ti.com/military Power Mgmt power.ti.com Optical Networking www.ti.com/opticalnetwork Microcontrollers microcontroller.ti.com Security www.ti.com/security Telephony www.ti.com/telephony Video & Imaging www.ti.com/video Wireless www.ti.com/wireless Mailing Address: Texas Instruments Post Office Box 655303 Dallas, Texas 75265 Copyright 2005, Texas Instruments Incorporated Contents Section 1 2 3 Page XIO2000 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 Related Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3 Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4 Document Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5 Document History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.6 Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.7 Terminal Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.8 Terminal Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Feature/Protocol Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1 Power-Up/-Down Sequencing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.1 Power-Up Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.2 Power-Down Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2 Bridge Reset Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3 PCI Express Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3.1 External Reference Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3.2 Beacon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3.3 Wake . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3.4 Initial Flow Control Credits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3.5 PCI Express Message Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4 PCI Bus Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.1 I/O Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.2 Clamping Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.3 PCI Bus Clock Run . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.4 PCI Bus External Arbiter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.5 MSI Messages Generated from the Serial IRQ Interface . . . . . . . . . . . . . . . . . . . . . . 3.4.6 PCI Bus Clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5 Quality of Service and Isochronous Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.1 PCI Port Arbitration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.2 PCI Isochronous Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.3 PCI Express Extended VC With VC Arbitration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.4 128-Phase, WRR PCI Port Arbitration Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6 Configuration Register Translation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.7 PCI Interrupt Conversion to PCI Express Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8 PME Conversion to PCI Express Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.9 PCI Express To PCI Bus Lock Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.10 Two-Wire Serial-Bus Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.10.1 Serial-Bus Interface Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.10.2 Serial-Bus Interface Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.10.3 Serial-Bus EEPROM Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.10.4 Accessing Serial-Bus Devices Through Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.11 Advanced Error Reporting Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.12 Data Error Forwarding Capability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.13 General-Purpose I/O Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.14 Set Slot Power Limit Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.15 PCI Express and PCI Bus Power Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . November 2005 SCPS097B 1 2 2 2 2 3 3 3 4 8 15 15 15 16 17 18 18 19 19 19 19 20 20 20 21 21 22 23 23 24 25 26 27 28 29 30 31 32 33 33 35 37 37 37 38 38 38 iii Contents Section 4 iv Page Classic PCI Configuration Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1 Vendor ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2 Device ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3 Command Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.4 Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.5 Class Code and Revision ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.6 Cache Line Size Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.7 Primary Latency Timer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.8 Header Type Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.9 BIST Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.10 Device Control Base Address Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.11 Primary Bus Number Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.12 Secondary Bus Number Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.13 Subordinate Bus Number Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.14 Secondary Latency Timer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.15 I/O Base Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.16 I/O Limit Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.17 Secondary Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.18 Memory Base Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.19 Memory Limit Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.20 Prefetchable Memory Base Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.21 Prefetchable Memory Limit Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.22 Prefetchable Base Upper 32-Bit Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.23 Prefetchable Limit Upper 32-Bit Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.24 I/O Base Upper 16-Bit Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.25 I/O Limit Upper 16-Bit Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.26 Capabilities Pointer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.27 Interrupt Line Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.28 Interrupt Pin Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.29 Bridge Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.30 Capability ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.31 Next Item Pointer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.32 Power Management Capabilities Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.33 Power Management Control/Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.34 Power Management Bridge Support Extension Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.35 Power Management Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.36 MSI Capability ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.37 Next Item Pointer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.38 MSI Message Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.39 MSI Message Lower Address Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.40 MSI Message Upper Address Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.41 MSI Message Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.42 Capability ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.43 Next Item Pointer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.44 Subsystem Vendor ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.45 Subsystem ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.46 PCI Express Capability ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.47 Next Item Pointer Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SCPS097B 40 41 41 42 43 44 44 44 44 45 45 45 46 46 46 46 47 48 49 49 49 50 50 50 51 51 51 52 52 52 54 54 55 56 56 57 57 57 58 58 59 59 59 60 60 60 60 61 November 2005 Section 5 Page 4.48 PCI Express Capabilities Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.49 Device Capabilities Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.50 Device Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.51 Device Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.52 Link Capabilities Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.53 Link Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.54 Link Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.55 Serial-Bus Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.56 Serial-Bus Word Address Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.57 Serial-Bus Slave Address Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.58 Serial-Bus Control and Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.59 GPIO Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.60 GPIO Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.61 Control and Diagnostic Register 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.62 Control and Diagnostic Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.63 Control and Diagnostic Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.64 Subsystem Access Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.65 General Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.66 Clock Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.67 Clock Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.68 Clock Run Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.69 Arbiter Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.70 Arbiter Request Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.71 Arbiter Time-Out Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.72 Serial IRQ Mode Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.73 Serial IRQ Edge Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.74 Serial IRQ Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Express Extended Configuration Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1 Advanced Error Reporting Capability ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2 Next Capability Offset/Capability Version Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3 Uncorrectable Error Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4 Uncorrectable Error Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5 Uncorrectable Error Severity Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.6 Correctable Error Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.7 Correctable Error Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.8 Advanced Error Capabilities and Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.9 Header Log Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.10 Secondary Uncorrectable Error Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.11 Secondary Uncorrectable Error Mask Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.12 Secondary Uncorrectable Error Severity Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.13 Secondary Error Capabilities and Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.14 Secondary Header Log Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.15 Virtual Channel Capability ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.16 Next Capability Offset/Capability Version Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.17 Port VC Capability Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.18 Port VC Capability Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.19 Port VC Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.20 Port VC Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . November 2005 SCPS097B 61 62 63 64 65 66 67 67 67 68 69 70 71 72 73 74 74 75 77 78 79 80 81 82 83 84 85 87 88 88 89 90 91 92 93 94 94 95 96 97 98 99 99 100 100 101 102 102 v Contents Section 6 7 vi Page 5.21 VC Resource Capability Register (VC0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.22 VC Resource Control Register (VC0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.23 VC Resource Status Register (VC0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.24 VC Resource Capability Register (VC1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.25 VC Resource Control Register (VC1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.26 VC Resource Status Register (VC1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.27 VC Arbitration Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.28 Port Arbitration Table (VC1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Memory-Mapped TI Proprietary Register Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1 Device Control Map ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2 Revision ID Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3 Upstream Isochrony Capabilities Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4 Upstream Isochrony Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5 Upstream Isochronous Window 0 Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.6 Upstream Isochronous Window 0 Base Address Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.7 Upstream Isochronous Window 0 Limit Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.8 Upstream Isochronous Window 1 Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.9 Upstream Isochronous Window 1 Base Address Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.10 Upstream Isochronous Window 1 Limit Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.11 Upstream Isochronous Window 2 Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.12 Upstream Isochronous Window 2 Base Address Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.13 Upstream Isochronous Window 2 Limit Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.14 Upstream Isochronous Window 3 Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.15 Upstream Isochronous Window 3 Base Address Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.16 Upstream Isochronous Window 3 Limit Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.17 GPIO Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.18 GPIO Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.19 Serial-Bus Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.20 Serial-Bus Word Address Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.21 Serial-Bus Slave Address Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.22 Serial-Bus Control and Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.23 Serial IRQ Mode Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.24 Serial IRQ Edge Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.25 Serial IRQ Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1 Absolute Maximum Ratings Over Operating Temperature Ranges . . . . . . . . . . . . . . . . . . . . . . . 7.2 Recommended Operation Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3 PCI Express Differential Transmitter Output Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.4 PCI Express Differential Receiver Input Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.5 PCI Express Differential Reference Clock Input Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.6 Electrical Characteristics Over Recommended Operating Conditions (PCI Bus) . . . . . . . . . . . 7.7 Electrical Characteristics Over Recommended Operating Conditions (3.3-V I/O) . . . . . . . . . . . 7.8 PCI Clock Timing Requirements Over Recommended Operating Conditions . . . . . . . . . . . . . . 7.9 PCI Bus Timing Requirements Over Recommended Operating Conditions . . . . . . . . . . . . . . . . 7.10 PCI Bus Parameter Measurement Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.11 PCI Bus Parameter Measurement Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SCPS097B 103 104 105 105 106 107 107 108 109 109 110 110 111 112 112 112 113 113 113 114 114 114 115 115 115 116 117 117 118 118 119 120 121 122 124 124 124 125 127 129 130 130 131 131 132 133 November 2005 Section 8 9 Page Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mechanical Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . November 2005 SCPS097B 134 135 vii Figures List of Figures Figure 2−1 3−1 3−2 3−3 3−4 3−5 3−6 3−7 3−8 3−9 3−10 3−11 3−12 3−13 3−14 3−15 3−16 3−17 3−18 3−19 7−1 7−2 7−3 7−4 viii Page XIO2000 GZZ/ZZZ MicroStar BGATM Package (Bottom View) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . XIO2000 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power-Up Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power-Down Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-State Bidirectional Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Bus Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Type 0 Configuration Transaction Address Phase Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Type 1 Configuration Transaction Address Phase Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Express Assert_INTx Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Express Deassert_INTx Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Express PME Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Starting A Locked Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Continuing A Locked Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Terminating A Locked Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial EEPROM Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial-Bus Start/Stop Conditions and Bit Transfers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial-Bus Protocol Acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial-Bus Protocol—Byte Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial-Bus Protocol—Byte Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial-Bus Protocol—Multibyte Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Load Circuit And Voltage Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CLK Timing Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PRST Timing Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Shared Signals Timing Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SCPS097B 4 15 16 17 20 28 28 29 30 30 30 31 32 32 33 34 34 34 35 35 132 133 133 133 November 2005 List of Tables Table 2−1 2−2 2−3 2−4 2−5 2−6 2−7 2−8 2−9 2−10 3−1 3−2 3−3 3−4 3−5 3−6 3−7 3−8 3−9 3−10 3−11 3−12 3−13 3−14 3−15 4−1 4−2 4−3 4−4 4−5 4−6 4−7 4−8 4−9 4−10 4−11 4−12 4−13 4−14 4−15 4−16 4−17 4−18 4−19 4−20 4−21 4−22 Page XIO2000 GZZ/ZZZ Terminals Sorted Alphanumerically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . XIO2000 Signal Names Sorted Alphabetically . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Supply Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Ground Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Combined Power Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Express Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clock Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI System Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reserved Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Miscellaneous Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bridge Reset Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Initial Flow Control Credit Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Messages Supported by the Bridge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IRQ Interrupt to MSI Message Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Classic PCI Arbiter Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Port Number to PCI Bus Device Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128-Phase, WRR Time-Based Arbiter Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Isochronous Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hardware-Fixed, Round-Robin Arbiter Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32-phase, WRR Arbiter Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Type 0 Configuration Transaction IDSEL Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Interrupt Mapping In The Code Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . EEPROM Register Loading Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Registers Used To Program Serial-Bus Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clocking In Low Power States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Classic PCI Configuration Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Command Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Class Code and Revision ID Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Device Control Base Address Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I/O Base Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I/O Limit Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Secondary Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Memory Base Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Memory Limit Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Prefetchable Memory Base Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Prefetchable Memory Limit Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Prefetchable Base Upper 32-Bit Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Prefetchable Limit Upper 32-Bit Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I/O Base Upper 16-Bit Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I/O Limit Upper 16-Bit Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bridge Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Management Capabilities Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Management Control/Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Management Bridge Support Extension Register Description . . . . . . . . . . . . . . . . . . . . . . . . MSI Message Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MSI Message Lower Address Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . November 2005 SCPS097B 5 7 9 9 9 10 10 11 12 13 18 19 20 22 24 24 25 25 26 27 29 30 36 37 39 40 42 43 44 45 46 47 48 49 49 49 50 50 50 51 51 52 55 56 56 58 58 ix Tables Table 4−23 4−24 4−25 4−26 4−27 4−28 4−29 4−30 4−31 4−32 4−33 4−34 4−35 4−36 4−37 4−38 4−39 4−40 4−41 4−42 4−43 4−44 4−45 4−46 4−47 4−48 5−1 5−2 5−3 5−4 5−5 5−6 5−7 5−8 5−9 5−10 5−11 5−12 5−13 5−14 5−15 5−16 5−17 5−18 5−19 5−20 5−21 5−22 x Page MSI Message Data Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Express Capabilities Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Device Capabilities Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Device Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Device Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Link Capabilities Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Link Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Link Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial-Bus Slave Address Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial-Bus Control and Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GPIO Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GPIO Data Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Control and Diagnostic Register 0 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Control and Diagnostic Register 1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Control and Diagnostic Register 2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Subsystem Access Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clock Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clock Mask Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clock Run Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Arbiter Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Arbiter Request Mask Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Arbiter Time-Out Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial IRQ Mode Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial IRQ Edge Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial IRQ Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PCI Express Extended Configuration Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Uncorrectable Error Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Uncorrectable Error Mask Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Uncorrectable Error Severity Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Correctable Error Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Correctable Error Mask Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Advanced Error Capabilities and Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Secondary Uncorrectable Error Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Secondary Uncorrectable Error Mask Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Secondary Uncorrectable Error Severity Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Secondary Error Capabilities and Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Secondary Header Log Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Port VC Capability Register 1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Port VC Capability Register 2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Port VC Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Port VC Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VC Resource Capability Register (VC0) Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VC Resource Control Register (VC0) Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VC Resource Status Register (VC0) Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VC Resource Capability Register (VC1) Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VC Resource Control Register (VC1) Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VC Resource Status Register (VC1) Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SCPS097B 59 61 62 63 64 65 66 67 68 69 70 71 72 73 74 74 75 77 78 79 80 81 82 83 84 85 87 89 90 91 92 93 94 95 96 97 98 99 100 101 102 102 103 104 105 105 106 107 November 2005 Table 5−23 5−24 5−25 5−26 6−1 6−2 6−3 6−4 6−5 6−6 6−7 6−8 6−9 6−10 6−11 6−12 6−13 6−14 Page VC Arbitration Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VC Arbitration Table Entry Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Port Arbitration Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Port Arbitration Table Entry Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Device Control Memory Window Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Upstream Isochronous Capabilities Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Upstream Isochrony Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Upstream Isochronous Window 0 Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Upstream Isochronous Window 1 Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Upstream Isochronous Window 2 Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Upstream Isochronous Window 3 Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GPIO Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . GPIO Data Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial-Bus Slave Address Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial-Bus Control and Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial IRQ Mode Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial IRQ Edge Control Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial IRQ Status Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . November 2005 SCPS097B 107 107 108 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 xi Tables (This page has been left blank intentionally.) xii SCPS097B November 2005 Features 1 XIO2000 Features D Full x1 PCI Express Throughput D Fully Compliant with PCI Express to D D D D D D D D D D D D PCI/PCI-X Bridge Specification, Revision 1.0 Fully Compliant with PCI Express Base Specification, Revision 1.0a Fully Compliant with PCI Local Bus Specification, Revision 2.3 Extended Virtual Channel (VC) Support Includes a Second VC for Quality-of-Service and Isochronous Applications PCI Express Advanced Error Reporting Capability Including ECRC Support Support for D1, D2, D3hot, and D3cold Active State Link Power Management Saves Power When Packet Activity on the PCI Express Link is Idle, Using Both L0s and L1 States Wake Event and Beacon Support Error Forwarding Including PCI Express Data Poisoning and PCI Bus Parity Errors Utilizes 100-MHz Differential PCI Express Common Reference Clock or 125-MHz Single-Ended, Reference Clock Robust Pipeline Architecture To Minimize Transaction Latency Full PCI Local Bus 66-MHz/32-Bit Throughput Support for Six Subordinate PCI Bus Masters with Internal Configurable, 2-Level Prioritization Scheme D Advanced VC Arbitration Options Include D D D D D D D D D D D D VC1 Strict Priority, Hardware-Fixed Round-Robin, and 32-Phase, Weighted Round-Robin Advanced PCI Bus Port Arbitration Options Include 128-phase, Weighted Round-Robin Time-Based and 128-phase, Weighted Round-Robin Aggressive Time-Based Advanced PCI Isochronous Windows for Memory Space Mapping to a Specified Traffic Class Advanced PCI Express Message Signaled Interrupt Generation for Serial IRQ Interrupts from CardBus Applications External PCI Bus Arbiter Option PCI Bus LOCK Support Clock Run and Power Override Support Six Buffered PCI Clock Outputs (33 MHz or 66 MHz) PCI Bus Interface 3.3-V and 5.0-V (33 MHz only at 5.0 V) Tolerance Options Integrated AUX Power Switch Drains VAUX Power Only When Main Power Is Off Eight 3.3-V, Multifunction, General-Purpose I/O Terminals Memory-Mapped EEPROM Serial-Bus Controller Supporting PCI Express Power Budget/Limit Extensions for Add-In Cards Compact Footprint, 201-Ball, GZZ MicroStarTM BGA or Lead-Free 201-Ball, ZZZ MicroStarTM BGA Table 1−1. Figure 1−1. MicroStar BGA is a trademark of Texas Instruments. Other trademarks are the property of their respective owners. November 2005 SCPS097B 1 Introduction 2 Introduction The Texas Instruments XIO2000 is a PCI Express to PCI local bus translation bridge that provides full PCI Express and PCI local bus functionality and performance. 2.1 Description The XIO2000 is a single-function PCI Express to PCI translation bridge that is fully compliant to the PCI Express to PCI/PCI-X Bridge Specification, Revision 1.0. For downstream traffic, the bridge simultaneously supports up to eight posted and four nonposted transactions for each enabled virtual channel (VC). For upstream traffic, up to six posted and four nonposted transactions are simultaneously supported for each VC. The PCI Express interface is fully compliant to the PCI Express Base Specification, Revision 1.0a. The PCI Express interface supports a x1 link operating at full 250 MB/s packet throughput in each direction simultaneously. Two independent VCs are supported. The second VC is optimized for isochronous traffic types and quality-of-service (QoS) applications. Also, the bridge supports the advanced error reporting capability including extended CRC (ECRC) as defined in the PCI Express Base Specification. Supplemental firmware or software is required to fully utilize both of these features. Robust pipeline architecture is implemented to minimize system latency across the bridge. If parity errors are detected, then packet poisoning is supported for both upstream and downstream operations. The PCI local bus is fully compliant with the PCI Local Bus Specification (Revision 2.3) and associated programming model. Also, the bridge supports the standard PCI-to-PCI bridge programming model. The PCI bus interface is 32-bit and can operate at either 33 MHz or 66 MHz. Also, the PCI interface provides fair arbitration and buffered clock outputs for up to 6 subordinate devices. The bridge has advanced VC arbitration and PCI port arbitration features for upstream traffic. When these arbitration features are fully utilized, bridge throughput performance may be tuned for a variety of complex applications. Power management (PM) features include active state link PM, PME mechanisms, the beacon and wake protocols, and all conventional PCI D-states. If the active state link PM is enabled, then the link automatically saves power when idle using the L0s and L1 states. PM active state NAK, PM PME, and PME-to-ACK messages are supported. Standard PCI bus power management features provide several low power modes, which enable the host system to further reduce power consumption. The bridge has additional capabilities including, but not limited to, serial IRQ with MSI messages, serial EEPROM, power override, clock run, and PCI bus LOCK. Also, eight general-purpose inputs and outputs (GPIOs) are provided for further system control and customization. 2.2 Related Documents • • • • • • • • • 2.3 Trademarks • • • 2 PCI Express to PCI/PCI-X Bridge Specification, Revision 1.0 PCI Express Base Specification, Revision 1.0a PCI Express Card Electromechanical Specification, Revision 1.0a PCI Local Bus Specification, Revision 2.3 PCI-to-PCI Bridge Architecture Specification, Revision 1.2 PCI Bus Power Management Interface Specification, Revision 1.1 or 1.2 PCI Mobile Design Guide, Revision 1.1 Serialized IRQ Support for PCI Systems, Revision 6.0 PCI Express Jitter and BER White Paper PCI Express is a trademark of PCI-SIG TI and MicroStar BGA are trademarks of Texas Instruments Other trademarks are the property of their respective owners SCPS097B November 2005 Introduction 2.4 Document Conventions Throughout this data manual, several conventions are used to convey information. These conventions are listed below: 1. To identify a binary number or field, a lower case b follows the numbers. For example: 000b is a 3-bit binary field. 2. To identify a hexadecimal number or field, a lower case h follows the numbers. For example: 8AFh is a 12-bit hexadecimal field. 3. All other numbers that appear in this document that do not have either a b or h following the number are assumed to be decimal format. 4. If the signal or terminal name has a bar above the name (for example, GRST), then this indicates the logical NOT function. When asserted, this signal is a logic low, 0, or 0b. 5. Differential signal names end with P, N, +, or − designators. The P or + designators signify the positive signal associated with the differential pair. The N or − designators signify the negative signal associated with the differential pair. 6. RSVD indicates that the referenced item is reserved. 7. The power and ground signals in Figure 2−1 are not subscripted to aid in readability. 8. In Sections 4 through 6, the configuration space for the bridge is defined. For each register bit, the software access method is identified in an access column. The legend for this access column includes the following entries: r – read access by software u – updates by the bridge internal hardware w – write access by software c – clear an asserted status bit with a write-back of 1b by software 2.5 Document History REVISION DATE REVISION NUMBER REVISION COMMENTS 05/2004 − Product preview 08/2005 A Initial release 2.6 Ordering Information ORDERING NUMBER NAME VOLTAGE PACKAGE XIO2000 PCI-Express to PCI Bridge 3.3-V, 5.0-V tolerant PCI bus I/Os with 3.3-V and 1.5-V power terminals 201-terminal GZZ MicroStar PBGA XIO2000 PCI-Express to PCI Bridge 3.3-V, 5.0-V tolerant PCI bus I/Os with 3.3-V and 1.5-V power terminals 201-terminal ZZZ (Lead-Free) MicroStar PBGA November 2005 SCPS097B 3 Introduction 2.7 Terminal Assignments The XIO2000 is packaged in a 201-ball GZZ/ZZZ MicroStarTM BGA. Figure 2−1 is a terminal diagram of the GZZ/ZZZ package and Table 2−1 lists the terminals sorted alphanumerically. Table 2−2 lists the terminals in alphanumerical order. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 GPIO3 GPIO6 GPIO7 RSVD RSVD RSVD RSVD RSVD RSVD RSVD RSVD RSVD RSVD RSVD RSVD RSVD VDD_33 RSVD RSVD RSVD RSVD VSS VSS VSS VSS VDD_33 VSS VDD_33 VDD_33 VDD_33 17 GPIO1 // U INTC PRST LOCK PWR_ OVRD GPIO5 // GPIO0 // T INTB R M66EN P AD30 AD31 CLK N AD28 AD29 M AD26 AD27 L AD23 INTD SERIRQ GPIO2 RSVD SDA CLKRUN GPIO4 // INTA VSS VDD_33 VSS RSVD VSS VDD_15 RSVD RSVD VSS RSVD RSVD GRST VDD_33 PME WAKE SCL VDD_15 VDD_15 _COMB VDD_33 C/BE[3] AD24 AD25 VSS VSS VSS VSS _COMB VSS REF0_ REF1_ PCIE PCIE VSSA IO K AD20 J VCCP H C/BE[2] G FRAME F DEVSEL E SERR PAR VDD_33 D C/BE[1] AD15 VSS C AD14 B AD12 AD21 AD19 AD22 AD18 VSS VSS VDD_15 VSS VSS VSS VSS VSS VSS VSS VDD_33 VDDA_ VDD_33 _AUX 33 _COMB VDDA_ VDDA_ 15 15 VSS VSS VSS VSSA PERST TXN TXP VSSA VSS VDD_ AD17 AD16 VDD_33 VSS VSS VSS VSS VSS VSSA 15 VDDA_ IRDY TRDY VSS VSS VSS VSS VSS VSS VSSA 15 VDDA_ STOP PERR VSSA VSSA 15 VSSA RXN RXP RSVD RSVD VDDA_ AD3 VSS VDD_15 VDD_33 VSS 33 CLK AD13 AD8 VSS VDD_33 AD2 REQ1 REQ2 GNT3 GNT4 VDD_33 A AD10 AD11 1 2 AD9 3 C/BE[0] VCCP 4 AD7 AD6 5 AD5 AD4 6 AD1 AD0 7 CLK CLK OUT1 OUT2 GNT1 GNT2 REQ0 GNT0 8 REQ3 9 10 REQ4 REF REF CLK− CLK+ VSS OUT0 CLK CLKRUN OUT6 _EN REQ5 CLK CLK CLK OUT3 OUT4 OUT5 11 12 13 VSSA EXT_ REFCLK ARB_EN _SEL 15 16 GNT5 14 17 Figure 2−1. XIO2000 GZZ/ZZZ MicroStar BGA Package (Bottom View) 4 SCPS097B November 2005 Introduction Table 2−1. XIO2000 GZZ/ZZZ Terminals Sorted Alphanumerically BGA BALL # SIGNAL NAME BGA BALL # SIGNAL NAME BGA BALL # SIGNAL NAME A02 AD11 C17 REFCLK+ H10 VSS VSS A03 AD9 D01 C/BE[1] H11 A04 VCCP AD6 D02 AD15 H14 A05 D03 H15 VDD_15 VSSA A06 AD4 D07 VSS AD3 H16 TXN A07 AD0 D08 H17 TXP A08 GNT0 D09 VSS VDD_15 J01 A09 GNT1 D10 J02 VCCP AD19 A10 GNT2 D11 VDD_33 VSS J03 AD18 VDD_15 VSS A11 CLKOUT3 D15 CLKOUT4 D16 VDDA_33 RSVD J04 A12 A13 CLKOUT5 D17 RSVD J08 A14 GNT5 E01 SERR J09 A15 EXT_ARB_EN E02 PAR J10 A16 REFCLK_SEL E03 J11 B01 AD12 E15 VDD_33 VSSA J14 B03 AD10 E16 RXN J15 B04 C/BE[0] E17 RXP J16 B05 AD7 F01 DEVSEL J17 VSSA PERST B06 AD5 F02 STOP K01 AD20 B07 AD1 F03 PERR K02 AD21 B08 REQ0 F15 K03 AD22 B09 CLKOUT1 F16 VSSA VSSA K04 B10 CLKOUT2 F17 K07 VSS VSS B11 REQ3 G01 VDDA_15 FRAME B12 REQ4 G02 IRDY K09 B13 REQ5 G03 TRDY K10 B14 CLKOUT6 G04 B15 CLKRUN_EN G07 VSS VSS K14 B17 VSSA AD14 G08 C01 C02 AD13 G10 C04 AD8 G11 C05 G14 C06 VSS VDD_33 C07 AD2 G16 C08 CLKOUT0 C09 REQ1 C10 C11 J07 K08 K11 VSS VSS VSS VSS VDDA_15 VDDA_15 VSS VSS VSS VSS VDD_33_AUX VDDA_33 VSS VSS K15 VSS VSS K17 VDD_33_COMB VSS L01 AD23 VSSA VDDA_15 L02 C/BE[3] L03 AD24 L04 AD25 G17 VSSA VSS L07 H01 C/BE[2] L08 VSS VSS REQ2 H02 AD17 L09 GNT3 H03 AD16 L10 C12 GNT4 H04 L11 C13 H07 C14 VDD_33 VSS VDD_33 VSS C16 REFCLK− H09 November 2005 G09 G15 H08 VSS VSS K16 L14 L15 L16 VSS VSS VSS VDD_33_COMBIO VSSA REF0_PCIE SCPS097B 5 Introduction Table 2−1. XIO2000 GZZ/ZZZ Terminals Sorted Alphanumerically (Continued) BGA BALL # BGA BALL # SIGNAL NAME BGA BALL # SIGNAL NAME L17 REF1_PCIE P17 RSVD T09 RSVD M01 AD26 R01 M66EN T10 RSVD M02 AD27 R02 INTA T11 RSVD M03 R04 VSS VDD_33 T12 RSVD M15 VDD_33 PME T13 M16 WAKE R06 T14 M17 R07 T15 RSVD N01 VDD_15_COMB AD28 VSS GPIO4 // SCL VDD_33 RSVD R08 RSVD T17 RSVD N02 AD29 R09 RSVD U02 INTC N03 R10 VSS VSS U03 PRST N15 VSS RSVD U04 LOCK N16 RSVD R12 U05 GPIO1 // PWR_OVRD N17 GRST R13 VSS VSS U06 GPIO3 P01 AD30 R14 U07 GPIO6 P02 AD31 R16 VDD_33 RSVD U08 GPIO7 P03 CLK R17 RSVD VDD_15 VSS T01 VSS INTB U09 P07 U10 RSVD T03 INTD U11 RSVD VDD_33 VDD_33 T04 SERIRQ U12 RSVD T05 GPIO0 // CLKRUN U13 RSVD VDD_33 VDD_15 T06 GPIO2 U14 RSVD P15 T07 GPIO5 // SDA U15 RSVD P16 RSVD T08 RSVD U16 RSVD P08 P09 P10 P11 6 SIGNAL NAME SCPS097B R05 R11 November 2005 Introduction Table 2−2. XIO2000 Signal Names Sorted Alphabetically SIGNAL NAME BGA BALL # SIGNAL NAME BGA BALL # SIGNAL NAME BGA BALL # AD0 A07 CLKRUN_EN B15 RSVD N15 AD1 B07 DEVSEL F01 RSVD N16 AD2 C07 EXT_ARB_EN A15 RSVD P16 AD3 D07 FRAME G01 RSVD P17 AD4 A06 GNT0 A08 RSVD R08 AD5 B06 GNT1 A09 RSVD R09 AD6 A05 GNT2 A10 RSVD R16 AD7 B05 GNT3 C11 RSVD T08 AD8 C04 GNT4 C12 RSVD T09 AD9 A03 GNT5 A14 RSVD T10 AD10 B03 GPIO0 // CLKRUN T05 RSVD T11 AD11 A02 GPIO1 // PWR_OVRD U05 RSVD T12 AD12 B01 GPIO2 T06 RSVD T14 AD13 C02 GPIO3 U06 RSVD T15 AD14 C01 GPIO4 // SCL R07 RSVD T17 AD15 D02 GPIO5 // SDA T07 RSVD U09 AD16 H03 GPIO6 U07 RSVD U10 AD17 H02 GPIO7 U08 RSVD U11 AD18 J03 GRST N17 RSVD U12 AD19 J02 INTA R02 RSVD U13 AD20 K01 INTB T01 RSVD U14 AD21 K02 INTC U02 RSVD U15 AD22 K03 INTD T03 RSVD U16 AD23 L01 IRDY G02 RXN E16 AD24 L03 LOCK U04 RXP E17 AD25 L04 M66EN R01 SERIRQ T04 AD26 M01 PAR E02 SERR E01 AD27 M02 PERR F03 STOP F02 AD28 N01 PERST J17 TRDY G03 AD29 N02 PME M15 TXN H16 AD30 P01 PRST U03 TXP H17 AD31 P02 REF0_PCIE L16 B04 REF1_PCIE L17 VCCP VCCP A04 C/BE[0] C/BE[1] D01 REFCLK− C16 H01 REFCLK_SEL A16 VDD_15 VDD_15 D09 C/BE[2] C/BE[3] L02 REFCLK+ C17 J04 CLK P03 REQ0 B08 VDD_15 VDD_15 CLKOUT0 C08 REQ1 C09 CLKOUT1 B09 REQ2 C10 CLKOUT2 B10 REQ3 B11 CLKOUT3 A11 REQ4 B12 CLKOUT4 A12 REQ5 B13 CLKOUT5 A13 RSVD CLKOUT6 B14 RSVD November 2005 VDD_15 VDD_15_COMB J01 H14 P07 P15 M17 VDD_33 VDD_33 C06 D10 D16 VDD_33 VDD_33 D17 VDD_33 H04 C13 E03 SCPS097B 7 Introduction Table 2−2. XIO2000 Signal Names Sorted Alphabetically (Continued) SIGNAL NAME BGA BALL # VDD_33 VDD_33 M03 VDD_33 VDD_33 P10 VDD_33 VDD_33 R05 VDD_33 VDD_33_AUX T13 P09 P11 R14 VDD_33_COMB VDD_33_COMBIO VDDA_15 VDDA_15 K14 K16 L14 F17 G15 VDDA_15 VDDA_15 J14 VDDA_33 VDDA_33 D15 VSS VSS C05 VSS VSS D03 VSS VSS D11 VSS 2.8 J15 K15 SIGNAL NAME BGA BALL # VSS VSS G08 VSS VSS G10 VSS VSS G17 VSS VSS H08 VSS VSS H10 VSS VSS J07 VSS VSS J09 VSS VSS G09 G11 H07 H09 H11 J08 J10 J11 K04 VSS VSS K07 VSS VSS K09 K11 G04 VSS VSS G07 VSS C14 D08 K08 K10 SIGNAL NAME BGA BALL # VSS VSS L08 VSS VSS L10 VSS VSS N03 VSS VSS R04 VSS VSS R10 VSS VSS R12 VSS VSSA R17 VSSA VSSA E15 VSSA VSSA F16 VSSA VSSA L09 L11 P08 R06 R11 R13 B17 F15 G14 G16 H15 K17 VSSA VSSA L15 J16 L07 WAKE M16 Terminal Descriptions Table 2−3 through Table 2−10 give a description of the terminals. These terminals are grouped in tables by functionality. Each table includes the terminal name, terminal number, I/O type, and terminal description. The following list describes the different input/output cell types that appear in the terminal description tables: • • • • • • • • 8 HS DIFF IN = High speed differential input. HS DIFF OUT = High speed differential output. PCI BUS = PCI bus 3-state bidirectional buffer with 3.3-V or 5.0-V clamp rail. LV CMOS = 3.3-V low voltage CMOS input or output with 3.3-V clamp rail. BIAS = Input/output terminals that generate a bias voltage to determine a driver’s operating current. Feed through = these terminals connect directly to macros within the part and not through an input or output cell. PWR = Power terminal GND = Ground terminal SCPS097B November 2005 Introduction Table 2−3. Power Supply Terminals BALL I/O TYPE EXTERNAL PARTS A04, J01 PWR Bypass capacitors 5.0-V or 3.3-V PCI bus clamp voltage to set maximum I/O voltage tolerance of the secondary PCI bus signals VDD_15 D09, H14, J04, P07, P15 PWR Bypass capacitors 1.5-V digital core power terminals VDDA_15 F17, J14, J15, G15 PWR Pi filter VDD_33 C06, C13, D10, E03, H04, M03, P09, P10, P11, R05, R14, T13 PWR Bypass capacitors K14 PWR Bypass capacitors D15, K15 PWR Pi filter SIGNAL VCCP VDD_33_AUX VDDA_33 DESCRIPTION 1.5-V analog power terminal 3.3-V digital I/O power terminals 3.3-V auxiliary power terminal Note: This terminal is connected to VSS through a pulldown resistor if no auxiliary supply is present. 3.3-V analog power terminal Table 2−4. Ground Terminals BALL I/O TYPE VSS C05, C14, D03, D08, D11, G04, G17, K04, K17, N03, P08, R04, R06, R10, R11, R12, R13, R17 GND Digital ground terminals VSS G07, G08, G09, G10, G11, H07, H08, H09, H10, H11, J07, J08, J09, J10, J11, K07, K08, K09, K10, K11, L07, L08, L09, L10, L11 GND Ground terminals for thermally-enhanced package B17, E15, F15, F16, G14, G16, H15, J16, L15 GND Analog ground terminal SIGNAL VSSA DESCRIPTION Table 2−5. Combined Power Outputs SIGNAL VDD_15_COMB VDD_33_COMB VDD_33_COMBIO BALL I/O TYPE EXTERNAL PARTS M17 Feed through Bypass capacitors Feed through Bypass capacitors Feed through Bypass capacitors K16 L14 DESCRIPTION Internally-combined 1.5-V main and VAUX power output for external bypass capacitor filtering. Supplies all internal 1.5-V circuitry powered by VAUX. Caution: Do not use this terminal to supply external power to other devices. Internally-combined 3.3-V main and VAUX power output for external bypass capacitor filtering. Supplies all internal 3.3-V circuitry powered by VAUX. Caution: Do not use this terminal to supply external power to other devices. Internally-combined 3.3-V main and VAUX power output for external bypass capacitor filtering. Supplies all internal 3.3-V input/output circuitry powered by VAUX. Caution: Do not use this terminal to supply external power to other devices. November 2005 SCPS097B 9 Introduction Table 2−6. PCI Express Terminals SIGNAL PERST BALL I/O TYPE CELL TYPE CLAMP RAIL EXTERNAL PARTS J17 I LV CMOS VDD_33_ COMBIO − DESCRIPTION PCI Express reset input. The PERST signal identifies when the system power is stable and generates an internal power on reset. Note: The PERST input buffer has hysteresis. REF0_PCIE REF1_PCIE L16 L17 I/O BIAS − External resistor External reference resistor + and − terminals for setting TX driver current. An external resistor is connected between terminals L16 and L17. RXP RXN E17 E16 DI HS DIFF IN VSS − High-speed receive pair. RXP and RXN comprise the differential receive pair for the single PCI Express lane supported. TXP TXN H17 H16 DO HS DIFF OUT VDD_15 Series capacitors High-speed transmit pair. TXP and TXN comprise the differential transmit pair for the single PCI Express lane supported. WAKE M16 O LV CMOS VDD_33_ COMBIO − Wake is an active low signal that is driven low to reactivate the PCI Express link hierarchy’s main power rails and reference clocks. Note: Since WAKE is an open-drain output buffer, a system side pullup resistor is required. Table 2−7. Clock Terminals SIGNAL BALL I/O TYPE CELL TYPE CLAMP RAIL EXTERNAL PARTS VDD_33 Pullup or pulldown resistor VDD_33 − Reference clock. REFCLK+ and REFCLK− comprise the differential input pair for the 100-MHz system reference clock. For a single-ended, 125-MHz system reference clock, use the REFCLK+ input. Reference clock. REFCLK+ and REFCLK− comprise the differential input pair for the 100-MHz system reference clock. For a single-ended, 125-MHz system reference clock, attach a capacitor from REFCLK− to VSS. DESCRIPTION Reference clock select. This terminal selects the reference clock input. REFCLK_SEL A16 I LV CMOS REFCLK+ C17 DI HS DIFF IN VDD_33 Capacitor to VSS for single-ended mode VCCP − PCI clock input. This is the clock input to the PCI bus core. − PCI clock outputs. These clock outputs are used to clock the PCI bus. If the bridge PCI bus clock outputs are used, then CLKOUT6 must be connected to the CLK input. REFCLK− C16 DI HS DIFF IN CLK P03 I PCI Bus CLKOUT0 CLKOUT1 CLKOUT2 CLKOUT3 CLKOUT4 CLKOUT5 CLKOUT6 C08 B09 B10 A11 A12 A13 B14 O PCI Bus 10 SCPS097B VCCP 0 = 100-MHz differential common reference clock used. 1 = 125-MHz single-ended, reference clock used. November 2005 Introduction Table 2−8. PCI System Terminals BALL I/O TYPE CELL TYPE CLAMP RAIL EXTERNAL PARTS AD31 AD30 AD29 AD28 AD27 AD26 AD25 AD24 AD23 AD22 AD21 AD20 AD19 AD18 AD17 AD16 AD15 AD14 AD13 AD12 AD11 AD10 AD9 AD8 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 P02 P01 N02 N01 M02 M01 L04 L03 L01 K03 K02 K01 J02 J03 H02 H03 D02 C01 C02 B01 A02 B03 A03 C04 B05 A05 B06 A06 D07 C07 B07 A07 I/O PCI Bus VCCP − PCI address data lines C/BE[3] C/BE[2] C/BE[1] C/BE[0] L02 H01 D01 B04 I/O PCI Bus VCCP − PCI command byte enables DEVSEL F01 I/O PCI Bus VCCP Pullup resistor per PCI spec PCI device select FRAME G01 I/O PCI Bus VCCP Pullup resistor per PCI spec PCI frame GNT5 GNT4 GNT3 GNT2 GNT1 GNT0 A14 C12 C11 A10 A09 A08 O PCI Bus VCCP − INTA INTB INTC INTD R02 T01 U02 T03 I PCI Bus VCCP Pullup resistor per PCI spec PCI interrupts A−D. These signals are interrupt inputs to the bridge on the secondary PCI bus. IRDY G02 I/O PCI Bus VCCP Pullup resistor per PCI spec PCI initiator ready SIGNAL November 2005 DESCRIPTION PCI grant outputs. These signals are used for arbitration when the PCI bus is the secondary bus and an external arbiter is not used. GNT0 is used as the REQ for the bridge when an external arbiter is used. SCPS097B 11 Introduction Table 2−8. PCI System Terminals (Continued) BALL I/O TYPE CELL TYPE CLAMP RAIL EXTERNAL PARTS PAR E02 I/O PCI Bus VCCP − PCI bus parity PERR F03 I/O PCI Bus VCCP Pullup resistor per PCI spec PCI parity error PME M15 I LV CMOS VDD_33_ COMBIO Pullup resistor per PCI spec Note: The PME input buffer has hysteresis. VCCP If unused, a weak pullup resistor per PCI spec PCI request inputs. These signals are used for arbitration on the secondary PCI bus when an external arbiter is not used. REQ0 is used as the GNT for the bridge when an external arbiter is used. SIGNAL DESCRIPTION PCI power management event. This terminal may be used to detect PME events from a PCI device on the secondary bus. REQ5 REQ4 REQ3 REQ2 REQ1 REQ0 B13 B12 B11 C10 C09 B08 I PCI Bus PRST U03 O PCI Bus VCCP − SERR E01 I/O PCI Bus VCCP Pullup resistor per PCI spec PCI system error STOP F02 I/O PCI Bus VCCP Pullup resistor per PCI spec PCI stop TRDY G03 I/O PCI Bus VCCP Pullup resistor per PCI spec PCI target ready PCI reset. This terminal is an output to the secondary PCI bus. Table 2−9. Reserved Terminals BALL I/O TYPE RSVD N15, N16, P16, R08, T08, T10, T11, T12, T14, T15, T17, U09, U11, U12, U13, U14, U15, U16 O Reserved, do not connect to external signals. RSVD R16 I Must be connected to VDD_33. RSVD D16, D17, P17, R09, T09, U10 I Must be connected to VSS. SIGNAL 12 SCPS097B DESCRIPTION November 2005 Introduction Table 2−10. Miscellaneous Terminals SIGNAL BALL I/O TYPE CELL TYPE CLAMP RAIL EXTERNAL PARTS VDD_33 Optional pullup resistor DESCRIPTION Clock run enable CLKRUN_EN B15 I LV CMOS 0 = Clock run support disabled 1 = Clock run support enabled Note: The CLKRUN_EN input buffer has an internal active pulldown. External arbiter enable EXT_ARB_EN A15 I LV CMOS VDD_33 Optional pullup resistor 0 = Internal arbiter enabled 1 = External arbiter enabled Note: The EXT_ARB_EN input buffer has an internal active pulldown. GPIO0 // CLKRUN T05 I/O LV CMOS VDD_33 Optional pullup resistor General-purpose I/O 0/clock run. This terminal functions as a GPIO controlled by bit 0 (GPIO0_DIR) in the GPIO control register (see Section 4.59) or the clock run terminal. This terminal is used as clock run input when the bridge is placed in clock run mode. Note: In clock run mode, an external pullup resistor is required to prevent the CLKRUN signal from floating. Note: This terminal has an internal active pullup resistor. GPIO1 // PWR_OVRD U05 I/O LV CMOS VDD_33 − General-purpose I/O 1/power override. This terminal functions as a GPIO controlled by bit 1 (GPIO1_DIR) in the GPIO control register (see Section 4.59) or the power override output terminal. GPIO1 becomes PWR_OVRD when bits 22:20 (POWER_OVRD) in the general control register are set to 001b or 011b (see Section 4.65). Note: This terminal has an internal active pullup resistor. General-purpose I/O 2. This terminal functions as a GPIO controlled by bit 2 (GPIO2_DIR) in the GPIO control register (see Section 4.59). GPIO2 T06 I/O LV CMOS VDD_33 − Note: When PERST is deasserted, this terminal must be a 1b to enable the PCI Express 1.0a compatibility mode. Note: This terminal has an internal active pullup resistor. GPIO3 GPIO4 // SCL U06 R07 I/O I/O LV CMOS LV CMOS VDD_33 − General-purpose I/O 3. This terminal functions as a GPIO controlled by bit 3 (GPIO3_DIR) in the GPIO control register (see Section 4.59). Note: This terminal has an internal active pullup resistor. VDD_33 Optional pullup resistor GPIO4 or serial-bus clock. This terminal functions as serial-bus clock if a pullup resistor is detected on SDA. If a pulldown resistor is detected on SDA, this terminal functions as GPIO4. Note: In serial-bus mode, an external pullup resistor is required to prevent the SCL signal from floating. Note: This terminal has an internal active pullup resistor. GPIO5 // SDA GPIO6 GPIO7 November 2005 T07 U07 U08 I/O I/O I/O LV CMOS VDD_33 LV CMOS VDD_33 LV CMOS VDD_33 Pullup or Pulldown resistor − GPIO5 or serial-bus data. This terminal functions as serial-bus data if a pullup resistor is detected on SDA. If a pulldown resistor is detected on SDA, this terminal functions as GPIO5. Note: In serial-bus mode, an external pullup resistor is required to prevent the SDA signal from floating. General-purpose I/O 6. This terminal functions as a GPIO controlled by bit 6 (GPIO6_DIR) in the GPIO control register (see Section 4.59). Note: This terminal has an internal active pullup resistor. − General-purpose I/O 7. This terminal functions as a GPIO controlled by bit 7 (GPIO7_DIR) in the GPIO control register (see Section 4.59). Note: This terminal has an internal active pullup resistor. SCPS097B 13 Introduction Table 2−10. Miscellaneous Terminals (Continued) SIGNAL GRST BALL N17 LOCK U04 I/O TYPE CELL TYPE CLAMP RAIL EXTERNAL PARTS I LV CMOS VDD_33_ COMBIO − I/O PCI Bus VCCP Pullup resistor per PCI spec VCCP Pullup resistor per PCI spec DESCRIPTION Global reset input. Asynchronously resets all logic in device, including sticky bits and power management state machines. Note: The GRST input buffer has both hysteresis and an internal active pullup. This terminal functions as PCI LOCK when bit 12 (LOCK_EN) is set in the general control register (see Section 4.65). Note: In lock mode, an external pullup resistor is required to prevent the LOCK signal from floating. 66-MHz mode enable M66EN SERIRQ 14 R01 T04 SCPS097B I I/O PCI Bus PCI Bus VCCP Pullup or pulldown resistor 0 = Secondary PCI bus and clock outputs operate at 33 MHz 1 = Secondary PCI bus and clock outputs operate at 66 MHz Note: If the PCI bus clock is always 33 MHz, then this terminal is connected to VSS. Serial IRQ interface. This terminal functions as a serial IRQ interface if a pullup is detected when PERST is deasserted. If a pulldown is detected, then the serial IRQ interface is disabled. November 2005 Feature/Protocol Descriptions 3 Feature/Protocol Descriptions This chapter provides a high-level overview of all significant device features. Figure 3−1 shows a simplified block diagram of the basic architecture of the PCI-Express to PCI Bridge. The top of the diagram is the PCI Express interface and the PCI bus interface is located at the bottom of the diagram. PCI Express Transmitter PCI Express Receiver Power Mgmt GPIO Configuration and Memory Register Clock Generator Reset Controller Serial EEPROM Serial IRQ PCI Bus Interface Figure 3−1. XIO2000 Block Diagram 3.1 Power-Up/-Down Sequencing The bridge contains both 1.5-V and 3.3-V power terminals. In addition, a VAUX supply exists to support the D3cold state. The clamping voltage (VCCP) can be either 3.3-V or 5.0-V, depending on the PCI bus interface requirements. The following power-up and power-down sequences describe how power is applied to these terminals. In addition, the bridge has three resets: PERST, GRST, and an internal power-on reset. These resets are fully described in Section 3.2. The following power-up and power-down sequences describe how PERST is applied to the bridge. The application of the PCI Express reference clock (REFCLK) is important to the power-up/-down sequence and is included in the following power-up and power-down descriptions. 3.1.1 Power-Up Sequence 1. Assert PERST to the device. 2. Apply 1.5-V and 3.3-V voltages. 3. Apply VCCP clamp voltage. 4. Apply a stable PCI Express reference clock. 5. To meet PCI Express specification requirements, PERST cannot be deasserted until the following two delay requirements are satisfied: − Wait a minimum of 100 µs after applying a stable PCI Express reference clock. The 100-µs limit satisfies the requirement for stable device clocks by the deassertion of PERST. − Wait a minimum of 100 ms after applying power. The 100-ms limit satisfies the requirement for stable power by the deassertion of PERST. November 2005 SCPS097B 15 Feature/Protocol Descriptions Please see the power-up sequencing diagram in Figure 3−2. VDD_15 and VDDA_15 VDD_33 and VDDA_33 VCCP REFCLK PERST 100 µs 100 ms Figure 3−2. Power-Up Sequence 3.1.2 Power-Down Sequence 1. Assert PERST to the device. 2. Remove the reference clock. 3. Remove VCCP clamp voltage. 4. Remove 3.3-V and 1.5-V voltages. Please see the power-down sequencing diagram in Figure 3−3. If the VDD_33_AUX terminal is to remain powered after a system shutdown, then the bridge power-down sequence is exactly the same as shown in Figure 3−3. 16 SCPS097B November 2005 Feature/Protocol Descriptions VDD_15 and VDDA_15 VDD_33 and VDDA_33 VCCP REFCLK PERST Figure 3−3. Power-Down Sequence 3.2 Bridge Reset Features There are five bridge reset options that include internally-generated power-on reset, resets generated by asserting input terminals, and software-initiated resets that are controlled by sending a PCI Express hot reset or setting a configuration register bit. Table 3−1 identifies these reset sources and describes how the bridge responds to each reset. November 2005 SCPS097B 17 Feature/Protocol Descriptions Table 3−1. Bridge Reset Options RESET OPTION XIO2000 FEATURE Bridge internally-generated power-on reset During a power-on cycle, the bridge asserts an internal reset and monitors the VDD_15_COMB (M17) terminal. When this terminal reaches 90% of the nominal input voltage specification, power is considered stable. After stable power, the bridge monitors the PCI Express reference clock (REFCLK) and waits 10 µs after active clocks are detected. Then, internal power-on reset is deasserted. When the internal power-on reset is asserted, all control registers, state machines, sticky register bits, and power management state machines are initialized to their default state. When GRST is asserted low, an internal power-on reset occurs. This reset is asynchronous and functions during both normal power states and VAUX power states. When GRST is asserted low, all control registers, state machines, sticky register bits, and power management state machines are initialized to their default state. Global reset input GRST (N17) RESET RESPONSE In addition, the bridge asserts PCI bus reset (PRST). In addition, the bridge asserts PCI bus reset (PRST). When the rising edge of GRST occurs, the bridge samples the state of all static control inputs and latches the information internally. If an external serial EEPROM is detected, then a download cycle is initiated. Also, the process to configure and initialize the PCI Express link is started. The bridge starts link training within 80 ms after GRST is deasserted. PCI Express reset input PERST (J17) This bridge input terminal is used by an upstream PCI Express device to generate a PCI Express reset and to signal a system power good condition. When PERST is asserted low, the bridge generates an internal PCI Express reset as defined in the PCI Express specification. When PERST transitions from low to high, a system power good condition is assumed by the bridge. Note: The system must assert PERST before power is removed, before REFCLK is removed, or before REFCLK becomes unstable. PCI Express training control hot reset The bridge responds to a training control hot reset received on the PCI Express interface. After a training control hot reset, the PCI Express interface enters the DL_DOWN state. When PERST is asserted low, all control register bits that are not sticky are reset. Within the configuration register maps, the sticky bits are indicated by the k symbol. Also, all state machines that are not associated with sticky functionality or VAUX power management are reset. In addition, the bridge asserts PCI bus reset (PRST). When the rising edge of PERST occurs, the bridge samples the state of all static control inputs and latches the information internally. If an external serial EEPROM is detected, then a download cycle is initiated. Also, the process to configure and initialize the PCI Express link is started. The bridge starts link training within 80 ms after PERST is deasserted. In the DL_DOWN state, all remaining configuration register bits and state machines are reset. All remaining bits exclude sticky bits and EEPROM loadable bits. All remaining state machines exclude sticky functionality, EEPROM functionality, and VAUX power management. Within the configuration register maps, the sticky bits are indicated by the k symbol and the EEPROM loadable bits are indicated by the † symbol. In addition, the bridge asserts PCI bus reset (PRST). PCI bus reset PRST (U03) 3.3 System software has the ability to assert and deassert the PRST terminal on the secondary PCI bus interface. This terminal is the PCI bus reset. When bit 6 (SRST) in the bridge control register at offset 3Eh (see Section 4.29) is asserted, the bridge asserts the PRST terminal. A 0 in the SRST bit deasserts the PRST terminal. PCI Express Interface 3.3.1 External Reference Clock The bridge requires either a differential, 100-MHz common clock reference or a single-ended, 125-MHz clock reference. The selected clock reference must meet all PCI Express Electrical Specification requirements for frequency tolerance, spread spectrum clocking, and signal electrical characteristics. 18 SCPS097B November 2005 Feature/Protocol Descriptions If the REFCLK_SEL (A16) input is connected to VSS, then a differential, 100-MHz common clock reference is expected by the bridge. If the A16 terminal is connected to VDD_33, then a single-ended, 125-MHz clock reference is expected by the bridge. When the single-ended, 125-MHz clock reference option is enabled, the single-ended clock signal is connected to the REFCLK+ (C17) terminal. The REFCLK− (C16) terminal is connected to one side of an external capacitor with the other side of the capacitor connected to VSS. When using a single-ended reference clock, care must be taken to ensure interoperability from a system jitter standpoint. The PCI Express Base Specification does not ensure interoperability when using a differential reference clock commonly used in PC applications along with a single-ended clock in a noncommon clock architecture. System jitter budgets will have to be verified to ensure interoperability. See the PCI Express Jitter and BER White Paper from the PCI-SIG. 3.3.2 Beacon The bridge supports the PCI Express in-band beacon feature. Beacon is driven on the upstream PCI Express link by the bridge to request the reapplication of main power when in the L2 link state. To enable the beacon feature, bit 10 (BEACON_ENABLE) in the general control register at offset D4h is asserted. See Section 4.65, General Control Register, for details. If the bridge is in the L2 link state and beacon is enabled, when a secondary PCI bus device asserts PME, then the bridge outputs the beacon signal on the upstream PCI Express link. The beacon signal frequency is approximately 500 kHz ± 50% with a differential peak-to-peak amplitude of 500 mV and no de-emphasis. Once the beacon is activated, the bridge continues to send the beacon signal until main power is restored as indicated by PERST going inactive. At this time, the beacon signal is deactivated. 3.3.3 Wake The bridge supports the PCI Express sideband WAKE feature. WAKE is an active low signal driven by the bridge to request the reapplication of main power when in the L2 link state. Since WAKE is an open-collector output, a system-side pullup resistor is required to prevent the signal from floating. When the bridge is in the L2 link state and PME is received from a device on the secondary PCI bus, the WAKE signal is asserted low as a wakeup mechanism. Once WAKE is asserted, the bridge drives the signal low until main power is restored as indicated by PERST going inactive. At this time, WAKE is deasserted. 3.3.4 Initial Flow Control Credits The bridge flow control credits are initialized using the rules defined in the PCI Express Base Specification. Table 3−2 identifies the initial flow control credit advertisement for the bridge. The initial advertisement is exactly the same when a second virtual channel (VC) is enabled. Table 3−2. Initial Flow Control Credit Advertisements CREDIT TYPE INITIAL ADVERTISEMENT Posted request headers (PH) 8 Posted request data (PD) 128 Nonposted header (NPH) 4 Nonposted data (NPD) 4 Completion header (CPLH) 0 (infinite) Completion data (CPLD) 0 (infinite) 3.3.5 PCI Express Message Transactions PCI Express messages are both initiated and received by the bridge. Table 3−3 outlines message support within the bridge. November 2005 SCPS097B 19 Feature/Protocol Descriptions Table 3−3. Messages Supported by the Bridge MESSAGE SUPPORTED BRIDGE ACTION Assert_INTx Yes Transmitted upstream Deassert_INTx Yes Transmitted upstream PM_Active_State_Nak Yes Received and processed PM_PME Yes Transmitted upstream PME_Turn_Off Yes Received and processed PME_TO_Ack Yes Transmitted upstream ERR_COR Yes Transmitted upstream ERR_NONFATAL Yes Transmitted upstream ERR_FATAL Yes Transmitted upstream Unlock Yes Received and processed Set_Slot_Power_Limit Yes Received and processed Hot plug messages No Discarded Advanced switching messages No Discarded Vendor defined type 0 No Unsupported request Vendor defined type 1 No Discarded All supported message transactions are processed per the PCI Express Base Specification. 3.4 PCI Bus Interface 3.4.1 I/O Characteristics Figure 3−4 shows a 3-state bidirectional buffer that represents the I/O cell design for the PCI bus. Section 7.6, Electrical Characteristics over Recommended Operating Conditions, provides the electrical characteristics of the PCI bus I/O cell. NOTE: The PCI bus interface on the bridge meets the ac specifications of the PCI Local Bus Specification. Additionally, PCI bus terminals (input or I/O) must be held high or low to prevent them from floating. VCCP Tied for Open Drain OE Pad Figure 3−4. 3-State Bidirectional Buffer 3.4.2 Clamping Voltage In the bridge, the PCI bus I/O drivers are powered from the VDD_33 power rail. Plus, the I/O driver cell is tolerant to input signals with 5.0-V peak-to-peak amplitudes. For PCI bus interfaces operating at 66 MHz, all devices are required to output only 3.3-V peak-to-peak signal amplitudes. For PCI bus interfaces operating at 33 MHz, devices may output either 3.3-V or 5.0-V peak-to-peak signal amplitudes. The bridge accommodates both signal amplitudes. Each PCI bus I/O driver cell has a clamping diode connected to the VCCP voltage rail that protects the cell from excessive input voltage. If the PCI signaling is 3.3 V, then VCCP (A04, J01) is connected to a 3.3-V power supply. If the PCI signaling is 5.0 V, then VCCP (A04, J01) is connected to a 5.0-V power supply. 20 SCPS097B November 2005 Feature/Protocol Descriptions The PCI bus signals attached to the VCCP clamping voltage are identified in the following list: • In Table 2−7, Clock Terminals, the terminal names include CLK and CLKOUT6:0 • In Table 2−8, PCI System Terminals, all terminal names except for PME • In Table 2−10, Miscellaneous Terminals, the terminal names include SERIRQ, M66EN, and LOCK 3.4.3 PCI Bus Clock Run The bridge supports the clock run protocol as specified in the PCI Mobile Design Guide. When the clock run protocol is enabled, the bridge assumes the role of the central resource master. To enable the clock run function, terminal B15 (CLKRUN_EN) is asserted high. Then, terminal T05 (GPIO0) is enabled as the CLKRUN signal. An external pullup resistor must be provided to prevent the CLKRUN signal from floating. To verify the operational status of the PCI bus clocks, bit 0 (SEC_CLK_STATUS) in the clock run status register at offset DAh (see Section 4.68) is read. Since the bridge has several unique features associated with the PCI bus interface, the system designer must consider the following interdependencies between these features and the CLKRUN feature: 1. If the system designer chooses to generate the PCI bus clock externally, then the CLKRUN mode of the bridge must be disabled. The central resource function within the bridge only operates as a CLKRUN master and does not support the CLKRUN slave mode. 2. If the central resource function has stopped the PCI bus clocks, then the bridge still detects INTx state changes and will generate and send PCI Express messages upstream. 3. If the serial IRQ interface is enabled and the central resource function has stopped the PCI bus clocks, then any PCI bus device that needs to report an IRQ interrupt asserts CLKRUN to start the bus clocks. 4. When a PCI bus device asserts CLKRUN, the central resource function turns on PCI bus clocks for a minimum of 512 cycles. 5. If the serial IRQ function detects an IRQ interrupt, then the central resource function keeps the PCI bus clocks running until the IRQ interrupt is cleared by software. 6. If the central resource function has stopped the PCI bus clocks and the bridge receives a downstream transaction that is forwarded to the PCI bus interface, then the bridge asserts CLKRUN to start the bus clocks. 7. The central resource function is reset by PCI bus reset (PRST) assuring that clocks are present during PCI bus resets. 3.4.4 PCI Bus External Arbiter The bridge supports an external arbiter for the PCI bus. Terminal A15 (EXT_ARB_EN), when asserted high, enables the use of an external arbiter. When an external arbiter is enabled, GNT0 is connected to the external arbiter as the REQ for the bridge. Likewise, REQ0 is connected to the external arbiter as the GNT for the bridge. All internal port arbitration features are disabled when an external arbiter is enabled. 128-phase, weighted round-robin (WRR) time-based arbitration, bus parking, arbiter time-out, tier select, and request masking modes have no effect if an external arbiter is enabled. November 2005 SCPS097B 21 Feature/Protocol Descriptions 3.4.5 MSI Messages Generated from the Serial IRQ Interface When properly configured, the bridge converts PCI bus serial IRQ interrupts into PCI Express message signaled interrupts (MSI). Classic PCI configuration register space is provided to enable this feature. The following list identifies the involved configuration registers: 1. Command register at offset 04h, bit 2 (MASTER_ENB) is asserted (see Section 4.3). 2. MSI message control register at offset 62h, bits 0 (MSI_EN) and 6:4 (MM_EN) enable single and multiple MSI messages, respectively (see Section 4.38). 3. MSI message address register at offsets 64h and 68h specifies the message memory address. A nonzero address value in offset 68h initiates 64-bit addressing (see Section 4.40). 4. MSI message data register at offset 6Ch specifies the system interrupt message (see Section 4.41). 5. Serial IRQ mode control register at offset E0h specifies the serial IRQ bus format (see Section 4.72). 6. Serial IRQ edge control register at offset E2h selects either level or edge mode interrupts (see Section 4.73). 7. Serial IRQ status register at offset E4h reports level mode interrupt status (see Section 4.74). A PCI Express MSI is generated based on the settings in the serial IRQ edge control register. If the system is configured for edge mode, then an MSI message is sent when the corresponding serial IRQ interface sample phase transitions from low to high. If the system is configured for level mode, then an MSI message is sent when the corresponding IRQ status bit in the serial IRQ status register changes from low to high. The bridge has a dedicated SERIRQ terminal (T04) for all PCI bus devices that support serialized interrupts. This SERIRQ interface is synchronous to the PCI bus clock input (CLK) frequency. The bridge always generates a 17-phase serial IRQ stream. Internally, the bridge detects only 16 IRQ interrupts, IRQ0 frame through IRQ15 frame. The IOCHCK frame is not monitored by the serial IRQ state machine and never generates an IRQ interrupt or MSI message. The multiple message enable (MM_EN) field determines the number of unique MSI messages that are sent upstream on the PCI Express link. From 1 message to 16 messages, in powers of 2, are selectable. If fewer than 16 messages are selected, then the mapping from IRQ interrupts to MSI messages is aliased. Table 3−4 illustrates the IRQ interrupt to MSI message mapping based on the number of enabling messages. Table 3−4. IRQ Interrupt to MSI Message Mapping 22 IRQ INTERRUPT 1 MESSAGE ENABLED 2 MESSAGES ENABLED 4 MESSAGES ENABLED 8 MESSAGES ENABLED 16 MESSAGES ENABLED IRQ0 MSI MSG #0 MSI MSG #0 MSI MSG #0 MSI MSG #0 MSI MSG #0 IRQ1 MSI MSG #0 MSI MSG #1 MSI MSG #1 MSI MSG #1 MSI MSG #1 IRQ2 MSI MSG #0 MSI MSG #0 MSI MSG #2 MSI MSG #2 MSI MSG #2 IRQ3 MSI MSG #0 MSI MSG #1 MSI MSG #3 MSI MSG #3 MSI MSG #3 IRQ4 MSI MSG #0 MSI MSG #0 MSI MSG #0 MSI MSG #4 MSI MSG #4 IRQ5 MSI MSG #0 MSI MSG #1 MSI MSG #1 MSI MSG #5 MSI MSG #5 IRQ6 MSI MSG #0 MSI MSG #0 MSI MSG #2 MSI MSG #6 MSI MSG #6 IRQ7 MSI MSG #0 MSI MSG #1 MSI MSG #3 MSI MSG #7 MSI MSG #7 IRQ8 MSI MSG #0 MSI MSG #0 MSI MSG #0 MSI MSG #0 MSI MSG #8 IRQ9 MSI MSG #0 MSI MSG #1 MSI MSG #1 MSI MSG #1 MSI MSG #9 IRQ10 MSI MSG #0 MSI MSG #0 MSI MSG #2 MSI MSG #2 MSI MSG #10 IRQ11 MSI MSG #0 MSI MSG #1 MSI MSG #3 MSI MSG #3 MSI MSG #11 IRQ12 MSI MSG #0 MSI MSG #0 MSI MSG #0 MSI MSG #4 MSI MSG #12 IRQ13 MSI MSG #0 MSI MSG #1 MSI MSG #1 MSI MSG #5 MSI MSG #13 IRQ14 MSI MSG #0 MSI MSG #0 MSI MSG #2 MSI MSG #6 MSI MSG #14 IRQ15 MSI MSG #0 MSI MSG #1 MSI MSG #3 MSI MSG #7 MSI MSG #15 SCPS097B November 2005 Feature/Protocol Descriptions The MSI message format is compatible with the PCI Express request header format for 32-bit and 64-bit memory write transactions. The system message and message number fields are included in bytes 0 and 1 of the data payload. 3.4.6 PCI Bus Clocks The bridge has seven PCI bus clock outputs and one PCI bus clock input. Up to six PCI bus devices are supported by the bridge. Terminal R01 (M66EN) selects the operating frequency of the PCI bus clock outputs. When this input is asserted high, the PCI bus clocks operate at 66 MHz. When this input is deasserted low, the PCI bus clocks operate at 33 MHz. The clock control register at offset D8h provides 7 control bits to individually enable or disable each PCI bus clock output (see Section 4.66). The register default is enabled for all 7 outputs. The PCI bus clock (CLK) input provides the clock to the internal PCI bus core and serial IRQ core. When the internal PCI bus clock source is selected, PCI bus clock output 6 (CLKOUT6) is connected to the PCI bus clock input (CLK). When an external PCI bus clock source is selected, the external clock source is connected to the PCI bus clock input (CLK). For external clock mode, all seven CLKOUT6:0 terminals must be disabled using the clock control register at offset D8h (see Section 4.66). 3.5 Quality of Service and Isochronous Features The bridge has both standard and advanced features that provide a robust solution for quality-of-service (QoS) and isochronous applications. These features are best described by divided them into the following three categories: • PCI port arbitration. PCI port arbitration determines which bus master is granted the next transaction cycle on the PCI bus. The three PCI port arbitration options are the classic PCI arbiter, the 128-phase, WRR time-based arbiter, and the 128-phase, WRR aggressive time-based arbiter. The power-up register default is the classic PCI arbiter. The advanced time-based arbiter features are provided to support isochronous applications. • PCI isochronous windows. There are four separate windows that allow PCI bus-initiated memory transactions to be labeled with a PCI Express traffic class (TC) beyond the default TC0. Each window designates a range of PCI memory space that is mapped to a specified TC label. The power-up register default is all four windows disabled. • PCI Express extended VC with VC arbitration. With an extended VC, system software can map a particular TC to a specific VC. The differentiated traffic on the second VC then uses dedicated system resources to support a QoS environment. VC arbitration is provided to gate traffic to the upstream PCI Express link. The three VC arbitration options include strict priority, hardware-fixed round-robin, and 32-phase WRR. The power-up register default is strict priority with the second VC disabled. When configuring these standard and advanced features, the following rules must be followed: 1. The default mode is classic PCI arbiter with the PCI isochronous windows disabled and the second VC disabled. The bridge performs default PCI bus arbitration without any arbiter-related configuration register setup. 2. If a second VC is enabled, then at least one PCI isochronous window must be configured to map upstream transactions to the second VC. 3. If a second VC is enabled, then any VC arbiter option interacts with any PCI port arbiter option. 4. To enable the PCI isochronous windows it is not required to enable a second VC. The memory space to traffic mapping always uses VC0 for all upstream traffic. 5. When programming the upstream isochronous window base and limit registers, the 32-bit base/limit address must be DWORD aligned and the limit address must be greater than the base address. The following sections describe in detail the standard and advanced bridge features for QoS and isochronous applications. November 2005 SCPS097B 23 Feature/Protocol Descriptions 3.5.1 PCI Port Arbitration The internal PCI port arbitration logic supports up to six external PCI bus devices plus the bridge. Three options exist when configuring the bridge arbiter for these seven bus devices: classic PCI arbiter, 128-phase, WRR time-based arbiter, and 128-phase, WRR aggressive time-based arbiter. 3.5.1.1 Classic PCI Arbiter The classic PCI arbiter is configured through the classic PCI configuration space at offset DCh. Table 3−5 identifies and describes the registers associated with classic PCI arbitration mode. Table 3−5. Classic PCI Arbiter Registers PCI OFFSET REGISTER NAME DESCRIPTION Classic PCI configuration register DCh Arbiter control (see Section 4.69) Contains a two-tier priority scheme for the bridge and six PCI bus devices. The bridge defaults to the high priority tier. The six PCI bus devices default to the low priority tier. A bus parking control bit (bit 7, PARK) is provided. Classic PCI configuration register DDh Arbiter request mask (see Section 4.70) Six mask bits provide individual control to block each PCI Bus REQ input. Bit 7 (ARB_TIMEOUT) in the arbiter request mask register enables generating timeout status if a PCI device does not respond within 16 PCI bus clocks. Bit 6 (AUTO_MASK) in the arbiter request mask register automatically masks a PCI bus REQ if the device does not respond after GNT is issued. The AUTO_MASK bit is cleared to disable any automatically generated mask. Classic PCI configuration register DEh Arbiter time-out status (see Section 4.71) When bit 7 (ARB_TIMEOUT) in the arbiter request mask register (see Section 4.70) is asserted, timeout status for each PCI bus device is reported in this register. 3.5.1.2 128-Phase, WRR Time-Based Arbiter The 128-phase, WRR time-based arbiter is configured through the PCI express VC extended configuration space at offset 150h and the device control memory window register map. The 128-phase, WRR time-based arbiter periodically asserts GNT to a PCI master device based on entries within a port arbitration table. There are actually two port arbitration tables within the bridge. The first table is accessed through the PCI Express VC extended configuration register space using configuration read/write transactions. The second table is internal and is used by the PCI bus arbiter to make GNT decisions. A configuration register load function exists to transfer the contents of the configuration register table to the internal table. The port arbitration table uses a 4-bit field to identify the secondary bus master that receives GNT during each phase of the time-based WRR arbitration. For the arbiter to recognize a bus master REQ and to generate GNT, software must allocate at least three consecutive phases to the same port number. Table 3−6 defines the mapping relationship of the PCI bus devices to a port number in the port arbitration table. Table 3−6. Port Number to PCI Bus Device Mapping PORT NUMBER PCI DEVICE Internal GNT for PCI master state machine Internal REQ from PCI master state machine 0001b External GNT0 External REQ0 0010b External GNT1 External REQ1 0011b External GNT2 External REQ2 0100b External GNT3 External REQ3 0101b External GNT4 External REQ4 0110b External GNT5 External REQ5 Reserved − 0111b−1111b 24 GNT 0000b SCPS097B November 2005 Feature/Protocol Descriptions To enable the 128-phase, WRR time-based arbiter, two configuration registers must be written. Bit 1 (PORTARB_LEVEL_1_EN) in the upstream isochrony control register at offset 04h (see Section 6.4) within the device control memory window register map must be asserted. The VC1 resource control register at offset 170h within the PCI Express VC extended configuration space has a PORT_ARB_SELECT field that must be set to 100b (see Section 5.22). Table 3−7 identifies and describes the registers associated with 128-phase, WWR time-based arbitration mode. Table 3−7. 128-Phase, WRR Time-Based Arbiter Registers REGISTER OFFSET REGISTER NAME DESCRIPTION PCI Express VC extended configuration registers 1C0h to 1FCh Port arbitration table (see Section 5.28) 16-doubleword sized configuration registers that are the registered version of the 128-phase, WRR port arbitration table. Each port arbitration table entry is a 4-bit field. PCI Express VC extended configuration register 170h VC1 resource control (see Section 5.25) Bits 19:17 (PORT_ARB_SELECT) equal to 100b define the port arbitration mechanism as 128-phase WRR. Bit 16 (LOAD_PORT_TABLE), when written with a 1b, transfers the port arbitration table configuration register values to the internal registers used by the PCI bus arbiter. PCI Express VC extended configuration register 176h VC1 resource status (see Section 5.26) Bit 0 (PORT_TABLE_STATUS) equal to 1b indicates that the port arbitration table configuration registers were updated but not loaded into the internal arbitration table. Device control memory window register 04h Upstream isochrony control (see Section 6.4) Bit 1 (PORTARB_LEVEL_1_EN) must be asserted to enable the 128-phase, WRR time-based arbiter. 3.5.1.3 128-Phase, WRR Aggressive Time-Based Arbiter The last option for PCI port arbitration is 128-phase, WRR aggressive time-based arbitration mode. This arbitration mode performs the same as isochronous mode arbitration, but with one difference. When an isochronous timing event occurs, the PCI bus arbiter deliberately stops a secondary bus master in the middle of the transaction to assure that isochrony is preserved. The register setup for this arbitration option is the same as the 128-phase, WRR time-based arbiter option with the following addition. Bit 2 (PORTARB_LEVEL_2_EN) in the device control memory window upstream isochrony control register at offset 04h must be asserted (see Section 6.4). 3.5.2 PCI Isochronous Windows The bridge has four separate windows that allow PCI bus-initiated memory transactions to be labeled with a PCI Express traffic class (TC) beyond the default TC0. Each window designates a range of PCI memory space that is mapped to a specified TC label. This advance feature is configured through the device control memory window register map. Table 3−8 identifies and describes the registers associated with isochronous arbitration mode. Table 3−8. PCI Isochronous Windows REGISTER OFFSET Device control memory window register 08h REGISTER NAME Upstream isochronous window 0 control (see Section 6.5) DESCRIPTION Bits 3:1 (ISOC_WINDOW_EN) indicate that memory addresses within the base and limit addresses are mapped to a specific traffic class ID. Bit 0 (TC_ID) identifies the specific traffic class ID. Note: Memory-mapped register space exists for four upstream windows. Only window 0 is included in this table. Device control memory window register 0Ch Upstream isochronous window 0 base address (see Section 6.6) Window 0 base address Device control memory window register 10h Upstream isochronous window 0 limit address (see Section 6.7) Window 0 limit address November 2005 SCPS097B 25 Feature/Protocol Descriptions 3.5.3 PCI Express Extended VC With VC Arbitration When a second VC is enabled, the bridge has three arbitration options that determine which VC is granted access to the upstream PCI Express link. These three arbitration modes include strict priority, hardware-fixed round-robin, and 32-phase WRR. The default mode is strict priority. For all three arbitration modes, if the second VC is disabled, then VC0 is always granted. To map upstream transactions to the extended VC, the following registers must be programmed: 1. Bit 0 (ISOC_ENABLE) is asserted in the upstream isochrony control register at device control memory window register offset 04h (see Section 6.4). 2. At least one PCI isochronous window register set must be programmed. Please see Section 3.5.2 for a description on how to program this advanced feature. 3. The traffic class ID selected for the PCI isochronous window(s) must be assigned to the extended VC. This is accomplished by asserting the corresponding bit in the TC_VC_MAP field in the VC resource control register (VC1) at PCI Express extended register offset 170h (see Section 5.25). 4. The extended VC must be enabled. This is accomplished by asserting bit 31 (VC_EN) and programming bits 26:24 (VC_ID) in the VC resource control register (VC1) at PCI Express extended register offset 170h. 3.5.3.1 Strict Priority Arbitration Mode Strict priority arbitration always grants VC1 traffic over VC0 traffic. If the traffic on VC1 uses 100% of the upstream link bandwidth, then VC0 traffic is blocked. This mode is enabled when bit 25 (STRICT_PRIORITY_EN) in the general control register at offset D4h equals 1b (see Section 4.65). For applications that require QoS or isochronous operation, this arbitration mode is recommended. In this mode, all traffic on VC1 is assured access to the upstream link and VC0 traffic is best effort with a lower priority. 3.5.3.2 Hardware-Fixed, Round-Robin Arbitration Hardware-fixed, round-robin arbitration alternates between VC0 and the second VC. Over an extended period of time, if both VCs are heavily loaded with equal data payloads, each VC is granted approximately 50% of the upstream link bandwidth. The PCI configuration registers described in Table 3−9 configure the hardware-fixed, round-robin arbitration mode. Table 3−9. Hardware-Fixed, Round-Robin Arbiter Registers PCI OFFSET REGISTER NAME DESCRIPTION Classic PCI configuration register D4h General control (see Section 4.65) Bit 25 (STRICT_PRIORITY_EN) equal to 0b enables either hardware-fixed, round-robin or 32-phase, WRR arbitration mode. Classic PCI configuration register 15Ch Port VC control (see Section 5.19) Bits 3:1 (VC_ARB_SELECT) equal to 000b enables hardware-fixed, round-robin arbitration mode. 3.5.3.3 32-Phase, WRR Arbitration Mode When the second upstream VC is enabled, the VC arbiter selects the next PCI Express upstream link transaction based on entries within a VC arbitration table. There are actually two VC arbitration tables within the bridge. The first table is accessed through the extended PCI Express configuration register space using configuration read/write transactions. The second table is internal and is used by the VC arbiter to make selection decisions. A configuration register load function exists to transfer the contents of the configuration register table to the internal table. The VC arbitration table uses a 4-bit field to identify the VC that is selected during each arbiter cycle. Bits 2:0 of this 4-bit field are loaded with the VC_ID assigned to each VC. For the arbiter to recognize a VC request, the software must allocate only 1 phase to the same VC_ID. The PCI configuration registers described in Table 3−10 configure the 32-phase, WRR arbitration mode. 26 SCPS097B November 2005 Feature/Protocol Descriptions Table 3−10. 32-phase, WRR Arbiter Registers PCI OFFSET REGISTER NAME DESCRIPTION Classic PCI configuration register D4h General control (see Section 4.65) Bit 25 (STRICT_PRIORITY_EN) equal to 0b enables either hardware-fixed, round-robin or 32-phase, WRR arbitration mode. PCI Express VC extended configuration register 15Ch Port VC control (see Section 5.19) Bit 0 (LOAD_VC_TABLE) when written with a 1b transfers the VC arbitration table configuration register values to the internal registers used by the VC arbiter. Bits 3:1 (VC_ARB_SELECT) equal to 001b enables 32-phase, WRR arbitration mode. PCI Express VC extended configuration register 15Eh Port VC status (see Section 5.20) Bit 0 (VC_TABLE_STATUS) equal to 1b indicates that the VC arbitration table configuration registers were updated but not loaded into the internal arbitration table. PCI Express VC extended configuration registers 180h to 18Ch VC arbitration table (see Section 5.27) 4-doubleword sized configuration registers that are the registered version of the 32-phase, WRR VC arbitration table. Each VC arbitration table entry is a 4-bit field. 3.5.4 128-Phase, WRR PCI Port Arbitration Timing This section includes a timing diagram that illustrates the 128-phase, WRR time-based arbiter timing for the bridge and three PCI bus devices. This timing diagram assumes aggressive mode since the transfer associated with device #1 is stopped to start a device #0 transfer. The PCI bus cycle where device #1 is stopped is indicated by the ‡ symbol. Device #1 then waits until its next port arbitration table cycle to finish the transfer. The signal waveforms associated with bridge REQ, bridge GNT, ISOC reference clock, and port arbitration table entry are internal to the bridge. These internal bridge signals are included here to help clarify the operation of the PCI port arbiter in 128-phase, WRR time-based arbitration mode. The remaining REQ, GNT, and PCI bus signals are all external to the bridge. November 2005 SCPS097B 27 Feature/Protocol Descriptions Bridge REQ REQ0 REQ1 REQ2 Bridge GNT GNT0 GNT1 GNT2 Isoc Ref Clock Port Arb 3 Table 3 PCI Bus 0 0 0 Bridge 2 2 2 2 1 Device 1‡ 1 1 1 3 3 3 0 0 Bridge Device 2 Device 0 0 2 2 2 2 1 Device 1 Figure 3−5. PCI Bus Timing 3.6 Configuration Register Translation PCI Express configuration register transactions received by the bridge are decoded based on the transaction’s destination ID. These configuration transactions can be broken into three subcategories: type 0 transactions, type 1 transactions that target the secondary bus, and type 1 transactions that target a downstream bus other than the secondary bus. PCI Express type 0 configuration register transactions always target the configuration space and are never passed on to the secondary interface. Type 1 configuration register transactions that target a device on the secondary bus are converted to type 0 configuration register transactions on the PCI bus. Figure 3−6 shows the address phase of a type 0 configuration transaction on the PCI bus as defined by the PCI specification. 31 16 IDSEL 15 11 Reserved 10 8 Function Number 7 2 Register Number 1 0 0 0 Figure 3−6. Type 0 Configuration Transaction Address Phase Encoding 28 SCPS097B November 2005 Feature/Protocol Descriptions In addition, the bridge converts the destination ID device number to one of the AD[31:16] lines as the IDSEL signal. The implemented IDSEL signal mapping is shown in Table 3−11. Table 3−11. Type 0 Configuration Transaction IDSEL Mapping DEVICE NUMBER AD[31:16] 00000 00001 00010 00011 00100 00101 00110 00111 01000 01001 01010 01011 01100 01101 01110 01111 1xxxx 0000 0000 0000 0001 0000 0000 0000 0010 0000 0000 0000 0100 0000 0000 0000 1000 0000 0000 0001 0000 0000 0000 0010 0000 0000 0000 0100 0000 0000 0000 1000 0000 0000 0001 0000 0000 0000 0010 0000 0000 0000 0100 0000 0000 0000 1000 0000 0000 0001 0000 0000 0000 0010 0000 0000 0000 0100 0000 0000 0000 1000 0000 0000 0000 0000 0000 0000 0000 Type 1 configuration registers transactions that target a downstream bus other then the secondary bus are output on the PCI bus as type 1 PCI configuration transactions. Figure 3−7 shows the address phase of a type 1 configuration transaction on the PCI bus as defined by the PCI specification. 31 24 Reserved 23 16 Bus Number 15 11 Device Number 10 8 Function Number 7 2 Register Number 1 0 0 1 Figure 3−7. Type 1 Configuration Transaction Address Phase Encoding 3.7 PCI Interrupt Conversion to PCI Express Messages The bridge converts interrupts from the PCI bus sideband interrupt signals to PCI Express interrupt messages. PCI Express Assert_INTx messages are generated when one of the PCI bus INT[A:D] input terminals transitions low. The requester ID portion of the Assert_INTx message uses the value stored in the primary bus number register (see Section 4.11) as the bus number, 0 as the device number, and 0 as the function number. The tag field for each Assert_INTx message is 00h. The lower two bits in the code field indicate the asserted interrupt signal. PCI Express Deassert_INTx messages are generated when one of the PCI bus INT[A:D] input terminals transitions high. The requester ID portion of the Deassert_INTx message uses the value stored in the primary bus number register as the bus number, 0 as the device number, and 0 as the function number. The Tag field for each Deassert_INTx message is 00h. The lower two bits in the code field indicate the deasserted interrupt signal. Table 3−12, Figure 3−8, and Figure 3−9 illustrate the format for both the assert and deassert INTx messages. November 2005 SCPS097B 29 Feature/Protocol Descriptions Table 3−12. Interrupt Mapping In The Code Field INTERRUPT CODE FIELD INTA 00 INTB 01 INTC 10 INTD 11 +0 7 Byte 0> 6 5 4 +1 3 Fmt R 0 1 2 1 0 7 6 Type 1 0 1 5 4 +2 3 2 1 0 TC 0 0 R 0 0 Reserved 0 7 6 5 T E Attr 4 D P 0 +3 3 2 1 0 7 6 5 4 3 2 1 0 0 0 0 0 0 0 x x 3 2 1 0 0 0 0 0 1 x x Length R 0 0 0 0 0 0 0 Code Byte 4> Requester ID Tag Byte 8> Byte 12> 0 0 1 0 Reserved Figure 3−8. PCI Express ASSERT_INTX Message +0 7 Byte 0> 6 5 4 +1 3 Fmt R 0 1 2 1 0 7 6 Type 1 0 1 5 4 +2 3 2 1 0 TC 0 0 R 0 0 Reserved 0 7 6 5 T E Attr 4 D P 0 +3 3 2 1 0 7 6 5 4 Length R 0 0 0 0 0 0 0 Code Byte 4> Requester ID Tag Byte 8> Byte 12> 0 0 1 0 0 Reserved Figure 3−9. PCI Express DEASSERT_INTX Message 3.8 PME Conversion to PCI Express Messages When the PCI bus PME input transitions low, the bridge generates and sends a PCI Express PME message upstream. The requester ID portion of the PME message uses the stored value in the secondary bus number register as the bus number, 0 as the device number, and 0 as the function number. The Tag field for each PME message is 00h. A PME message is sent periodically until the PME signal transitions high. Figure 3−10 illustrates the format for a PCI Express PME message. +0 7 Byte 0> 6 5 +1 4 3 1 0 Fmt R 0 Byte 4> Byte 8> Byte 12> 1 2 1 0 0 0 7 6 Type 0 5 4 +2 3 2 1 0 TC R 0 0 0 Reserved 7 6 5 4 T E Attr D P 0 +3 3 2 1 0 7 6 5 0 0 0 0 0 0 0 0 4 3 2 1 0 0 0 0 0 0 0 0 Length 0 R 0 Code Requester ID Tag 1 1 Reserved Figure 3−10. PCI Express PME Message 30 SCPS097B November 2005 Feature/Protocol Descriptions 3.9 PCI Express To PCI Bus Lock Conversion The bus-locking protocol defined in the PCI Express Base Specification and PCI Local Bus Specification is provided on the bridge as an additional compatibility feature. The PCI bus LOCK signal is a dedicated output that is enabled by setting bit 12 in the general control register at offset D4h. See Section 4.65, General Control Register, for details. NOTE: The use of LOCK is only supported by PCI-Express to PCI Bridges in the downstream direction (away from the root complex). PCI Express locked-memory read request transactions are treated the same as PCI Express memory read transactions except that the bridge returns a completion for a locked-memory read. Also, the bridge uses the PCI LOCK protocol when initiating the memory read transaction on the PCI bus. When a PCI Express locked-memory read request transaction is received and the bridge is not already locked, the bridge arbitrates for use of the LOCK terminal by asserting REQ. If the bridge receives GNT and the LOCK terminal is high, then the bridge drives the LOCK terminal low after the address phase of the first locked-memory read transaction to take ownership of LOCK. The bridge continues to assert LOCK except during the address phase of locked transactions. If the bridge receives GNT and the LOCK terminal is low, then the bridge deasserts its REQ and waits until LOCK is high and the bus is idle before re-arbitrating for the use of LOCK. CLK FRAME LOCK AD Address Data IRDY TRDY DEVSEL Figure 3−11. Starting A Locked Sequence Once the bridge has ownership of LOCK, the bridge initiates the lock read as a memory read transaction on the PCI bus. When the target of the locked-memory read returns data, the bridge is considered locked and all transactions not associated with the locked sequence are blocked by the bridge. November 2005 SCPS097B 31 Feature/Protocol Descriptions CLK FRAME LOCK AD Address Data IRDY TRDY DEVSEL Figure 3−12. Continuing A Locked Sequence Because PCI Express does not have a unique locked-memory write request packet, all PCI Express memory write requests that are received while the bridge is locked are considered part of the locked sequence and are transmitted to PCI as locked-memory write transactions. In addition, all traffic mapped to VC1 is allowed to pass. The bridge terminates the locked sequence when an unlock message is received from PCI Express and all previous locked transactions have been completed. CLK FRAME LOCK IRDY Figure 3−13. Terminating A Locked Sequence In the erroneous case that a normal downstream memory read request is received during a locked sequence, the bridge responds with an unsupported request completion status. Please note that this condition must never occur, because the PCI Express specification requires the root complex to block normal memory read requests at the source. All locked sequences that end successfully or with an error condition must be immediately followed by an unlock message. This unlock message is required to return the bridge to a known unlocked state. 3.10 Two-Wire Serial-Bus Interface The bridge provides a two-wire serial-bus interface to load subsystem identification information and specific register defaults from an external EEPROM. The serial-bus interface signals (SCL and SDA) are shared with two of the GPIO terminals (4 and 5). If the serial bus interface is enabled, then the GPIO4 and GPIO5 terminals are disabled. If the serial bus interface is disabled, then the GPIO terminals operate as described in Section 3.13. 32 SCPS097B November 2005 Feature/Protocol Descriptions 3.10.1 Serial-Bus Interface Implementation To enable the serial-bus interface, a pullup resistor must be implemented on the SDA signal. At the rising edge of PERST or GRST, whichever occurs later in time, the SDA terminal is checked for a pullup resistor. If one is detected, then bit 3 (SBDETECT) in the serial-bus control and status register (see Section 4.58) is set. Software may disable the serial-bus interface at any time by writing a 0b to the SBDETECT bit. If no external EEPROM is required, then the serial-bus interface is permanently disabled by attaching a pulldown resistor to the SDA signal. The bridge implements a two-terminal serial interface with 1 clock signal (SCL) and 1 data signal (SDA). The SCL signal is a unidirectional output from the bridge and the SDA signal is bidirectional. Both are open-drain signals and require pullup resistors. The bridge is a bus master device and drives SCL at approximately 60 kHz during data transfers and places SCL in a high-impedance state (0 frequency) during bus idle states. The serial EEPROM is a bus slave device and must acknowledge a slave address equal to A0h. Figure 3−14 illustrates an example application implementing the two-wire serial bus. VDD_33 Serial EEPROM XIO2000 A0 A1 SCL GPIO4 // SCL A2 SDA GPIO5 // SDA Figure 3−14. Serial EEPROM Application 3.10.2 Serial-Bus Interface Protocol All data transfers are initiated by the serial-bus master. The beginning of a data transfer is indicated by a start condition, which is signaled when the SDA line transitions to the low state while SCL is in the high state, as illustrated in Figure 3−15. The end of a requested data transfer is indicated by a stop condition, which is signaled by a low-to-high transition of SDA while SCL is in the high state, as shown in Figure 3−15. Data on SDA must remain stable during the high state of the SCL signal, as changes on the SDA signal during the high state of SCL are interpreted as control signals, that is, a start or stop condition. November 2005 SCPS097B 33 Feature/Protocol Descriptions SDA SCL Start Condition Stop Condition Change of Data Allowed Data Line Stable, Data Valid Figure 3−15. Serial-Bus Start/Stop Conditions and Bit Transfers Data is transferred serially in 8-bit bytes. During a data transfer operation, the exact number of bytes that are transmitted is unlimited. However, each byte must be followed by an acknowledge bit to continue the data transfer operation. An acknowledge (ACK) is indicated by the data byte receiver pulling the SDA signal low, so that it remains low during the high state of the SCL signal. Figure 3−16 illustrates the acknowledge protocol. SCL From Master 1 2 3 7 8 9 SDA Output By Transmitter SDA Output By Receiver Figure 3−16. Serial-Bus Protocol Acknowledge The bridge performs three basic serial-bus operations: single byte reads, single byte writes, and multibyte reads. The single byte operations occur under software control. The multibyte read operations are performed by the serial EEPROM initialization circuitry immediately after a PCI Express reset. See Section 3.10.3, Serial-Bus EEPROM Application, for details on how the bridge automatically loads the subsystem identification and other register defaults from the serial-bus EEPROM. Figure 3−17 illustrates a single byte write. The bridge issues a start condition and sends the 7-bit slave device address and the R/W command bit is equal to 0b. A 0b in the R/W command bit indicates that the data transfer is a write. The slave device acknowledges if it recognizes the slave address. If no acknowledgment is received by the bridge, then bit 1 (SB_ERR) is set in the serial-bus control and status register (PCI offset B3h, see Section 4.58). Next, the EEPROM word address is sent by the bridge, and another slave acknowledgment is expected. Then the bridge delivers the data byte MSB first and expects a final acknowledgment before issuing the stop condition. Slave Address S Word Address b6 b5 b4 b3 b2 b1 b0 0 A Data Byte b7 b6 b5 b4 b3 b2 b1 b0 A b7 b6 b5 b4 b3 b2 b1 b0 A P R/W A = Slave Acknowledgement S/P = Start/Stop Condition Figure 3−17. Serial-Bus Protocol—Byte Write 34 SCPS097B November 2005 Feature/Protocol Descriptions Figure 3−18 illustrates a single byte read. The bridge issues a start condition and sends the 7-bit slave device address and the R/W command bit is equal to 0b (write). The slave device acknowledges if it recognizes the slave address. Next, the EEPROM word address is sent by the bridge, and another slave acknowledgment is expected. Then, the bridge issues a restart condition followed by the 7-bit slave address and the R/W command bit is equal to 1b (read). Once again, the slave device responds with an acknowledge. Next, the slave device sends the 8-bit data byte, MSB first. Since this is a 1-byte read, the bridge responds with no acknowledge (logic high) indicating the last data byte. Finally, the bridge issues a stop condition. Slave Address S Word Address b6 b5 b4 b3 b2 b1 b0 Start 0 A Slave Address b7 b6 b5 b4 b3 b2 b1 b0 A S b6 b5 b4 b3 b2 b1 b0 Restart R/W 1 A R/W Data Byte b7 b6 b5 b4 b3 b2 b1 b0 M P Stop A = Slave Acknowledgement M = Master Acknowledgement S/P = Start/Stop Condition Figure 3−18. Serial-Bus Protocol—Byte Read Figure 3−19 illustrates the serial interface protocol during a multi-byte serial EEPROM download. The serial-bus protocol starts exactly the same as a 1-byte read. The only difference is that multiple data bytes are transferred. The number of transferred data bytes is controlled by the bridge master. After each data byte, the bridge master issues acknowledge (logic low) if more data bytes are requested. The transfer ends after a bridge master no acknowledge (logic high) followed by a stop condition. Slave Address S 1 0 1 0 0 Word Address 0 0 Start 0 A 0 0 0 0 0 0 Slave Address 0 0 R/W Data Byte 0 M A = Slave Acknowledgement A S 1 0 1 0 0 0 M Data Byte 2 M = Master Acknowledgement M Data Byte 3 1 A R/W Restart Data Byte 1 0 M P S/P = Start/Stop Condition Figure 3−19. Serial-Bus Protocol—Multibyte Read Bit 7 (PROT_SEL) in the serial-bus control and status register changes the serial-bus protocol. Each of the three previous serial-bus protocol figures illustrates the PROT_SEL bit default (logic low). When this control bit is asserted, the word address and corresponding acknowledge are removed from the serial-bus protocol. This feature allows the system designer a second serial-bus protocol option when selecting external EEPROM devices. 3.10.3 Serial-Bus EEPROM Application The registers and corresponding bits that are loaded through the EEPROM are provided in Table 3−13. November 2005 SCPS097B 35 Feature/Protocol Descriptions Table 3−13. EEPROM Register Loading Map SERIAL EEPROM WORD ADDRESS BYTE DESCRIPTION 00h PCI-Express to PCI bridge function indicator (00h) 01h Number of bytes to download (1Eh) 02h PCI 84h, subsystem vendor ID, byte 0 03h PCI 85h, subsystem vendor ID, byte 1 04h PCI 86h, subsystem ID, byte 0 05h PCI 87h, subsystem ID, byte 1 06h PCI D4h, general control, byte 0 07h PCI D5h, general control, byte 1 08h PCI D6h, general control, byte 2 09h PCI D7h, general control, byte 3 0Ah PCI D8h, clock control 0Bh PCI D9h, clock mask 0Ch Reserved—no bits loaded 0Dh PCI DCh, arbiter control 0Eh PCI DDh, arbiter request mask 0Fh PCI C0h, control and diagnostic register 0 byte 0 10h PCI C1h, control and diagnostic register 0 byte 1 11h PCI C2h, control and diagnostic register 0 byte 2 12h PCI C3h, control and diagnostic register 0 byte 3 13h PCI C4h, control and diagnostic register 1 byte 0 14h PCI C5h, control and diagnostic register 1 byte 1 15h PCI C6h, control and diagnostic register 1 byte 2 16h PCI C7h, control and diagnostic register 1 byte 3 17h PCI C8h, control and diagnostic register 2 byte 0 18h PCI C9h, control and diagnostic register 2 byte 1 19h PCI CAh, control and diagnostic register 2 byte 2 1Ah PCI CBh, control and diagnostic register 2 byte 3 1Bh Reserved—no bits loaded 1Ch Reserved—no bits loaded 1Dh PCI E0h, serial IRQ mode control 1Eh PCI E2h, serial IRQ edge control, byte 0 1Fh PCI E3h, serial IRQ edge control, byte 1 20h End-of-list indicator (80h) This format must be explicitly followed for the bridge to correctly load initialization values from a serial EEPROM. All byte locations must be considered when programming the EEPROM. The serial EEPROM is addressed by the bridge at slave address 1010 000b. This slave address is internally hardwired and cannot be changed by the system designer. Therefore, all three hardware address bits for the EEPROM are tied to VSS to achieve this address. The serial EEPROM in the sample application circuit (Figure 3−14) assumes the 1010b high-address nibble. The lower three address bits are terminal inputs to the chip, and the sample application shows these terminal inputs tied to VSS. During an EEPROM download operation, bit 4 (ROMBUSY) in the serial-bus control and status register is asserted. After the download is finished, bit 0 (ROM_ERR) in the serial-bus control and status register may be monitored to verify a successful download. 36 SCPS097B November 2005 Feature/Protocol Descriptions 3.10.4 Accessing Serial-Bus Devices Through Software The bridge provides a programming mechanism to control serial-bus devices through system software. The programming is accomplished through a doubleword of PCI configuration space at offset B0h. Table 3−14 lists the registers that program a serial-bus device through software. Table 3−14. Registers Used To Program Serial-Bus Devices PCI OFFSET REGISTER NAME DESCRIPTION B0h Serial-bus data (see Section 4.55) Contains the data byte to send on write commands or the received data byte on read commands. B1h Serial-bus word address (see Section 4.56) The content of this register is sent as the word address on byte writes or reads. When bit 7 (PROT_SEL) in the serial-bus control and status register (offset B3h, see Section 4.58) is set to 1b and the quick command protocol is selected, this word address is ignored. B2h Serial-bus slave address (see Section 4.57) Write transactions to this register initiate a serial-bus transaction. The slave device address and the R/W command selector are programmed through this register. B3h Serial-bus control and status (see Section 4.58) Serial interface enable, busy, and error status are communicated through this register. In addition, the protocol-select (PROT_SEL) bit and serial-bus test (SBTEST) bit are programmed through this register. To access the serial EEPROM through the software interface, the following steps are performed: 1. The control and status byte is read to verify the EEPROM interface is enabled (SBDETECT asserted) and not busy (REQBUSY and ROMBUSY deasserted). 2. The serial-bus word address is loaded. If the access is a write, then the data byte is also loaded. 3. The serial-bus slave address and R/W command selector byte is written. 4. REQBUSY is monitored until this bit is deasserted. 5. SB_ERR is checked to verify that the serial-bus operation completed without error. If the operation is a read, then the serial-bus data byte is now valid. 3.11 Advanced Error Reporting Registers In the extended PCI Express configuration space, the bridge supports the advanced error reporting capabilities structure. For the PCI Express interface, both correctable and uncorrectable error status is provided. For the PCI bus interface, secondary uncorrectable error status is provided. All uncorrectable status bits have corresponding mask and severity control bits. For correctable status bits, only mask bits are provided. Both the primary and secondary interfaces include first error pointer and header log registers. When the first error is detected, the corresponding bit position within the uncorrectable status register is loaded into the first error pointer register. Likewise, the header information associated with the first failing transaction is loaded into the header log. To reset this first error control logic, the corresponding status bit in the uncorrectable status register is cleared by a writeback of 1b. For systems that require high data reliability, ECRC is fully supported on the PCI Express interface. The primary side advanced error capabilities and control register has both ECRC generation and checking enable control bits. When the checking bit is asserted, all received TLPs are checked for a valid ECRC field. If the generation bit is asserted, then all transmitted TLPs contain a valid ECRC field. 3.12 Data Error Forwarding Capability The bridge supports the transfer of data errors in both directions. If a downstream PCI Express transaction with a data payload is received that targets the PCI bus and the EP bit is set indicating poisoned data, then the bridge must ensure that this information is transferred to the PCI bus. To do this, the bridge forces a parity error on each PCI bus data phase by inverting the parity bit calculated for each double-word of data. November 2005 SCPS097B 37 Feature/Protocol Descriptions If the bridge is the target of a PCI transaction that is forwarded to the PCI Express interface and a data parity error is detected, then this information is passed to the PCI Express interface. To do this, the bridge sets the EP bit in the upstream PCI Express header. 3.13 General-Purpose I/O Interface Up to eight general-purpose input/output (GPIO) terminals are provided for system customization. These GPIO terminals are 3.3-V tolerant. The exact number of GPIO terminals varies based on implementing the clock run, power override, and serial EEPROM interface features. These features share four of the eight GPIO terminals. When any of the three shared functions are enabled, the associated GPIO terminal is disabled. All eight GPIO terminals are individually configurable as either inputs or outputs by writing the corresponding bit in the GPIO control register at offset B4h. A GPIO data register at offset B6h exists to either read the logic state of each GPIO input or to set the logic state of each GPIO output. The power-up default state for the GPIO control register is input mode. 3.14 Set Slot Power Limit Functionality The PCI Express Specification provides a method for devices to limit internal functionality and save power based on the value programmed into the captured slot power limit scale (CSPLS) and capture slot power limit value (CSPLV) fields of the PCI Express device capabilities register at offset 94h. See Section 4.49, Device Capabilities Register, for details. The bridge writes these fields when a set slot power limit message is received on the PCI Express interface. After the deassertion of PERST, the bridge compares the information in the CSPLS and CSPLV fields of the device capabilities register with the minimum power scale (MIN_POWER_SCALE) and minimum power value (MIN_POWER_VALUE) fields in the general control register at offset D4h. See Section 4.65, General Control Register, for details. If the CSPLS and CSPLV fields are less than the MIN_POWER_SCALE and MIN_POWER_VALUE fields, respectively, then the bridge takes the appropriate action that is defined below. The power usage action is programmable within the bridge. The general control register includes a 3-bit PWR_OVRD field. This field is programmable to the following five options: 1. Ignore slot power limit fields 2. Assert the PWR_OVRD terminal (U05) 3. Disable secondary clocks as specified by the clock mask register at offset D9h. 4. Disable secondary clocks as specified by the clock mask register and assert the PWR_OVRD terminal 5. Respond with unsupported request to all transactions except type 0/1 configuration transactions and set slot power limit messages 3.15 PCI Express and PCI Bus Power Management The bridge supports both software-directed power management and active state power management through standard PCI configuration space. Software-directed registers are located in the power management capabilities structure located at offset 50h. Active state power management control registers are located in the PCI Express capabilities structure located at offset 90h. During software-directed power management state changes, the bridge initiates link state transitions to L1 or L2/L3 after a configuration write transaction places the device in a low power state. The power management state machine is also responsible for gating internal clocks based on the power state. Table 3−15 identifies the relationship between the D-states and bridge clock operation. 38 SCPS097B November 2005 Feature/Protocol Descriptions Table 3−15. Clocking In Low Power States D0/L0 D1/L1 D2/L1 D3/L2/L3 PCI express reference clock input (REFCLK) CLOCK SOURCE On On On On/Off PCI clock input (CLK) On Off Off Off Secondary PCI bus clock outputs (CLKOUT6:0) On On On On/Off The link power management (LPM) state machine manages active state power by monitoring the PCI Express transaction activity. If no transactions are pending and the transmitter has been idle for at least the minimum time required by the PCI Express Specification, then the LPM state machine transitions the link to either the L0s or L1 state. By reading the bridge’s L0s and L1 exit latency in the link capabilities register, the system software may make an informed decision relating to system performance versus power savings. The ASLPMC field in the link control register provides an L0s-only option, L1-only option, or both L0s and L1 option. Finally, the bridge generates the PM_Active_State_Nak Message if a PM_Active_State_Request_L1 DLLP is received on the PCI Express interface and the link cannot be transitioned to L1. November 2005 SCPS097B 39 Classic PCI Configuration Space 4 Classic PCI Configuration Space The programming model of the XIO2000 PCI-Express to PCI bridge is compliant to the classic PCI-to-PCI bridge programming model. The PCI configuration map uses the type 1 PCI bridge header. All bits marked with a k are sticky bits and are reset by a global reset (GRST) or the internally-generated power-on reset. All bits marked with a † are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. The remaining register bits are reset by a PCI Express hot reset, PERST, GRST, or the internally-generated power-on reset. Table 4−1. Classic PCI Configuration Register Map REGISTER NAME OFFSET Device ID Vendor ID 000h Status Command 004h Class code BIST Header type Latency timer Revision ID 008h Cache line size 00Ch Device control base address 010h Reserved Secondary latency timer Subordinate bus number 014h Secondary bus number Primary bus number 018h I/O limit I/O base 01Ch Secondary status Memory limit Memory base 020h Prefetchable memory limit Prefetchable memory base 024h Prefetchable base upper 32 bits 028h Prefetchable limit upper 32 bits 02Ch I/O limit upper 16 bits I/O base upper 16 bits Reserved Capabilities pointer Reserved Interrupt pin Interrupt line Reserved Power management capabilities Next item pointer PM CAP ID Power management CSR Reserved Next item pointer MSI CAP ID Reserved Next item pointer SSID/SSVID CAP ID Subsystem vendor ID† Reserved 080h 084h 088h−08Ch Next item pointer PCI Express capability ID Device capabilities Device status 090h 094h Device control Link capabilities 098h 09Ch Link control 0A0h Reserved Serial-bus slave address† 06Ch 070h−07Ch Subsystem ID† Serial-bus control and status† 060h 068h MSI message data Link status 054h 064h MSI upper message address Reserved PCI Express capabilities register 050h 058h−05Ch MSI message address Reserved 03Ch 040h−04Ch PMCSR_BSE MSI message control 034h 038h Bridge control PM data 030h Serial-bus word address† 0A4h−0ACh Serial-bus data† 0B0h † One or more bits in this register are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 40 SCPS097B November 2005 Classic PCI Configuration Space Table 4−1. PCI Express Configuration Register Map (Continued) REGISTER NAME OFFSET GPIO data† GPIO control† 0B4h Reserved 0B8h−0BCh Control and diagnotic register 0† 0C0h Control and diagnotic register 1† 0C4h Control and diagnotic register 2† 0C8h Reserved 0CCh Subsystem access† 0D0h General control† 0D4h Reserved Clock run status† Clock mask† Clock control† 0D8h Reserved Arbiter time-out status Arbiter request mask† Arbiter control† 0DCh Reserved Serial IRQ mode control† 0E0h Serial IRQ edge control† Reserved Serial IRQ status 0E4h Reserved 0E8h−0FCh † One or more bits in this register are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 4.1 Vendor ID Register This 16-bit read-only register contains the value 104Ch, which is the vendor ID assigned to Texas Instruments. PCI register offset: Register type: Default value: 4.2 00h Read-only 104Ch BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 1 0 0 0 0 0 1 0 0 1 1 0 0 Device ID Register This 16-bit read-only register contains the value 8231h, which is the device ID assigned by TI for the bridge. PCI register offset: Register type: Default value: 02h Read-only 8231h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 1 0 0 0 0 0 1 0 0 0 1 1 0 0 0 1 November 2005 SCPS097B 41 Classic PCI Configuration Space 4.3 Command Register The command register controls how the bridge behaves on the PCI Express interface. See Table 4−2 for a complete description of the register contents. PCI register offset: Register type: Default value: 04h Read-only, Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−2. Command Register Description BIT FIELD NAME ACCESS 15:11 RSVD R Reserved. Returns 00000b when read. 10 INT_DISABLE R INTx disable. This bit enables device specific interrupts. Since the bridge does not generate any internal interrupts, this bit is read-only 0b. 9 FBB_ENB R Fast back-to-back enable. The bridge does not generate fast back-to-back transactions; therefore, this bit returns 0b when read. 8 SERR_ENB RW 7 STEP_ENB R 6 PERR_ENB RW DESCRIPTION SERR enable bit. When this bit is set, the bridge can signal fatal and nonfatal errors on the PCI Express interface on behalf of SERR assertions detected on the PCI bus. 0 = Disable the reporting of nonfatal errors and fatal errors (default) 1 = Enable the reporting of nonfatal errors and fatal errors Address/data stepping control. The bridge does not support address/data stepping, and this bit is hardwired to 0b. Controls the setting of bit 8 (DATAPAR) in the status register (offset 06h, see Section 4.4) in response to a received poisoned TLP from PCI Express. A received poisoned TLP is forwarded with bad parity to conventional PCI regardless of the setting of this bit. 0 = Disables the setting of the master data parity error bit (default) 1 = Enables the setting of the master data parity error bit 5 VGA_ENB R 4 MWI_ENB RW 3 SPECIAL R VGA palette snoop enable. The bridge does not support VGA palette snooping; therefore, this bit returns 0b when read. Memory write and invalidate enable. When this bit is set, the bridge translates PCI Express memory write requests into memory write and invalidate transactions on the PCI interface. 0 = Disable the promotion to memory write and invalidate (default) 1 = Enable the promotion to memory write and invalidate Special cycle enable. The bridge does not respond to special cycle transactions; therefore, this bit returns 0b when read. Bus master enable. When this bit is set, the bridge is enabled to initiate transactions on the PCI Express interface. 2 MASTER_ENB RW 0 = PCI Express interface cannot initiate transactions. The bridge must disable the response to memory and I/O transactions on the PCI interface (default). 1 = PCI Express interface can initiate transactions. The bridge can forward memory and I/O transactions from PCI secondary interface to the PCI Express interface. Memory space enable. Setting this bit enables the bridge to respond to memory transactions on the PCI Express interface. 1 MEMORY_ENB RW 0 = PCI Express receiver cannot process downstream memory transactions and must respond with an unsupported request (default) 1 = PCI Express receiver can process downstream memory transactions. The bridge can forward memory transactions to the PCI interface. I/O space enable. Setting this bit enables the bridge to respond to I/O transactions on the PCI Express interface. 0 42 IO_ENB SCPS097B RW 0 = PCI Express receiver cannot process downstream I/O transactions and must respond with an unsupported request (default) 1 = PCI Express receiver can process downstream I/O transactions. The bridge can forward I/O transactions to the PCI interface. November 2005 Classic PCI Configuration Space 4.4 Status Register The status register provides information about the PCI Express interface to the system. See Table 4−3 for a complete description of the register contents. PCI register offset: Register type: Default value: 06h Read-only, Read/Clear 0010h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 Table 4−3. Status Register Description BIT 15 FIELD NAME PAR_ERR ACCESS DESCRIPTION RCU Detected parity error. This bit is set when the PCI Express interface receives a poisoned TLP. This bit is set regardless of the state of bit 6 (PERR_ENB) in the command register (offset 04h, see Section 4.3). 0 = No parity error detected 1 = Parity error detected 14 13 12 SYS_ERR MABORT TABORT_REC RCU RCU RCU 11 TABORT_SIG RCU 10:9 PCI_SPEED R 8 DATAPAR RCU Signaled system error. This bit is set when the bridge sends an ERR_FATAL or ERR_NONFATAL message and bit 8 (SERR_ENB) in the command register (offset 04h, see Section 4.3) is set. 0 = No error signaled 1 = ERR_FATAL or ERR_NONFATAL signaled Received master abort. This bit is set when the PCI Express interface of the bridge receives a completion-with-unsupported-request status. 0 = Unsupported request not received on the PCI Express interface 1 = Unsupported request received on the PCI Express interface Received target abort. This bit is set when the PCI Express interface of the bridge receives a completion-with-completer-abort status. 0 = Completer abort not received on the PCI Express interface 1 = Completer abort received on the PCI Express interface Signaled target abort. This bit is set when the PCI Express interface completes a request with completer abort status. 0 = Completer abort not signaled on the PCI Express interface 1 = Completer abort signaled on the PCI Express interface DEVSEL timing. These bits are read-only 00b, because they do not apply to PCI Express. Master data parity error. This bit is set if bit 6 (PERR_ENB) in the command register (offset 04h, see Section 4.3) is set and the bridge receives a completion with data marked as poisoned on the PCI Express interface or poisons a write request received on the PCI Express interface. 0 = No uncorrectable data error detected on the primary interface 1 = Uncorrectable data error detected on the primary interface 7 FBB_CAP R Fast back-to-back capable. This bit does not have a meaningful context for a PCI Express device and is hardwired to 0b. 6 RSVD R Reserved. Returns 0b when read. 5 66MHZ R 66-MHz capable. This bit does not have a meaningful context for a PCI Express device and is hardwired to 0b. 4 CAPLIST R Capabilities list. This bit returns 1b when read, indicating that the bridge supports additional PCI capabilities. 3 INT_STATUS R Interrupt status. This bit reflects the interrupt status of the function. This bit is read-only 0b since the bridge does not generate any interrupts internally. 2:0 RSVD R Reserved. Returns 000b when read. November 2005 SCPS097B 43 Classic PCI Configuration Space 4.5 Class Code and Revision ID Register This read-only register categorizes the base class, subclass, and programming interface of the bridge. The base class is 06h, identifying the device as a bridge. The subclass is 04h, identifying the function as a PCI-to-PCI bridge, and the programming interface is 00h. Furthermore, the TI device revision is indicated in the lower byte (02h). See Table 4−4 for a complete description of the register contents. PCI register offset: Register type: Default value: 08h Read-only 0604 0002h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 Table 4−4. Class Code and Revision ID Register Description BIT FIELD NAME ACCESS 31:24 BASECLASS R Base class. This field returns 06h when read, which classifies the function as a bridge device. 23:16 SUBCLASS R Subclass. This field returns 04h when read, which classifies the function as a PCI-to-PCI bridge. 15:8 PGMIF R Programming interface. This field returns 00h when read. 7:0 CHIPREV R Silicon revision. This field returns the silicon revision of the function. 4.6 DESCRIPTION Cache Line Size Register This read/write cache line size register is used by the bridge to determine how much data to prefetch when handling delayed read transactions. The value in this register must be programmed to a power of 2. Any written odd value (bit 0 = 1b) or value greater than 32 DWORDs is treated as 0 DWORDs. PCI register offset: Register type: Default value: 4.7 0Ch Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 Primary Latency Timer Register This read-only register has no meaningful context for a PCI Express device and returns the value 00h when read. PCI register offset: Register type: Default value: 4.8 0Dh Read-only 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 Header Type Register This read-only register indicates that this function has a type one PCI header. Bit 7 of this register is 0b indicating that the bridge is a single-function device. PCI register offset: Register type: Default value: 44 0Eh Read-only 01h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 1 SCPS097B November 2005 Classic PCI Configuration Space 4.9 BIST Register Since the bridge does not support a built-in self test (BIST), this read-only register returns the value of 00h when read. PCI register offset: Register type: Default value: 0Fh Read-only 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 4.10 Device Control Base Address Register This read/write register programs the memory base address that accesses the device control registers. See Table 4−5 for a complete description of the register contents. PCI register offset: Register type: Default value: 10h Read-only, Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−5. Device Control Base Address Register Description BIT FIELD NAME ACCESS DESCRIPTION Memory base address. The memory address field for the bridge uses 20 read/write bits indicating that 4096 bytes is the amount of memory space that is reserved. 31:12 ADDRESS RW 11:4 RSVD R Reserved. These bits are read-only and return 00h when read. 3 PRE_FETCH R Prefetchable. This bit is read-only 0b indicating that this memory window is not prefetchable. 2:1 MEM_TYPE R Memory type. This field is read-only 00b indicating that this window can be located anywhere in the 32-bit address space. 0 MEM_IND R Memory space indicator. This field returns 0b indicating that memory space is used. 4.11 Primary Bus Number Register This read/write register specifies the bus number of the PCI bus segment that the PCI Express interface is connected to. PCI register offset: Register type: Default value: 18h Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 November 2005 SCPS097B 45 Classic PCI Configuration Space 4.12 Secondary Bus Number Register This read/write register specifies the bus number of the PCI bus segment that the PCI interface is connected to. The bridge uses this register to determine how to respond to a type 1 configuration transaction. PCI register offset: Register type: Default value: 19h Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 4.13 Subordinate Bus Number Register This read/write register specifies the bus number of the highest number PCI bus segment that is downstream of the bridge. The bridge uses this register to determine how to respond to a type 1 configuration transaction. PCI register offset: Register type: Default value: 1Ah Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 4.14 Secondary Latency Timer Register This read/write register specifies the secondary bus latency timer for the bridge, in units of PCI clock cycles. PCI register offset: Register type: Default value: 1Bh Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 4.15 I/O Base Register This read/write register specifies the lower limit of the I/O addresses that the bridge forwards downstream. See Table 4−6 for a complete description of the register contents. PCI register offset: Register type: Default value: 1Ch Read-only, Read/Write 01h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 1 Table 4−6. I/O Base Register Description BIT 46 FIELD NAME ACCESS DESCRIPTION I/O base. Defines the bottom address of the I/O address range that determines when to forward I/O transactions from one interface to the other. These bits correspond to address bits [15:12] in the I/O address. The lower 12 bits are assumed to be 000h. The 16 bits corresponding to address bits [31:16] of the I/O address are defined in the I/O base upper 16 bits register (offset 30h, see Section 4.24). 7:4 IOBASE RW 3:0 IOTYPE R SCPS097B I/O type. This field is read-only 1h indicating that the bridge supports 32-bit I/O addressing. November 2005 Classic PCI Configuration Space 4.16 I/O Limit Register This read/write register specifies the upper limit of the I/O addresses that the bridge forwards downstream. See Table 4−7 for a complete description of the register contents. PCI register offset: Register type: Default value: 1Dh Read-only, Read/Write 01h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 1 Table 4−7. I/O Limit Register Description BIT FIELD NAME ACCESS 7:4 IOLIMIT RW 3:0 IOTYPE R November 2005 DESCRIPTION I/O limit. Defines the top address of the I/O address range that determines when to forward I/O transactions from one interface to the other. These bits correspond to address bits [15:12] in the I/O address. The lower 12 bits are assumed to be FFFh. The 16 bits corresponding to address bits [31:16] of the I/O address are defined in the I/O limit upper 16 bits register (offset 32h, see Section 4.25). I/O type. This field is read-only 1h indicating that the bridge supports 32-bit I/O addressing. SCPS097B 47 Classic PCI Configuration Space 4.17 Secondary Status Register The secondary status register provides information about the PCI bus interface. See Table 4−8 for a complete description of the register contents. PCI register offset: Register type: Default value: 1Eh Read-only, Read/Clear 02X0h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 1 0 1 0 x 0 0 0 0 0 Table 4−8. Secondary Status Register Description BIT FIELD NAME ACCESS DESCRIPTION 15 PAR_ERR RCU Detected parity error. This bit reports the detection of an uncorrectable address, attribute, or data error by the bridge on its secondary interface. This bit must be set when any of the following three conditions are true: • The bridge detects an uncorrectable address or attribute error as a potential target. • The bridge detects an uncorrectable data error when it is the target of a write transaction. • The bridge detects an uncorrectable data error when it is the master of a read transaction (immediate read data). The bit is set irrespective of the state of bit 0 (PERR_EN) in the bridge control register at offset 3Eh (see Section 4.29). 0 = Uncorrectable address, attribute, or data error not detected on secondary interface 1 = Uncorrectable address, attribute, or data error detected on secondary interface 14 SYS_ERR RCU Received system error. This bit is set when the bridge detects an SERR assertion. 0 = No error asserted on the PCI interface 1 = SERR asserted on the PCI interface 13 MABORT RCU Received master abort. This bit is set when the PCI interface of the bridge reports the detection of a master abort termination by the bridge when it is the master of a transaction on its secondary interface. 0 = Master abort not received on the PCI interface 1 = Master abort received on the PCI interface 12 TABORT_REC RCU Received target abort. This bit is set when the PCI interface of the bridge receives a target abort. 0 = Target abort not received on the PCI interface 1 = Target abort received on the PCI interface 11 TABORT_SIG RCU Signaled target abort. This bit reports the signaling of a target abort termination by the bridge when it responds as the target of a transaction on its secondary interface. 0 = Target abort not signaled on the PCI interface 1 = Target abort signaled on the PCI interface 10:9 PCI_SPEED R 8 DATAPAR RCU DEVSEL timing. These bits are 01b indicating that this is a medium speed decoding device. Master data parity error. This bit is set if the bridge is the bus master of the transaction on the PCI bus, bit 0 (PERR_EN) in the bridge control register (offset 3Eh see Section 4.29) is set, and the bridge either asserts PERR on a read transaction or detects PERR asserted on a write transaction. 0 = No data parity error detected on the PCI interface 1 = Data parity error detected on the PCI interface 7 48 FBB_CAP R Fast back-to-back capable. This bit returns a 1b when read indicating that the secondary PCI interface of bridge supports fast back-to-back transactions. 6 RSVD R Reserved. Returns 0b when read. 5 66MHZ R 66-MHz capable. The bridge can operate at a maximum CLK frequency of 66 MHz; therefore, this bit reflects the state of the M66EN terminal. 4:0 RSVD R Reserved. Returns 00000b when read. SCPS097B November 2005 Classic PCI Configuration Space 4.18 Memory Base Register This read/write register specifies the lower limit of the memory addresses that the bridge forwards downstream. See Table 4−9 for a complete description of the register contents. PCI register offset: Register type: Default value: 20h Read-only, Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−9. Memory Base Register Description BIT FIELD NAME ACCESS DESCRIPTION Memory base. Defines the lowest address of the memory address range that determines when to forward memory transactions from one interface to the other. These bits correspond to address bits [31:20] in the memory address. The lower 20 bits are assumed to be 00000h. 15:4 MEMBASE RW 3:0 RSVD R Reserved. Returns 0h when read. 4.19 Memory Limit Register This read/write register specifies the upper limit of the memory addresses that the bridge forwards downstream. See Table 4−10 for a complete description of the register contents. PCI register offset: Register type: Default value: 22h Read-only, Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−10. Memory Limit Register Description BIT FIELD NAME ACCESS DESCRIPTION Memory limit. Defines the highest address of the memory address range that determines when to forward memory transactions from one interface to the other. These bits correspond to address bits [31:20] in the memory address. The lower 20 bits are assumed to be FFFFFh. 15:4 MEMLIMIT RW 3:0 RSVD R Reserved. Returns 0h when read. 4.20 Prefetchable Memory Base Register This read/write register specifies the lower limit of the prefetchable memory addresses that the bridge forwards downstream. See Table 4−11 for a complete description of the register contents. PCI register offset: Register type: Default value: 24h Read-only, Read/Write 0001h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 Table 4−11. Prefetchable Memory Base Register Description BIT FIELD NAME ACCESS DESCRIPTION Prefetchable memory base. Defines the lowest address of the prefetchable memory address range that determines when to forward memory transactions from one interface to the other. These bits correspond to address bits [31:20] in the memory address. The lower 20 bits are assumed to be 00000h. The prefetchable base upper 32 bits register (offset 28h, see Section 4.22) specifies bits [63:32] of the 64-bit prefetchable memory address. 15:4 PREBASE RW 3:0 64BIT R November 2005 64-bit memory indicator. These read-only bits indicate that 64-bit addressing is supported for this memory window. SCPS097B 49 Classic PCI Configuration Space 4.21 Prefetchable Memory Limit Register This read/write register specifies the upper limit of the prefetchable memory addresses that the bridge forwards downstream. See Table 4−12 for a complete description of the register contents. PCI register offset: Register type: Default value: BIT NUMBER RESET STATE 26h Read-only, Read/Write 0001h 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 Table 4−12. Prefetchable Memory Limit Register Description BIT FIELD NAME ACCESS DESCRIPTION Prefetchable memory limit. Defines the highest address of the prefetchable memory address range that determines when to forward memory transactions from one interface to the other. These bits correspond to address bits [31:20] in the memory address. The lower 20 bits are assumed to be FFFFFh. The prefetchable limit upper 32 bits register (offset 2Ch, see Section 4.23) specifies bits [63:32] of the 64-bit prefetchable memory address. 15:4 PRELIMIT RW 3:0 64BIT R 64-bit memory indicator. These read-only bits indicate that 64-bit addressing is supported for this memory window. 4.22 Prefetchable Base Upper 32-Bit Register This read/write register specifies the upper 32 bits of the prefetchable memory base register. See Table 4−13 for a complete description of the register contents. PCI register offset: Register type: Default value: 28h Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RESET STATE Table 4−13. Prefetchable Base Upper 32-Bit Register Description BIT 31:0 FIELD NAME PREBASE ACCESS DESCRIPTION Prefetchable memory base upper 32 bits. Defines the upper 32 bits of the lowest address of the prefetchable memory address range that determines when to forward memory transactions downstream. RW 4.23 Prefetchable Limit Upper 32-Bit Register This read/write register specifies the upper 32 bits of the prefetchable memory limit register. See Table 4−14 for a complete description of the register contents. PCI register offset: Register type: Default value: 2Ch Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−14. Prefetchable Limit Upper 32-Bit Register Description BIT 31:0 50 FIELD NAME PRELIMIT SCPS097B ACCESS RW DESCRIPTION Prefetchable memory limit upper 32 bits. Defines the upper 32 bits of the highest address of the prefetchable memory address range that determines when to forward memory transactions downstream. November 2005 Classic PCI Configuration Space 4.24 I/O Base Upper 16-Bit Register This read/write register specifies the upper 16 bits of the I/O base register. See Table 4−15 for a complete description of the register contents. PCI register offset: Register type: Default value: 30h Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−15. I/O Base Upper 16-Bit Register Description BIT FIELD NAME ACCESS 15:0 IOBASE RW DESCRIPTION I/O base upper 16 bits. Defines the upper 16 bits of the lowest address of the I/O address range that determines when to forward I/O transactions downstream. These bits correspond to address bits [31:20] in the I/O address. The lower 20 bits are assumed to be 00000h. 4.25 I/O Limit Upper 16-Bit Register This read/write register specifies the upper 16 bits of the I/O limit register. See Table 4−16 for a complete description of the register contents. PCI register offset: Register type: Default value: 32h Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−16. I/O Limit Upper 16-Bit Register Description BIT 15:0 FIELD NAME IOLIMIT ACCESS DESCRIPTION I/O limit upper 16 bits. Defines the upper 16 bits of the top address of the I/O address range that determines when to forward I/O transactions downstream. These bits correspond to address bits [31:20] in the I/O address. The lower 20 bits are assumed to be FFFFFh. RW 4.26 Capabilities Pointer Register This read-only register provides a pointer into the PCI configuration header where the PCI power management block resides. Since the PCI power management registers begin at 50h, this register is hardwired to 50h. PCI register offset: Register type: Default value: 34h Read-only 50h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 1 0 1 0 0 0 0 November 2005 SCPS097B 51 Classic PCI Configuration Space 4.27 Interrupt Line Register This read/write register is programmed by the system and indicates to the software which interrupt line the bridge has assigned to it. The default value of this register is FFh, indicating that an interrupt line has not yet been assigned to the function. Since the bridge does not generate interrupts internally, this register is a scratch pad register. PCI register offset: Register type: Default value: 3Ch Read/Write FFh BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 1 1 1 1 1 1 1 1 4.28 Interrupt Pin Register The interrupt pin register is read-only 00h indicating that the bridge does not generate internal interrupts. While the bridge does not generate internal interrupts, it does forward interrupts from the secondary interface to the primary interface. PCI register offset: Register type: Default value: 3Dh Read-only 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 4.29 Bridge Control Register The bridge control register provides extensions to the command register that are specific to a bridge. See Table 4−17 for a complete description of the register contents. PCI register offset: Register type: Default value: 3Eh Read-only, Read/Write, Read/Clear 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−17. Bridge Control Register Description BIT FIELD NAME ACCESS 15:12 RSVD R 11 DTSERR RW DESCRIPTION Reserved. Returns 0h when read. Discard timer SERR enable. Applies only in conventional PCI mode. This bit enables the bridge to generate either an ERR_NONFATAL (by default) or ERR_FATAL transaction on the primary interface when the secondary discard timer expires and a delayed transaction is discarded from a queue in the bridge. The severity is selectable only if advanced error reporting is supported. 0 = Do not generate ERR_NONFATAL or ERR_FATAL on the primary interface as a result of the expiration of the secondary discard timer. Note that an error message can still be sent if advanced error reporting is supported and bit 10 (DISCARD_TIMER_MASK) in the secondary uncorrectable error mask register (offset 130h, see Section 5.11) is clear (default). 1 = Generate ERR_NONFATAL or ERR_FATAL on the primary interface if the secondary discard timer expires and a delayed transaction is discarded from a queue in the bridge 10 DTSTATUS RCU Discard timer status. This bit indicates if a discard timer expires and a delayed transaction is discarded. 0 = No discard timer error 1 = Discard timer error 52 SCPS097B November 2005 Classic PCI Configuration Space Table 4−17. Bridge Control Register Description (Continued) BIT FIELD NAME ACCESS DESCRIPTION 9 SEC_DT RW Selects the number of PCI clocks that the bridge waits for a master on the secondary interface to repeat a delayed transaction request. The counter starts once the delayed completion (the completion of the delayed transaction on the primary interface) has reached the head of the downstream queue of the bridge (i.e., all ordering requirements have been satisfied and the bridge is ready to complete the delayed transaction with the initiating master on the secondary bus). If the master does not repeat the transaction before the counter expires, then the bridge deletes the delayed transaction from its queue and sets the discard timer status bit. 0 = The secondary discard timer counts 215 PCI clock cycles (default) 1 = The secondary discard timer counts 210 PCI clock cycles 8 PRI_DEC R 7 FBB_EN RW Primary discard timer. This bit has no meaning in PCI Express and is hardwired to 0b. Fast back-to-back enable. This bit allows software to enable fast back-to-back transactions on the secondary PCI interface. 0 = Fast back-to-back transactions are disabled (default) 1 = Secondary interface fast back-to-back transactions are enabled 6 SRST RW Secondary bus reset. This bit is set when software wishes to reset all devices downstream of the bridge. Setting this bit causes the PRST terminal on the secondary interface to be asserted. 0 = Secondary interface is not in reset state (default) 1 = Secondary interface is in the reset state 5 MAM RW Master abort mode. This bit controls the behavior of the bridge when it receives a master abort or an unsupported request. 0 = Do not report master aborts. Returns FFFF FFFFh on reads and discards data on writes (default). 1 = Respond with an unsupported request on PCI Express when a master abort is received on PCI. Respond with target abort on PCI when an unsupported request completion on PCI Express is received. This bit also enables error signaling on master abort conditions on posted writes. 4 VGA16 RW VGA 16-bit decode. This bit enables the bridge to provide full 16-bit decoding for VGA I/O addresses. This bit only has meaning if the VGA enable bit is set. 0 = Ignore address bits [15:10] when decoding VGA I/O addresses (default) 1 = Decode address bits [15:10] when decoding VGA I/O addresses 3 VGA RW VGA enable. This bit modifies the response by the bridge to VGA compatible addresses. If this bit is set, then the bridge decodes and forwards the following accesses on the primary interface to the secondary interface (and, conversely, block the forwarding of these addresses from the secondary to primary interface): • Memory accesses in the range 000A 0000h to 000B FFFFh • I/O addresses in the first 64 KB of the I/O address space (address bits [31:16] are 0000h) and where address bits [9:0] are in the range of 3B0h to 3BBh or 3C0h to 3DFh (inclusive of ISA address aliases – address bits [15:10] may possess any value and are not used in the decoding) If this bit is set, then forwarding of VGA addresses is independent of the value of bit 2 (ISA), the I/O address and memory address ranges defined by the I/O base and limit registers, the memory base and limit registers, and the prefetchable memory base and limit registers of the bridge. The forwarding of VGA addresses is qualified by bits 0 (IO_ENB) and 1 (MEMORY_ENB) in the command register (offset 04h, see Section 4.3). 0 = Do not forward VGA compatible memory and I/O addresses from the primary to secondary interface (addresses defined above) unless they are enabled for forwarding by the defined I/O and memory address ranges (default) 1 = Forward VGA compatible memory and I/O addresses (addresses defined above) from the primary interface to the secondary interface (if the I/O enable and memory enable bits are set) independent of the I/O and memory address ranges and independent of the ISA enable bit November 2005 SCPS097B 53 Classic PCI Configuration Space Table 4−17. Bridge Control Register Description (Continued) BIT FIELD NAME ACCESS DESCRIPTION 2 ISA RW ISA enable. This bit modifies the response by the bridge to ISA I/O addresses. This applies only to I/O addresses that are enabled by the I/O base and I/O limit registers and are in the first 64 KB of PCI I/O address space (0000 0000h to 0000 FFFFh). If this bit is set, then the bridge blocks any forwarding from primary to secondary of I/O transactions addressing the last 768 bytes in each 1 KB block. In the opposite direction (secondary to primary), I/O transactions are forwarded if they address the last 768 bytes in each 1K block. 0 = Forward downstream all I/O addresses in the address range defined by the I/O base and I/O limit registers (default) 1 = Forward upstream ISA I/O addresses in the address range defined by the I/O base and I/O limit registers that are in the first 64 KB of PCI I/O address space (top 768 bytes of each 1-KB block) 1 SERR_EN RW SERR enable. This bit controls forwarding of system error events from the secondary interface to the primary interface. The bridge forwards system error events when: • This bit is set • Bit 8 (SERR_ENB) in the command register (offset 04h, see Section 4.3) is set • SERR is asserted on the secondary interface 0 = Disable the forwarding of system error events (default) 1 = Enable the forwarding of system error events 0 PERR_EN RW Parity error response enable. Controls the bridge’s response to data, uncorrectable address, and attribute errors on the secondary interface. Also, the bridge always forwards data with poisoning, from conventional PCI to PCI Express on an uncorrectable conventional PCI data error, regardless of the setting of this bit. 0 = Ignore uncorrectable address, attribute, and data errors on the secondary interface (default) 1 = Enable uncorrectable address, attribute, and data error detection and reporting on the secondary interface 4.30 Capability ID Register This read-only register identifies the linked list item as the register for PCI power management. The register returns 01h when read. PCI register offset: Register type: Default value: 50h Read-only 01h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 1 4.31 Next Item Pointer Register The contents of this read-only register indicate the next item in the linked list of capabilities for the bridge. This register reads 60h pointing to the MSI capabilities registers. PCI register offset: Register type: Default value: 54 51h Read-only 60h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 1 1 0 0 0 0 0 SCPS097B November 2005 Classic PCI Configuration Space 4.32 Power Management Capabilities Register This read-only register indicates the capabilities of the bridge related to PCI power management. See Table 4−18 for a complete description of the register contents. PCI register offset: Register type: Default value: 52h Read-only 0602h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 1 1 0 0 0 0 0 0 0 1 0 Table 4−18. Power Management Capabilities Register Description BIT FIELD NAME ACCESS 15:11 PME_SUPPORT R PME support. This 5-bit field indicates the power states from which the bridge may assert PME. Because the bridge never generates a PME except on a behalf of a secondary device, this field is read-only and returns 00000b. 10 D2_SUPPORT R This bit returns a 1b when read, indicating that the function supports the D2 device power state. 9 D1_SUPPORT R This bit returns a 1b when read, indicating that the function supports the D1 device power state. 8:6 AUX_CURRENT R 3.3 VAUX auxiliary current requirements. This field returns 000b since the bridge does not generate PME from D3cold. 5 DSI R Device specific initialization. This bit returns 0b when read, indicating that the bridge does not require special initialization beyond the standard PCI configuration header before a generic class driver is able to use it. 4 RSVD R Reserved. Returns 0b when read. 3 PME_CLK R PME clock. This bit returns 0b indicating that the PCI clock is not needed to generate PME. R Power management version. If bit 26 (PCI_PM_VERSION_CTRL) in the general control register (offset D4h, see Section 4.65) is 0b, then this field returns 010b indicating revision 1.1 compatibility. If PCI_PM_VERSION_CTRL is 1b, then this field returns 011b indicating revision 1.2 compatibility. 2:0 PM_VERSION November 2005 DESCRIPTION SCPS097B 55 Classic PCI Configuration Space 4.33 Power Management Control/Status Register This register determines and changes the current power state of the bridge. No internal reset is generated when transitioning from the D3hot state to the D0 state. See Table 4−19 for a complete description of the register contents. PCI register offset: Register type: Default value: 54h Read-only, Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−19. Power Management Control/Status Register Description BIT FIELD NAME ACCESS 15 PME_STAT R PME status. This bit is read-only and returns 0b when read. DESCRIPTION 14:13 DATA_SCALE R Data scale. This 2-bit field returns 00b when read since the bridge does not use the data register. 12:9 DATA_SEL R Data select. This 4-bit field returns 0h when read since the bridge does not use the data register. 8 PME_EN RW 7:4 RSVD R Reserved. Returns 0h when read. PME enable. This bit has no function and acts as scratchpad space. The default value for this bit is 0b. 3 NO_SOFT_RESET R No soft reset. If bit 26 (PCI_PM_VERSION_CTRL) in the general control register (offset D4h, see Section 4.65) is 0b, then this bit returns 0b for compatibility with version 1.1 of the PCI Power Management Specification. If PCI_PM_VERSION_CTRL is 1b, then this bit returns 1b indicating that no internal reset is generated and the device retains its configuration context when transitioning from the D3hot state to the D0 state. 2 RSVD R Reserved. Returns 0b when read. Power state. This 2-bit field determines the current power state of the function and sets the function into a new power state. This field is encoded as follows: 1:0 PWR_STATE 00 = D0 (default) 01 = D1 10 = D2 11 = D3hot RW 4.34 Power Management Bridge Support Extension Register This read-only register indicates to host software what the state of the secondary bus will be when the bridge is placed in D3. See Table 4−20 for a complete description of the register contents. PCI register offset: Register type: Default value: 56h Read-only 40h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 1 0 0 0 0 0 0 Table 4−20. Power Management Bridge Support Extension Register Description BIT 7 FIELD NAME BPCC ACCESS R DESCRIPTION Bus power/clock control enable. This bit indicates to the host software if the bus secondary clocks are stopped when the bridge is placed in D3. The state of the BPCC bit is controlled by bit 11 (BPCC_E) in the general control register (offset D4h, see Section 4.65). 0 = The secondary bus clocks are not stopped in D3 1 = The secondary bus clocks are stopped in D3 56 6 BSTATE R B2/B3 support. This bit is read-only 1b indicating that the bus state in D3 is B2. 5:0 RSVD R Reserved. Returns 00 0000b when read. SCPS097B November 2005 Classic PCI Configuration Space 4.35 Power Management Data Register The read-only register is not applicable to the bridge and returns 00h when read. PCI register offset: Register type: Default value: 57h Read-only 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 4.36 MSI Capability ID Register This read-only register identifies the linked list item as the register for message signaled interrupts capabilities. The register returns 05h when read. PCI register offset: Register type: Default value: 60h Read-only 05h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 1 0 1 4.37 Next Item Pointer Register The contents of this read-only register indicate the next item in the linked list of capabilities for the bridge. This register reads 80h pointing to the subsystem ID capabilities registers. PCI register offset: Register type: Default value: 61h Read-only 80h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 1 0 0 0 0 0 0 0 November 2005 SCPS097B 57 Classic PCI Configuration Space 4.38 MSI Message Control Register This register controls the sending of MSI messages. See Table 4−21 for a complete description of the register contents. PCI register offset: Register type: Default value: 62h Read-only, Read/Write 0088h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 Table 4−21. MSI Message Control Register Description BIT FIELD NAME ACCESS 15:8 RSVD R Reserved. Returns 00h when read. DESCRIPTION 7 64CAP R 64-bit message capability. This bit is read-only 1b indicating that the bridge supports 64-bit MSI message addressing. Multiple message enable. This bit indicates the number of distinct messages that the bridge is allowed to generate. 6:4 MM_EN RW 3:1 MM_CAP R 0 MSI_EN 000 = 1 message (default) 001 = 2 messages 010 = 4 messages 011 = 8 messages 100 = 16 messages 101 = Reserved 110 = Reserved 111 = Reserved Multiple message capabilities. This field indicates the number of distinct messages that bridge is capable of generating. This field is read-only 100b indicating that the bridge can signal 1 interrupt for each IRQ supported on the serial IRQ stream up to a maximum of 16 unique interrupts. MSI enable. This bit enables MSI interrupt signaling. MSI signaling must be enabled by software for the bridge to signal that a serial IRQ has been detected. RW 0 = MSI signaling is prohibited (default) 1 = MSI signaling is enabled 4.39 MSI Message Lower Address Register This register contains the lower 32 bits of the address that a MSI message writes to when a serial IRQ is detected. See Table 4−22 for a complete description of the register contents. PCI register offset: Register type: Default value: 64h Read-only, Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−22. MSI Message Lower Address Register Description 58 BIT FIELD NAME ACCESS 31:2 ADDRESS RW System specified message address 1:0 RSVD R Reserved. Returns 00b when read. SCPS097B DESCRIPTION November 2005 Classic PCI Configuration Space 4.40 MSI Message Upper Address Register This register contains the upper 32 bits of the address that a MSI message writes to when a serial IRQ is detected. If this register contains 0000 0000h, then 32-bit addressing is used; otherwise, 64-bit addressing is used. PCI register offset: Register type: Default value: 68h Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4.41 MSI Message Data Register This register contains the data that software programmed the bridge to send when it send a MSI message. See Table 4−23 for a complete description of the register contents. PCI register offset: Register type: Default value: 6Ch Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−23. MSI Message Data Register Description BIT FIELD NAME 15:4 MSG ACCESS DESCRIPTION System specific message. This field contains the portion of the message that the bridge forwards unmodified. RW Message number. This portion of the message field may be modified to contain the message number is multiple messages are enable. The number of bits that are modifiable depends on the number of messages enabled in the message control register. 3:0 MSG_NUM 1 message = No message data bits can be modified (default) 2 messages = Bit 0 can be modified 4 messages = Bits 1:0 can be modified 8 messages = Bits 2:0 can be modified 16 messages = Bits 3:0 can be modified RW 4.42 Capability ID Register This read-only register identifies the linked list item as the register for subsystem ID and subsystem vendor ID capabilities. The register returns 0Dh when read. PCI register offset: Register type: Default value: 80h Read-only 0Dh BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 1 1 0 1 November 2005 SCPS097B 59 Classic PCI Configuration Space 4.43 Next Item Pointer Register The contents of this read-only register indicate the next item in the linked list of capabilities for the bridge. This register reads 90h pointing to the PCI Express capabilities registers. PCI register offset: Register type: Default value: 81h Read-only 90h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 1 0 0 1 0 0 0 0 4.44 Subsystem Vendor ID Register This register, used for system and option card identification purposes, may be required for certain operating systems. This read-only register is initialized through the EEPROM and can be written through the subsystem alias register. This register is reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. PCI register offset: Register type: Default value: 84h Read-only 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4.45 Subsystem ID Register This register, used for system and option card identification purposes, may be required for certain operating systems. This read-only register is initialized through the EEPROM and can be written through the subsystem alias register. This register is reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. PCI register offset: Register type: Default value: 86h Read-only 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4.46 PCI Express Capability ID Register This read-only register identifies the linked list item as the register for PCI Express capabilities. The register returns 10h when read. PCI register offset: Register type: Default value: 60 90h Read-only 10h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 1 0 0 0 0 SCPS097B November 2005 Classic PCI Configuration Space 4.47 Next Item Pointer Register The contents of this read-only register indicate the next item in the linked list of capabilities for the bridge. This register reads 00h indicating no additional capabilities are supported. PCI register offset: Register type: Default value: 91h Read-only 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 4.48 PCI Express Capabilities Register This read-only register indicates the capabilities of the bridge related to PCI Express. See Table 4−24 for a complete description of the register contents. PCI register offset: Register type: Default value: 92h Read-only 0071h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 1 Table 4−24. PCI Express Capabilities Register Description BIT FIELD NAME ACCESS 15:14 RSVD R Reserved. Returns 00b when read. 13:9 INT_NUM R Interrupt message number. This field is used for MSI support and is implemented as read-only 00000b in the bridge. 8 SLOT R Slot implemented. This bit is not valid for the bridge and is read-only 0b. 7:4 DEV_TYPE R Device/port type. This read-only field returns 7h indicating that the device is a PCI Express-to-PCI bridge. 3:0 VERSION R Capability version. This field returns 1h indicating revision 1 of the PCI Express capability. November 2005 DESCRIPTION SCPS097B 61 Classic PCI Configuration Space 4.49 Device Capabilities Register The device capabilities register indicates the device specific capabilities of the bridge. See Table 4−25 for a complete description of the register contents. PCI register offset: Register type: Default value: 94h Read-only 0000 0D82 BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 1 1 0 1 1 0 0 0 0 0 1 0 Table 4−25. Device Capabilities Register Description BIT FIELD NAME ACCESS 31:28 RSVD R 27:26 CSPLS RU DESCRIPTION Reserved. Returns 0h when read. Captured slot power limit scale. The value in this field is programmed by the host by issuing a Set_Slot_Power_Limit message. When a Set_Slot_Power_Limit message is received, bits 9:8 are written to this field. The value in this field specifies the scale used for the slot power limit. 00 = 1.0x 01 = 0.1x 10 = 0.01x 11 = 0.001x 25:18 CSPLV RU 17:15 RSVD R Reserved. Returns 000b when read. 14 PIP R Power indicator present. This bit is hardwired to 0b indicating that a power indicator is not implemented. 13 AIP R Attention indicator present. This bit is hardwired to 0b indicating that an attention indicator is not implemented. 12 ABP R Attention button present. This bit is hardwired to 0b indicating that an attention button is not implemented. 11:9 EP_L1_LAT RU Endpoint L1 acceptable latency. This field indicates the maximum acceptable latency for a transition from L1 to L0 state. This field can be programmed by writing to the L1_LATENCY field (bits 15:13) in the general control register (offset D4h, see Section 4.65). The default value for this field is 110b which indicates a range from 32 µs to 64 µs. This field cannot be programmed to be less than the latency for the PHY to exit the L1 state. 8:6 EP_L0S_LAT RU Endpoint L0s acceptable latency. This field indicates the maximum acceptable latency for a transition from L0s to L0 state. This field can be programmed by writing to the L0s_LATENCY field (bits 18:16) in the general control register (offset D4h, see Section 4.65). The default value for this field is 110b which indicates a range from 2 µs to 4 µs. This field cannot be programmed to be less than the latency for the PHY to exit the L0s state. 5 ETFS R Extended tag field supported. This field indicates the size of the tag field not supported. 4:3 PFS R Phantom functions supported. This field is read-only 00b indicating that function numbers are not used for phantom functions. 2:0 MPSS R Maximum payload size supported. This field indicates the maximum payload size that the device can support for TLPs. This field is encoded as 010b indicating the maximum payload size for a TLP is 512 bytes. 62 SCPS097B Captured slot power limit value. The value in this field is programmed by the host by issuing a Set_Slot_Power_Limit message. When a Set_Slot_Power_Limit message is received, bits 7:0 are written to this field. The value in this field in combination with the slot power limit scale value (bits 27:26) specifies the upper limit of power supplied to the slot. The power limit is calculated by multiplying the value in this field by the value in the slot power limit scale field. November 2005 Classic PCI Configuration Space 4.50 Device Control Register The device control register controls PCI Express device specific parameters. See Table 4−26 for a complete description of the register contents. PCI register offset: Register type: Default value: 98h Read-only, Read/Write 2800h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 Table 4−26. Device Control Register Description BIT 15 FIELD NAME CFG_RTRY_ENB ACCESS RW DESCRIPTION Configuration retry status enable. When this read/write bit is set to 1b, the bridge returns a completion with completion retry status on PCI Express if a configuration transaction forwarded to the secondary interface did not complete within the implementation specific time-out period. When this bit is set to 0b, the bridge does not generate completions with completion retry status on behalf of configuration transactions. The default value of this bit is 0b. Maximum read request size. This field is programmed by host software to set the maximum size of a read request that the bridge can generate. The bridge uses this field in conjunction with the cache line size register (offset 0Ch, see Section 4.6) to determine how much data to fetch on a read request. This field is encoded as: 14:12 11 MRRS ENS RW RW 000 = 128B 001 = 256B 010 = 512B (default) 011 = 1024B 100 = 2048B 101 = 4096B 110 = Reserved 111 = Reserved Enable no snoop. Controls the setting of the no snoop flag within the TLP header for upstream memory transactions mapped to any traffic class mapped to a virtual channel (VC) other than VC0 through the upstream decode windows. 0 = No snoop field is 0b 1 = No snoop field is 1b (default) Auxiliary power PM enable. This bit has no effect in the bridge. 10k APPE RW 9 PFE R Phantom function enable. Since the bridge does not support phantom functions, this bit is read-only 0b. 8 ETFE R Extended tag field enable. Since the bridge does not support extended tags, this bit is read-only 0b. 0 = AUX power is disabled (default) 1 = AUX power is enabled Maximum payload size. This field is programmed by host software to set the maximum size of posted writes or read completions that the bridge can initiate. This field is encoded as: 7:5 MPS RW 4 ERO R 000 = 128B (default) 001 = 256B 010 = 512B 011 = 1024B 100 = 2048B 101 = 4096B 110 = Reserved 111 = Reserved Enable relaxed ordering. Since the bridge does not support relaxed ordering, this bit is read-only 0b. k This bit is sticky and must retain its value when the bridge is powered by VAUX. November 2005 SCPS097B 63 Classic PCI Configuration Space Table 4−26. Device Control Register Description (Continued) BIT 3 2 1 0 FIELD NAME URRE FERE NFERE CERE ACCESS DESCRIPTION Unsupported request reporting enable. If this bit is set, then the bridge sends an ERR_NONFATAL message to the root complex when an unsupported request is received. RW 0 = Do not report unsupported requests to the root complex (default) 1 = Report unsupported requests to the root complex Fatal error reporting enable. If this bit is set, then the bridge is enabled to send ERR_FATAL messages to the root complex when a system error event occurs. RW 0 = Do not report fatal errors to the root complex (default) 1 = Report fatal errors to the root complex Nonfatal error reporting enable. If this bit is set, then the bridge is enabled to send ERR_NONFATAL messages to the root complex when a system error event occurs. RW 0 = Do not report nonfatal errors to the root complex (default) 1 = Report nonfatal errors to the root complex Correctable error reporting enable. If this bit is set, then the bridge is enabled to send ERR_COR messages to the root complex when a system error event occurs. RW 0 = Do not report correctable errors to the root complex (default) 1 = Report correctable errors to the root complex 4.51 Device Status Register The device status register provides PCI Express device specific information to the system. See Table 4−27 for a complete description of the register contents. PCI register offset: Register type: Default value: 9Ah Read-only 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−27. Device Status Register Description BIT 15:6 FIELD NAME RSVD ACCESS R 5 PEND RU 4 APD RU 3 URD RCU 2 1 0 FED NFED CED RCU RCU RCU DESCRIPTION Reserved. Returns 00 0000 0000b when read. Transaction pending. This bit is set when the bridge has issued a nonposted transaction that has not been completed. AUX power detected. This bit indicates that AUX power is present. 64 SCPS097B 0 = No AUX power detected 1 = AUX power detected Unsupported request detected. This bit is set by the bridge when an unsupported request is received. Fatal error detected. This bit is set by the bridge when a fatal error is detected. Nonfatal error detected. This bit is set by the bridge when a nonfatal error is detected. Correctable error detected. This bit is set by the bridge when a correctable error is detected. November 2005 Classic PCI Configuration Space 4.52 Link Capabilities Register The link capabilities register indicates the link specific capabilities of the bridge. See Table 4−28 for a complete description of the register contents. PCI register offset: Register type: Default value: 9Ch Read-only 0002 XC11h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 x x x 1 1 0 0 0 0 0 1 0 0 0 1 Table 4−28. Link Capabilities Register Description BIT FIELD NAME ACCESS DESCRIPTION 31:24 PORT_NUM R Port number. This field indicates port number for the PCI Express link. This field is read-only 00h indicating that the link is associated with port 0. 23:18 RSVD R Reserved. Returns 00 0000b when read. L1 exit latency. This field indicates the time that it takes to transition from the L1 state to the L0 state. Bit 6 (CCC) in the link control register (offset A0h, see Section 4.53) equals 1b for a common clock and equals 0b for an asynchronous clock. 17:15 L1_LATENCY R For a common reference clock, the value of this field is determined by bits 20:18 (L1_EXIT_LAT_ASYNC) of the control and diagnostic register 1 (offset C4h, see Section 4.62). For an asynchronous reference clock, the value of this field is determined by bits 17:15 (L1_EXIT_LAT_COMMON) of the control and diagnostic register 1 (offset C4h, see Section 4.62). L0s exit latency. This field indicates the time that it takes to transition from the L0s state to the L0 state. Bit 6 (CCC) in the link control register (offset A0h, see Section 4.53) equals 1b for a common clock and equals 0b for an asynchronous clock. 14:12 L0S_LATENCY R For a common reference clock, the value of 011b indicates that the L1 exit latency falls between 256 ns to less than 512 ns. For an asynchronous reference clock, the value of 100b indicates that the L1 exit latency falls between 512 ns to less than 1 µs. 11:10 ASLPMS R Active state link PM support. This field indicates the level of active state power management that the bridge supports. The value 11b indicates support for both L0s and L1 through active state power management. 9:4 MLW R Maximum link width. This field is encoded 00 0001b to indicate that the bridge only supports a 1x PCI Express link. 3:0 MLS R Maximum link speed. This field is encoded 1h to indicate that the bridge supports a maximum link speed of 2.5 Gb/s. November 2005 SCPS097B 65 Classic PCI Configuration Space 4.53 Link Control Register The link control register controls link specific behavior. See Table 4−29 for a complete description of the register contents. PCI register offset: Register type: Default value: A0h Read-only, Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−29. Link Control Register Description BIT FIELD NAME ACCESS 15:8 RSVD R 7 6 ES CCC RW RW DESCRIPTION Reserved. Returns 00h when read. Extended synch. This bit forces the bridge to extend the transmission of FTS ordered sets and an extra TS2 when exiting from L1 prior to entering to L0. 0 = Normal synch (default) 1 = Extended synch Common clock configuration. When this bit is set, it indicates that the bridge and the device at the opposite end of the link are operating with a common clock source. A value of 0b indicates that the bridge and the device at the opposite end of the link are operating with separate reference clock sources. The bridge uses this common clock configuration information to report the L0s and L1 exit latencies. 0 = Reference clock is asynchronous (default) 1 = Reference clock is common 5 RL R Retrain link. This bit has no function and is read-only 0b. 4 LD R Link disable. This bit has no function and is read-only 0b. 3 RCB RW 2 RSVD R Read completion boundary. This bit is an indication of the RCB of the root complex. The state of this bit has no affect on the bridge, since the RCB of the bridge is fixed at 128 bytes. 0 = 64 bytes (default) 1 = 128 bytes Reserved. Returns 0b when read. Active state link PM control. This field enables and disables the active state PM. 1:0 66 ASLPMC SCPS097B RW 00 = Active state PM disabled (default) 01 = L0s entry enabled 10 = L1 entry enabled 11 = L0s and L1 entry enabled November 2005 Classic PCI Configuration Space 4.54 Link Status Register The link status register indicates the current state of the PCI Express link. See Table 4−30 for a complete description of the register contents. PCI register offset: Register type: Default value: A2h Read-only X011h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 x 0 0 0 0 0 0 0 1 0 0 0 1 Table 4−30. Link Status Register Description BIT FIELD NAME ACCESS 15:13 RSVD R Reserved. Returns 000b when read. R Slot clock configuration. This bit indicates that the bridge uses the same physical reference clock that the platform provides on the connector. If the bridge uses an independent clock irrespective of the presence of a reference on the connector, then this bit must be cleared. 12 SCC DESCRIPTION 0 = Independent 125-MHz reference clock is used 1 = Common 100-MHz reference clock is used 11 LT R Link training. This bit has no function and is read-only 0b. 10 TE R Retrain link. This bit has no function and is read-only 0b. 9:4 NLW R Negotiated link width. This field is read-only 00 0001b indicating the lane width is 1x. 3:0 LS R Link speed. This field is read-only 1h indicating the link speed is 2.5 Gb/s. 4.55 Serial-Bus Data Register The serial-bus data register reads and writes data on the serial-bus interface. Write data is loaded into this register prior to writing the serial-bus slave address register (offset B2h, see Section 4.57) that initiates the bus cycle. When reading data from the serial bus, this register contains the data read after bit 5 (REQBUSY) of the serial-bus control and status register (offset B3h, see Section 4.58) is cleared. This register is reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. PCI register offset: Register type: Default value: B0h Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 4.56 Serial-Bus Word Address Register The value written to the serial-bus word address register represents the word address of the byte being read from or written to the serial-bus device. The word address is loaded into this register prior to writing the serial-bus slave address register (offset B2h, see Section 4.57) that initiates the bus cycle. This register is reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. PCI register offset: Register type: Default value: B1h Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 November 2005 SCPS097B 67 Classic PCI Configuration Space 4.57 Serial-Bus Slave Address Register The serial-bus slave address register indicates the slave address of the device being targeted by the serial-bus cycle. This register also indicates if the cycle is a read or a write cycle. Writing to this register initiates the cycle on the serial interface. See Table 4−31 for a complete description of the register contents. PCI register offset: Register type: Default value: B2h Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 Table 4−31. Serial-Bus Slave Address Register Description BIT FIELD NAME ACCESS 7:1† SLAVE_ADDR RW 0† RW_CMD RW DESCRIPTION Serial-bus slave address. This 7-bit field is the slave address for a serial-bus read or write transaction. The default value for this field is 000 0000b. Read/write command. This bit determines if the serial-bus cycle is a read or a write cycle. 0 = A single byte write is requested (default) 1 = A single byte read is requested † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 68 SCPS097B November 2005 Classic PCI Configuration Space 4.58 Serial-Bus Control and Status Register The serial-bus control and status register controls the behavior of the serial-bus interface. This register also provides status information about the state of the serial bus. See Table 4−32 for a complete description of the register contents. PCI register offset: Register type: Default value: B3h Read-only, Read/Write, Read/Clear 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 Table 4−32. Serial-Bus Control and Status Register Description BIT FIELD NAME ACCESS 7† PROT_SEL RW 6 RSVD R DESCRIPTION Protocol select. This bit selects the serial-bus address mode used. 5† 4† REQBUSY ROMBUSY RU RU 0 = Slave address and word address are sent on the serial-bus (default) 1 = Only the slave address is sent on the serial-bus Reserved. Returns 0b when read. Requested serial-bus access busy. This bit is set when a software-initiated serial-bus cycle is in progress. 0 = No serial-bus cycle 1 = Serial-bus cycle in progress Serial EEPROM access busy. This bit is set when the serial EEPROM circuitry in the bridge is downloading register defaults from a serial EEPROM. 0 = No EEPROM activity 1 = EEPROM download in progress Serial EEPROM detected. This bit enables the serial-bus interface. The value of this bit controls whether the GPIO4//SCL and GPIO5//SDA terminals are configured as GPIO signals or as serial-bus signals. This bit is automatically set to 1b when a serial EEPROM is detected. 3† SBDETECT RWU Note: A serial EEPROM is only detected once following PERST. 0 = No EEPROM present, EEPROM load process does not happen. GPIO4//SCL and GPIO5//SDA terminals are configured as GPIO signals. 1 = EEPROM present, EEPROM load process takes place. GPIO4//SCL and GPIO5//SDA terminals are configured as serial-bus signals. 2† SBTEST RW 1† SB_ERR RCU Serial-bus test. This bit is used for internal test purposes. This bit controls the clock source for the serial interface clock. 0 = Serial-bus clock at normal operating frequency ~ 60 kHz (default) 1 = Serial-bus clock frequency increased for test purposes ~ 4 MHz Serial-bus error. This bit is set when an error occurs during a software-initiated serial-bus cycle. 0† ROM_ERR RCU 0 = No error 1 = Serial-bus error Serial EEPROM load error. This bit is set when an error occurs while downloading registers from a serial EEPROM. 0 = No error 1 = EEPROM load error † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 69 Classic PCI Configuration Space 4.59 GPIO Control Register This register controls the direction of the eight GPIO terminals. This register has no effect on the behavior of GPIO terminals that are enabled to perform secondary functions. The secondary functions share GPIO0 (CLKRUN), GPIO1 (PWR_OVRD), GPIO4 (SCL), and GPIO5 (SDA). See Table 4−33 for a complete description of the register contents. PCI register offset: Register type: Default value: B4h Read-only, Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−33. GPIO Control Register Description BIT FIELD NAME ACCESS 15:8 RSVD R 7† GPIO7_DIR RW 6† GPIO6_DIR RW 5† GPIO5_DIR RW 4† GPIO4_DIR RW 3† GPIO3_DIR RW 2† GPIO2_DIR RW 1† GPIO1_DIR RW 0† GPIO0_DIR RW DESCRIPTION Reserved. Returns 00h when read. GPIO 7 data direction. This bit selects whether GPIO7 is in input or output mode. 0 = Input (default) 1 = Output GPIO 6 data direction. This bit selects whether GPIO6 is in input or output mode. 0 = Input (default) 1 = Output GPIO 5 data direction. This bit selects whether GPIO5 is in input or output mode. 0 = Input (default) 1 = Output GPIO 4 data direction. This bit selects whether GPIO4 is in input or output mode. 0 = Input (default) 1 = Output GPIO 3 data direction. This bit selects whether GPIO3 is in input or output mode. 0 = Input (default) 1 = Output GPIO 2 data direction. This bit selects whether GPIO2 is in input or output mode. 0 = Input (default) 1 = Output GPIO 1 data direction. This bit selects whether GPIO1 is in input or output mode. 0 = Input (default) 1 = Output GPIO 0 data direction. This bit selects whether GPIO0 is in input or output mode. 0 = Input (default) 1 = Output † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 70 SCPS097B November 2005 Classic PCI Configuration Space 4.60 GPIO Data Register This register reads the state of the input mode GPIO terminals and changes the state of the output mode GPIO terminals. Writing to a bit that is in input mode or is enabled for a secondary function is ignored. The secondary functions share GPIO0 (CLKRUN), GPIO1 (PWR_OVRD), GPIO4 (SCL), and GPIO5 (SDA). The default value at power up depends on the state of the GPIO terminals as they default to general-purpose inputs. See Table 4−34 for a complete description of the register contents. PCI register offset: Register type: Default value: B6h Read-only, Read/Write 00XXh BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 x x x x x x x x Table 4−34. GPIO Data Register Description BIT FIELD NAME ACCESS DESCRIPTION 15:8 RSVD R 7† GPIO7_DATA RW GPIO 7 data. This bit reads the state of GPIO7 when in input mode or changes the state of GPIO7 when in output mode. 6† GPIO6_DATA RW GPIO 6 data. This bit reads the state of GPIO6 when in input mode or changes the state of GPIO6 when in output mode. 5† GPIO5_DATA RW GPIO 5 data. This bit reads the state of GPIO5 when in input mode or changes the state of GPIO5 when in output mode. 4† GPIO4_DATA RW GPIO 4 data. This bit reads the state of GPIO4 when in input mode or changes the state of GPIO4 when in output mode. 3† GPIO3_DATA RW GPIO 3 data. This bit reads the state of GPIO3 when in input mode or changes the state of GPIO3 when in output mode. 2† GPIO2_DATA RW GPIO 2 data. This bit reads the state of GPIO2 when in input mode or changes the state of GPIO2 when in output mode. 1† GPIO1_DATA RW GPIO 1 data. This bit reads the state of GPIO1 when in input mode or changes the state of GPIO1 when in output mode. 0† GPIO0_DATA RW GPIO 0 data. This bit reads the state of GPIO0 when in input mode or changes the state of GPIO0 when in output mode. Reserved. Returns 00h when read. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 71 Classic PCI Configuration Space 4.61 Control and Diagnostic Register 0 The contents of this register are used for monitoring status and controlling behavior of the bridge. See Table 4−35 for a complete description of the register contents. It is recommended that all values within this register be left at the default value. Improperly programming fields in this register may cause interoperability or other problems. PCI register offset: Register type: Default value: C0h Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−35. Control and Diagnostic Register 0 Description BIT FIELD NAME ACCESS 31:24† PRI_BUS_NUM R This field contains the captured primary bus number 23:19† PRI_DEVICE_ NUM R This field contains the captured primary device number 18:16 RSVD R Reserved. Returns 000b when read. 15:14† RSVD RW 13:12 RSVD R 11:8† RSVD RW 7 RSVD R 6† PREFETCH_4X DESCRIPTION Reserved. Bits 15:14 default to 00b. If this register is programmed via EEPROM or another mechanism, the value written into this field must be 00b. Reserved. Returns 00b when read. Reserved. Bits 11:8 default to 0000b. If this register is programmed via EEPROM or another mechanism, the value written into this field must be 0000b. Reserved. Returns 0b when read. RW Prefetch 4X enable. This bit sets the prefetch behavior for upstream memory read multiple transactions. If bit 24 (FORCE_MRM) in the general control register (offset D4h, see Section 4.65) is set, then all upstream memory read transactions will prefetch the indicated number of cache lines. If bit 19 (READ_PREFETCH_DIS) in the general control register (offset D4h, see Section 4.65) is set, then this bit has no effect and only 1 DWORD will be fetched. 0 = The bridge will prefetch up to 2 cache lines, as defined in the cache line size register (offset 0Ch, see Section 4.6) for upstream memory read multiple (MRM) transactions (default) 1 = The bridge device will prefetch up to 4 cache lines, as defined in the cache line size register (offset 0Ch, see Section 4.6) for upstream memory read multiple (MRM) transactions. RW PCI upstream req−res buffer threshold value. The value in this field controls the buffer space that must be available for the bridge to accept a PCI bus transaction. If the cache line size is not valid, then the bridge will use 8 DW for calculating the threshold value 00 = 1 Cacheline + 4 DW (default) 01 = 1 Cacheline + 8 DW 10 = 1 Cacheline + 12 DW 11 = 2 Cachelines + 4 DW 5:4† UP_REQ_BUF _VALUE 3† UP_REQ_BUF _CTRL RW PCI upstream req-res buffer threshold control. This bit enables the PCI upstream req-res buffer threshold control mode of the bridge. 0 = PCI upstream req-res buffer threshold control mode disabled (default) 1 = PCI upstream req-res buffer threshold control mode enabled 2† CFG_ACCESS _MEM_REG RW Configuration access to memory-mapped registers. When this bit is set, the bridge allows configuration access to memory-mapped configuration registers. 1† RSVD RW Reserved. Bit 1 defaults to 0b. If this register is programmed via EEPROM or another mechanism, the value written into this field must be 0b. 0 RSVD R Reserved. Returns 0b when read. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 72 SCPS097B November 2005 Classic PCI Configuration Space 4.62 Control and Diagnostic Register 1 The contents of this register are used for monitoring status and controlling behavior of the bridge. See Table 4−36 for a complete description of the register contents. It is recommended that all values within this register be left at the default value. Improperly programming fields in this register may cause interoperability or other problems. PCI register offset: Register type: Default value: C4h Read/Write 0012 0108h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 Table 4−36. Control and Diagnostic Register 1 Description BIT FIELD NAME ACCESS DESCRIPTION 32:21 RSVD R 20:18† L1_EXIT_LAT_ ASYNC RW L1 exit latency for asynchronous clock. When bit 6 (CCC) of the link control register (offset A0h, see Section 4.53) is set, the value in this field is mirrored in bits 17:15 (L1_LATENCY) field in the link capabilities register (offset 9Ch, see Section 4.52). This field defaults to 100b. 17:15† L1_EXIT_LAT_ COMMON RW L1 exit latency for common clock. When bit 6 (CCC) of the link control register (offset A0h, see Section 4.53) is clear, the value in this field is mirrored in bits 17:15 (L1_LATENCY) field in the link capabilities register (offset 9Ch, see Section 4.52). This field defaults to 100b. 14:11† RSVD RW Reserved. Bits 14:11 default to 0000b. If this register is programmed via EEPROM or another mechanism, the value written into this field must be 0000b. 10† SBUS_RESET _MASK RW Secondary bus reset bit mask. When this bit is set, the bridge masks the reset caused by bit 6 (SRST) of the bridge control register (offset 3Eh, see Section 4.29). This bit defaults to 0b. 9:6† L1ASPM_ TIMER RW L1ASPM entry timer. This field specifies the value (in 512-ns ticks) of the L1ASPM entry timer. This field defaults to 0100b. 5:2† L0s_TIMER RW L0s entry timer. This field specifies the value (in 62.5-MHz clock ticks) of the L0s entry timer. This field defaults to 0010b. 1:0† RSVD RW Reserved. Bits 1:0 default to 00b. If this register is programmed via EEPROM or another mechanism, then the value written into this field must be 00b. Reserved. Returns 000h when read. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 73 Classic PCI Configuration Space 4.63 Control and Diagnostic Register 2 The contents of this register are used for monitoring status and controlling behavior of the bridge. See Table 4−37 for a complete description of the register contents. It is recommended that all values within this register be left at the default value. Improperly programming fields in this register may cause interoperability or other problems. PCI register offset: Register type: Default value: C8h Read/Write 3214 6000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 1 1 0 0 1 0 0 0 0 1 0 1 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−37. Control and Diagnostic Register 2 Description BIT FIELD NAME ACCESS 31:24† N_FTS_ ASYNC_CLK RW N_FTS for asynchronous clock. When bit 6 (CCC) of the link control register (offset A0h, see Section 4.53) is clear, the value in this field is the number of FTS that are sent on a transition from L0s to L0. This field shall default to 32h. 23:16† N_FTS_ COMMON_ CLK RW N_FTS for common clock. When bit 6 (CCC) of the link control register (offset A0h, see Section 4.53) is set, the value in this field is the number of FTS that are sent on a transition from L0s to L0. This field defaults to 14h. 15:13 PHY_REV R 12:8† LINK_NUM RW 7:6 RSVD R 5:0† RSVD RW DESCRIPTION PHY revision number Link number Reserved. Returns 00b when read. Reserved. Bits 5:0 default to 000000b. If this register is programmed via EEPROM or another mechanism, then the value written into this field must be 000000b. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 4.64 Subsystem Access Register The contents of this read/write register are aliased to the subsystem vendor ID and subsystem ID registers at PCI offsets 84h and 86h. See Table 4−38 for a complete description of the register contents. PCI register offset: Register type: Default value: D0h Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−38. Subsystem Access Register Description BIT FIELD NAME ACCESS DESCRIPTION 31:16† SubsystemID RW Subsystem ID. The value written to this field is aliased to the subsystem ID register at PCI offset 86h (see Section 4.45). 15:0† SubsystemVendorID RW Subsystem vendor ID. The value written to this field is aliased to the subsystem vendor ID register at PCI offset 84h (see Section 4.44). † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 74 SCPS097B November 2005 Classic PCI Configuration Space 4.65 General Control Register This read/write register controls various functions of the bridge. See Table 4−39 for a complete description of the register contents. PCI register offset: Register type: Default value: D4h Read-only, Read/Write 8206 C000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 1 0 0 0 0 0 1 0 0 0 0 0 0 1 1 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−39. General Control Register Description BIT ACCESS DESCRIPTION CFG_RETRY _CNTR RW Configuration retry counter. Configures the amount of time that a configuration request must be retried on the secondary PCI bus before it may be completed with configuration retry status on the PCI Express side. 00 = 25 µs 01 = 1 ms 10 = 25 ms (default) 11 = 50 ms 29:28 RSVD R 27† LOW_POWER _EN RW Low-power enable. When this bit is set, the half-ampitude, no preemphasis mode for the PCI Express TX drivers is enabled. The default for this bit is 0b. RW PCI power management version control. This bit controls the value reported in bits 2:0 (PM_VERSION) in the power management capabilities register (offset 52h, see Section 4.32). It also controls the value of bit 3 (NO_SOFT_RESET) in the power management control/status register (offset 54h, see Section 4.33). 0 = Version fields reports 010b and NO_SOFT_RESET reports 0b for Power Management 1.1 compliance (default) 1 = Version fields reports 011b and NO_SOFT_RESET reports 1b for Power Management 1.2 compliance 31:30† 26† FIELD NAME PCI_PM_ VERSION_ CTRL Reserved. Returns 00b when read. 25† STRICT_ PRIORITY_EN RW Strict priority enable. When this bit is set and bits 6:4 (LOW_PRIORITY_COUNT) in the port VC capability register 1 (offset 154h, see Section 5.17) are 000b, meaning that strict priority VC arbitration is used, the extended VC always receives priority over VC0 at the PCI Express port. 0 = The default LOW_PRIORITY_COUNT is 001b 1 = The default LOW_PRIORITY_COUNT is 000b (default) 24† FORCE_MRM RW Force memory read multiple 0 = Memory read multiple transactions are disabled (default) 1 = All upstream memory read transactions initiated on the PCI bus are treated as though they are memory read multiple transactions where prefetching is supported RW Active state power management control default override. This bit determines the power-up default for bits 1:0 (ASLPMC) of the link control register (offset A0h, see Section 4.53) in the PCI Express capability structure. 0 = Power-on default indicates that active state power management is disabled (00b) (default) 1 = Power-on default indicates that active state power management is enabled for L0s and L1 (11b) RW Power override. This bit field determines how the bridge responds when the slot power limit is less than the amount of power required by the bridge and the devices behind the bridge. 000 = Ignore slot power limit (default) 001 = Assert the PWR_OVRD terminal 010 = Disable secondary clocks selected by the clock mask register 011 = Disable secondary clocks selected by the clock mask register and assert the PWR_OVRD terminal 100 = Respond with unsupported request to all transactions except for configuration transactions (type 0 or type 1) and set slot power limit messages 101, 110, 111 = Reserved 23† 22:20† ASPM_CTRL_ DEF_OVRD POWER_ OVRD † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 75 Classic PCI Configuration Space Table 4−39. General Control Register Description (Continued) BIT FIELD NAME ACCESS 19† READ_ PREFETCH_ DIS RW DESCRIPTION Read prefetch disable. This bit controls the prefetch functionality on PCI memory read transactions. 0 = Prefetch to the next cache line boundary on a burst read (default) 1 = Fetch only a single DWORD on a burst read L0s maximum exit latency. This field programs the maximum acceptable latency when exiting the L0s state. This sets bits 8:6 (EP_L0S_LAT) in the device capabilities register (offset 94h, see Section 4.49). 18:16† L0s_LATENCY RW 000 = Less than 64 ns 001 = 64 ns up to less than 128 ns 010 = 128 ns up to less than 256 ns 011 = 256 ns up to less than 512 ns 100 = 512 ns up to less than 1 µs 101 = 1 µs up to less than 2 µs 110 = 2 µs to 4 µs (default) 111 = More than 4 µs L1 maximum exit latency. This field programs the maximum acceptable latency when exiting the L1 state. This sets bits 11:9 (EP_L1_LAT) in the device capabilities register (offset 94h, see Section 4.49). 15:13† 12† 11k L1_LATENCY VC_CAP_EN BPCC_E RW RW RW 000 = Less than 1 µs 001 = 1 µs up to less than 2 µs 010 = 2 µs up to less than 4 µs 011 = 4 µs up to less than 8 µs 100 = 8 µs up to less than 16 µs 101 = 16 µs up to less than 32 µs 110 = 32 µs to 64 µs (default) 111 = More than 64 µs VC capability structure enable. This bit enables the VC capability structure by changing the next offset field of the advanced error reporting capability register at offset 102h. 0 = VC capability structure disabled (offset field = 000h) 1 = VC capability structure enabled (offset field = 150h) Bus power clock control enable. This bit controls whether the secondary bus PCI clocks are stopped when the bridge is placed in the D3 state. It is assumed that if the secondary bus clocks are required to be active, that a reference clock continues to be provided on the PCI Express interface. 0 = Secondary bus clocks are not stopped in D3 (default) 1 = Secondary bus clocks are stopped on D3 10k BEACON_ ENABLE RW Beacon enable. This bit controls the mechanism for waking up the physical PCI Express link when in L2. 0 = WAKE mechanism is used exclusively. Beacon is not used (default). 1 = Beacon and WAKE mechanisms are used Minimum power scale. This value is programmed to indicate the scale of bits 7:0 (MIN_POWER_VALUE). 9:8† 7:0† MIN_POWER_ SCALE MIN_POWER_ VALUE RW RW 00 = 1.0x (default) 01 = 0.1x 10 = 0.01x 11 = 0.001x Minimum power value. This value is programmed to indicate the minimum power requirements. This value is multiplied by the minimum power scale field (bits 9:8) to determine the minimum power requirements for the bridge. The default is 00h, because this feature is only usable when the system implementer adds the PCI devices’ power consumption to the bridge power consumption and reprograms this field with an EEPROM or the system BIOS. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. k These bits are sticky and must retain their value when the bridge is powered by VAUX. 76 SCPS097B November 2005 Classic PCI Configuration Space 4.66 Clock Control Register This register enables and disables the PCI clock outputs (CLKOUT). See Table 4−40 for a complete description of the register contents. PCI register offset: Register type: Default value: D8h Read-only, Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 Table 4−40. Clock Control Register Description BIT FIELD NAME ACCESS 7 RSVD R 6† CLOCK6_DISABLE RW 5† CLOCK5_DISABLE RW 4† CLOCK4_DISABLE RW 3† CLOCK3_DISABLE RW 2† CLOCK2_DISABLE RW 1† CLOCK1_DISABLE RW 0† CLOCK0_DISABLE RW DESCRIPTION Reserved. Returns 0b when read. Clock output 6 disable. This bit disables secondary CLKOUT6. 0 = Clock enabled (default) 1 = Clock disabled Clock output 5 disable. This bit disables secondary CLKOUT5. 0 = Clock enabled (default) 1 = Clock disabled Clock output 4 disable. This bit disables secondary CLKOUT4. 0 = Clock enabled (default) 1 = Clock disabled Clock output 3 disable. This bit disables secondary CLKOUT3. 0 = Clock enabled (default) 1 = Clock disabled Clock output 2 disable. This bit disables secondary CLKOUT2. 0 = Clock enabled (default) 1 = Clock disabled Clock output 1 disable. This bit disables secondary CLKOUT1. 0 = Clock enabled (default) 1 = Clock disabled Clock output 0 disable. This bit disables secondary CLKOUT0. 0 = Clock enabled (default) 1 = Clock disabled † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 77 Classic PCI Configuration Space 4.67 Clock Mask Register This register selects which PCI bus clocks are disabled when bits 22:20 (POWER_OVRD) in the general control register (offset D4h, see Section 4.65) are set to 010h or 011h. This register has no effect on the clock outputs if the POWER_OVRD bits are not set to 010h or 011h or if the slot power limit is greater than the power required. See Table 4−41 for a complete description of the register contents. PCI register offset: Register type: Default value: D9h Read-only, Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 Table 4−41. Clock Mask Register Description BIT 7 FIELD NAME RSVD ACCESS R 6† CLOCK6_MASK RW 5† 4† 3† 2† 1† 0† CLOCK5_MASK CLOCK4_MASK CLOCK3_MASK CLOCK2_MASK CLOCK1_MASK CLOCK0_MASK RW RW RW RW RW RW DESCRIPTION Reserved. Returns 0b when read. Clock output 6 mask. This bit disables PCI bus CLKOUT6 when the POWER_OVRD bits are set to 010b or 011b and the slot power limit is exceeded. 0 = Clock enabled (default) 1 = Clock disabled Clock output 5 mask. This bit disables PCI bus CLKOUT5 when the POWER_OVRD bits are set to 010b or 011b and the slot power limit is exceeded. 0 = Clock enabled (default) 1 = Clock disabled Clock output 4 mask. This bit disables PCI bus CLKOUT4 when the POWER_OVRD bits are set to 010b or 011b and the slot power limit is exceeded. 0 = Clock enabled (default) 1 = Clock disabled Clock output 3 mask. This bit disables PCI bus CLKOUT3 when the POWER_OVRD bits are set to 010b or 011b and the slot power limit is exceeded. 0 = Clock enabled (default) 1 = Clock disabled Clock output 2 mask. This bit disables PCI bus CLKOUT2 when the POWER_OVRD bits are set to 010b or 011b and the slot power limit is exceeded. 0 = Clock enabled (default) 1 = Clock disabled Clock output 1 mask. This bit disables PCI bus CLKOUT1 when the POWER_OVRD bits are set to 010b or 011b and the slot power limit is exceeded. 0 = Clock enabled (default) 1 = Clock disabled Clock output 0 mask. This bit disables PCI bus CLKOUT0 when the POWER_OVRD bits are set to 010b or 011b and the slot power limit is exceeded. 0 = Clock enabled (default) 1 = Clock disabled † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 78 SCPS097B November 2005 Classic PCI Configuration Space 4.68 Clock Run Status Register The clock run status register indicates the state of the PCI clock-run features in the bridge. See Table 4−42 for a complete description of the register contents. PCI register offset: Register type: Default value: DAh Read-only 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 Table 4−42. Clock Run Status Register Description BIT FIELD NAME ACCESS 7:1 RSVD R 0† SEC_CLK_STATUS RU DESCRIPTION Reserved. Returns 000 0000b when read. Secondary clock status. This bit indicates the status of the PCI bus secondary clock outputs. 0 = Secondary clock running 1 = Secondary clock stopped † This bit is reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 79 Classic PCI Configuration Space 4.69 Arbiter Control Register The arbiter control register controls the bridge internal arbiter. The arbitration scheme used is a two-tier rotational arbitration. The bridge is the only secondary bus master that defaults to the higher priority arbitration tier. See Table 4−43 for a complete description of the register contents. PCI register offset: Register type: Default value: DCh Read/Write 40h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 1 0 0 0 0 0 0 Table 4−43. Arbiter Control Register Description BIT FIELD NAME 7† PARK ACCESS RW DESCRIPTION Bus parking mode. This bit determines where the internal arbiter parks the secondary bus. When this bit is set, the arbiter parks the secondary bus on the bridge. When this bit is cleared, the arbiter parks the bus on the last device mastering the secondary bus. 0 = Park the secondary bus on the last secondary bus master (default) 1 = Park the secondary bus on the bridge 6† BRIDGE_TIER_SEL RW 5† TIER_SEL5 RW 4† TIER_SEL4 RW 3† TIER_SEL3 RW 2† TIER_SEL2 RW 1† TIER_SEL1 RW 0† TIER_SEL0 RW Bridge tier select. This bit determines in which tier the bridge is placed in the arbitration scheme. 0 = Lowest priority tier 1 = Highest priority tier (default) GNT5 tier select. This bit determines in which tier GNT5 is placed in the arbitration scheme. 0 = Lowest priority tier 1 = Highest priority tier (default) GNT4 tier select. This bit determines in which tier GNT4 is placed in the arbitration scheme. 0 = Lowest priority tier 1 = Highest priority tier (default) GNT3 tier select. This bit determines in which tier GNT3 is placed in the arbitration scheme. 0 = Lowest priority tier 1 = Highest priority tier (default) GNT2 tier select. This bit determines in which tier GNT2 is placed in the arbitration scheme. 0 = Lowest priority tier 1 = Highest priority tier (default) GNT1 tier select. This bit determines in which tier GNT1 is placed in the arbitration scheme. 0 = Lowest priority tier 1 = Highest priority tier (default) GNT0 tier select. This bit determines in which tier GNT0 is placed in the arbitration scheme. 0 = Lowest priority tier 1 = Highest priority tier (default) † Thes bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 80 SCPS097B November 2005 Classic PCI Configuration Space 4.70 Arbiter Request Mask Register The arbiter request mask register enables and disables support for requests from specific masters on the secondary bus. The arbiter request mask register also controls if a request input is automatically masked on an arbiter time-out. See Table 4−44 for a complete description of the register contents. PCI register offset: Register type: Default value: DDh Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 Table 4−44. Arbiter Request Mask Register Description BIT 7† FIELD NAME ARB_TIMEOUT ACCESS RW DESCRIPTION Arbiter time-out. This bit enables the arbiter time-out feature. The arbiter time-out is defined as the number of PCI clocks after the PCI bus has gone idle for a device to assert FRAME before the arbiter assumes the device will not respond. 0 = Arbiter time disabled (default) 1 = Arbiter time-out set to 16 PCI clocks 6† 5† 4† 3† 2† 1† 0† AUTO_MASK REQ5_MASK REQ4_MASK REQ3_MASK REQ2_MASK REQ1_MASK REQ0_MASK RW RW RW RW RW RW RW Automatic request mask. This bit enables automatic request masking when an arbiter time-out occurs. 0 = Automatic request masking disabled (default) 1 = Automatic request masking enabled Request 5 (REQ5) mask. Setting this bit forces the internal arbiter to ignore requests signal on request input 5. 0 = Use request 5 (default) 1 = Ignore request 5 Request 4 (REQ4) mask. Setting this bit forces the internal arbiter to ignore requests signal on request input 4. 0 = Use request 4 (default) 1 = Ignore request 4 Request 3 (REQ3) mask. Setting this bit forces the internal arbiter to ignore requests signal on request input 3. 0 = Use request 3 (default) 1 = Ignore request 3 Request 2 (REQ2) mask. Setting this bit forces the internal arbiter to ignore requests signal on request input 2. 0 = Use request 2 (default) 1 = Ignore request 2 Request 1 (REQ1) mask. Setting this bit forces the internal arbiter to ignore requests signal on request input 1. 0 = Use request 1 (default) 1 = Ignore request 1 Request 0 (REQ0) mask. Setting this bit forces the internal arbiter to ignore requests signal on request input 0. 0 = Use request 0 (default) 1 = Ignore request 0 † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 81 Classic PCI Configuration Space 4.71 Arbiter Time-Out Status Register The arbiter time-out status register contains the status of each request (request 5–0) time-out. The time-out status bit for the respective request is set if the device did not assert FRAME after the arbiter time-out value. See Table 4−45 for a complete description of the register contents. PCI register offset: Register type: Default value: DEh Read/Clear 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 Table 4−45. Arbiter Time-Out Status Register Description BIT FIELD NAME ACCESS 7:6 RSVD R 5 REQ5_TO RCU 4 REQ4_TO RCU 3 REQ3_TO RCU 2 REQ2_TO RCU 1 REQ1_TO RCU 0 REQ0_TO RCU DESCRIPTION Reserved. Returns 00b when read. Request 5 time-out status 0 = No time-out 1 = Time-out has occurred Request 4 time-out status 0 = No time-out 1 = Time-out has occurred Request 3 time-out status 0 = No time-out 1 = Time-out has occurred Request 2 time-out status 0 = No time-out 1 = Time-out has occurred Request 1 time-out status 0 = No time-out 1 = Time-out has occurred Request 0 time-out status 0 = No time-out 1 = Time-out has occurred NOTE: If bit 6 (AUTO_MASK) in the arbiter request mask register (offset DDh, see Section 4.70) is asserted and a PCI bus request time-out is detected, then the request time-out status bits require a special reset sequence. First, the AUTO_MASK bit must be cleared to 0b. Then, the REQ[5:0]_TO bit will clear after a write-back of 1b. 82 SCPS097B November 2005 Classic PCI Configuration Space 4.72 Serial IRQ Mode Control Register This register controls the behavior of the serial IRQ controller. See Table 4−46 for a complete description of the register contents. PCI register offset: Register type: Default value: E0h Read-only, Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 Table 4−46. Serial IRQ Mode Control Register Description BIT FIELD NAME ACCESS 7:4 RSVD R DESCRIPTION Reserved. Returns 0h when read. Start frame pulse width. Sets the width of the start frame for a SERIRQ stream. 3:2† START_WIDTH RW 1† POLLMODE RW 0† DRIVEMODE RW 00 = 4 clocks (default) 01 = 6 clocks 10 = 8 clocks 11 = Reserved Poll mode. This bit selects between continuous and quiet mode. 0 = Continuous mode (default) 1 = Quiet mode Drive mode. This bit selects the behavior of the serial IRQ controller during the recovery cycle. 0 = Drive high (default) 1 = 3-state † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 83 Classic PCI Configuration Space 4.73 Serial IRQ Edge Control Register This register controls the edge mode or level mode for each IRQ in the serial IRQ stream. See Table 4−47 for a complete description of the register contents. PCI register offset: Register type: Default value: E2h Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−47. Serial IRQ Edge Control Register Description BIT FIELD NAME ACCESS DESCRIPTION 15† IRQ15_MODE RW IRQ 15 edge mode 0 = Edge mode (default) 1 = Level mode 14† IRQ14_MODE RW IRQ 14 edge mode 0 = Edge mode (default) 1 = Level mode 13† IRQ13_MODE RW IRQ 13 edge mode 0 = Edge mode (default) 1 = Level mode 12† IRQ12_MODE RW IRQ 12 edge mode 0 = Edge mode (default) 1 = Level mode 11† IRQ11_MODE RW IRQ 11 edge mode 0 = Edge mode (default) 1 = Level mode 10† IRQ10_MODE RW IRQ 10 edge mode 0 = Edge mode (default) 1 = Level mode 9† IRQ9_MODE RW IRQ 9 edge mode 0 = Edge mode (default) 1 = Level mode 8† IRQ8_MODE RW IRQ 8 edge mode 0 = Edge mode (default) 1 = Level mode 7† IRQ7_MODE RW IRQ 7 edge mode 0 = Edge mode (default) 1 = Level mode 6† IRQ6_MODE RW IRQ 6 edge mode 0 = Edge mode (default) 1 = Level mode 5† IRQ5_MODE RW IRQ 5 edge mode 0 = Edge mode (default) 1 = Level mode 4† IRQ4_MODE RW IRQ 4 edge mode 0 = Edge mode (default) 1 = Level mode 3† IRQ3_MODE RW IRQ 3 edge mode 0 = Edge mode (default) 1 = Level mode 2† IRQ2_MODE RW IRQ 2 edge mode 0 = Edge mode (default) 1 = Level mode † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 84 SCPS097B November 2005 Classic PCI Configuration Space Table 4−47. Serial IRQ Edge Control Register Description (Continued) BIT FIELD NAME ACCESS DESCRIPTION 1† IRQ1_MODE RW IRQ 1 edge mode 0 = Edge mode (default) 1 = Level mode 0† IRQ0_MODE RW IRQ 0 edge mode 0 = Edge mode (default) 1 = Level mode † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 4.74 Serial IRQ Status Register This register indicates when a level mode IRQ is signaled on the serial IRQ stream. After a level mode IRQ is signaled, a write-back of 1b to the asserted IRQ status bit re-arms the interrupt. IRQ interrupts that are defined as edge mode in the serial IRQ edge control register are not reported in this status register. See Table 4−48 for a complete description of the register contents. PCI register offset: Register type: Default value: E4h Read/Clear 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 4−48. Serial IRQ Status Register Description BIT FIELD NAME ACCESS DESCRIPTION IRQ 15 asserted. This bit indicates that the IRQ15 has been asserted. 15 IRQ15 RCU 14 IRQ14 RCU 13 IRQ13 RCU 12 IRQ12 RCU 11 IRQ11 RCU 10 IRQ10 RCU 9 IRQ9 RCU 8 IRQ8 RCU 7 IRQ7 RCU 0 = Deasserted 1 = Asserted IRQ 14 asserted. This bit indicates that the IRQ14 has been asserted. 0 = Deasserted 1 = Asserted IRQ 13 asserted. This bit indicates that the IRQ13 has been asserted. 0 = Deasserted 1 = Asserted IRQ 12 asserted. This bit indicates that the IRQ12 has been asserted. 0 = Deasserted 1 = Asserted IRQ 11 asserted. This bit indicates that the IRQ11 has been asserted. 0 = Deasserted 1 = Asserted IRQ 10 asserted. This bit indicates that the IRQ10 has been asserted. 0 = Deasserted 1 = Asserted IRQ 9 asserted. This bit indicates that the IRQ9 has been asserted. 0 = Deasserted 1 = Asserted IRQ 8 asserted. This bit indicates that the IRQ8 has been asserted. 0 = Deasserted 1 = Asserted IRQ 7 asserted. This bit indicates that the IRQ7 has been asserted. November 2005 0 = Deasserted 1 = Asserted SCPS097B 85 Classic PCI Configuration Space Table 4−48. Serial IRQ Status Register Description (Continued) BIT FIELD NAME ACCESS 6 IRQ6 RCU 5 IRQ5 RCU 4 IRQ4 RCU 3 IRQ3 RCU 2 IRQ2 RCU 1 IRQ1 RCU 0 IRQ0 RCU DESCRIPTION IRQ 6 asserted. This bit indicates that the IRQ6 has been asserted. 0 = Deasserted 1 = Asserted IRQ 5 asserted. This bit indicates that the IRQ5 has been asserted. 0 = Deasserted 1 = Asserted IRQ 4 asserted. This bit indicates that the IRQ4 has been asserted. 0 = Deasserted 1 = Asserted IRQ 3 asserted. This bit indicates that the IRQ3 has been asserted. 0 = Deasserted 1 = Asserted IRQ 2 asserted. This bit indicates that the IRQ2 has been asserted. 0 = Deasserted 1 = Asserted IRQ 1 asserted. This bit indicates that the IRQ1 has been asserted. 0 = Deasserted 1 = Asserted IRQ 0 asserted. This bit indicates that the IRQ0 has been asserted. 86 SCPS097B 0 = Deasserted 1 = Asserted November 2005 PCI Express Extended Configuration Space 5 PCI Express Extended Configuration Space The programming model of the PCI Express extended configuration space is compliant to the PCI Express Base Specification and the PCI Express to PCI/PCI-X Bridge Specification programming models. The PCI Express extended configuration map uses the PCI Express advanced error reporting capability and PCI Express virtual channel (VC) capability headers. All bits marked with a k are sticky bits and are reset by a global reset (GRST) or the internally-generated power-on reset. All bits marked with a † are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. The remaining register bits are reset by a PCI Express hot reset, PERST, GRST, or the internally-generated power-on reset. Table 5−1. PCI Express Extended Configuration Register Map REGISTER NAME Next capability offset / capability version OFFSET PCI Express advanced error reporting capabilities ID Uncorrectable error status register† 100h 104h Uncorrectable error mask register† 108h Uncorrectable error severity register† 10Ch Correctable error status register† 110h Correctable error mask† 114h Advanced error capabilities and control† 118h Header log register† 11Ch Header log register† 120h Header log register† 124h Header log register† 128h Secondary uncorrectable error status† 12Ch Secondary uncorrectable error mask† 130h Secondary uncorrectable error severity register† 134h Secondary error capabilities and control register† 138h Secondary header log register† 13Ch Secondary header log register† 140h Secondary header log register† 144h Secondary header log register† 148h Reserved 14Ch Next capability offset / capability version PCI express virtual channel extended capabilities ID Port VC capability register 1 154h Port VC capability register 2 Port VC status register 150h 158h Port VC control register VC resource capability register (VC0) 160h VC resource control register (VC0) VC resource status register (VC0) 15Ch 164h Reserved 168h VC resource capability register (VC1) 16Ch VC resource control register (VC1) 170h VC resource status register (VC1) Reserved 174h Reserved 178h – 17Ch VC arbitration table (phase 7 − phase 0) 180h VC arbitration table (phase 15 − phase 8) 184h VC arbitration table (phase 23 − phase 16) 188h † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 87 PCI Express Extended Configuration Space Table 5−1. PCI Express Extended Configuration Register Map (Continued) REGISTER NAME 5.1 OFFSET VC arbitration table (phase 31 − phase 24) 18Ch Reserved 190h – 1BCh Port arbitration table for VC1 (phase 7 – phase 0) 1C0h Port arbitration table for VC1 (phase 15 – phase 8) 1C4h Port arbitration table for VC1 (phase 23 – phase 16) 1C8h Port arbitration table for VC1 (phase 31 – phase 24) 1CCh Port arbitration table for VC1 (phase 39 – phase 32) 1D0h Port arbitration table for VC1 (phase 47 – phase 40) 1D4h Port arbitration table for VC1 (phase 55 – phase 48) 1D8h Port arbitration table for VC1 (phase 63 – phase 56) 1DCh Port arbitration table for VC1 (phase 71 – phase 64) 1E0h Port arbitration table for VC1 (phase 79 – phase 72) 1E4h Port arbitration table for VC1 (phase 87 – phase 80) 1E8h Port arbitration table for VC1 (phase 95 – phase 88) 1ECh Port arbitration table for VC1 (phase 103 – phase 96) 1F0h Port arbitration table for VC1 (phase 111 – phase 104) 1F4h Port arbitration table for VC1 (phase 119 – phase 112) 1F8h Port arbitration table for VC1 (phase 127 – phase 120) 1FCh Reserved 200h – FFCh Advanced Error Reporting Capability ID Register This read-only register identifies the linked list item as the register for PCI Express advanced error reporting capabilities. The register returns 0001h when read. PCI Express extended register offset: Register type: Default value: 5.2 100h Read-only 0001h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 Next Capability Offset/Capability Version Register This read-only register identifies the next location in the PCI Express extended capabilities link list. If bit 12 (VC_CAP_EN) in the general control register (offset D4h, see Section 4.65) is 0b, then the upper 12 bits in this register are 000h, indicating the end of the linked list. If VC_CAP_EN is 1b, then the upper 12 bits in this register are 150h, indicating the existance of the VC capability structure at offset 150h. The four least significant bits identify the revision of the current capability block as 1h. PCI Express extended register offset: Register type: Default value: 88 102h Read-only XX01h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 x 0 x 0 x 0 0 0 0 0 0 0 1 SCPS097B November 2005 PCI Express Extended Configuration Space 5.3 Uncorrectable Error Status Register The uncorrectable error status register reports the status of individual errors as they occur on the primary PCI Express interface. Software may only clear these bits by writing a 1b to the desired location. See Table 5−2 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 104h Read-only, Read/Clear 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 5−2. Uncorrectable Error Status Register Description BIT FIELD NAME ACCESS DESCRIPTION 31:21 RSVD R 20† UR_ERROR RCU Unsupported request error. This bit is asserted when an unsupported request is received. 19† ECRC_ERROR RCU Extended CRC error. This bit is asserted when an extended CRC error is detected. 18† MAL_TLP RCU Malformed TLP. This bit is asserted when a malformed TLP is detected. 17† RX_OVERFLOW RCU Receiver overflow. This bit is asserted when the flow control logic detects that the transmitting device has illegally exceeded the number of credits that were issued. 16† UNXP_CPL RCU Unexpected completion. This bit is asserted when a completion packet is received that does not correspond to an issued request. 15† CPL_ABORT RCU Completer abort. This bit is asserted when the bridge signals a completer abort. 14† CPL_TIMEOUT RCU Completion time-out. This bit is asserted when no completion has been received for an issued request before the time-out period. 13† FC_ERROR RCU Flow control error. This bit is asserted when a flow control protocol error is detected either during initialization or during normal operation. Poisoned TLP. This bit is asserted when a poisoned TLP is received. 12† PSN_TLP RCU 11:5 RSVD R 4† DLL_ERROR RCU 3:0 RSVD R Reserved. Returns 000 0000 0000b when read. Reserved. Returns 000 0000b when read. Data link protocol error. This bit is asserted if a data link-layer protocol error is detected. Reserved. Returns 0h when read. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 89 PCI Express Extended Configuration Space 5.4 Uncorrectable Error Mask Register The uncorrectable error mask register controls the reporting of individual errors as they occur. When a mask bit is set to 1b, the corresponding error status bit is not set, PCI Express error messages are blocked, the header log is not loaded, and the first error pointer is not updated. See Table 5−3 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 108h Read-only, Read/Write 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 5−3. Uncorrectable Error Mask Register Description BIT FIELD NAME ACCESS 31:21 RSVD R 20† UR_ERROR_MASK RW 19† ECRC_ERROR_MASK RW 18† MAL_TLP_MASK RW 17† RX_OVERFLOW_MASK RW 16† UNXP_CPL_MASK RW 15† CPL_ABORT_MASK RW 14† CPL_TIMEOUT_MASK RW 13† FC_ERROR_MASK RW 12† PSN_TLP_MASK RW 11:5 RSVD R 4† DLL_ERROR_MASK RW DESCRIPTION Reserved. Returns 000 0000 0000b when read. Unsupported request error mask 0 = Error condition is unmasked (default) 1 = Error condition is masked Extended CRC error mask 0 = Error condition is unmasked (default) 1 = Error condition is masked Malformed TLP mask 0 = Error condition is unmasked (default) 1 = Error condition is masked Receiver overflow mask 0 = Error condition is unmasked (default) 1 = Error condition is masked Unexpected completion mask 0 = Error condition is unmasked (default) 1 = Error condition is masked Completer abort mask 0 = Error condition is unmasked (default) 1 = Error condition is masked Completion time-out mask 0 = Error condition is unmasked (default) 1 = Error condition is masked Flow control error mask 0 = Error condition is unmasked (default) 1 = Error condition is masked Poisoned TLP mask 0 = Error condition is unmasked (default) 1 = Error condition is masked Reserved. Returns 000 0000b when read. Data link protocol error mask 0 = Error condition is unmasked (default) 1 = Error condition is masked 3:0 RSVD R Reserved. Returns 0h when read. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 90 SCPS097B November 2005 PCI Express Extended Configuration Space 5.5 Uncorrectable Error Severity Register The uncorrectable error severity register controls the reporting of individual errors as ERR_FATAL or ERR_NONFATAL. When a bit is set, the corresponding error condition is identified as fatal. When a bit is cleared, the corresponding error condition is identified as nonfatal. See Table 5−4 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 10Ch Read-only, Read/Write 0006 2011h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 1 Table 5−4. Uncorrectable Error Severity Register Description BIT FIELD NAME ACCESS 31:21 RSVD R 20† UR_ERROR_SEVR RW 19† ECRC_ERROR_SEVR RW 18† MAL_TLP_SEVR RW 17† RX_OVERFLOW_SEVR RW 16† UNXP_CPL_SEVR RW 15† CPL_ABORT_SEVR RW 14† CPL_TIMEOUT_SEVR RW 13† FC_ERROR_SEVR RW 12† PSN_TLP_SEVR RW 11:5 RSVD R 4† DLL_ERROR_SEVR RW 3:1 RSVD R 0 RSVD R DESCRIPTION Reserved. Returns 000 0000 0000b when read. Unsupported request error severity 0 = Error condition is signaled using ERR_NONFATAL (default) 1 = Error condition is signaled using ERR_FATAL Extended CRC error severity 0 = Error condition is signaled using ERR_NONFATAL (default) 1 = Error condition is signaled using ERR_FATAL Malformed TLP severity 0 = Error condition is signaled using ERR_NONFATAL 1 = Error condition is signaled using ERR_FATAL (default) Receiver overflow severity 0 = Error condition is signaled using ERR_NONFATAL 1 = Error condition is signaled using ERR_FATAL (default) Unexpected completion severity 0 = Error condition is signaled using ERR_NONFATAL (default) 1 = Error condition is signaled using ERR_FATAL Completer abort severity 0 = Error condition is signaled using ERR_NONFATAL (default) 1 = Error condition is signaled using ERR_FATAL Completion time-out severity 0 = Error condition is signaled using ERR_NONFATAL (default) 1 = Error condition is signaled using ERR_FATAL Flow control error severity 0 = Error condition is signaled using ERR_NONFATAL 1 = Error condition is signaled using ERR_FATAL (default) Poisoned TLP severity 0 = Error condition is signaled using ERR_NONFATAL (default) 1 = Error condition is signaled using ERR_FATAL Reserved. Returns 000 0000b when read. Data link protocol error severity 0 = Error condition is signaled using ERR_NONFATAL 1 = Error condition is signaled using ERR_FATAL (default) Reserved. Return 000b when read. Reserved. Returns 1b when read. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 91 PCI Express Extended Configuration Space 5.6 Correctable Error Status Register The correctable error status register reports the status of individual errors as they occur. Software may only clear these bits by writing a 1b to the desired location. See Table 5−5 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 110h Read-only, Read/Clear 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 5−5. Correctable Error Status Register Description BIT FIELD NAME ACCESS 31:13 RSVD R 12† REPLAY_TMOUT RCU 11:9 RSVD R 8† REPLAY_ROLL RCU REPLAY_NUM rollover. This bit is asserted when the replay counter rolls over after a pending request or completion has not been acknowledged. 7† BAD_DLLP RCU Bad DLLP error. This bit is asserted when an 8b/10b error was detected by the PHY during the reception of a DLLP. 6† BAD_TLP RCU Bad TLP error. This bit is asserted when an 8b/10b error was detected by the PHY during the reception of a TLP. 5:1 RSVD R 0† RX_ERROR RCU DESCRIPTION Reserved. Returns 000 0000 0000 0000 0000b when read. Replay timer time-out. This bit is asserted when the replay timer expires for a pending request or completion that has not been acknowledged. Reserved. Returns 000b when read. Reserved. Returns 00000b when read. Receiver error. This bit is asserted when an 8b/10b error is detected by the PHY at any time. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 92 SCPS097B November 2005 PCI Express Extended Configuration Space 5.7 Correctable Error Mask Register The correctable error mask register controls the reporting of individual errors as they occur. When a mask bit is set to 1b, the corresponding error status bit is not set, PCI Express error messages are blocked, the header log is not loaded, and the first error pointer is not updated. See Table 5−6 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 114h Read-only, Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 5−6. Correctable Error Mask Register Description BIT FIELD NAME ACCESS 31:13 RSVD R 12† REPLAY_TMOUT_MASK RW 11:9 RSVD R 8† REPLAY_ROLL_MASK RW 7† BAD_DLLP_MASK RW 6† BAD_TLP_MASK RW 5:1 RSVD R 0† RX_ERROR_MASK RW DESCRIPTION Reserved. Returns 000 0000 0000 0000 0000b when read. Replay timer time-out mask. 0 = Error condition is unmasked (default) 1 = Error condition is masked Reserved. Returns 000b when read. REPLAY_NUM rollover mask. 0 = Error condition is unmasked (default) 1 = Error condition is masked Bad DLLP error mask. 0 = Error condition is unmasked (default) 1 = Error condition is masked Bad TLP error mask. 0 = Error condition is unmasked (default) 1 = Error condition is masked Reserved. Returns 00000b when read. Receiver error mask. 0 = Error condition is unmasked (default) 1 = Error condition is masked † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 93 PCI Express Extended Configuration Space 5.8 Advanced Error Capabilities and Control Register The advanced error capabilities and control register allows the system to monitor and control the advanced error reporting capabilities. See Table 5−7 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 118h Read-only, Read/Write 0000 00A0h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 Table 5−7. Advanced Error Capabilities and Control Register Description BIT FIELD NAME ACCESS 31:9 RSVD R 8† ECRC_CHK_EN RW 7 ECRC_CHK_CAPABLE R 6† ECRC_GEN_EN RW 5 ECRC_GEN_CAPABLE R 4:0† FIRST_ERR RU DESCRIPTION Reserved. Returns 000 0000 0000 0000 0000 0000b when read. Extended CRC check enable 0 = Extended CRC checking is disabled 1 = Extended CRC checking is enabled Extended CRC check capable. This read-only bit returns a value of 1b indicating that the bridge is capable of checking extended CRC information. Extended CRC generation enable 0 = Extended CRC generation is disabled 1 = Extended CRC generation is enabled Extended CRC generation capable. This read-only bit returns a value of 1b indicating that the bridge is capable of generating extended CRC information. First error pointer. This 5-bit value reflects the bit position within the uncorrectable error status register (offset 104h, see Section 5.3) corresponding to the class of the first error condition that was detected. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 5.9 Header Log Register The header log register stores the TLP header for the packet that lead to the most recently detected error condition. Offset 11Ch contains the first DWORD. Offset 128h contains the last DWORD (in the case of a 4DW TLP header). Each DWORD is stored with the least significant byte representing the earliest transmitted. These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. PCI Express extended register offset: Register type: Default value: 94 11Ch, 120h, 124h, and 128h Read-only 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SCPS097B November 2005 PCI Express Extended Configuration Space 5.10 Secondary Uncorrectable Error Status Register The secondary uncorrectable error status register reports the status of individual PCI bus errors as they occur. Software may only clear these bits by writing a 1b to the desired location. See Table 5−8 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 12Ch Read-only, Read/Clear 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 5−8. Secondary Uncorrectable Error Status Register Description BIT FIELD NAME ACCESS DESCRIPTION 31:14 RSVD R Reserved. Returns 00 0000 0000 0000 0000b when read. 13† BRIDGE_ERROR R Internal bridge error. This error bit is associated with a PCI-X error and returns 0b when read. 12† SERR_DETECT RCU SERR assertion detected. This bit is asserted when the bridge detects the assertion of SERR on the secondary bus. 11† PERR_DETECT RCU PERR assertion detected. This bit is asserted when the bridge detects the assertion of PERR on the secondary bus. 10† DISCARD_TIMER RCU Delayed transaction discard timer expired. This bit is asserted when the discard timer expires for a pending delayed transaction that was initiated on the secondary bus. 9† UNCOR_ADDR RCU Uncorrectable address error. This bit is asserted when the bridge detects a parity error during the address phase of an upstream transaction. 8† ATTR_ERROR R 7† UNCOR_DATA RCU Uncorrectable data error. This bit is asserted when the bridge detects a parity error during a data phase of an upstream write transaction, or when the bridge detects the assertion of PERR when forwarding read completion data to a PCI device. 6† SC_MSG_DATA R Uncorrectable split completion message data error. This error bit is associated with a PCI-X error and returns 0b when read. 5† SC_ERROR R Unexpected split completion error. This error bit is associated with a PCI-X error and returns 0b when read. 4 RSVD R Reserved. Returns 0b when read. 3† MASTER_ABORT RCU Received master abort. This bit is asserted when the bridge receives a master abort on the PCI interface. 2† TARGET_ABORT RCU Received target abort. This bit is asserted when the bridge receives a target abort on the PCI interface. 1† SC_MSTR_ABORT R Master abort on split completion. This error bit is associated with a PCI-X error and returns 0b when read. Uncorrectable attribute error. This error bit is associated with a PCI-X error and returns 0b when read. 0 RSVD R Reserved. Returns 0b when read. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 95 PCI Express Extended Configuration Space 5.11 Secondary Uncorrectable Error Mask Register The secondary uncorrectable error mask register controls the reporting of individual errors as they occur. When a mask bit is set to 1b, the corresponding error status bit is not set, PCI Express error messages are blocked, the header log is not loaded, and the first error pointer is not updated. See Table 5−9 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 130h Read-only, Read/Write 0000 17A8h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 1 0 1 1 1 1 0 1 0 1 0 0 0 Table 5−9. Secondary Uncorrectable Error Mask Register Description BIT FIELD NAME ACCESS 31:14 RSVD R DESCRIPTION 13† BRIDGE_ERROR_MASK RW 12† SERR_DETECT_MASK RW 11† PERR_DETECT_MASK RW 10† DISCARD_TIMER_MASK RW 9† UNCOR_ADDR_MASK RW 8† ATTR_ERROR_MASK RW 7† UNCOR_DATA_MASK RW 6† SC_MSG_DATA_MASK RW Uncorrectable split completion message data error. This mask bit is associated with a PCI-X error and has no effect on the bridge. 5† SC_ERROR_MASK RW Unexpected split completion error. This mask bit is associated with a PCI-X error and has no effect on the bridge. 4 RSVD R 3† MASTER_ABORT_MASK RW 2† TARGET_ABORT_MASK RW 1† SC_MSTR_ABORT_MASK RW Reserved. Returns 00 0000 0000 0000 0000b when read. Internal bridge error. This mask bit is associated with a PCI-X error and has no effect on the bridge. SERR assertion detected 0 = Error condition is unmasked 1 = Error condition is masked (default) PERR assertion detected 0 = Error condition is unmasked (default) 1 = Error condition is masked Delayed transaction discard timer expired 0 = Error condition is unmasked 1 = Error condition is masked (default) Uncorrectable address error 0 = Error condition is unmasked 1 = Error condition is masked (default) Uncorrectable attribute error. This mask bit is associated with a PCI-X error and has no effect on the bridge. Uncorrectable data error 0 = Error condition is unmasked 1 = Error condition is masked (default) Reserved. Returns 0b when read. Received master abort 0 = Error condition is unmasked 1 = Error condition is masked (default) Received target abort 0 = Error condition is unmasked (default) 1 = Error condition is masked Master abort on split completion. This mask bit is associated with a PCI-X error and has no effect on the bridge. 0 RSVD R Reserved. Returns 0b when read. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 96 SCPS097B November 2005 PCI Express Extended Configuration Space 5.12 Secondary Uncorrectable Error Severity Register The uncorrectable error severity register controls the reporting of individual errors as ERR_FATAL or ERR_NONFATAL. When a bit is set, the corresponding error condition is identified as fatal. When a bit is cleared, the corresponding error condition is identified as nonfatal. See Table 5−10 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 134h Read-only, Read/Write 0000 1340h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 1 0 0 1 1 0 1 0 0 0 0 0 0 Table 5−10. Secondary Uncorrectable Error Severity Register Description BIT FIELD NAME ACCESS 31:14 RSVD R DESCRIPTION 13† BRIDGE_ERROR_SEVR RW 12† SERR_DETECT_SEVR RW 11† PERR_DETECT_SEVR RW 10† DISCARD_TIMER_SEVR RW 9† UNCOR_ADDR_SEVR RW 8† ATTR_ERROR_SEVR RW 7† UNCOR_DATA_SEVR RW 6† SC_MSG_DATA_SEVR RW Uncorrectable split completion message data error. This severity bit is associated with a PCI-X error and has no effect on the bridge. 5† SC_ERROR_SEVR RW Unexpected split completion error. This severity bit is associated with a PCI-X error and has no effect on the bridge. 4 RSVD R 3† MASTER_ABORT_SEVR RW 2† TARGET_ABORT_SEVR RW 1† SC_MSTR_ABORT_SEVR RW Reserved. Returns 00 0000 0000 0000 0000b when read. Internal bridge error. This severity bit is associated with a PCI-X error and has no effect on the bridge. SERR assertion detected 0 = Error condition is signaled using ERR_NONFATAL 1 = Error condition is signaled using ERR_FATAL (default) PERR assertion detected 0 = Error condition is signaled using ERR_NONFATAL (default) 1 = Error condition is signaled using ERR_FATAL Delayed transaction discard timer expired 0 = Error condition is signaled using ERR_NONFATAL (default) 1 = Error condition is signaled using ERR_FATAL Uncorrectable address error 0 = Error condition is signaled using ERR_NONFATAL 1 = Error condition is signaled using ERR_FATAL (default) Uncorrectable attribute error. This severity bit is associated with a PCI-X error and has no effect on the bridge. Uncorrectable data error 0 = Error condition is signaled using ERR_NONFATAL (default) 1 = Error condition is signaled using ERR_FATAL Reserved. Returns 0b when read. Received master abort 0 = Error condition is signaled using ERR_NONFATAL (default) 1 = Error condition is signaled using ERR_FATAL Received target abort 0 = Error condition is signaled using ERR_NONFATAL (default) 1 = Error condition is signaled using ERR_FATAL Master abort on split completion. This severity bit is associated with a PCI-X error and has no effect on the bridge. 0 RSVD R Reserved. Returns 0b when read. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 97 PCI Express Extended Configuration Space 5.13 Secondary Error Capabilities and Control Register The secondary error capabilities and control register allows the system to monitor and control the secondary advanced error reporting capabilities. See Table 5−11 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 138h Read-only 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 5−11. Secondary Error Capabilities and Control Register Description BIT FIELD NAME ACCESS 31:5 RSVD R 4:0† SEC_FIRST_ERR RU DESCRIPTION Reserved. Returns 000 0000 0000 0000 0000 0000 0000b when read. First error pointer. This 5-bit value reflects the bit position within the secondary uncorrectable error status register (offset 12Ch, see Section 5.10) corresponding to the class of the first error condition that was detected. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 98 SCPS097B November 2005 PCI Express Extended Configuration Space 5.14 Secondary Header Log Register The secondary header log register stores the transaction address and command for the PCI bus cycle that led to the most recently detected error condition. Offset 13Ch accesses register bits 31:0. Offset 140h accesses register bits 63:32. Offset 144h accesses register bits 95:64. Offset 148h accesses register bits 127:96. See Table 5−12 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 13Ch, 140h, 144h, and 148h Read-only 0000 0000h BIT NUMBER 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 5−12. Secondary Header Log Register Description BIT FIELD NAME ACCESS DESCRIPTION Transaction address. The 64-bit value transferred on AD[31:0] during the first and second address phases. The first address phase is logged to 95:64 and the second address phase is logged to 127:96. In the case of a 32-bit address, bits 127:96 are set to 0000 0000h. 127:64† ADDRESS RU 63:44 RSVD R 43:40† UPPER_CMD RU Transaction command upper. Contains the status of the C/BE terminals during the second address phase of the PCI transaction that generated the error if using a dual-address cycle. 39:36† LOWER_CMD RU Transaction command lower. Contains the status of the C/BE terminals during the first address phase of the PCI transaction that generated the error. 35:0 TRANS_ATTRIBUTE R Reserved. Returns 00000h when read. Transaction attribute. Because the bridge does not support the PCI-X attribute transaction phase, these bits have no function, and return 0 0000 0000h when read. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 5.15 Virtual Channel Capability ID Register This read-only register identifies the linked list item as the register for PCI Express VC capabilities. The register returns 0002h when read. PCI Express extended register offset: Register type: Default value: 150h Read-only 0002h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 November 2005 SCPS097B 99 PCI Express Extended Configuration Space 5.16 Next Capability Offset/Capability Version Register This read-only register returns the value 000h to indicate that this extended capability block represents the end of the linked list of extended capability structures. The four least significant bits identify the revision of the current capability block as 1h. PCI Express extended register offset: Register type: Default value: 152h Read-only 0001h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 5.17 Port VC Capability Register 1 The first port VC capability register provides information to software regarding the VC capabilities support by the bridge. See Table 5−13 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 154h Read-only 0000 08X1h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 1 0 0 0 0 0 0 x 0 0 0 1 Table 5−13. Port VC Capability Register 1 Description BIT FIELD NAME ACCESS 31:12 RSVD R Reserved. Returns 00000h when read. DESCRIPTION 11:10 PORT_TABLE_SIZE R Port arbitration table entry size. This read-only field returns a value of 10b to indicate that the field size within the port arbitration table is four bits. This is necessary to allow as many as six secondary PCI bus masters. 9:8 REF_CLK R Reference clock. This read-only field returns a value of 00b to indicate than an internal 100-ns timer is used for time-based, WRR port arbitration. 7 RSVD R Reserved. Returns 0b when read. Low priority extended VC count. When bit 25 (STRICT_PRIORITY_EN) in the general control register (offset D4h, see Section 4.65) is 0b, the default LOW_PRIORITY_COUNT is 001b. When STRICT_PRIORITY_EN is 1b, the default LOW_PRIORITY_COUNT is 000b. When STRICT_PRIORITY_EN is set, strict priority VC arbitration is used and the extended VC always receives priority over VC0 at the PCI Express port. 6:4 LOW_PRIORITY_COUNT RU 3 RSVD R Reserved. Returns 0b when read. 2:0 EXT_VC_COUNT R Extended VC count. This read-only field returns a value of 001b to indicate support for one extended VC. 100 SCPS097B November 2005 PCI Express Extended Configuration Space 5.18 Port VC Capability Register 2 The second port VC capability register provides information to software regarding the VC arbitration schemes supported by the bridge. See Table 5−14 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 158h Read-only 0X00 000Xh BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 x x 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 x x Table 5−14. Port VC Capability Register 2 Description BIT FIELD NAME ACCESS DESCRIPTION VC arbitration table offset. If bits 6:4 (LOW_PROIRITY_COUNT) in the port VC capability register 1 (offset 154h, see Section 5.17) are 000b, then this field returns 00h when read. Otherwise, this read-only field returns the value 03h to indicate that the VC arbitration table begins 48 bytes from the top of the VC capability structure. When this field equals 00h, the VC arbitration table is a scratch pad and has no effect in the bridge. 31:24 VC_ARB_ TBL_OFFSET RU 23:8 RSVD R Reserved. Returns 0000h when read. VC arbitration capability. This 8-bit encoded field indicates support for the various schemes that are supported for VC arbitration. The field is encoded as follows: 7:0 VC_ARB_CAP RU Bit 0 = Hardware fixed arbitration (round-robin) Bit 1 = WRR with 32 phases Bit 2 = WRR with 64 phases Bit 3 = WRR with 128 phases Bit 4 = Reserved Bit 5 = Reserved Bit 6 = Reserved Bit 7 = Reserved If bits 6:4 (LOW_PROIRITY_COUNT) in the port VC capability register 1 (offset 154h, see Section 5.17) are 000b, then this field returns 00h when read. Otherwise, this field returns 03h to indicate that hardware-fixed round-robin and WRR with 32 phases are both supported. November 2005 SCPS097B 101 PCI Express Extended Configuration Space 5.19 Port VC Control Register The port VC control register allows software to configure the VC arbitration options within the bridge. See Table 5−15 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 15Ch Read-only, Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT FIELD NAME ACCESS 15:4 RSVD R Table 5−15. Port VC Control Register Description 3:1 VC_ARB _SELECT RW DESCRIPTION Reserved. Returns 000h when read. VC arbitration select. This read/write field allows software to define the mechanism used for VC arbitration by the bridge. The value written to this field indicates the bit position within bits 7:0 (VC_ARB_CAP) in the port VC capability register 2 (offset 158h, see Section 5.18) that corresponds to the selected arbitration scheme. Values that may be written to this field include: 000 = Hardware-fixed round-robin (default) 001 = WRR with 32 phases All other values are reserved for arbitrations schemes that are not supported by the bridge. 0 LOAD_VC _TABLE RW Load VC arbitration table. When software writes a 1b to this bit, the bridge applies the values written in the VC arbitration table within the extended configuration space to the actual VC arbitration tables used by the device for arbitration. This bit always returns 0b when read. 5.20 Port VC Status Register The port VC status register allows software to monitor the status of the VC arbitration table. See Table 5−16 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 15Eh Read-only 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 5−16. Port VC Status Register Description BIT FIELD NAME ACCESS 15:1 RSVD R 0 102 VC_TABLE_STATUS SCPS097B RU DESCRIPTION Reserved. Returns 000 0000 0000 0000b when read. VC arbitration table status. This bit is automatically set by hardware when any modification is made to the VC arbitration table entries within the extended configuration space. This bit is cleared by hardware after software has requested a VC arbitration table refresh and the refresh has been completed. November 2005 PCI Express Extended Configuration Space 5.21 VC Resource Capability Register (VC0) The VC resource capability register for VC0 provides information to software regarding the port and arbitration schemes supported by the bridge. See Table 5−17 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 160h Read-only 0000 0001h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 Table 5−17. VC Resource Capability Register (VC0) Description BIT FIELD NAME ACCESS DESCRIPTION 31:24 PORT_ARB_TBL_OFFSET R Port arbitration table offset. This read-only field returns the value 00h to indicate that no port arbitration table is required for this VC. 23 RSVD R Reserved. Returns 0b when read. 22:16 MAX_TIME_SLOTS R Maximum time slots. This read-only field returns the value 000 0000b because there is no support for time-based, WRR arbitration on this VC. 15 REJECT_SNOOP R Reject snoop transactions. This bit only has meaningful context for root ports; therefore, returns 0b when read. 14 ADV_SWITCHING R Advanced packet switching. This read-only bit returns 0b to indicate that the use of this VC is not limited to AS traffic. 13:8 RSVD R Reserved. Returns 00 0000b when read. Port arbitration capability. This 8-bit encoded field indicates support for the various schemes that are supported for port (secondary PCI device) arbitration. The field is encoded as follows: 7:0 PORT_ARB_CAP R Bit 0 = Hardware fixed arbitration (round-robin) Bit 1 = WRR with 32 phases Bit 2 = WRR with 64 phases Bit 3 = WRR with 128 phases Bit 4 = Time-based WRR with 128 phases Bit 5 = WRR with 256 phases Bits 6 and 7 = Reserved The returned value of 01h indicates that only hardware-fixed, round-robin arbitration is support for this VC. November 2005 SCPS097B 103 PCI Express Extended Configuration Space 5.22 VC Resource Control Register (VC0) The VC resource control register for VC0 allows software to control VC0 and the associated port and arbitration schemes supported by the bridge. See Table 5−18 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 164h Read-only, Read/Write 8000 00FFh BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 Table 5−18. VC Resource Control Register (VC0) Description BIT FIELD NAME ACCESS DESCRIPTION 31 VC_EN R VC enable. This field is internally hardwired to 1b to indicate that this VC resource is always enabled. 30:27 RSVD R Reserved. Returns 0h when read. 26:24 VC_ID R Virtual channel ID. This field is internally hardwired to 000b to indicate that this VC resource is always used for VC0. 23:20 RSVD R Reserved. Returns 0h when read. 19:17 PORT_ARB_SELECT R Port arbitration select. This read-only field returns 000b when read, because only hardware-fixed, round-robin arbitration is supported for this VC. 16 LOAD_PORT_TABLE R Load port arbitration table. This read-only bit returns 0b when read, because no port arbitration table is supported for this VC. 15:8 RSVD R Reserved. Returns 00h when read. TC/VC map. This field indicates all of the traffic classes that are mapped to this VC. A 1b in any bit position indicates that the corresponding traffic class is enabled for this VC. A 0b indicates that the corresponding traffic class is mapped to a different VC. The following table is used: 7:0 TC_VC_MAP RW Bit 0 = Traffic class 0 (This bit is read-only and returns a value of 1b) Bit 1 = Traffic class 1 Bit 2 = Traffic class 2 Bit 3 = Traffic class 3 Bit 4 = Traffic class 4 Bit 5 = Traffic class 5 Bit 6 = Traffic class 6 Bit 7 = Traffic class 7 The default value of FFh indicates that all eight traffic classes are initially mapped to VC0. 104 SCPS097B November 2005 PCI Express Extended Configuration Space 5.23 VC Resource Status Register (VC0) The VC resource status register allows software to monitor the status of the port arbitration table for this VC. See Table 5−19 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 16Ah Read-only 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 5−19. VC Resource Status Register (VC0) Description BIT 15:2 FIELD NAME RSVD ACCESS R 1 VC_PENDING RU 0 PORT_TABLE_STATUS RU DESCRIPTION Reserved. Returns 00 0000 0000 0000b when read. VC negotiation pending. This bit is asserted when VC negotiation is in progress following a request by software to enable or disable the VC or at startup for VC0. Port arbitration table status. This bit is automatically set by hardware when any modification is made to the port arbitration table entries for this VC within the extended configuration space. This bit is cleared by hardware after software has requested a port arbitration table refresh and the refresh has been completed. 5.24 VC Resource Capability Register (VC1) The VC resource capability register for VC1 provides information to software regarding the port and arbitration schemes supported by the bridge. See Table 5−20 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 16Ch Read-only 077F 0011h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 1 1 1 0 1 1 1 1 1 1 1 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 Table 5−20. VC Resource Capability Register (VC1) Description BIT FIELD NAME ACCESS DESCRIPTION 31:24 PORT_ARB_ TBL_OFFSET R Port arbitration table offset. This read-only field returns the value 07h to indicate that the port arbitration table for this VC begins 112 bytes from the top of the VC capability structure. 23 RSVD R Reserved. Returns 0b when read. 22:16 MAX_TIME_ SLOTS R Maximum time slots. The read-only field returns the value 111 1111b to indicate that all 128 slots are supported for time-based WRR. 15 REJECT_ SNOOP R Reject snoop transactions. This bit only has meaningful context for root ports; therefore, returns 0b when read. 14 ADV_ SWITCHING R Advanced packet switching. This read-only bit returns the value 0b to indicate that the use of this VC is not limited to AS traffic. 13:8 RSVD R Reserved. Return 00 0000b when read. Port arbitration capability. This 8-bit encoded field indicates support for the various schemes that are supported for port (secondary PCI device) arbitration. The field is encoded as follows: 7:0 PORT_ ARB_CAP R Bit 0 = Hardware fixed arbitration (round-robin) Bit 1 = WRR with 32 phases Bit 2 = WRR with 64 phases Bit 3 = WRR with 128 phases Bit 4 = Time-based WRR with 128 phases Bit 5 = WRR with 256 phases Bits 6 and 7 = Reserved The returned value of 11h indicates that hardware-fixed round-robin and time-based WRR with 128 phases are both supported. November 2005 SCPS097B 105 PCI Express Extended Configuration Space 5.25 VC Resource Control Register (VC1) The VC resource control register for VC1 allows software to control the second VC and associated port and arbitration schemes supported by the bridge. See Table 5−21 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 170h Read-only, Read/Write 0100 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 5−21. VC Resource Control Register (VC1) Description BIT FIELD NAME ACCESS DESCRIPTION VC enable. This bit is used by software to enable this VC resource. Writing a 1b to this bit causes the bridge to begin VC negotiation and set bit 1 (VC_PENDING) in the VC resource status register for this VC (offset 176h, see Section 5.26). The default value for this bit is 0b. 31 VC_EN RW 30:27 RSVD R 26:24 VC_ID RW 23:20 RSVD R 19:17 PORT_ARB _SELECT RW Reserved. Returns 0h when read. Virtual channel ID. This field allows software to assign a VC ID to this VC resource. Valid values range from 001b to 111b, because the value 000b is hardware-fixed to VC0 within the device. The default value for this field is 001b. Reserved. Returns 0h when read. Port arbitration select. This read/write field allows software to define the mechanism used for port arbitration by the bridge on this VC. The value written to this field indicates the bit position within bits 7:0 (PORT_ARB_CAP) in the VC resource capability register for this VC (offset 16Ch, see Section 5.24) that corresponds to the selected arbitration scheme. Values that may be written to this field include: 000 = Hardware-fixed round-robin (default) 100 = Time-based WRR with 128 phases All other values are reserved for arbitrations schemes that are not supported by the bridge. 16 LOAD_PORT _TABLE RW 15:8 RSVD R Load port arbitration table. When software writes a 1b to this bit, the bridge applies the values written in the port arbitration table for this VC within the extended configuration space to the actual port arbitration tables used by the device for arbitration on this VC. This bit always returns 0b when read. Reserved. Returns 00h when read. TC/VC map. This field indicates all of the traffic classes that are mapped to this VC. A 1b in any bit position indicates that the corresponding traffic class is enabled for this VC. A 0b indicates that the corresponding traffic class is mapped to a different VC. The following table is used: 7:0 TC_VC_MAP RW Bit 0 = Traffic class 0 (This bit is read only and returns a value of 0b) Bit 1 = Traffic class 1 Bit 2 = Traffic class 2 Bit 3 = Traffic class 3 Bit 4 = Traffic class 4 Bit 5 = Traffic class 5 Bit 6 = Traffic class 6 Bit 7 = Traffic class 7 The default value of 00h indicates that none of the eight traffic classes are initially mapped to this VC. 106 SCPS097B November 2005 PCI Express Extended Configuration Space 5.26 VC Resource Status Register (VC1) The VC resource status register allows software to monitor the status of the port arbitration table for this VC. See Table 5−22 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 176h Read-only 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 5−22. VC Resource Status Register (VC1) Description BIT FIELD NAME ACCESS DESCRIPTION 15:2 RSVD R 1 VC_PENDING RU VC negotiation pending. This bit is asserted when VC negotiation is in progress following a request by software to enable the second VC. 0 PORT_TABLE _STATUS RU Port arbitration table status. This bit is automatically set by hardware when any modification is made to the port arbitration table entries for this VC within the extended configuration space. This bit is cleared by hardware after software has requested a port arbitration table refresh and the refresh has been completed. Reserved. Returns 00 0000 0000 0000b when read. 5.27 VC Arbitration Table The VC arbitration table is provided to allow software to define round-robin weighting for traffic targeting the PCI Express port. The table is divided into 32 phases. See Table 5−24 for a complete description of the register contents. PCI Express extended register offset: Register type: Default value: 180h – 18Ch Read-only, Read/Write 0000 0000h Table 5−23. VC Arbitration Table REGISTER FORMAT OFFSET Phase 7 Phase 6 Phase 5 Phase 4 Phase 3 Phase 2 Phase 1 Phase 0 180h Phase 15 Phase 14 Phase 13 Phase 12 Phase 11 Phase 10 Phase 9 Phase 8 184h Phase 23 Phase 22 Phase 21 Phase 20 Phase 19 Phase 18 Phase 17 Phase 16 188h Phase 31 Phase 30 Phase 29 Phase 28 Phase 27 Phase 26 Phase 25 Phase 24 18Ch Each phase consists of a four-bit field as indicated below. BIT NUMBER 3 2 1 0 RESET STATE 0 0 0 0 Table 5−24. VC Arbitration Table Entry Description BIT FIELD NAME ACCESS 3 RSVD R 2:0 VC_ARB_ID RW November 2005 DESCRIPTION Reserved. Returns 0b when read. Virtual channel ID. This 3-bit field is used by software to identify the VC ID that must be allocated this slot of arbitration bandwidth depending upon the VC arbitration scheme enabled. The default value for this field is 000b. SCPS097B 107 PCI Express Extended Configuration Space 5.28 Port Arbitration Table (VC1) The port arbitration table is provided to allow software to define round-robin weighting for traffic entering the PCI interface. The table is divided into 128 phases. PCI Express extended register offset: Register type: Default value: 1C0h – 1FCh Read/Write 0000 0000h Table 5−25. Port Arbitration Table REGISTER FORMAT Phase 7 Phase 6 Phase 5 Phase 4 Phase 15 Phase 14 Phase 13 Phase 23 Phase 22 Phase 21 Phase 31 Phase 30 Phase 39 Phase 47 OFFSET Phase 3 Phase 2 Phase 12 Phase 11 Phase 10 Phase 20 Phase 19 Phase 18 Phase 29 Phase 28 Phase 27 Phase 26 Phase 38 Phase 37 Phase 36 Phase 35 Phase 46 Phase 45 Phase 44 Phase 43 Phase 55 Phase 54 Phase 53 Phase 52 Phase 63 Phase 62 Phase 61 Phase 60 Phase 71 Phase 70 Phase 69 Phase 79 Phase 78 Phase 87 Phase 86 Phase 1 Phase 0 1C0h Phase 9 Phase 8 1C4h Phase 17 Phase 16 1C8h Phase 25 Phase 24 1CCh Phase 34 Phase 33 Phase 32 1D0h Phase 42 Phase 41 Phase 40 1D4h Phase 51 Phase 50 Phase 49 Phase 48 1D8h Phase 59 Phase 58 Phase 57 Phase 56 1DCh Phase 68 Phase 67 Phase 66 Phase 65 Phase 64 1E0h Phase 77 Phase 76 Phase 75 Phase 74 Phase 73 Phase 72 1E4h Phase 85 Phase 84 Phase 83 Phase 82 Phase 81 Phase 80 1E8h Phase 95 Phase 94 Phase 93 Phase 92 Phase 91 Phase 90 Phase 89 Phase 88 1ECh Phase 103 Phase 102 Phase 101 Phase 100 Phase 99 Phase 98 Phase 97 Phase 96 1F0h Phase 111 Phase 110 Phase 109 Phase 108 Phase 107 Phase 106 Phase 105 Phase 104 1F4h Phase 119 Phase 118 Phase 117 Phase 116 Phase 115 Phase 114 Phase 113 Phase 112 1F8h Phase 127 Phase 126 Phase 125 Phase 124 Phase 123 Phase 122 Phase 121 Phase 120 1FCh Each phase consists of a four-bit field as indicated below. BIT NUMBER 3 2 1 0 RESET STATE 0 0 0 0 Table 5−26. Port Arbitration Table Entry Description BIT 3:0 108 FIELD NAME PORT_SELECT SCPS097B ACCESS RW DESCRIPTION Port arbitration select. This 4-bit field is used by software to identify the port ID (secondary PCI device) that must be allocated to this slot of arbitration bandwidth depending upon the port arbitration scheme enabled. The default value for this field is 0h. November 2005 Memory-Mapped TI Proprietary Register Space 6 Memory-Mapped TI Proprietary Register Space The programming model of the memory-mapped TI proprietary register space is unique to this device. These custom registers are specifically designed to provide enhanced features associated with upstream isochronous applications. All bits marked with a k are sticky bits and are reset by a global reset (GRST) or the internally-generated power-on reset. All bits marked with a † are reset by a PCI Express reset (PERST), a GRST or the internally-generated power-on reset. The remaining register bits are reset by a PCI Express hot reset, PERST, GRST, or the internally-generated power-on reset. Table 6−1. Device Control Memory Window Register Map REGISTER NAME Upstream isochrony capabilities OFFSET Revision ID Device control map ID Reserved Upstream isochrony control Reserved Upstream isochronous window 0 control 00h 04h 08h Upstream isochronous window 0 base address 0Ch Upstream isochronous window 0 limit 10h Reserved Upstream isochronous window 1 control 14h Upstream isochronous window 1 base address 18h Upstream isochronous window 1 limit 1Ch Reserved Upstream isochronous window 2 control 20h Upstream isochronous window 2 base address 24h Upstream isochronous window 2 limit 28h Reserved Upstream isochronous window 3 control 2Ch Upstream isochronous window 3 base address 30h Upstream isochronous window 3 limit 34h Reserved 38h−3Ch GPIO data† Serial-bus control and status† GPIO control† Serial-bus slave address† 40h Serial-bus word address† Serial-bus data† Reserved Serial IRQ mode control† Serial IRQ edge control† Reserved 44h Serial IRQ status 48h 4Ch † One or more bits in this register are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 6.1 Device Control Map ID Register The device control map ID register identifies the TI proprietary layout for this device control map. The value 01h identifies this as a PCI Express-to-PCI bridge supporting upstream isochronous capabilities. Device control memory window register offset: Register type: Default value: 00h Read-only 01h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 1 November 2005 SCPS097B 109 Memory-Mapped TI Proprietary Register Space 6.2 Revision ID Register The revision ID register identifies the revision of the TI proprietary layout for this device control map. The value 00h identifies the revision as the initial layout. Device control memory window register offset: Register type: Default value: 6.3 01h Read-only 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 Upstream Isochrony Capabilities Register The upstream isochronous capabilities register provides software information regarding the capabilities supported by this bridge. See Table 6−2 for a complete description of the register contents. Device control memory window register offset: Register type: Default value: 02h Read-only 0004h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 Table 6−2. Upstream Isochronous Capabilities Register Description BIT FIELD NAME ACCESS 15:4 RSVD R Reserved. Returns 000h when read. 3:0 ISOC_WINDOW_COUNT R Isochronous window count. This 4-bit field indicates the number of isochronous address windows supported. The value 0100b indicates that 4 separate windows are supported by the bridge. 110 SCPS097B DESCRIPTION November 2005 Memory-Mapped TI Proprietary Register Space 6.4 Upstream Isochrony Control Register The upstream isochrony control register allows software to control bridge isochronous behavior. See Table 6−3 for a complete description of the register contents. Device control memory window register offset: Register type: Default value: 04h Read-only, Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 6−3. Upstream Isochrony Control Register Description BIT FIELD NAME ACCESS 15:3 RSVD R 2 PORTARB_LEVEL_2_EN RW DESCRIPTION Reserved. Returns 0 0000 0000 0000b when read. Port arbitration level 2 enable. This bit is only valid if PORTARB_LEVEL_1_EN is set to 1b, because this enhances the behavior enabled through the assertion of that bit. If PORTARB_LEVEL_1_EN is clear, then this bit is read-only and returns 0b when read. 0 = Arbiter behavior follows PORTARB_LEVEL_1_EN rules (default) 1 = Aggressive mode. The arbiter deliberately stops secondary bus masters in the middle of their transaction to assure that isochrony is preserved. Port arbitration level 1 enable. 1 PORTARB_LEVEL_1_EN 0 November 2005 ISOC_ENABLE RW RW 0 = Arbiter behavior is controlled only by the arbiter control registers within the classic PCI configuration space (default) 1 = Values programmed within the port arbitration table for extended VCs impact the arbiter’s decision to assert GNT to any particular bus master. Programmed values in the arbiter control registers within the classic PCI configuration space have no effect when this bit is asserted. Isochronous enable. Global enable bit for the upstream isochronous capability of the bridge. 0 = Mapping of upstream traffic to TCs other than TC0 prohibited (default) 1 = Mapping of upstream traffic to TCs other than TC0 permitted SCPS097B 111 Memory-Mapped TI Proprietary Register Space 6.5 Upstream Isochronous Window 0 Control Register The upstream isochronous window 0 control register allows software to identify the traffic class (TC) associated with upstream transactions targeting memory addresses in the range defined by the window. See Table 6−4 for a complete description of the register contents. Device control memory window register offset: Register type: Default value: 08h Read-only, Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 6−4. Upstream Isochronous Window 0 Control Register Description BIT FIELD NAME ACCESS 15:4 RSVD R 3:1 TC_ID RW DESCRIPTION Reserved. Returns 000h when read. Traffic class ID. ID of the traffic class that upstream transactions targeting the range defined by the associated window must be mapped to. The default value for this field is 000b. Isochronous window enable. 0 6.6 ISOC_WINDOW_EN 0 = Address window does not impact upstream traffic (default) 1 = Upstream transactions targeting addresses within the range of this window are applied to the appropriate TC RW Upstream Isochronous Window 0 Base Address Register The upstream isochronous window 0 base address register allows software to configure the base address for this upstream isochronous window. The entire 32-bit field is read/write and acts as scratchpad space if the window is disabled. Device control memory window register offset: Register type: Default value: 6.7 0Ch Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Upstream Isochronous Window 0 Limit Register The upstream isochronous window 0 limit register allows software to configure the upper address bound for this upstream isochronous window. The entire 32-bit field is read/write and acts as scratchpad space if the window is disabled. Device control memory window register offset: Register type: Default value: 112 10h Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SCPS097B November 2005 Memory-Mapped TI Proprietary Register Space 6.8 Upstream Isochronous Window 1 Control Register The upstream isochronous window 1 control register allows software to identify the TC associated with upstream transactions targeting memory addresses in the range defined by the window. See Table 6−5 for a complete description of the register contents. Device control memory window register offset: Register type: Default value: 14h Read-only, Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 6−5. Upstream Isochronous Window 1 Control Register Description BIT FIELD NAME ACCESS 15:4 RSVD R 3:1 TC_ID RW DESCRIPTION Reserved. Returns 000h when read. Traffic class ID. ID of the traffic class that upstream transactions targeting the range defined by the associated window must be mapped to. The default value for this field is 000b. Isochronous window enable. 0 6.9 ISOC_WINDOW_EN 0 = Address window does not impact upstream traffic (default) 1 = Upstream transactions targeting addresses within the range of this window are applied to the appropriate TC RW Upstream Isochronous Window 1 Base Address Register The upstream isochronous window 1 base address register allows software to configure the base address for this upstream isochronous window. The entire 32-bit field is read/write and acts as scratchpad space if the window is disabled. Device control memory window register offset: Register type: Default value: 18h Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6.10 Upstream Isochronous Window 1 Limit Register The upstream isochronous window 1 limit register allows software to configure the upper address bound for this upstream isochronous window. The entire 32-bit field is read/write and acts as scratchpad space if the window is disabled. Device control memory window register offset: Register type: Default value: 1Ch Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 November 2005 SCPS097B 113 Memory-Mapped TI Proprietary Register Space 6.11 Upstream Isochronous Window 2 Control Register The upstream isochronous window 2 control register allows software to identify the TC associated with upstream transactions targeting memory addresses in the range defined by the window. See Table 6−6 for a complete description of the register contents. Device control memory window register offset: Register type: Default value: 20h Read-only, Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 6−6. Upstream Isochronous Window 2 Control Register Description BIT FIELD NAME ACCESS 15:4 RSVD R 3:1 TC_ID RW DESCRIPTION Reserved. Returns 000h when read. Traffic class ID. ID of the traffic class that upstream transactions targeting the range defined by the associated window must be mapped to. The default value for this field is 000b. Isochronous window enable. 0 ISOC_WINDOW_EN 0 = Address window does not impact upstream traffic (default) 1 = Upstream transactions targeting addresses within the range of this window are applied to the appropriate TC RW 6.12 Upstream Isochronous Window 2 Base Address Register The upstream isochronous window 2 base address register allows software to configure the base address for this upstream isochronous window. The entire 32-bit field is read/write and acts as scratchpad space if the window is disabled. Device control memory window register offset: Register type: Default value: 24h Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6.13 Upstream Isochronous Window 2 Limit Register The upstream isochronous window 2 limit register allows software to configure the upper address bound for this upstream isochronous window. The entire 32-bit field is read/write and acts as scratchpad space if the window is disabled. Device control memory window register offset: Register type: Default value: 114 28h Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SCPS097B November 2005 Memory-Mapped TI Proprietary Register Space 6.14 Upstream Isochronous Window 3 Control Register The upstream isochronous window 3 control register allows software to identify the TC associated with upstream transactions targeting memory addresses in the range defined by the window. See Table 6−7 for a complete description of the register contents. Device control memory window register offset: Register type: Default value: 2Ch Read-only, Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 6−7. Upstream Isochronous Window 3 Control Register Description BIT FIELD NAME ACCESS 15:4 RSVD R 3:1 TC_ID RW DESCRIPTION Reserved. Returns 000h when read. Traffic class ID. ID of the traffic class that upstream transactions targeting the range defined by the associated window must be mapped to. The default value for this field is 000b. Isochronous window enable. 0 ISOC_WINDOW_EN 0 = Address window does not impact upstream traffic (default) 1 = Upstream transactions targeting addresses within the range of this window are applied to the appropriate TC RW 6.15 Upstream Isochronous Window 3 Base Address Register The upstream isochronous window 3 base address register allows software to configure the base address for this upstream isochronous window. The entire 32-bit field is read/write and acts as scratchpad space if the window is disabled. Device control memory window register offset: Register type: Default value: 30h Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6.16 Upstream Isochronous Window 3 Limit Register The upstream isochronous window 3 limit register allows software to configure the upper address bound for this upstream isochronous window. The entire 32-bit field is read/write and acts as scratchpad space if the window is disabled. Device control memory window register offset: Register type: Default value: 34h Read/Write 0000 0000h BIT NUMBER 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 November 2005 SCPS097B 115 Memory-Mapped TI Proprietary Register Space 6.17 GPIO Control Register This register controls the direction of the eight GPIO terminals. This register has no effect on the behavior of GPIO terminals that are enabled to perform secondary functions. The secondary functions share GPIO0 (CLKRUN), GPIO1 (PWR_OVRD), GPIO4 (SCL), and GPIO5 (SDA). This register is an alias of the GPIO control register in the classic PCI configuration space (offset B4h, see Section 4.59). See Table 6−8 for a complete description of the register contents. Device control memory window register offset: Register type: Default value: 40h Read-only, Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 6−8. GPIO Control Register Description BIT FIELD NAME ACCESS 15:8 RSVD R 7† GPIO7_DIR RW 6† GPIO6_DIR RW 5† GPIO5_DIR RW 4† GPIO4_DIR RW 3† GPIO3_DIR RW 2† GPIO2_DIR RW 1† GPIO1_DIR RW 0† GPIO0_DIR RW DESCRIPTION Reserved. Returns 00h when read. GPIO 7 data direction. This bit selects whether GPIO7 is in input or output mode. 0 = Input (default) 1 = Output GPIO 6 data direction. This bit selects whether GPIO6 is in input or output mode. 0 = Input (default) 1 = Output GPIO 5 data direction. This bit selects whether GPIO5 is in input or output mode. 0 = Input (default) 1 = Output GPIO 4 data direction. This bit selects whether GPIO4 is in input or output mode. 0 = Input (default) 1 = Output GPIO 3 data direction. This bit selects whether GPIO3 is in input or output mode. 0 = Input (default) 1 = Output GPIO 2 data direction. This bit selects whether GPIO2 is in input or output mode. 0 = Input (default) 1 = Output GPIO 1 data direction. This bit selects whether GPIO1 is in input or output mode. 0 = Input (default) 1 = Output GPIO 0 data direction. This bit selects whether GPIO0 is in input or output mode. 0 = Input (default) 1 = Output † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 116 SCPS097B November 2005 Memory-Mapped TI Proprietary Register Space 6.18 GPIO Data Register This register reads the state of the input mode GPIO terminals and changes the state of the output mode GPIO terminals. Writing to a bit that is in input mode or is enabled for a secondary function is ignored. The secondary functions share GPIO0 (CLKRUN), GPIO1 (PWR_OVRD), GPIO4 (SCL), and GPIO5 (SDA). The default value at power up depends on the state of the GPIO terminals as they default to general-purpose inputs. This register is an alias of the GPIO data register in the classic PCI configuration space (offset B6h, see Section 4.60). See Table 6−9 for a complete description of the register contents. Device control memory window register offset: Register type: Default value: 42h Read-only, Read/Write 00XXh BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 x x x x x x x x Table 6−9. GPIO Data Register Description BIT FIELD NAME ACCESS 15:8 RSVD R DESCRIPTION 7† GPIO7_Data RW GPIO 7 data. This bit reads the state of GPIO7 when in input mode or changes the state of GPIO7 when in output mode. 6† GPIO6_Data RW GPIO 6 data. This bit reads the state of GPIO6 when in input mode or changes the state of GPIO6 when in output mode. 5† GPIO5_Data RW GPIO 5 data. This bit reads the state of GPIO5 when in input mode or changes the state of GPIO5 when in output mode. 4† GPIO4_Data RW GPIO 4 data. This bit reads the state of GPIO4 when in input mode or changes the state of GPIO4 when in output mode. 3† GPIO3_Data RW GPIO 3 data. This bit reads the state of GPIO3 when in input mode or changes the state of GPIO3 when in output mode. 2† GPIO2_Data RW GPIO 2 data. This bit reads the state of GPIO2 when in input mode or changes the state of GPIO2 when in output mode. 1† GPIO1_Data RW GPIO 1 data. This bit reads the state of GPIO1 when in input mode or changes the state of GPIO1 when in output mode. 0† GPIO0_Data RW GPIO 0 data. This bit reads the state of GPIO0 when in input mode or changes the state of GPIO0 when in output mode. Reserved. Returns 00h when read. † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 6.19 Serial-Bus Data Register The serial-bus data register reads and writes data on the serial-bus interface. Write data is loaded into this register prior to writing the serial-bus slave address register that initiates the bus cycle. When reading data from the serial bus, this register contains the data read after bit 5 (REQBUSY) in the serial-bus control and status register (offset 47h, see Section 6.22) is cleared. This register is an alias for the serial-bus data register in the PCI header (offset B0h, see Section 4.55). This register is reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. Device control memory window register offset: Register type: Default value: 44h Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 November 2005 SCPS097B 117 Memory-Mapped TI Proprietary Register Space 6.20 Serial-Bus Word Address Register The value written to the serial-bus word address register represents the word address of the byte being read from or written to on the serial-bus interface. The word address is loaded into this register prior to writing the serial-bus slave address register that initiates the bus cycle. This register is an alias for the serial-bus word address register in the PCI header (offset B1h, see Section 4.56). This register is reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. Device control memory window register offset: Register type: Default value: 45h Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 6.21 Serial-Bus Slave Address Register The serial-bus slave address register indicates the address of the device being targeted by the serial-bus cycle. This register also indicates if the cycle will be a read or a write cycle. Writing to this register initiates the cycle on the serial interface. This register is an alias for the serial-bus slave address register in the PCI header (offset B2h, see Section 4.57). See Table 6−10 for a complete description of the register contents. Device control memory window register offset: Register type: Default value: 46h Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 Table 6−10. Serial-Bus Slave Address Register Description BIT FIELD NAME ACCESS 7:1† SLAVE_ADDR RW 0† RW_CMD RW DESCRIPTION Serial-bus slave address. This 7-bit field is the slave address for a serial-bus read or write transaction. The default value for this field is 000 0000b. Read/write command. This bit determines if the serial-bus cycle is a read or a write cycle. 0 = A single byte write is requested (default) 1 = A single byte read is requested † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 118 SCPS097B November 2005 Memory-Mapped TI Proprietary Register Space 6.22 Serial-Bus Control and Status Register The serial-bus control and status register controls the behavior of the serial-bus interface. This register also provides status information about the state of the serial-bus. This register is an alias for the serial-bus control and status register in the PCI header (offset B3h, see Section 4.58). See Table 6−11 for a complete description of the register contents. Device control memory window register offset: Register type: Default value: 47h Read-only, Read/Write, Read/Clear 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 Table 6−11. Serial-Bus Control and Status Register Description BIT FIELD NAME ACCESS 7† PROT_SEL RW 6 RSVD R DESCRIPTION Protocol select. This bit selects the serial-bus address mode used. 5† 4† REQBUSY ROMBUSY RU RU 0 = Slave address and word address are sent on the serial-bus (default) 1 = Only the slave address is sent on the serial-bus Reserved. Returns 0b when read. Requested serial-bus access busy. This bit is set when a software-initiated serial-bus cycle is in progress. 0 = No serial-bus cycle 1 = Serial-bus cycle in progress Serial EEPROM access busy. This bit is set when the serial EEPROM circuitry in the bridge is downloading register defaults from a serial EEPROM. 0 = No EEPROM activity 1 = EEPROM download in progress Serial EEPROM detected. This bit enables the serial-bus interface. The value of this bit controls whether the GPIO4//SCL and GPIO5//SDA terminals are configured as GPIO signals or as serial-bus signals. This bit is automatically set to 1b when a serial EEPROM is detected. 3† SBDETECT RWU Note: A serial EEPROM is only detected once following PERST. 0 = No EEPROM present, EEPROM load process does not happen. GPIO4//SCL and GPIO5//SDA terminals are configured as GPIO signals. 1 = EEPROM present, EEPROM load process takes place. GPIO4//SCL and GPIO5//SDA terminals are configured as serial-bus signals. 2† SBTEST RW 1† SB_ERR RCU Serial-bus test. This bit is used for internal test purposes. This bit controls the clock source for the serial interface clock. 0 = Serial-bus clock at normal operating frequency ~ 60 kHz (default) 1 = Serial-bus clock frequency increased for test purposes ~ 4 MHz Serial-bus error. This bit is set when an error occurs during a software-initiated serial-bus cycle. 0† ROM_ERR RCU 0 = No error 1 = Serial-bus error Serial EEPROM load error. This bit is set when an error occurs while downloading registers from a serial EEPROM. 0 = No Error 1 = EEPROM load error † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 119 Memory-Mapped TI Proprietary Register Space 6.23 Serial IRQ Mode Control Register This register controls the behavior of the serial IRQ controller. This register is an alias for the serial IRQ mode control register in the classic PCI configuration space (offset E0h, see Section 4.72). See Table 6−12 for a complete description of the register contents. Device control memory window register offset: Register type: Default value: 48h Read-only, Read/Write 00h BIT NUMBER 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 Table 6−12. Serial IRQ Mode Control Register Description BIT FIELD NAME ACCESS 7:4 RSVD R DESCRIPTION Reserved. Returns 0h when read. Start frame pulse width. Used to set the width of the start frame for a SERIRQ stream. 3:2† START_WIDTH RW 1† POLLMODE RW 0† DRIVEMODE RW 00 = 4 clocks (default) 01 = 6 clocks 10 = 8 clocks 11 = Reserved Poll mode. This bit selects between continuous and quiet mode. 0 = Continuous mode (default) 1 = Quiet mode Drive mode. This bit selects the behavior of the serial IRQ controller during the recovery cycle. 0 = Drive high (default) 1 = Tri-state † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 120 SCPS097B November 2005 Memory-Mapped TI Proprietary Register Space 6.24 Serial IRQ Edge Control Register This register controls the edge mode of each IRQ in the serial IRQ stream. This register is an alias for the serial IRQ edge control register in the classic PCI configuration space (offset E2h, see Section 4.73). See Table 6−13 for a complete description of the register contents. Device control memory window register offset: Register type: Default value: 4Ah Read/Write 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 6−13. Serial IRQ Edge Control Register Description BIT FIELD NAME ACCESS DESCRIPTION IRQ 15 edge mode 15† IRQ15_MODE RW 14† IRQ14_MODE RW 13† IRQ13_MODE RW 12† IRQ12_MODE RW 11† IRQ11_MODE RW 10† IRQ10_MODE RW 9† IRQ9_MODE RW 8† IRQ8_MODE RW 7† IRQ7_MODE RW 6† IRQ6_MODE RW 5† IRQ5_MODE RW 4† IRQ4_MODE RW 0 = Edge mode (default) 1 = Level mode IRQ 14 edge mode 0 = Edge mode (default) 1 = Level mode IRQ 13 edge mode 0 = Edge mode (default) 1 = Level mode IRQ 12 edge mode 0 = Edge mode (default) 1 = Level mode IRQ 11 edge mode 0 = Edge mode (default) 1 = Level mode IRQ 10 edge mode 0 = Edge mode (default) 1 = Level mode IRQ 9 edge mode 0 = Edge mode (default) 1 = Level mode IRQ 8 edge mode 0 = Edge mode (default) 1 = Level mode IRQ 7 edge mode 0 = Edge mode (default) 1 = Level mode IRQ 6 edge mode 0 = Edge mode (default) 1 = Level mode IRQ 5 edge mode 0 = Edge mode (default) 1 = Level mode IRQ 4 edge mode 0 = Edge mode (default) 1 = Level mode † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. November 2005 SCPS097B 121 Memory-Mapped TI Proprietary Register Space Table 6−13. Serial IRQ Edge Control Register Description (Continued) BIT FIELD NAME ACCESS 3† IRQ3_MODE RW 2† IRQ2_MODE RW 1† IRQ1_MODE RW 0† IRQ0_MODE RW DESCRIPTION IRQ 3 edge mode 0 = Edge mode (default) 1 = Level mode IRQ 2 edge mode 0 = Edge mode (default) 1 = Level mode IRQ 1 edge mode 0 = Edge mode (default) 1 = Level mode IRQ 0 edge mode 0 = Edge mode (default) 1 = Level mode † These bits are reset by a PCI Express reset (PERST), a GRST, or the internally-generated power-on reset. 6.25 Serial IRQ Status Register This register indicates when a level mode IRQ is signaled on the serial IRQ stream. After a level mode IRQ is signaled, a write-back of 1b to the asserted IRQ status bit re-arms the interrupt. IRQ interrupts that are defined as edge mode in the serial IRQ edge control register are not reported in this status register. This register is an alias for the serial IRQ status register in the classic PCI configuration space (offset E4h, see Section 4.74). See Table 6−14 for a complete description of the register contents. Device control memory window register offset: Register type: Default value: 4Ch Read/Clear 0000h BIT NUMBER 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 RESET STATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Table 6−14. Serial IRQ Status Register Description BIT FIELD NAME ACCESS DESCRIPTION IRQ 15 asserted. This bit indicates that the IRQ has been asserted. 15 IRQ15 RCU 14 IRQ14 RCU 13 IRQ13 RCU 12 IRQ12 RCU 11 IRQ11 RCU 10 IRQ10 RCU 9 IRQ9 RCU 0 = Deasserted 1 = Asserted IRQ 14 asserted. This bit indicates that the IRQ has been asserted. 0 = Deasserted 1 = Asserted IRQ 13 asserted. This bit indicates that the IRQ has been asserted. 0 = Deasserted 1 = Asserted IRQ 12 asserted. This bit indicates that the IRQ has been asserted. 0 = Deasserted 1 = Asserted IRQ 11 asserted. This bit indicates that the IRQ has been asserted. 0 = Deasserted 1 = Asserted IRQ 10 asserted. This bit indicates that the IRQ has been asserted. 0 = Deasserted 1 = Asserted IRQ 9 asserted. This bit indicates that the IRQ has been asserted. 122 SCPS097B 0 = Deasserted 1 = Asserted November 2005 Memory-Mapped TI Proprietary Register Space Table 6−14. Serial IRQ Status Register Description (Continued) BIT FIELD NAME ACCESS 8 IRQ8 RCU 7 IRQ7 RCU 6 IRQ6 RCU 5 IRQ5 RCU 4 IRQ4 RCU 3 IRQ3 RCU 2 IRQ2 RCU 1 IRQ1 RCU 0 IRQ0 RCU DESCRIPTION IRQ 8 asserted. This bit indicates that the IRQ has been asserted. 0 = Deasserted 1 = Asserted IRQ 7 asserted. This bit indicates that the IRQ has been asserted. 0 = Deasserted 1 = Asserted IRQ 6 asserted. This bit indicates that the IRQ has been asserted. 0 = Deasserted 1 = Asserted IRQ 5 asserted. This bit indicates that the IRQ has been asserted. 0 = Deasserted 1 = Asserted IRQ 4 asserted. This bit indicates that the IRQ has been asserted. 0 = Deasserted 1 = Asserted IRQ 3 asserted. This bit indicates that the IRQ has been asserted. 0 = Deasserted 1 = Asserted IRQ 2 asserted. This bit indicates that the IRQ has been asserted. 0 = Deasserted 1 = Asserted IRQ 1 asserted. This bit indicates that the IRQ has been asserted. 0 = Deasserted 1 = Asserted IRQ 0 asserted. This bit indicates that the IRQ has been asserted. November 2005 0 = Deasserted 1 = Asserted SCPS097B 123 Electrical Characteristics 7 Electrical Characteristics 7.1 Absolute Maximum Ratings Over Operating Temperature Ranges † Supply voltage range: VDD_33 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to 3.6 V VDD_15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to 1.65 V VCCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to 5.25 V Input voltage range, VI: PCI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to VCCP + 0.5 V VI: PCI Express (RX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.6 V to 0.6 V VI: PCI Express REFCLK (single-ended) . . . . . . . . . . . . –0.5 V toVDD_33 + 0.5 V VI: PCI Express REFCLK (differential) . . . . . . . . . . . . . . –0.5 V toVDD_15 + 0.5 V VI: Miscellaneous 3.3-V IO . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to VDD_33 + 0.5 V Output voltage range: VO: PCI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to VDD_33 + 0.5 V VO: PCI Express (TX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to VDD_15 + 0.5V VO: Miscellaneous 3.3-V IO . . . . . . . . . . . . . . . . . . . . . . –0.5 V to VDD_33 + 0.5 V Input clamp current, (VI < 0 or VI > VDD) (see Note 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ±20 mA Output clamp current, (VO < 0 or VO > VDD) (see Note 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ±20 mA Human body model (HBM) ESD performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1500 V Charged device model (CDM) ESD performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500 V Storage temperature range, Tstg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –65°C to 150°C † Stresses beyond those listed under absolute maximum ratings may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated under recommended operating conditions is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. NOTES: 1. Applies for external input and bidirectional buffers. VI < 0 or VI > VDD or VI > VCCP. 2. Applies to external output and bidirectional buffers. VO < 0 or VO > VDD or VO > VCCP. 7.2 Recommended Operation Conditions OPERATION VDD_15 VDDA_15 VDD_33 VDDA_33 MIN NOM MAX UNITS Supply voltage 1.5 V 1.35 1.5 1.65 V Supply voltage 3.3 V 3 3.3 3.6 V 3.3 V 3 3.3 3.6 5.0 V 4.75 5 5.25 VDDA_33_AUX VCCP PCI bus clamping rail voltage V TA TJ Operating ambient temperature range 0 25 70 _C Virtual junction temperature (Note 3) 0 25 115 _C NOTE 3: The junction temperature reflects simulated conditions. The customer is responsible for verifying junction temperature. 124 SCPS097B November 2005 Electrical Characteristics 7.3 PCI Express Differential Transmitter Output Ranges PARAMETER UI Unit interval VTX-DIFFp-p Differential peak-to-peak output voltage VTX-DE-RATIO De-emphasized differential output voltage (ratio) TTX-EYE Minimum TX eye width TERMINALS MIN TXP, TXN 399.88 400 MAX UNITS 400.12 ps COMMENTS Each UI is 400 ps ±300 ppm. UI does not account for SSC dictated variations. See Note 4. TXP, TXN TXP, TXN 0.8 −3.0 1.2 −3.5 −4.0 V dB VTX-DIFFp-p = 2*|VTXP − VTXN| See Note 5. This is the ratio of the VTX-DIFFp-p of the second and following bits after a transition divided by the VTX-DIFFp-p of the first bit after a transition. See Note 5. TXP, TXN TTX-EYE-MEDIAN-to-MAX -JITTER Maximum time between the jitter median and maximum deviation from the median TXP, TXN TTX-RISE, TTX-FALL P/N TX output rise/fall time TXP, TXN VTX-CM-ACp RMS ac peak common mode output voltage TXP, TXN VTX-CM-DC-ACTIVE-IDLEDELTA Absolute delta of dc common mode voltage during L0 and electrical idle NOM 0.75 UI 0.15 UI The maximum transmitter jitter can be derived as TTXMAX- JITTER = 1 − TTX-EYE = 0.3 UI See Notes 5 and 6. Jitter is defined as the measurement variation of the crossing points (VTX-DIFFp-p = 0 V) in relation to recovered TX UI. A recovered TX UI is calculated over 3500 consecutive UIs of sample data. Jitter is measured using all edges of the 250 consecutive UIs in the center of the 3500 UIs used for calculating the TX UI. See Notes 5 and 6. 0.125 20 UI See Notes 5 and 8. mV VTX-CM-ACp = RMS(|VTXP + VTXN|/2 – VTX-CM-DC) VTX-CM-DC = DC(avg) of |VTXP + VTXN|/2 See Note 5. |VTX-CM-DC – VTX-CM-Idle-DC| 100 mV TXP, TXN 0 100 mV VTX-CM-DC = DC(avg) of |VTXP + VTXN|/2 [during L0] VTX-CM-Idle-DC = DC(avg) of |VTXP + VTXN|/2 [during electrical idle] See Note 5. |VTXP-CM-DC – VTXN-CM-DC| 25 mV when VTX-CM-DC-LINE-DELTA Absolute delta of dc common mode voltage between P and N TXP, TXN 0 25 mV VTX-IDLE-DIFFp Electrical idle differential peak output voltage TXP, TXN 0 20 mV VTX-IDLE-DIFFp = |VTXP-Idle − VTXN-Idle| 20 mV See Note 5. VTX-RCV-DETECT The amount of voltage change allowed during receiver detection TXP, TXN 600 mV The total amount of voltage change that a transmitter can apply to sense whether a low impedance receiver is present. VTX-DC-CM The TX dc common mode voltage TXP, TXN 3.6 V November 2005 0 VTXP-CM-DC = DC(avg) of |VTXP| VTXN-CM-DC = DC(avg) of |VTXN| See Note 5. The allowed dc common mode voltage under any condition SCPS097B 125 Electrical Characteristics PCI Express Differential Transmitter Output Ranges (continued) PARAMETER ITX-SHORT TX short circuit current limit TTX-IDLE-MIN Minimum time spent in electrical idle TTX-IDLE-SET-to-IDLE Maximum time to transition to a valid electrical idle after sending an electrical idle ordered set TERMINALS MIN NOM TXP, TXN TXP, TXN MAX 90 50 TXP, TXN 20 UNITS COMMENTS mA The total current the transmitter can provide when shorted to its ground. UI Minimum time a transmitter must be in electrical idle. Utilized by the receiver to start looking for an electrical idle exit after successfully receiving an electrical idle ordered set. UI After sending an electrical idle ordered set, the transmitter must meet all electrical idle specifications within this time. This is considered a debounce time for the transmitter to meet electrical idle after transitioning from L0. UI Maximum time to meet all TX specifications when transitioning from electrical idle to sending differential data. This is considered a debounce time for the TX to meet all TX specifications after leaving electrical idle. TTX-IDLE-to-DIFF-DATA Maximum time to transition to valid TX specifications after leaving an electrical idle condition TXP, TXN RLTX-DIFF Differential return loss TXP, TXN 10 dB Measured over 50 MHz to 1.25 GHz. See Note 7. RLTX-CM Common mode return loss TXP, TXN 6 dB Measured over 50 MHz to 1.25 GHz. See Note 7. ZTX-DIFF-DC DC differential TX impedance TXP, TXN 80 Ω TX dc differential mode low impedance ZTX-DC Transmitter dc impedance TXP, TXN 40 Ω Required TXP as well as TXN dc impedance during all states TXP, TXN 75 nF All transmitters are ac-coupled and are required on the PWB. CTX AC coupling capacitor 20 100 120 200 NOTES: 4. No test load is necessarily associated with this value. 5. Specified at the measurement point into a timing and voltage compliance test load and measured over any 250 consecutive TX UIs. 6. A TTX-EYE = 0.75 UI provides for a total sum of deterministic and random jitter budget of TTX-JITTER-MAX = 0.25 UI for the transmitter collected over any 250 consecutive TX UIs. The TTX-EYE-MEDIAN-to-MAX-JITTER specification ensures a jitter distribution in which the median and the maximum deviation from the median is less than half of the total TX jitter budget collected over any 250 consecutive TX UIs. It must be noted that the median is not the same as the mean. The jitter median describes the point in time where the number of jitter points on either side is approximately equal as opposed to the averaged time value. 7. The transmitter input impedance results in a differential return loss greater than or equal to 12 dB and a common mode return loss greater than or equal to 6 dB over a frequency range of 50 MHz to 1.25 GHz. This input impedance requirement applies to all valid input levels. The reference impedance for return loss measurements is 50 Ω to ground for both the P and N line. Note that the series capacitors CTX is optional for the return loss measurement. 8. Measured between 20% and 80% at transmitter package terminals into a test load for both VTXP and VTXN. 126 SCPS097B November 2005 Electrical Characteristics 7.4 PCI Express Differential Receiver Input Ranges PARAMETER UI Unit interval VRX-DIFFp-p Differential input peak-to-peak voltage TRX-EYE Minimum receiver eye width TERMINALS RXP, RXN MIN NOM 399.88 400 MAX 400.12 UNITS ps COMMENTS Each UI is 400 ps ±300 ppm. UI does not account for SSC dictated variations. See Note 9. RXP, RXN RXP, RXN 0.175 1.200 0.4 V UI VRX-DIFFp-p = 2*|VRXP − VRXN| See Note 10. The maximum interconnect media and transmitter jitter that can be tolerated by the receiver is derived as TRX-MAX- JITTER = 1 − TRX-EYE = 0.6 UI See Notes 10 and 11. Jitter is defined as the measurement variation of the crossing points (VRX-DIFFp-p = 0 V) in relation to recovered TX UI. A recovered TX UI is calculated over 3500 consecutive UIs of sample data. Jitter is measured using all edges of the 250 consecutive UIs in the center of the 3500 UIs used for calculating the TX UI. TRX-EYE-MEDIAN-to-MAXJITTER Maximum time between the jitter median and maximum deviation from the median. RXP, RXN VRX-CM-ACp AC peak common mode input voltage RXP, RXN RLRX-DIFF Differential return loss RXP, RXN RLRX-CM Common mode return loss RXP, RXN ZRX-DIFF-DC DC differential input impedance RXP, RXN 80 100 120 Ω ZRX-DC DC input impedance RXP, RXN 40 50 60 Ω Required RXP as well as RXN dc impedance (50 Ω ±20% tolerance) Ω Required RXP as well as RXN dc impedance when the receiver terminations do not have power. 0.3 UI See Notes 10 and 11. 150 mV VRX-CM-ACp = RMS(|VRXP + VRXN|/2 – VRX-CM-DC) VRX-CM-DC = DC(avg) of |VRXP + VRXN|/2 See Note 10. 10 dB Measured over 50 MHz to 1.25 GHz with the P and N lines biased at +300 mV and −300 mV, respectively. See Note 12. 6 dB Measured over 50 MHz to 1.25 GHz with the P and N lines biased at +300 mV and −300 mV, respectively. See Note 12. RX dc differential mode impedance See Note 13. See Notes 10 and 13. ZRX-HIGH-IMP-DC Powered down dc input impedance RXP, RXN VRX-IDLE-DET-DIFFp-p Electrical idle detect threshold RXP, RXN TRX-IDLE-DET-DIFF-ENTER -TIME Unexpected electrical idle enter detect threshold integration time RXP, RXN 200K See Note 14. 65 175 mV VRX-IDLE-DET-DIFFp-p = 2 * |VRXP − VRXN| measured at the receiver package terminals 10 ms An unexpected electrical idle (VRX-DIFFp-p <VRX-IDLE-DET-DIFFp-p) must be recognized no longer than TRX-IDLE-DET-DIFF-ENTER-TIME to signal an unexpected idle condition. NOTES: 9. No test load is necessarily associated with this value. 10. Specified at the measurement point and measured over any 250 consecutive UIs. A test load must be used as the RX device when taking measurements. If the clocks to the RX and TX are not derived from the same reference clock, then the TX UI recovered from 3500 consecutive UIs is used as a reference for the eye diagram. November 2005 SCPS097B 127 Electrical Characteristics 11. A TRX-EYE = 0.40 UI provides for a total sum of 0.60 UI deterministic and random jitter budget for the transmitter and interconnect collected any 250 consecutive UIs. The TRX-EYE-MEDIAN-to-MAX-JITTER specification ensures a jitter distribution in which the median and the maximum deviation from the median is less than half of the total UI jitter budget collected over any 250 consecutive TX UIs. It must be noted that the median is not the same as the mean. The jitter median describes the point in time where the number of jitter points on either side is approximately equal as opposed to the averaged time value. If the clocks to the RX and TX are not derived from the same reference clock, then the TX UI recovered from 3500 consecutive UIs must be used as the reference for the eye diagram. 12. The receiver input impedance results in a differential return loss greater than or equal to 15 dB with the P line biased to 300 mV and the N line biased to −300 mV and a common mode return loss greater than or equal to 6 dB (no bias required) over a frequency range of 50 MHz to 1.25 GHz. This input impedance requirement applies to all valid input levels. The reference impedance for return loss measurements for is 50 Ω to ground for both the P and N line (i.e., as measured by a Vector Network Analyzer with 50-Ω probes). The series capacitors CTX is optional for the return loss measurement. 13. Impedance during all link training status state machine (LTSSM) states. When transitioning from a PCI Express reset to the detect state (the initial state of the LTSSM) there is a 5-ms transition time before receiver termination values must be met on the unconfigured lane of a port. 14. The RX dc common mode impedance that exists when no power is present or PCI Express reset is asserted. This helps ensure that the receiver detect circuit does not falsely assume a receiver is powered on when it is not. This term must be measured at 300 mV above the RX ground. 128 SCPS097B November 2005 Electrical Characteristics 7.5 PCI Express Differential Reference Clock Input Ranges PARAMETER fIN-DIFF Differential input frequency fIN-SE Single-ended input frequency VRX-DIFFp-p Differential input peak-to-peak voltage TERMINALS MIN NOM REFCLK+ REFCLK− REFCLK+ REFCLK+ REFCLK− MAX UNITS COMMENTS 100 MHz The input frequency is 100 MHz + 300 ppm and − 2800 ppm including SSC-dictated variations. 125 MHz The input frequency is 125 MHz ± 300 ppm. 0.175 1.200 V VRX-DIFFp-p = 2*|VREFCLK+ − VREFCLK−| VIH-SE REFCLK+ 0.7 VDDA_33 VDDA_33 V Single-ended, reference clock mode high-level input voltage VIL-SE REFCLK+ 0 0.3 VDDA_33 V Single-ended, reference clock mode low-level input voltage VRX-CM-ACp AC peak common mode input voltage Duty cycle ZRX-DIFF-DC DC differential input impedance ZRX-DC DC input impedance REFCLK+ 140 REFCLK− REFCLK+ REFCLK− REFCLK+ REFCLK− REFCLK+ REFCLK− 40% mV VRX-CM-ACp = RMS( |VREFCLK+ +VREFCLK−|/2 – VRX-CM-DC) VRX-CM-DC =DC(avg) of|VREFCLK++VREFCLK−|/2 Differential and single-ended waveform input duty cycle 60% 20 kΩ REFCLK+/− dc differential mode impedance 20 kΩ REFCLK+ dc single-ended mode impedance NOTE 15: The XIO2000 is compliant with the defined system jitter models for a PCI-Express reference clock and associated TX/RX link. These system jitter models are described in the PCI-Express Jitter Modeling, Revision 1.0RD document. Any usage of the XIO2000 in a system configuration that does not conform to the defined system jitter models requires the system designer to validate the system jitter budgets. November 2005 SCPS097B 129 Electrical Characteristics 7.6 Electrical Characteristics Over Recommended Operating Conditions (PCI Bus) PARAMETER OPERATION TEST CONDITIONS MIN MAX UNITS VIH High-level input voltage (Note 16) VCCP = 3.3 V VCCP = 5.0 V 0.5 VDD_33 0.5 VDD_33 VCCP VCCP Low-level input voltage (Note 16) VCCP = 3.3 V VCCP = 5.0 V 0 VIL 0.3 VDD_33 0 0.3 VDD_33 VI VO Input voltage 0 Output voltage (Note 17) 0 tt VOH Input transition time (trise and tfall) 1 VCCP VDD_33 4 VOL Low-level output voltage (Note 17) IOZ High-impedance, output current (Note 17) II Input current (Note 16) High-level output voltage (Note 17) VDD_33 VDD_33 IOH = −32 mA IOL = 32 mA VCCP = 3.3 V VCCP = 5.0 V VCCP = 3.3 V VI = 0 to VCCP VI = 0 to VCCP ±10 VI = 0 to VCCP VI = 0 to VCCP ±10 VCCP = 5.0 V NOTES: 16. Applies to external inputs and bidirectional buffers. 17. Applies to external outputs and bidirectional buffers. 0.7 VDD_33 V V V V ns V 0.18 VDD_33 ±70 ±70 V A µA µA A Note: This table applies to CLK, CLKOUT6:0, AD31:0, C/BE[3:0], DEVSEL, FRAME, GNT5:0, INTD:A, IRDY, PAR, PERR, REQ5:0, PRST, SERR, STOP, TRDY, SERIRQ, M66EN, and LOCK terminals. 7.7 Electrical Characteristics Over Recommended Operating Conditions (3.3-V I/O) PARAMETER OPERATION TEST CONDITIONS MAX UNITS 0.7VDD_33 VDD_33 0.3 VDD_33 V V VIH VIL High-level input voltage (Note 18) VI VO Input voltage 0 Output voltage (Note 19) 0 VDD_33 VDD_33 tt Vhys Input transition time (trise and tfall) 0 25 ns 0.13VDD_33 V VOH VOL High-level output voltage Low-level output voltage VDD_33 VDD_33 IOH = −4 mA IOL = 4 mA IOZ High-impedance, output current (Note 19) VDD_33 IOZP High-impedance, output current with internal pullup or pulldown (Note 22) VDD_33 Low-level input voltage (Note 18) VDD_33 VDD_33 MIN 0 Input hysteresis (Note 21) 0.8VDD_33 V V V 0.22VDD_33 V VI = 0 to VDD_33 ±20 µA VI = 0 to VDD_33 ±100 µA ±1 µA II Input current (Note 20) VDD_33 VI = 0 to VDD_33 NOTES: 18. Applies to external inputs and bidirectional buffers. 19. Applies to external outputs and bidirectional buffers. 20. Applies to external input buffers. 21. Applies to PERST, GRST, and PME. 22. Applies to GRST (pullup), EXT_ARB_EN (pulldown), CLKRUN_EN (pulldown), and most GPIO (pullup). Note: This table applies to PERST, WAKE, REFCLK_SEL, PME, CLKRUN_EN, EXT_ARB_EN, GRST, GPIO7:0, and all RSVD input terminals. 130 SCPS097B November 2005 Electrical Characteristics 7.8 PCI Clock Timing Requirements Over Recommended Operating Conditions 33 MHZ PARAMETER MIN 66 MHZ MAX MIN 1 UNITS MAX tc twH Cycle time, CLK 30 Pulse duration (width), CLK high 11 6 ns twL trise tfall Pulse duration (width), CLK low 11 6 ns tdc tskew CLKOUT6:0 duty cycle CLKOUT6:0 skew between clock outputs 0.5 0.5 ns tsu Setup time, CLKOUT6:0 stable before PRST is deasserted 100 100 µs 7.9 Slew rate, CLK 15 30 1.5 4 1.5 4 40% 60% 40% 60% ns V/ns PCI Bus Timing Requirements Over Recommended Operating Conditions PARAMETER TEST CONDITION 33 MHZ MIN 66 MHZ MAX CL = 50 pF MIN UNITS MAX 11 tpd CLK to shared signal valid propagation delay time CLK to shared signal invalid propagation delay time CL = 50 pF CL = 30 pF 2 tpd Enable time, high-impedance-to-active delay time from CLK CL = 50 pF CL = 30 pF 2 ton toff Disable time, active-to-high-impedance delay time from CLK tsu th Setup time on shared signals before CLK valid (rising edge) 7 3 ns Hold time on shared signals after CLK valid (rising edge) 0 0 ns CL = 30 pF 6 ns 1 ns 1 CL = 50 pF ns 28 CL = 30 pF 14 ns Note: The PCI shared signals are AD31:0, C/BE3:0, FRAME, TRDY, IRDY, STOP, IDSEL, DEVSEL, LOCK, SERIRQ, PAR, PERR, SERR, and CLKRUN. November 2005 SCPS097B 131 Electrical Characteristics 7.10 PCI Bus Parameter Measurement Information LOAD CIRCUIT PARAMETERS TIMING PARAMETER tPZH ten tPZL tPHZ tdis tPLZ tpd CLOAD† (pF) IOL (mA) IOH (mA) VLOAD (V) 30/50 12 −12 0 3 30/50 12 −12 1.5 30/50 12 −12 ‡ IOL From Output Under Test Test Point VLOAD CLOAD † CLOAD includes the typical load-circuit distributed capacitance. IOH ‡ VLOAD − VOL = 50 Ω, where V OL = 0.6 V, IOL = 12 mA IOL LOAD CIRCUIT VDD Timing Input (see Note A ) 50% VDD 0V tsu Data 90% VDD Input 10% VDD High-Level Input th 0V tf Low-Level Input VOLTAGE WAVEFORMS SETUP AND HOLD TIMES INPUT RISE AND FALL TIMES 50% VDD tPLZ tpd 50% VDD tpd 50% VDD VOH 50% VDD VOL tpd VOH 50% VDD VOL VOLTAGE WAVEFORMS PROPAGATION DELAY TIMES Waveform 1 (see Note B) 50% VDD tPHZ tPZH Waveform 2 (see Note B) 50% VDD 0V tPZL 0V In-Phase Output VDD 50% VDD 0V VDD Output Control (low-level enabling) 50% VDD tpd Out-of-Phase Output 50% VDD VOLTAGE WAVEFORMS PULSE DURATION VDD 50% VDD VDD 50% VDD 0V tw VDD 50% VDD 50% VDD tr Input (see Note A) 50% VDD 50% VDD VDD ≈ 50% VDD VOL + 0.3 V VOL VOH VOH − 0.3 V ≈ 50% VDD 0V VOLTAGE WAVEFORMS ENABLE AND DISABLE TIMES, 3-STATE OUTPUTS NOTES: A. Phase relationships between waveforms were chosen arbitrarily. All input pulses are supplied by pulse generators having the following characteristics: PRR = 1 MHz, ZO = 50 Ω, tr ≤ 6 ns, tf ≤ 6 ns. B. Waveform 1 is for an output with internal conditions such that the output is low except when disabled by the output control. Waveform 2 is for an output with internal conditions such that the output is high except when disabled by the output control. C. For tPLZ and tPHZ, VOL and VOH are measured values. Figure 7−1. Load Circuit And Voltage Waveforms 132 SCPS097B November 2005 Electrical Characteristics 7.11 PCI Bus Parameter Measurement Information twH twL 2V 2 V min Peak-to-Peak 0.8 V tfall trise tc Figure 7−2. CLK Timing Waveform CLK tw PRST tsu Figure 7−3. PRST Timing Waveforms CLK 1.5 V tpd PCI Output tpd 1.5 V Valid ton PCI Input toff Valid tsu th Figure 7−4. Shared Signals Timing Waveforms November 2005 SCPS097B 133 Glossary 8 Glossary ACRONYM DEFINITION BIST Built-in self test ECRC EEPROM End-to-end cyclic redundancy code Electrically erasable programmable read-only memory GP GPIO General purpose General-purpose input output ID IF IO I2S Identification Interface Input output Inter IC sound LPM LSB Link power management Least significant bit MSB MSI Most significant bit Message signaled interrupts PCI Peripheral component interface PME PCI power management event QoS Quality-of-service RX Receive SCL SDA Serial-bus clock Serial-bus data TC TLP TX Traffic class Transaction layer packet or protocol Transmit VC Virtual channel WRR Weighted round-robin 134 SCPS097B November 2005 Mechanical Data 9 Mechanical Data The XIO2000 device is available in the 201-ball MicroStar BGA package (GZZ) or the 201-ball lead-free (Pb atomic number 82) MicroStar BGA package (ZZZ). The following figures show the mechanical dimensions for the packages. The GZZ and ZZZ packages are mechanically identical. November 2005 SCPS097B 135 PACKAGE OPTION ADDENDUM www.ti.com 13-Apr-2006 PACKAGING INFORMATION Orderable Device Status (1) XIO2000GZZ NRND BGA MI CROSTA R GZZ 201 TBD Call TI Call TI XIO2000ZZZ NRND BGA MI CROSTA R ZZZ 201 TBD Call TI Call TI Package Type Package Drawing Pins Package Eco Plan (2) Qty Lead/Ball Finish MSL Peak Temp (3) (1) The marketing status values are defined as follows: ACTIVE: Product device recommended for new designs. LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect. NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design. PREVIEW: Device has been announced but is not in production. Samples may or may not be available. OBSOLETE: TI has discontinued the production of the device. (2) Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability information and additional product content details. TBD: The Pb-Free/Green conversion plan has not been defined. Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes. Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above. Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material) (3) MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature. Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release. In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis. Addendum-Page 1