IDT 89HPES12T3G2, 89HPES16T4G2, PCI Express Preliminary User's Manual

®
IDT™ 89HPES12T3G2
PCI Express® Switch
Preliminary User Manual
January 2013
6024 Silver Creek Valley Road, San Jose, California 95138
Telephone: (800) 345-7015 • (408) 284-8200 • FAX: (408) 284- 2775
©2013 Integrated Device Technology, Inc.
Printed in U.S.A.
Integrated Device Technology, Inc. reserves t he right to make changes to its produc ts or specifications at any time, without notice, in order to improve design or perf or mance and to supply th e best possible product. IDT does not assume any responsibility for use of any circui try described other than the circuitry embodied in an IDT product. The Company makes no representations that circuitry described herein is free from patent infringement or other rights of third parties which may result from its use . N o license is granted by implication or otherwise under any patent, patent rights or other rights, of Integrated Device Technology, Inc.
GENERAL DISCLAIMER
Code examples provided by IDT are for illustrative purposes only and should not be relied upon for developing applications. Any use of the code examples below is completely at your own risk. IDT MAKES NO REPRESENTA TIONS OR W AR RANTIE S OF ANY KIND CONCERNI NG THE NONINFR INGEMENT, QUALIT Y, SAFET Y OR SUITABILITY OF THE CODE, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITA T ION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICU­LAR PURPOSE, OR NON-INFRINGEMENT. FURTHER, IDT MAKES NO REP RESENTA TI ONS OR W ARRANTI ES AS T O THE TRUT H, ACCURACY OR COMPLETENES S OF ANY STATEMENTS, INFORMATION OR MATERIALS CONCERNING CODE EXAMPLES CONTAINED IN ANY IDT PUBLICATION OR PUBLIC DISCLOSURE OR THAT IS CONTAINED ON ANY IDT INTERNET SITE. IN NO EVENT WILL IDT BE LIABLE FOR ANY DIRECT, CONSEQUENTIAL, INCIDENTAL, INDIRECT, PUNITIVE OR SPECIAL DAMAGES, HOWEVER THEY MAY ARISE, AND EVEN IF IDT HAS BEEN PREVIOUSLY ADVISED ABOUT THE POSSIBILITY OF SUCH DAMAGES. The code examples also ma y b e s ubj ec t t o Uni te d S ta tes ex po rt c on trol l aw s an d m ay b e s ubj ect t o the e xpo r t or im por t la ws of ot her co un tries and it i s your re sponsi bilit y to comply with any applicable l aws or regulations .
Integrated Device Technology's products are not authorized for use as cr itical components in life support devi ces or systems unless a specific written agreement pertaining to such intended use is executed between the manufacturer and an officer of IDT.
1. Life support devices or systems are devices or systems which (a) are intend ed for su rgical implant into the body or (b) support or sustain life and whose failure to perform, when properly us ed in accordance with instructions for use provid ed in the labeling, can be reasonably expected to res ult in a significant injury to the user.
2. A critical co mpo nent is an y com pon en ts of a lif e sup por t dev ice or system whose fai lu re t o perform can be re aso na bl y exp ect ed to cause the failure of the life support device or system, or to affect its safety or effectiveness.
IDT, the IDT logo, and Integrated Device Technology are trade m arks or registered trademarks of Integrated Device Technology , Inc.
CODE DISCLAIMER
LIFE SUPPORT POLICY
Notes
®

About This Manual

Introduction

This user manual includes hardware and software information on the 89HPES12T3G2, a member of IDT’s PRECISE™ family of PCI Express® switching solutions offering the next-generation I/O interconnect standard.
Finding Additional Information
Information not included in this manual such as mechanicals, package pin-outs, and electrical character­istics can be found in the data sheet for this device, which is available from the IDT website (www.idt.com) as well as through your local IDT sales representative.

Content Summary

Chapter 1, “PES12T3G2 Device Overview,” provides a complete introduction to the performance capabilities of the 89HPES12T3G2. Included in this chapter is a summary of features for the device as well as a system block diagram and pin description.
Chapter 2, “Clocking, Reset, and Initialization,” provides a description of the two differential refer­ence clock inputs that are used internally to generate all of the clocks required by the internal switch logic and the SerDes.
Chapter 3, “Link Operation,” describes the operation of the link feature including polarity inversion, link width negotiation, and lane reversal.
Chapter 4, “General Purpose I/O,” describes how the 9 General Purpose I/O (GPIO) pins may be indi­vidually configured as general purpose inputs, general purpose outputs, or alternate functions.
Chapter 5, “SMBus Interfaces,” describes the operation of the 2 SMBus interfaces on the PES12T3G2.
Chapter 6, “Power Management,” describes the power management capability structure located in the configuration space of each PCI-PCI bridge in the PES12T3G2.
Chapter 7, “Hot-Plug and Hot-Swap,” describes the behavior of the hot-plug and hot-swap features in the PES12T3G2.
Chapter 8, “Configuration Registers,” discusses the base addresses, PCI configuration space, and registers associated with the PES12T3G2.
Chapter 9, “JTAG Boundary Scan,” discusses an enhanced JTAG interface, including a system logic TAP controller, signal definitions, a test data register, an instruction register, and usage considerations.

Signal Nomenclature

To avoid confusion when dealing with a mixture of “active-low” and “active-high” signals, the terms assertion and negation are used. The term assert or assertion is used to indicate that a signal is active or true, independent of whether that level is represented by a high or low voltage. T he term negate or negation is used to indicate that a signal is inactive or false.
To define the active polarity of a signal, a suffix will be used. Signals ending with an ‘N ’ s hould be i nter­preted as being active, or asserted, when at a logic z ero (low) level. All other signals (including clocks, buses and select lines) will be interpreted as being active, or asserted when at a logic one (high) level.
To define buses, the most significant bit (MSB) will be on the left and least significant bit (LSB) will be on the right. No leading zeros will be included.
PES12T3G2 User Manual 1 January 28, 2013
IDT
Notes
1 2 3 4
high-to-low
transition
low-to-high
transition
single clock cycle
Throughout this manual, when describing signal transitions, the following terminology is used. Rising edge indicates a low-to-high (0 to 1) transition. Falling edge indicates a high-to-low (1 to 0) transition. These terms are illustrated in Figure 1.
Figure 1 Signal Transitions

Numeric Representations

To represent numerical values, either decimal, binary, or hexadecimal formats will be used. The binary format is as follows: 0bDDD, where “D” represents either 0 or 1; the hexadecimal format is as follows: 0xDD, where “D” represents the hexadecimal digit(s); otherwise, it is decimal.
The compressed notation ABC[x|y|z]D refers to ABCxD, ABCyD, and ABCzD.
The compressed notation ABC[x..y]D refers to ABCxD, ABC(x+1)D, ABC(x+2)D,... ABCyD.

Data Units

The following data unit terminology is used in this document.
Term Words Bytes Bits
Byte 1/2 1 8 Word 1 2 16 Doubleword (Dword) 2 4 32 Quadword (Qword) 4 8 64
Table 1 Data Unit Terminology
In quadwords, bit 63 is always the most significant bit and bit 0 is the least significant bit. In double­words, bit 31 is always the most significant bit and bit 0 is the least significant bit. In words, bit 15 is always the most significant bit and bit 0 is the leas t significant bit. In bytes, bit 7 is always the most significant bit and bit 0 is the least significant bit.
The ordering of bytes within words is referred to as either “big endian” or “little endian.” Big endian systems label byte zero as the most significant (leftmost) byte of a word. Little endian systems label byte zero as the least significant (rightmost) byte of a word. See Figure 2.
PES12T3G2 User Manual 2 January 28, 2013
IDT
Notes
0 1 2 3
bit 0bit 31
Address of Bytes within Words: Big Endian
3 2 1 0
bit 0bit 31
Address of Bytes within Words: Little Endian
Figure 2 Example of Byte Ordering for “Big Endian” or “Little Endian” System Definition

