没有合适的资源?快使用搜索试试~ 我知道了~
首页89H32NT24AG2硬件设计手册
资源详情
资源评论
资源推荐

1 of 21 May 5, 2011
© 2011 Integrated Device Technology, Inc.
Notes
®
Introduction
This application note provides system design guidelines for IDT’s PCI Express® 2.0 base specification
compliant System Interconnect switch device family. Information provided in this document is applicable to
the following devices: 89HPES32NT24A[B]G2, 89HPES32NT8A[B]G2, 89HPES24NT24[A]G2,
89HPES24NT6AG2, 89HPES22NT16G2, 89HPES16NT16G2, 89HPES16NT2G2 and 89HPES12NT12G2.
In this document, the PES32NT24AG2 is used as the primary reference. The letters “G2” within the device
names indicate that these devices are capable of GEN2 (5.0 GT/S) serial data speeds. The
PES32NT24AG2 device offers 32 PCIe lanes divided into 24 ports. The PES24NT24G2 device offers 24
PCIe lanes divided into 24 ports, and so on.
This document also describes the following device interfaces and provides relevant board design
recommendations:
1) PCI Express Interface
2) Reference Clock (REFCLK) Circuitry
3) Reset (Fundamental Reset) Schemes
4) SMBus Interfaces
5) GPIO and JTAG pins
6) Power and Decoupling Scheme
7) Switch Partitioning
PCI Express Interface
Port Configuration
Eight of the twenty four ports of the PES32NT24AG2 are statically allocated 2 lanes with ports labeled
from 0 through 7 and the remaining 16 ports are statically allocated 1 lane with ports labeled from 8 through
23. In a default configuration, SWMODE[3:0] = 0x0, Port 0 is always the upstream port while the remaining
ports are always downstream ports. In a Multi-partition configuration, SWMODE[3:0] = 0xC, or a Multi-parti-
tion with Serial EEPROM initialization configuration, SWMODE[3:0] = 0xD, all ports come up as unattached.
Through a Serial EEPROM or Slave SMBus interface, ports can be configured as an upstream port,
upstream port with NT function, upstream port with NT and DMA functions, NT function, NT with DMA func-
tions, or as downstream ports. All ports can operate at a maximum link width of x2 (i.e. 2 lanes) or x1 (i.e. 1
lane) and support both 2.5 GT/S (Gen1) and 5.0 GT/S (Gen2) speeds.
Per the PCIe® specification, each switch port is viewed as a virtual PCI-PCI bridge device. In the
PES32NT24AG2, PCI device numbering follows the port numbering. Port 0 corresponds to Device 0 on the
upstream bus. Port 1 corresponds to Device 1 on the PES32NT24AG2 virtual PCI bus, Port 2 to Device 2,
and so on.
Note: Unused PCIe TX and RX lanes are not required to have a termination and can be left
open.
Application Note
AN-727
By Bryan Le
IDT PCI Express®
24-Port 32-Lane Gen 2 Switch
Hardware Design Guide

