Tool/software:
Dear TI-Team,
as a follow up to the initial thread we currently see a not well understood behaivior in the link training phase and the resulting PCIe link status.
Description of the setup:
Intel Xeon CPU (Rootcomplex) --> Slot --> Custom PCIe PCB with 2x DS125BR401 for x8 gen. 2 link and iPass connector --> 50 cm iPass cable --> Custom PCB with Stratix 10 FPGA
TX-Caps are placed accordingly.
Description of the behavior:
Once the link is trained for x8 gen. 2 it stays at these parameters. The tricky part is link training.
The custom PCIe PCB with 2x DS125BR401 was added to the setup as we assumed signal integrity issues due to the long cable link and the resulting eye being too closed. The initial tuning of INEQ and OUTEQ of the DS125BR401 was done according to the Datasheet with relatively high levels. First successful link training was achived with all INEQ and OUTEQ on level 1 in both directions. The mentioned 20K resistor on the "MODE" pin was not placed and the pin was left floating. This setup is some sorf of a baseline for further tests. This setup did perform well in some statistical analysys in different setups but not achieve 100 % gen. 2 (sometimes fallback to gen. 1 after link training, always x8).
Our next step was changing the levels of INEQ and OUTEQ to improve the eyediagram. Results show a pretty open eye:
Upstream direction towards the CPU
Downstream direction towards FPGA
The INEQ levels are both 1 for upstream and downstream direction. The OUTEQ level for the upstream is 4, for downstream it is level 8.
Now comes the caveat: The link training fails more often resulting in a gen 1 link with the "better" eye levels set at the redriver as with the level 1 tunning where we get a 1:8 failure rate. With the "good" tuning we almost never train a gen. 2 link.
As mentioned in the other thread,we placed a 20 K resistor to GND at the MODE pin switching it to "Gen 3 - no de-emphasis". This made gen 2 link training even possible and we are currently generating statistics but so far there are rare cases of gen 1 link training and high rates of gen 2.
Now we need to understand what is happening:
- Why is link training failing more often with "better" eyes?
- What is the mode pin exactly doing and why does it improve link training dramatically for us?
- Why is the mode "Gen 1, Gen 2" not improving even though that is the desired datarate?
Thanks
Marvin