Register Terminology

Software in the context of this register terminology refers to modifications made by PCIe root configura­tion writes to registers made through the slave SMBus interface or serial EEPROM register initialization. See Table 2.
Type Abbreviation Description
Hardware Initialized HWINIT Register bits are initialized by firmware or hardware mechanisms
such as pin strapping or serial EEPROM. (System firmware hard­ware initialization is only allowed for system integrated devices.) Bits are read-only after initialization and can only be reset (for write-once by firmware) with reset.
Read Only and Clear RC Software can read the register/bits with this attribute. Reading the
value will automatically cause the register/bit to be reset to zero. Writing to a RC location has no effect.
Read Clear and Write RCW Software can read the register/bits with this attribute. Reading the
value will automatically cause the register/bits to be reset to zero. Writes cause the register/bits to be modified.
Reserved Reserved The value read from a reserved register/bit is undefined. Thus,
software must deal correctly with fields that are reserved. On reads, software must use appropriate masks to extract the defined bits and not rely on reserved bits being any particular value. On writes, software must ensure that the values of reserved bit posi­tions are preserved. That is, the values of reserved bit positions must first be read, merged with the new values for other bit posi­tions and then written back.
Read Only RO Software can only read registers/bits with this attribute. Contents
are hardwired to a constant value or are status bits that may be set and cleared by hardware. Writing to a RO location has no effect.
Read and Write RW Software can both read and write bits with this attribute.
Table 2 Register Terminology (Part 1 of 2)
PES12T3G2 User Manual 3 January 28, 2013
IDT
Notes
Type Abbreviation Description
Read and Write Clear RW1C Software can read and write to registers/bits with this attribute.
However, writing a value of zero to a bit with this attribute has no effect. A RW1C bit can only be set to a value of 1 by a hardware event. To clear a RW1C bit (i.e., change its value to zero) a value of one must be written to the location. An RW1C bit is never cleared by hardware.
Read and Write when Unlocked
Write Transient WT The zero is always read from a bit/field of this type. Writing of a
Zero Zero A zero register or bit must be written with a value of zero and
RWL Software can read the register/bits with this attribute. Writing to
register/bits with this attribute will only cause the value to be modi­fied if the REGUNLOCK bit in the SWCNTL register is set. When the REGUNLOCK bit is cleared, writes are ignored and the regis­ter/bits are effectively read-only
one is used to quality the writing of other bits/fields in the same register.
returns a value of zero when read.
Table 2 Register Terminology (Part 2 of 2)

Use of Hypertext

In Chapter 8, Tables 8.2 and 8.3 contain register nam es and page numbers highlighted in blue under the Register Definition column. In pdf files, users can jump from this source table directly to the registers by clicking on the register name in the source table. Each register name in the table is linked directly to the appropriate register in the register section of the chapter. To return to the source table after having jumped to the register section, click on the same register name (in blue) in the register section.

Reference Documents

PCI Express Base Specification, Revision 1.1, PCI Special Interest Group. PCI Power Management Interface Specification, Revision 1.1, PCI Special Interest Group. PCI to PCI Bridge Architecture Specification, Revision 1.2, PCI Special Interest Group. SMBus Specification, Revision 2.0.

Revision History