2 of 21 May 5, 2011
IDT AN-727
Notes
Figure 1 Port Numbering and Device Numbering
The switch contains four stack blocks labeled Stack 0, Stack 1, Stack 2, and Stack 3. Stacks 0 and 1
have four ports each, and stacks 2 and 3 have eight ports each. This provides a total of 24 ports in the
device, labeled port 0 through port 23. Table 1 lists the ports associated with each stack.
Stacks 0 and 1 may be configured as four x2 ports, two x4 ports, one x8 port, and combinations in between.
Stacks 2 and 3 may be configured as eight x1 ports, four x2 ports, two x4 ports, one x8 port, and
combinations in between. The configuration of each stack is controlled by the Stack
Configuration(STK[3:0]CFG) registers. These registers are located in the Switch Configuration and Status
space (see Device User Manual Chapter 20). Stacks 0 and 1 support five possible configurations each.
Stacks 2 and 3 support 26 possible configurations each. Tables 3.4 through 3.7 below show the possible
configurations for each stack.
◆
Each STKxCFG register controls the configuration of the corresponding stack (e.g., STK0CFG
controls the configuration of Stack 0, STK1CFG for Stack 1, etc.)
◆
Stack configurations not shown in the table are not allowed. Programming the STKxCFG register to
values not shown in the table produces undefined results.
Stack Port Associated with the Stack
Stack 0 0, 1, 2, 3
Stack 1 4, 5, 6, 7
Stack 2 8, 9, 10, 11, 12, 13, 14, 15
Stack 3 16, 17, 18, 19, 20, 21, 22, 23
Table 1 Ports in Each Stack
PES32NT24AG2
PE8T [0]
PE8R [0]
RX
TX
PE9T [0]
PE9R [0]
PE23T [0]
PE23R [0]
(Port 8, Device 8)
(Port 9, Device 9)
(Port 23, Device 23)
RX
TX
PE0T [1:0]
PE0R [1:0]
PE1R [1:0]
PE1T [1:0]
PE7R [1:0]
PE7T [1:0]
(Port 0, Device 0)
(Port 1, Device 1)
(Port 7, Device 7)
RX
TX
RX
TX
RX
TX
RX
TX

3 of 21 May 5, 2011
IDT AN-727
Notes
STKCFG Field in the
STK0CFG Register
Stack Configuration
Hex Binary Port 3 Port 2 Port 1 Port 0
0x0 0b00000 x8
0x1 0b00001 x4 x4
0x2 0b00010 x2 x2 x4
0x3 0b00011 x2 x2 x2 x2
0x6 0b00110 x4 x2 x2
Others Reserved
Table 2 Possible Configuration for Stack 0
STKCFG Field in the
STK1CFG Register
Stack Configuration
Hex Binary Port
7 Port 6 Port 5 Port 4
0x0 0b00000 x8
0x1 0b00001 x4 x4
0x2 0b00010 x2 x2 x4
0x3 0b00011 x2 x2 x2 x2
0x6 0b00110 x4 x2 x2
Others Reserved
Table 3 Possible Configuration for Stack 1
STKCFG Field in the
STK2CFG Register
Stack Configuration
Hex Binary P15 P14 P1
3 P12 P11 P10 P9 P8
0x0 0b00000 x8
0x1 0b00001 x4 x4
0x2 0b00010 x2 x2 x4
0x3 0b00011 x2 x2 x2 x2
0x6 0b00110 x4 x2 x2
0x8 0b01000 x4 x1 x1 x2
0x9 0b01001 x4 x1 x1 x1 x1
0xA 0b01010 x2 x2 x2 x1 x1
0xB 0b01011 x2 x2 x1 x1 x2
0xC 0b01100 x1 x2 x2 x4
0xD 0b01101 x1 x1 x1 x1 x4
0xE 0b01110 x2 x1 x1 x2 x2
Table 4 Possible Configuration for Stack 2 (Page 1 of 2)