May 23, 2007: Initial publication of preliminaray user manual.
June 26, 2007: In Chapter 8, Configuration Registers, included only 3 registers with addresses in the
0x400-0x600 range. Updated Chapter 3, Link Operation.
July 11, 2007: Corrected AERUCS to AERUES in AERCTL register, Chapter 8. Added additional regis­ters to Chapter 8 in the 0x400-0x600 range.
February 6, 2008: Added PMETOATIMER register to Chapter 8.
October 31, 2008: In Chapter 8, revised description L0SEL field in the PCIELCAP register and LDIS
field in the PCIELCTL register.
September 15, 2010: In Table 1.9, changed Buffer type for PCI Express from CML to PCIe differential and changed reference clocks to HCSL
February 22, 2012: Added paragraph after Table 5.11 to explain use of DWord addresses.
January 28, 2013: In Figure 5.8, changed No-ack to Ack between DATALM and DATAUM.
PES12T3G2 User Manual 4 January 28, 2013
Notes
Table of Contents
®
About This Manual
Introduction ....................................................................................................................................1
Content Summary ..........................................................................................................................1
Signal Nomenclature .....................................................................................................................1
Numeric Representations ..............................................................................................................2
Data Units ......................................................................................................................................2
Register Terminology .....................................................................................................................3
Use of Hypertext ............................................................................................................................4
Reference Documents ...................................................................................................................4
Revision History .............................................................................................................................4
PES12T3G2 Device Overview
Introduction.....................................................................................................................................1-1
Features..........................................................................................................................................1-1
System Diagram.............................................................................................................................1-2
Logic Diagram.................................................................................................................................1-3
System Identification.......................................................................................................................1-4
Vendor ID................................................................................................................................1-4
Device ID................................................................................................................................1-4
Revision ID.............................................................................................................................1-4
JTAG ID..................................................................................................................................1-4
Pin Description................................................................................................................................1-4
Pin Characteristics..........................................................................................................................1-9
Port Configuration.........................................................................................................................1-10
Clocking, Reset and Initialization
Clocking..........................................................................................................................................2-1
Initialization.....................................................................................................................................2-1
Reset...............................................................................................................................................2-2
Fundamental Reset................................................................................................................2-3
Hot Reset................................................................................................................................2-5
Upstream Secondary Bus Reset............................................................................................2-6
Downstream Secondary Bus Reset........................................................................................2-6
Downstream Port Reset Outputs....................................................................................................2-7
Power Enable Controlled Reset Output..................................................................................2-7
Power Good Controlled Reset Output....................................................................................2-8
Link Operation
Introduction.....................................................................................................................................3-1
Polarity Inversion............................................................................................................................3-1
Lane Reversal.................................................................................................................................3-1
Link Width Negotiation....................................................................................................................3-2
Dynamic Link Width Re-Configuration............................................................................................3-2
Background.............................................................................................................................3-2
Dynamic Link Width Re-Configuration Support in the PES12T3G2.......................................3-3
Link Speed Negotiation ...................................................................................................................3-3
Background.............................................................................................................................3-3
PES12T3G2 User Manual i January 28, 2013
IDT Table of Contents
Notes
Link Speed Negotiation in the PES12T3G2 ...........................................................................3-4
Software Management of Link Speed ....................................................................................3-5
Link Retraining................................................................................................................................3-6
Slot Power Limit Support................................................................................................................3-6
Upstream Port ........................................................................................................................3-6
Downstream Port....................................................................................................................3-7
Link States......................................................................................................................................3-7
Active State Power Management ...................................................................................................3-8
Link Status......................................................................................................................................3-8
De-emphasis Negotiation ...............................................................................................................3-8
Low-Swing Transmitter Voltage Mode............................................................................................3-9
General Purpose I/O
Introduction.....................................................................................................................................4-1
GPIO Configuration ........................................................................................................................4-1
GPIO Pin Configured as an Input...........................................................................................4-1
GPIO Pin Configured as an Output........................................................................................4-2
GPIO Pin Configured as an Alternate Function......................................................................4-2
SMBus Interfaces
Introduction.....................................................................................................................................5-1
Master SMBus Interface.................................................................................................................5-2
Initialization.............................................................................................................................5-2
Serial EEPROM......................................................................................................................5-2
I/O Expanders.........................................................................................................................5-6
Slave SMBus Interface.................................................................................................................5-11
Initialization...........................................................................................................................5-11
SMBus Transactions ............................................................................................................5-12
Power Management
Introduction.....................................................................................................................................6-1
PME Messages...............................................................................................................................6-2
PCI-Express Power Management Fence Protocol.........................................................................6-2
Power Budgeting Capability............................................................................................................6-3
Hot-Plug and Hot-Swap
Hot-Plug..........................................................................................................................................7-1
Hot-Plug I/O Expander ...........................................................................................................7-4
Hot-Plug Interrupts and Wake-up...........................................................................................7-4
Legacy System Hot-Plug Support ..........................................................................................7-4
Hot-Swap........................................................................................................................................7-6
Configuration Registers
Configuration Space Organization..................................................................................................8-1
Upstream Port (Port 0) ...........................................................................................................8-3
Downstream Ports..................................................................................................................8-6
Register Definitions.......................................................................................................................8-10
Type 1 Configuration Header Registers...............................................................................8-10
PCI Express Capability Structure.........................................................................................8-19
Power Management Capability Structure.............................................................................8-34
Message Signaled Interrupt Capability Structure.................................................................8-36
Subsystem ID and Subsystem Vendor ID............................................................................8-37
PES12T3G2 User Manual ii January 28, 2013
IDT Table of Contents
Notes
Extended Configuration Space Access Registers................................................................8-38
Advanced Error Reporting (AER) Enhanced Capability.......................................................8-39
Device Serial Number Enhanced Capability.........................................................................8-45
PCI Express Virtual Channel Capability...............................................................................8-46
Power Budgeting Enhanced Capability................................................................................8-52
Switch Status and Control Registers....................................................................................8-53
Physical Layer Control and Status Registers.......................................................................8-60
Power Management Control and Status Registers ..............................................................8-61
JTAG Boundary Scan
Introduction.....................................................................................................................................9-1
Test Access Point...........................................................................................................................9-1
Signal Definitions............................................................................................................................9-1
Boundary Scan Chain.....................................................................................................................9-3
Test Data Register (DR).................................................................................................................9-3
Boundary Scan Registers.......................................................................................................9-4
Instruction Register (IR)..................................................................................................................9-5
EXTEST..................................................................................................................................9-6
SAMPLE/PRELOAD...............................................................................................................9-6
BYPASS.................................................................................................................................9-6
CLAMP...................................................................................................................................9-7
IDCODE..................................................................................................................................9-7
VALIDATE..............................................................................................................................9-7
RESERVED............................................................................................................................9-7
Usage Considerations............................................................................................................9-7
PES12T3G2 User Manual iii January 28, 2013
IDT Table of Contents
Notes
PES12T3G2 User Manual iv January 28, 2013
Notes
List of Tables
®
Table 1.1 PES12T3G2 Device ID........................................................................................................1-4
Table 1.2 PES12T3G2 Revision ID.....................................................................................................1-4
Table 1.3 PCI Express Interface Pins..................................................................................................1-4
Table 1.4 SMBus Interface Pins..........................................................................................................1-5
Table 1.5 General Purpose I/O Pins....................................................................................................1-6
Table 1.6 System Pins.........................................................................................................................1-7
Table 1.7 Test Pins..............................................................................................................................1-7
Table 1.8 Power, Ground, and SerDes Resistor Pins.........................................................................1-8
Table 1.9 Pin Characteristics...............................................................................................................1-9
Table 2.1 Reference Clock Mode Encoding........................................................................................2-1
Table 2.2 Boot Configuration Vector Signals.......................................................................................2-2
Table 4.1 General Purpose I/O Pin Alternate Function.......................................................................4-1
Table 4.2 GPIO Pin Configuration.......................................................................................................4-1
Table 5.1 Serial EEPROM SMBus Address........................................................................................5-2
Table 5.2 PES12T3G2 Compatible Serial EEPROMs.........................................................................5-3
Table 5.3 Serial EEPROM Initialization Errors....................................................................................5-5
Table 5.4 I/O Expander Function Allocation........................................................................................5-6
Table 5.5 I/O Expander Default Output Signal Value..........................................................................5-7
Table 5.6 I/O Expander 0 Signals........................................................................................................5-9
Table 5.7 I/O Expander 2 Signals......................................................................................................5-10
Table 5.8 I/O Expander 4 Signals......................................................................................................5-10
Table 5.9 Slave SMBus Address When a Static Address is Selected...............................................5-11
Table 5.10 Slave SMBus Command Code Fields...............................................................................5-12
Table 5.11 CSR Register Read or Write Operation Byte Sequence...................................................5-13
Table 5.12 CSR Register Read or Write CMD Field Description.........................................................5-14
Table 5.13 Serial EEPROM Read or Write Operation Byte Sequence................................................5-14
Table 5.14 Serial EEPROM Read or Write CMD Field Description.....................................................5-15
Table 6.1 PES12T3G2 Power Management State Transition Diagram...............................................6-2
Table 7.1 Downstream Port Hot Plug Signals.....................................................................................7-3
Table 8.1 Base Addresses for Port Configuration Space Registers....................................................8-1
Table 8.2 Upstream Port 0 Configuration Space Registers.................................................................8-3
Table 8.3 Downstream Ports 2, 4, 6 Configuration Space Registers..................................................8-6
Table 9.1 JTAG Pin Descriptions.........................................................................................................9-2
Table 9.2 Boundary Scan Chain..........................................................................................................9-3
Table 9.3 Instructions Supported by PES12T3G2’s JTAG Boundary Scan........................................9-6
Table 9.4 System Controller Device Identification Register.................................................................9-7
PES12T3G2 User Manual v January 28, 2013
IDT List of Tables
Notes
PES12T3G2 User Manual vi January 28, 2013
Notes
List of Figures
®
Figure 1.1 PES12T3G2 Architectural Block Diagram ..........................................................................1-2
Figure 1.2 PES12T3G2 Logic Diagram ...............................................................................................1-3
Figure 1.3 PES12T3G2 Port & Device Numbering ...........................................................................1-10
Figure 2.1 Fundamental Reset with Serial EEPROM Initialization ......................................................2-4
Figure 2.2 Fundamental Reset Using RSTHALT to Keep Device in Quasi-Reset State .....................2-5
Figure 2.3 Power Enable Controlled Reset Output Mode Operation ..................................................2-7
Figure 2.4 Power Good Controlled Reset Output Mode Operation .....................................................2-8
Figure 3.1 Port Lane Reversal for Maximum Link Width of x4 (MAXLNKWDTH=0x4) .......................3-1
Figure 3.2 Port Lane Reversal for Maximum Link Width of x2 (MAXLNKWDTH=0x2) .......................3-2
Figure 3.3 PES12T3G2 ASPM Link Sate Transitions .........................................................................3-7
Figure 5.1 SMBus Interface Configuration Examples .........................................................................5-1
Figure 5.2 Single Double Word Initialization Sequence Format ..........................................................5-3
Figure 5.3 Sequential Double Word Initialization Sequence Format ...................................................5-4
Figure 5.4 Configuration Done Sequence Format ..............................................................................5-4
Figure 5.5 Slave SMBus Command Code Format ............................................................................5-12
Figure 5.6 CSR Register Read or Write CMD Field Format ..............................................................5-13
Figure 5.7 Serial EEPROM Read or Write CMD Field Format ..........................................................5-15
Figure 5.8 CSR Register Read Using SMBus Block Write/Read Transactions with PEC
Disabled ...........................................................................................................................5-16
Figure 5.9 Serial EEPROM Read Using SMBus Block Write/Read Transactions with PEC
Disabled ...........................................................................................................................5-16
Figure 5.10 CSR Register Write Using SMBus Block Write Transactions with PEC Disabled ...........5-16
Figure 5.11 Serial EEPROM Write Using SMBus Block Write Transactions with PEC Disabled ........5-17
Figure 5.12 Serial EEPROM Write Using SMBus Block Write Transactions with PEC Enabled ........5-17
Figure 5.13 CSR Register Read Using SMBus Read and Write Transactions with PEC Disabled ....5-17
Figure 6.1 PES12T3G2 Power Management State Transition Diagram .............................................6-1
Figure 7.1 Hot-Plug on Switch Downstream Slots Application ............................................................7-1
Figure 7.2 Hot-Plug with Switch on Add-In Card Application ..............................................................7-2
Figure 7.3 Hot-Plug with Carrier Card Application ..............................................................................7-2
Figure 7.4 PES12T3G2 Hot-Plug Event Signalling .............................................................................7-5
Figure 8.1 Port Configuration Space Organization .............................................................................8-2
Figure 9.1 Diagram of the JTAG Logic ................................................................................................9-1
Figure 9.2 State Diagram of PES12T3G2’s TAP Controller ................................................................9-2
Figure 9.3 Diagram of Observe-only Input Cell ...................................................................................9-4
Figure 9.4 Diagram of Output Cell ......................................................................................................9-4
Figure 9.5 Diagram of Bidirectional Cell ..............................................................................................9-5
Figure 9.6 Device ID Register Format .................................................................................................9-7
PES12T3G2 User Manual vii January 28, 2013
IDT List of Figures
Notes
PES12T3G2 User Manual viii January 28, 2013
Notes
Register List
®
AERCAP - AER Capabilities (0x100).....................................................................................................8-39
AERCEM - AER Correctable Error Mask (0x114).................................................................................. 8-44
AERCES - AER Correctable Error Status (0x110)................................................................................. 8-43
AERCTL - AER Control (0x118)............................................................................................................. 8-44
AERHL1DW - AER Header Log 1st Doubleword (0x11C)..................................................................... 8-45
AERHL2DW - AER Header Log 2nd Doubleword (0x120)..................................................................... 8-45
AERHL3DW - AER Header Log 3rd Doubleword (0x124)...................................................................... 8-45
AERHL4DW - AER Header Log 4th Doubleword (0x128)...................................................................... 8-45
AERUEM - AER Uncorrectable Error Mask (0x108).............................................................................. 8-40
AERUES - AER Uncorrectable Error Status (0x104).............................................................................8-39
AERUESV - AER Uncorrectable Error Severity (0x10C)........................................................................ 8-42
BAR0 - Base Address Register 0 (0x010).............................................................................................. 8-13
BAR1 - Base Address Register 1 (0x014).............................................................................................. 8-13
BCTL - Bridge Control Register (0x03E)................................................................................................8-18
BIST - Built-in Self Test Register (0x00F)..............................................................................................8-13
CAPPTR - Capabilities Pointer Register (0x034)................................................................................... 8-17
CCODE - Class Code Register (0x009).................................................................................................8-12
CLS - Cache Line Size Register (0x00C)............................................................................................... 8-12
DID - Device Identification Register (0x002)..........................................................................................8-10
ECFGADDR - Extended Configuration Space Access Address (0x0F8)...............................................8-38
ECFGDATA - Extended Configuration Space Access Data (0x0FC)..................................................... 8-38
EEPROMINTF - Serial EEPROM Interface (0x42C).............................................................................. 8-58
EROMBASE - Expansion ROM Base Address Register (0x038)........................................................... 8-17
GPECTL - General Purpose Event Control (0x450)............................................................................... 8-59
GPESTS - General Purpose Event Status (0x454)................................................................................ 8-60
GPIOCFG - General Purpose I/O Configuration (0x41C)....................................................................... 8-56
GPIOD - General Purpose I/O Data (0x420).......................................................................................... 8-57
GPIOFUNC - General Purpose I/O Control Function (0x418)................................................................ 8-56
HDR - Header Type Register (0x00E).................................................................................................... 8-13
HPCFGCTL - Hot-Plug Configuration Control (0x408)........................................................................... 8-55
INTRLINE - Interrupt Line Register (0x03C)........................................................................................... 8-18
INTRPIN - Interrupt PIN Register (0x03D).............................................................................................8-18
IOBASE - I/O Base Register (0x01C)..................................................................................................... 8-14
IOBASEU - I/O Base Upper Register (0x030)........................................................................................ 8-17
IOEXPADDR0 - SMBus I/O Expander Address 0 (0x434)..................................................................... 8-59
IOEXPADDR1 - SMBus I/O Expander Address 1 (0x438)..................................................................... 8-59
IOLIMIT - I/O Limit Register (0x01D)...................................................................................................... 8-14
IOLIMITU - I/O Limit Upper Register (0x032)......................................................................................... 8-17
MBASE - Memory Base Register (0x020).............................................................................................. 8-15
MLIMIT - Memory Limit Register (0x022)............................................................................................... 8-15
MSIADDR - Message Signaled Interrupt Address (0x0D4).................................................................... 8-37
MSICAP - Message Signaled Interrupt Capability and Control (0x0D0)................................................8-36
MSIMDATA - Message Signaled Interrupt Message Data (0x0DC)....................................................... 8-37
MSIUADDR - Message Signaled Interrupt Upper Address (0x0D8)......................................................8-37
PBUSN - Primary Bus Number Register (0x018)................................................................................... 8-13
PCICMD - PCI Command Register (0x004)...........................................................................................8-10
PCIECAP - PCI Express Capability (0x040)........................................................................................... 8-19
PCIEDCAP - PCI Express Device Capabilities (0x044).........................................................................8-20
PCIEDCAP2 - PCI Express Device Capabilities 2 (0x064)....................................................................8-31
PES12T3G2 User Manual ix January 28, 2013
IDT Register List
Notes
PCIEDCTL - PCI Express Device Control (0x048)..................................................................................8-21
PCIEDCTL2 - PCI Express Device Control 2 (0x068).............................................................................8-31
PCIEDSTS - PCI Express Device Status (0x04A) ..................................................................................8-22
PCIEDSTS2 - PCI Express Device Status 2 (0x06A) .............................................................................8-32
PCIELCAP - PCI Express Link Capabilities (0x04C) ..............................................................................8-23
PCIELCAP2 - PCI Express Link Capabilities 2 (0x06C) .........................................................................8-32
PCIELCTL - PCI Express Link Control (0x050).......................................................................................8-24
PCIELCTL2 - PCI Express Link Control 2 (0x070)..................................................................................8-32
PCIELSTS - PCI Express Link Status (0x052)........................................................................................8-26
PCIELSTS2 - PCI Express Link Status 2 (0x072)...................................................................................8-34
PCIESCAP - PCI Express Slot Capabilities (0x054)...............................................................................8-27
PCIESCAP2 - PCI Express Slot Capabilities 2 (0x074)..........................................................................8-34
PCIESCTL - PCI Express Slot Control (0x058).......................................................................................8-29
PCIESCTL2 - PCI Express Slot Control 2 (0x078)..................................................................................8-34
PCIESSTS - PCI Express Slot Status (0x05A) .......................................................................................8-30
PCIESSTS2 - PCI Express Slot Status 2 (0x07A) ..................................................................................8-34
PCIEVCECAP - PCI Express VC Enhanced Capability Header (0x200)................................................8-46
PCISTS - PCI Status Register (0x006) ...................................................................................................8-11
PHYLSTATE0 - Phy Link State 0 (0x534)...............................................................................................8-61
PLTIMER - Primary Latency Timer (0x00D)............................................................................................8-12
PMBASE - Prefetchable Memory Base Register (0x024).......................................................................8-16
PMBASEU - Prefetchable Memory Base Upper Register (0x028)..........................................................8-16
PMCAP - PCI Power Management Capabilities (0x0C0)........................................................................8-34
PMCSR - PCI Power Management Control and Status (0x0C4) ............................................................8-35
PMETOATIMER - PME_TO_Ack Timer (0X708)....................................................................................8-61
PMLIMIT - Prefetchable Memory Limit Register (0x026)........................................................................8-16
PMLIMITU - Prefetchable Memory Limit Upper Register (0x02C)..........................................................8-17
PVCCAP1- Port VC Capability 1 (0x204)................................................................................................8-46
PVCCAP2- Port VC Capability 2 (0x208)................................................................................................8-47
PVCCTL - Port VC Control (0x20C)........................................................................................................8-47
PVCSTS - Port VC Status (0x20E) .........................................................................................................8-47
PWRBCAP - Power Budgeting Capabilities (0x280)...............................................................................8-52
PWRBD - Power Budgeting Data (0x288)...............................................................................................8-52
PWRBDSEL - Power Budgeting Data Select (0x284).............................................................................8-52
PWRBDV[7:0] - Power Budgeting Data Value [7:0] (0x300 - 0X31C).....................................................8-53
PWRBPBC - Power Budgeting Power Budget Capability (0x28C) .........................................................8-53
RID - Revision Identification Register (0x008) ........................................................................................8-12
SBUSN - Secondary Bus Number Register (0x019)...............................................................................8-13
SECSTS - Secondary Status Register (0x01E) ......................................................................................8-15
SERDESCTL- SerDes Control (0x500)...................................................................................................8-60
SLTIMER - Secondary Latency Timer Register (0x01B).........................................................................8-14
SMBUSCTL - SMBus Control (0x428)....................................................................................................8-58
SMBUSSTS - SMBus Status (0x424) .....................................................................................................8-57
SNUMCAP - Serial Number Capabilities (0x180) ...................................................................................8-45
SNUMLDW - Serial Number Lower Doubleword (0x184) .......................................................................8-45
SNUMUDW - Serial Number Upper Doubleword (0x188).......................................................................8-46
SSIDSSVID - Subsystem ID and Subsystem Vendor ID (0x0F4)...........................................................8-38
SSIDSSVIDCAP - Subsystem ID and Subsystem Vendor ID Capability (0x0F0)...................................8-37
SUBUSN - Subordinate Bus Number Register (0x01A)..........................................................................8-14
SWCTL - Switch Control (0x404)............................................................................................................8-54
SWSTS - Switch Status (0x400) .............................................................................................................8-53
VCR0CAP- VC Resource 0 Capability (0x210).......................................................................................8-48
VCR0CTL- VC Resource 0 Control (0x214)............................................................................................8-48
VCR0STS - VC Resource 0 Status (0x218)............................................................................................8-49
VCR0TBL0 - VC Resource 0 Arbitration Table Entry 0 (0x220)..............................................................8-50
PES12T3G2 User Manual x January 28, 2013
IDT Register List
Notes
VCR0TBL1 - VC Resource 0 Arbitration Table Entry 1 (0x224)..............................................................8-50
VCR0TBL2 - VC Resource 0 Arbitration Table Entry 2 (0x228)..............................................................8-51
VCR0TBL3 - VC Resource 0 Arbitration Table Entry 3 (0x22C).............................................................8-51
VID - Vendor Identification Register (0x000)...........................................................................................8-10
PES12T3G2 User Manual xi January 28, 2013
IDT Register List
Notes
PES12T3G2 User Manual xii January 28, 2013
Notes
®
Chapter 1

PES12T3G2 Device Overview

Introduction

The 89HPES12T3G2 is a member of IDT’s PRECISE™ family of PCI Express® switching solutions. The PES12T3G2 is a 12-lane, 3-port Gen2 peripheral chip that performs PCI Express Base switching with a feature set optimized for high performance applications such as servers, storage, and communications/ networking. It provides connectivity and switching functions between a PCI Express upstream port and two downstream ports and supports switching between downstream ports.

Features

High Performance PCI Express Switch
– Twelve 5 Gbps Gen2 PCI Express lanes – Three switch ports
• One x4 upstream port
• Two x4 downstream ports – Low latency cut-through switch architecture – Support for Max Payload Size up to 2048 bytes – One virtual channel – Eight traffic classes – PCI Express Base Specification Revision 2.0 compliant
Flexible Architecture with Numerous Configuration Options
– Automatic per port link width negotiation to x4, x2 or x1 – Automatic lane reversal on all ports – Automatic polarity inversion – Ability to load device configuration from serial EEPROM
Legacy Support
– PCI compatible INTx emulation – Bus locking
Highly Integrated Solution
– Incorporates on-chip internal memory for packet buffering and queueing – Integrates twelve 5 Gbps embedded SerDes with 8b/10b encoder/decoder (no separate trans-
ceivers needed)
• Receive equalization (RxEQ)
Reliability, Availability, and Serviceability (RAS) Features
– Internal end-to-end parity protection on all TLPs ensures data integrity even in systems that do
not implement end-to-end CRC (ECRC) – Supports ECRC and Advanced Error Reporting – Supports PCI Express Native Hot-Plug, Hot-Swap capable I/O – Compatible with Hot-Plug I/O expanders used on PC motherboards – Supports Hot-Swap
Power Management
– Utilizes advanced low-power design techniques to achieve low typical power consumption – Support PCI Express Power Management Interface specification (PCI-PM 1.2) – Supports PCI Express Active State Power Management (ASPM) link state – Supports PCI Express Power Budgeting Capability – Supports the optional PCI Express SerDes Transmit Low-Swing Voltage Mode – Unused SerDes are disabled and can be powered-off
PES12T3G2 User Manual 1 - 1 January 28, 2013
IDT PES12T3G2 Device Overview
TDM Demux
D-Bus
U-Bus
ESP & Arb
ESP & Arb
ESP & Arb
ESP & Arb
ESP & Arb
ESP & Arb
Route Map
Table
Ingress
Processor
TLP
Checker
Egress
Processor
Completion
Processor Message
Processor
TLP
Generator
Hot-Plug Controller
Application Layer
Data Link Layer
Physical Layer & SerDes Mux/Demux
SerDes
Port 0
Port 2 Port 4
Switch Core
GPIO
Controller
Master SMBus
Interface
Reset
Controller
Slave
SMBus
Interface
Output &
Replay Buffer
TDM Demux
Route Map
Table
Ingress
Processor
TLP
Checker
Egress
Processor
Completion
Processor Message
Processor
TLP
Generator
Hot-Plug
Controller
Application Layer
Data Link Layer
Physical Layer & SerDes Mux/Demux
SerDes
Output &
Replay Buffer
TDM Demux
Route Map
Table
Ingress
Processor
TLP
Checker
Egress
Processor
Completion
Processor Message
Processor
TLP
Generator
Hot-Plug Controller
Application Layer
Data Link Layer
Physical Layer & SerDes Mux/Demux
SerDes
Output &
Replay Buffer
Input Frame Buffer
Input Frame Buffer
Input Frame Buffer
Input Frame Buffer
Input Frame Buffer
Input Frame Buffer
D-Bus Arbiter
U-Bus Arbiter
Bus Decoupler
Queue
Testability and Debug Features
– Built in Pseudo-Random Bit Stream (PRBS) generator – Numerous SerDes test modes – Ability to read and write any internal register via the SMBus – Ability to bypass link training and force any link into any mode – Provides statistics and performance counters
Nine General Purpose Input/Output Pins
– Each pin may be individually configured as an input or output – Each pin may be individually configured as an interrupt input – Some pins have selectable alternate functions
Packaged in a 19mm x 19mm, 324-ball BGA with 1mm ball spacing