4 of 21 May 5, 2011
IDT AN-727
Notes
0xF 0b01111 x1 x1 x2 x2 x2
0x10 0b10000 x2 x2 x1 x1 x1x 1
0x11 0b10001 x2 x1 x1 x1 x1 x2
0x12 0b10010 x2 x1 x1 x1 x1 x1 x1
0x13 0b10011 x1 x1 x2 x1 x1 x1 x1
0x14 0b10100 x1 x1 x1 x1 x2 x2
0x15 0b10101 x1 x1 x2 x2 x1x x1
0x16 0b10110 x1 x1 x1 x1 x2 x1 x1
0x17 0b10111 x1 x1 x1 x1 x1 x1 x2
0x18 0b11000 x4 x2 x1 x1
0x19 0b11001 x2 x1 x1 x2 x1 x1
0x1A 0b11010 x1 x1 x2 x1 x1 x2
0x1B 0b11011 x1 x1 x1 x1 x1 x1 x1 x1
0x1C 0b11100 x2 x1 x1 x4
Others Reserved
STKCFG Field in the
STK3CFG Register
Stack Configuration
Hex Binary P23 P22 P
21 P20 P19 P18 P17 P16
0x0 0b00000 x8
0x1 0b00001 x4 x4
0x2 0b00010 x2 x2 x4
0x3 0b00011 x2 x2 x2 x2
0x6 0b00110 x4 x2 x2
0x8 0b01000 x4 x1 x1 x2
0x9 0b01001 x4 x1 x1 x1 x1
0xA 0b01010 x2 x2 x2 x1 x1
0xB 0b01011 x2 x2 x1 x1 x2
0xC 0b01100 x1 x2 x2 x4
0xD 0b01101 x1 x1 x1 x1 x4
0xE 0b01110 x2 x1 x1 x2 x2
0xF 0b01111 x1 x1 x2 x2 x2
0x10 0b10000 x2 x2 x1 x1 x1x 1
0x11 0b10001 x2 x1 x1 x1 x1 x2
0x12 0b10010 x2 x1 x1 x1 x1 x1 x1
Table 5 Possible Configuration for Stack 3 (Page 1 of 2)
STKCFG Field in the
STK2CFG Register
Stack Configuration
Table 4 Possible Configuration for Stack 2 (Page 2 of 2)

5 of 21 May 5, 2011
IDT AN-727
Notes
A stack may be configured statically using the corresponding Stack Configuration (STKxCFG) pins.
These pins are sampled by the switch as part of the boot-configuration vector during switch fundamental
reset. The STKxCFG pins determine the initial value of the STKCFG field in the corresponding STKxCFG
register. The encoding of the STKxCFG pins is identical to that of the STKCFG field shown in Tables 2
through 5.
• For Stacks 0 and 1, the STKxCFG pins have 2 bits each (i.e., STK0CFG[1:0] and
STK1CFG[1:0]). These bits correspond to the two least significant bits of the STKCFG field in
the correspondingSTKxCFG register. Therefore, for these stacks, configurations 0x0 through
0x3 may be selected statically. Other configurations must be selected dynamically via EEPROM
or Slave SMBus interface.
• For Stacks 2 and 3, the STKxCFG pins have 5 bits each. Therefore, all 26 possible configura-
tionsmay be selected statically.
• Note that for all stacks the STKxCFG[2] pin can be used to select between a stack configuration
and its mirror image. For example, when the STKxCFG pins are set to 0b00010, the stack iscon-
figured per configuration 0x2 (ports are configured as x4, x2, x2). The setting 0b00110 yields the
mirror image which corresponds to stack configuration 0x6 (ports are configured as x2, x2, x4).
Lane Reversal
The PES32NT24AG2 supports automatic lane reversal outlined in the PCIe specification. This allows
trace routing flexibility to avoid crossovers and potentially reduces the number of trace vias required for
signal routing. Lane reversal must be done for both the transmitter and the receiver of a port.
Lane reversal mappings for the various non-trivial x8 maximum link width configurations are illustrated in
Figures 2 through 4. In the figures, PExRP[n] refers to the pin associated with lane 0 of port’x’.
0x13 0b10011 x1 x1 x2 x1 x1 x1 x1
0x14 0b10100 x1 x1 x1 x1 x2 x2
0x15 0b10101 x1 x1 x2 x2 x1x x1
0x16 0b10110 x1 x1 x1 x1 x2 x1 x1
0x17 0b10111 x1 x1 x1 x1 x1 x1 x2
0x18 0b11000 x4 x2 x1 x1
0x19 0b11001 x2 x1 x1 x2 x1 x1
0x1A 0b11010 x1 x1 x2 x1 x1 x2
0x1B 0b11011 x1 x1 x1 x1 x1 x1 x1 x1
0x1C 0b11100 x2 x1 x1 x4
Others Reserved
STKCFG Field in the
STK3CFG Register
Stack Configuration
Table 5 Possible Configuration for Stack 3 (Page 2 of 2)
剩余20页未读,继续阅读









安全验证
文档复制为VIP权益,开通VIP直接复制

评论0