System Diagram

PES12T3G2 User Manual 1 - 2 January 28, 2013
Figure 1.1 PES12T3G2 Architectural Block Diagram
IDT PES12T3G2 Device Overview
PE0TP[0]
Reference
Clocks
PEREFCLKP[0] PEREFCLKN[0]
JTAG_TCK
GPIO[11,7:0]
9
General Purpose
I/O
VDDCORE
V
DD
I/O
V
DD
PEA
Power/Ground
MSMBADDR[4:1]
MSMBCLK MSMBDAT
4
SSMBADDR[5,3:1]
SSMBCLK SSMBDAT
4
Master
SMBus Interface
Slave
SMBus Interface
CCLKUS
RSTHALT
System
Pins
JTAG_TDI JTAG_TDO JTAG_TMS JTAG_TRST_N
JTAG Pins
V
SS
SWMODE[2:0]
3
CCLKDS
PERSTN
REFCLKM
MSMBSMODE
PE0RP[0] PE0RN[0]
PE0RP[3] PE0RN[3]
PCI Express
Switch
SerDes Input
PE0TN[0]
PE0TP[3] PE0TN[3]
PCI Express
Switch
SerDes Output
...
Port 0
Port 0
...
PE2RP[0] PE2RN[0]
PE2RP[3] PE2RN[3]
PCI Express
Switch
SerDes Input
PE2TP[0] PE2TN[0]
PE2TP[3] PE2TN[3]
PCI Express
Switch
SerDes Output
...
Port 2
Port 2
...
PE4RP[0] PE4RN[0]
PE4RP[3] PE4RN[3]
PCI Express
Switch
SerDes Input
PE4TP[0] PE4TN[0]
PE4TP[3] PE4TN[3]
PCI Express
Switch
SerDes Output
...
Port 4
Port 4
...
PES12T3G2
REFRES0
SerDes
Reference
Resistors
REFRES2 REFRES4
VDDPEHA
Reference Clock
Frequency Selection
VDDPETA

Logic Diagram

Figure 1.2 PES12T3G2 Logic Diagram
PES12T3G2 User Manual 1 - 3 January 28, 2013
IDT PES12T3G2 Device Overview
Notes

System Identification

Vendor ID

All vendor ID fields in the device are hardwired to 0x111D which corresponds to Integrated Device Tech-
nology, Inc.

Device ID

The PES12T3G2 device ID is shown in Table 1.1.

Revisio n ID

The PES12T3G2 revision ID is shown in Table 1.2.
PCIe Device Device ID
0x1 0x8061
Table 1.1 PES12T3G2 Device ID
Revision ID Description
0x0 Corresponds to ZA silicon 0x1 Corresponds to ZB silicon
Table 1.2 PES12T3G2 Revision ID

JTAG ID

The JTAG ID is:
Version: Same value as Revision ID. See Table 1.2Part number: Same value as base Device ID. See Table 1.1.Manufacturer ID: 0x33LSB: 0x1

Pin Description

The following tables list the functions of the pins provided on the PES12T3G2. S ome of the functions listed may be multiplexed onto the same pin. The active polarity of a signal is defined using a suffix. Signals ending with an “N” are defined as being active, or asserted, when at a logic zero (low) level. All other signals (including clocks, buses, and select lines) will be interpreted as being active, or asserted, when at a logic one (high) level.
Note: In the PES12T3G2, the two downstream ports are labeled port 2 and port 4.
Signal Type Name/Description
PE0RP[3:0]
PE0RN[3:0]
PE0TP[3:0] PE0TN[3:0]
PE2RP[3:0]
PE2RN[3:0]
I PCI Express Port 0 Serial Data Receive. Differential PCI Express receive
pairs for port 0. Port 0 is the upstream port.
O PCI Express Port 0 Serial Data Transmit. Differential PCI Express trans-
mit pairs for port 0. Port 0 is the upstream port.
I PCI Express Port 2 Serial Data Receive. Differential PCI Express receive
pairs for port 2.
Table 1.3 PCI Express Interface Pins (Part 1 of 2)
PES12T3G2 User Manual 1 - 4 January 28, 2013
IDT PES12T3G2 Device Overview
Notes
Signal Type Name/Description
PE2TP[3:0] PE2TN[3:0]
PE4RP[3:0]
PE4RN[3:0]
PE4TP[3:0] PE4TN[3:0]
PEREFCLKP[0] PEREFCLKN[0]
REFCLKM I PCI Express Reference Clock Mode Select. This signal selects the fre-
Signal Type Name/Description
MSMBADDR[4:1] I Master SMBus Address. These pins determine the SMBus address of the
MSMBCLK I/O Master SMBus Clock. This bidirectional signal is used to synchronize
MSMBDAT I/O Master SMBus Data. This bidirectional signal is used for data on the mas-
SSMBADDR[5,3:1] I Slave SMBus Address. These pins determine the SMBus address to
SSMBCLK I/O Slave SMBus Clock. This bidirectional signal is used to synchronize trans-
SSMBDAT I/O Slave SMBus Data. This bidirectional signal is used for data on the slave
O PCI Express Port 2 Serial Data Transmit. Differential PCI Express trans-
mit pairs for port 2.
I PCI Express Port 4 Serial Data Receive. Differential PCI Express receive
pairs for port 4.
O PCI Express Port 4 Serial Data Transmit. Differential PCI Express trans-
mit pairs for port 4.
I PCI Express Reference Clock. Differential reference clock pair input. This
clock is used as the reference clock by on-chip PLLs to generate the clocks required for the system logic and on-chip SerDes. The frequency of the dif­ferential reference clock is determined by the REFCLKM signal.
quency of the reference clock input. 0x0 - 100 MHz 0x1 - 125 MHz This pin should be static and not change following the negation of PERSTN.
Table 1.3 PCI Express Interface Pins (Part 2 of 2)
serial EEPROM from which configuration information is loaded.
transfers on the master SMBus.
ter SMBus.
which the slave SMBus interface responds.
fers on the slave SMBus.
SMBus.
Table 1.4 SMBus Interface Pins
PES12T3G2 User Manual 1 - 5 January 28, 2013
IDT PES12T3G2 Device Overview
Notes
Signal Type Name/Description
GPIO[0] I/O General Purpose I/O.
GPIO[1] I/O General Purpose I/O.
GPIO[2] I/O General Purpose I/O.
GPIO[3] I/O General Purpose I/O.
GPIO[4] I/O General Purpose I/O.
GPIO[5] I/O General Purpose I/O.
GPIO[6] I/O General Purpose I/O.
GPIO[7] I/O General Purpose I/O.
GPIO[11] I/O General Purpose I/O.
This pin can be configured as a general purpose I/O pin. Alternate function pin name: P2RSTN Alternate function pin type: Output Alternate function: Reset output for downstream port 2.
This pin can be configured as a general purpose I/O pin. Alternate function pin name: P4RSTN Alternate function pin type: Output Alternate function: Reset output for downstream port 4.
This pin can be configured as a general purpose I/O pin. Alternate function pin name: IOEXPINTN0 Alternate function pin type: Input Alternate function: I/O expander interrupt 0 input.
This pin can be configured as a general purpose I/O pin.
This pin can be configured as a general purpose I/O pin. Alternate function pin name: IOEXPINTN2 Alternate function pin type: Input Alternate function: I/O Expander interrupt 2 input
This pin can be configured as a general purpose I/O pin.
This pin can be configured as a general purpose I/O pin.
This pin can be configured as a general purpose I/O pin. Alternate function pin name: GPEN Alternate function pin type: Output Alternate function: General Purpose Event (GPE) output
This pin can be configured as a general purpose I/O pin.
Table 1.5 General Purpose I/O Pins
PES12T3G2 User Manual 1 - 6 January 28, 2013
IDT PES12T3G2 Device Overview
Notes
Signal Type Name/Description
CCLKDS I Common Clock Downstream. The assertion of this pin indicates that all
CCLKUS I Common Clock Upstream. The assertion of this pin indicates that the
MSMBSMODE I Master SMBus Slow Mode. The assertion of this pin indicat es that th e
PERSTN I Fundamental Reset. Assertion of this signal resets all logic inside
RSTHALT I Reset Halt. When this signal is asserted during a PCI Express fundamental
SWMODE[2:0] I Switch Mode. These configuration pins determine the PES12T3G2 switch
downstream ports are using the same clock source as that provided to downstream devices.This bit is used as the initial value of the Slot Clock Configuration bit in all of the Link Status Registers for downstream ports. The value may be overridden by modifying the SCLK bit in each down­stream port’s PCIELSTS register.
upstream port is using the same clock source as the upstream device. This bit is used as the initial value of the Slot Clock Configuration bit in the Link Status Register for the upstream port. The value may be overridden by modifying the SCLK bit in the P0_PCIELSTS register.
master SMBus should operate at 100 KHz instead of 400 KHz. This value may not be overridden.
PES12T3G2 and initiates a PCI Express fundamental reset.
reset, PES12T3G2 executes the reset procedure and remains in a reset state with the Master and Slave SMBuses active. This allows software to read and write registers internal to the device before normal device opera­tion begins. The device exits the reset state when the RSTHALT bit is cleared in the SWCTL register by an SMBus master.
operating mode. 0x0 - Normal switch mode 0x1 - Normal switch mode with Serial EEPROM initialization 0x2 - through 0x7 Reserved These pins should be static and not change following the negation of PERSTN.
Table 1.6 System Pins
Signal Type Name/Description
JTAG_TCK I JTAG Clock. This is an input test clock used to clock the shifting of data
into or out of the boundary scan logic or JTAG Controller. JTAG_TCK is independent of the system clock with a nominal 50% duty cycle.
JTAG_TDI I JTAG Data Input. This is the serial data input to the boundary scan logic or
JTAG Controller.
Table 1.7 Test Pins (Part 1 of 2)
PES12T3G2 User Manual 1 - 7 January 28, 2013
IDT PES12T3G2 Device Overview
Notes
Signal Type Name/Description
JTAG_TDO O JTAG Data Output. This is the serial data shifted out from the boundary
JTAG_TMS I JTAG Mode. The value on this signal controls the test mode select of the
JTAG_TRST_N I JTAG Reset. This active low signal asynchronously resets the boundary
Signal Type Name/Description
REFRES0 I/O Port 0 External Reference Resistor. Provides a reference for the Port 0
REFRES2 I/O Port 2 External Reference Resistor. Provides a reference for the Port 2
REFRES4 I/O Port 4 External Reference Resistor. Provides a reference for the Port 4
V
DD
V
DD
V
DD
VDDPEHA I PCI Express Analog High Power. Serdes analog power supply (2.5V).
scan logic or JTAG Controller. When no data is being shifted out, this signal is tri-stated.
boundary scan logic or JTAG Controller.
scan logic and JTAG TAP Controller. An external pull-up on the board is recommended to meet the JTAG specification in cases where the tester can access this signal. However, for systems running in functional mode, one of the following should occur:
1) actively drive this signal low with control logic
2) statically drive this signal low with an external pull-down on the board
Table 1.7 Test Pins (Part 2 of 2)
SerDes bias currents and PLL calibration circuitry. A 3 kOhm +/- 1% resis­tor should be connected from this pin to ground.
SerDes bias currents and PLL calibration circuitry. A 3 kOhm +/- 1% resis­tor should be connected from this pin to ground.
SerDes bias currents and PLL calibration circuitry. A 3 kOhm +/- 1% resis­tor should be connected from this pin to ground.
CORE I Core V
I/O I I/O V
Power supply for core logic.
DD.
LVTTL I/O buffer power supply.
DD.
PEA I PCI Express Analog Power. Serdes analog power supply (1.0V).
V
PETA I PCI Express Transmitter Analog Voltage. Serdes transmitter analog
DD
power supply (1.0V).
V
SS
I Ground.
Table 1.8 Power, Ground, and SerDes Resistor Pins
PES12T3G2 User Manual 1 - 8 January 28, 2013
IDT PES12T3G2 Device Overview
Notes

Pin Characteristics

Note: Some input pads of the PES12T3G2 do not contain internal pull-ups or pull-downs. Unused inputs should be tied off to appropriate levels. This is especially critical for unused control signal inputs which, if left floating, could adversely affect operation. Also, any input pin left floating can cause a slight increase in power consumption.
2
I/O
Type
Serial Link
Input
High Drive
Function Pin Name Type Buffer
PCI Express Interface
SMBus MSMBADDR[4:1
General Purpose I/O
System Pins CCLKDS I LVTTL Input pull-up
PE0RN[3:0] I PCIe PE0RP[3:0] I PE0TN[3:0] O PE0TP[3:0] O PE2RN[3:0] I PE2RP[3:0] I PE2TN[3:0] O PE2TP[3:0] O PE4RN[3:0] I PE4RP[3:0] I PE4TN[3:0] O PE4TP[3:0] O PEREFCLKN[0] I HCSL Diff. Clock PEREFCLKP[0] I
REFCLKM I LVTTL Input pull-down
] MSMBCLK I/O STI MSMBDAT I/O STI pull-up on board SSMBADDR[5,3:
1] SSMBCLK I/O STI pull-up on board SSMBDAT I/O STI pull-up on board GPIO[11,7:0] I/O LVTTL STI,
CCLKUS I Input pull-up MSMBSMODE I Input pull-down PERSTN I STI RSTHALT I Input pull-down SWMODE[2:0] I Input pull-down
Table 1.9 Pin Characteristics (Part 1 of 2)
differential
I LVTTL Input pull-up
I Input pull-up
Internal
Resistor
3
pull-up
1
Refer to Table 9
PES12T3G2
Data Sheet
pull-up on board
Notes
in the
PES12T3G2 User Manual 1 - 9 January 28, 2013
IDT PES12T3G2 Device Overview
Notes
PES12T3G2
PCI to PCI
Bridge
PCI to PCI
Bridge
Dev. 2
PCI to PCI
Bridge
Dev. 4
Dev. 0
Port 0
Virtual PCI Bus
x4
Port 2
x4
Port 4
x4
Function Pin Name Type Buffer
I/O
Type
Internal
Resistor
Notes
1
EJTAG / JTAG JTAG_TCK I LVTTL STI pull-up
JTAG_TDI I STI pull-up JTAG_TDO O JTAG_TMS I STI pull-up JTAG_TRST_N I STI pull-up
SerDes Refer­ence Resistors
REFRES0 I/O Analog REFRES2 I/O REFRES4 I/O
Table 1.9 Pin Characteristics (Part 2 of 2)
1.
Internal resistor values under typical operating conditions are 92K Ω for pull-up and 90K Ω for pull-down.
2.
All receiver pins set the DC common mode voltage to ground. All transmitters must be AC coupled to the media.
3.
Schmitt Trigger Input (STI).

Port Configuration

The PES12T3G2 contains a total of three ports labeled 0, 2, and 4. Port 0 is always the upstream port. Ports 2 and 4 are always downstream ports. All ports can operate at a maximum link width of x4, and all ports support both 2.5 Gbps and 5.0 Gbps (Gen2). Per the PCIe specification, each switch port corre­sponds to a virtual PCI-PCI bridge device. In the PES12T3G2, device numbering follows port numbering. Therefore, Port 0 corresponds to Device 0 on the upstream bus. Port 2 corresponds to Device 2 on the PES12T3G2’s virtual PCI bus and Port 4 corresponds to Device 4.
Configuration read or write transactions to a non-existent device on the PES12T3G2’s virtual PCI bus (i.e., Device 0, 1, 3, 5, etc.) are treated by the upstream port (port 0) as an unsupported request (i.e., the device does not exist). Additionally, SMBus accesses to configuration registers of a non-existent device have an undefined effect.
Figure 1.3 illustrates a diagram of Whitney with three x4 ports. The figure shows port and device numbering.
Figure 1.3 PES12T3G2 Port & Device Numbering
PES12T3G2 User Manual 1 - 10 January 28, 2013
Notes
®
Chapter 2
Clocking, Reset and

Initialization

Clocking

The PES12T3G2 has a single differential reference clock input (PEREFCLKP[0]/PEREFCLKN[0]) that is used internally to generate all of the clocks required by the internal switch logic and the SerDes. The frequency of the reference clock inputs may be selected by the Reference Clock Mode Select (REFCLKM) input (see Table 2.1). All reference clock inputs must have the same frequency, as selected by REFCLKM.
REFCLKM Description
0 100 MHz reference clock input. 1 125 MHz reference clock input.
Table 2.1 Reference Clock Mode Encoding
Each PES12T3G2 port has an associated PLL. The reference clock differential inputs feed the on-chip PLLs (one PLL per SerDes quad). Each PLL generates a 5.0 GHz internal SerDes clock which is used by the four SerDes lanes in a SerDes quad. The PLL also produces a 250 MHz core clock, named PCLK. The 250 MHz PCLK output from the upstream port (i.e., Port 0) is used as the system clock for internal switch logic. When the switch is placed in PLL Bypass test mode via the SWMODE pins, the 250 MHz clock gener­ated by the PLL is bypassed and the reference clock input on PERE FCLKP[0]/PEREFCLKN[0] is used for the core logic.
Initialization
A boot configuration vector consisting of the signals listed in Table 2.2 is sampled by the PES12T3G2 during a Fundamental Reset when PERSTN is negated parameters for switch operation.
Since the boot configuration vector is sampled only during a Fundamental Reset sequence, the value of signals which make up the boot configuration vector is ignored during other times and their state outside of a Fundamental Reset has no effect on the operation of the PES12T3G2. While basic switch operation may be configured using signals in the boot configuration vector, advanced switch features require configuration via an external serial EEPROM. The external serial EEPROM allows modification of any bit in any software visible register. See Chapter 5, SMBus Interfaces, for more information on the serial EEPROM.
The external serial EEPROM and slave SMBus interface may be used to override the function of some of the signals in the boot configuration vector during a Fundamental Reset. The signals that may be over­ridden are noted in Table 2.2. The state of all of the boot configuration signals in Table 2.2 sampled during the most recent Fundamental Reset may be determined by reading the SWSTS register.
. The boot configuration vector defines essential
PES12T3G2 User Manual 2 - 1 January 28, 2013
IDT Clocking, Reset and Initialization
Notes
Signal
CCLKDS Y Com mon Cloc k Downstream. The assertion of this pin indicates
CCLKUS Y Com mon Cloc k Upstr ea m. The assertion of this pin indicates that
MSMBSMODE N Master SMBus Slow Mode. The assertion of this pin indi cates that
REFCLKM N PCI Express Reference Clock Mode Select. This signal selects
RSTHALT Y Reset Halt. When this signal is asserted during a PCI Express Fun-
SWMODE[2:0] N Switch Mode. These configuration pins determine the PES12T3G2
May Be
Overridden
Description
that all downstream ports are using the same clock source as that provided to downstream devices.This pin is used as the initial value of the Slot Clock Configuration bit in all of the Link Status Registers for downstream ports. The value may be overridden by modifying the SCLK bit in the downstream port’s PCIELSTS register.
the upstream port is using the same clock source as the upstream device. This pin is used as the initial value of the Slot Clock Configu­ration bit in the Link Status Register for the upstream port. The value may be overridden by modifying the SCLK bit in the downstream port’s PCIELSTS register.
the master SMBus should operate at 100 KHz instead of 400 kHz.
the frequency of the reference clock input. 0x0 - 100 MHz 0x1 - 125 MHz
damental Reset, the PES12T3G2 executes the reset procedure and remains in a reset state with the Master and Slave SMBuses active. This allows software to read and write registers internal to the device before normal device operation begins. The device exits the reset state when the RSTHALT bit is cleared in the SWCTL register through the SMBus. The value may be overridden by modifying the RSTHALT bit in the SWCTL register.
switch operating mode. 0x0 - Normal Switch Mode 0x1 - Normal Switch Mode with Serial EEPROM Initialization 0x2 through 0x7 - Reserved
Table 2.2 Boot Configuration Vector Signals

Reset

The PES12T3G2 defines four Conventional Reset categories: Fundamental reset, Hot Reset, Upstream Secondary Bus Hot-Reset, and Downstream Secondary Bus Hot-Reset.
A Fundamental Reset causes all logic in the PES12T3G2 to be returned to an initial state. A Hot Reset causes all logic in the PES12T3G2 to be returned to an initial state, but does not
cause the state of register fields denoted as “sticky” to be modified.
– An Upstream Secondary Bus Reset causes all devices on the virtual PCI bus to be hot reset
except the upstream port (i.e., upstream PCI to PCI bridge).
– A Downstream Secondary Bus Reset causes a hot reset to be propagated on the corresponding
external secondary bus link.
There are two sub-categories of Fundamental Reset: Cold reset and Warm reset. A Cold Reset occurs following a device being powered on and assertion of PERSTN. A Warm Reset is a Fundamental Reset that occurs without removal of power.
PES12T3G2 User Manual 2 - 2 January 28, 2013
Loading...
+ 116 hidden pages