In my design there are two c6678 DSPs and a FPGA connect to a RapidIO SWITCH , the switch is from IDT and supports Level I and Level II rate up to 6.25G. All of them are configured to work at 4x mode, but the connection is not stable , sometimes the DSP can not send packets( maintaince or DIO) , a read to SP0_ERR_STAT shows that retry or input_error_stopped or output_error_stopped bits are set. The situation seems to be the same when working at 1.25G/2.5G/3.125G , but when configured to work at 5G , the PORT_OK bit in the SWITCH is not set (DSP is OK) and we cann't send packets .Here is my configuration:
// SRIO_SERDES_CFGPLL = rate | 0x00000201; // 1.25、2.5、3.125G
SRIO_SERDES_CFGPLL = rate | 0x00000001; // 5G
SRIO_SERDES_CFGRX0_CNTL = 0x00440495; // Fully adaptive equalization, Half rate, Enable Receiver0
SRIO_SERDES_CFGRX1_CNTL = 0x00440495; // Fully adaptive equalization, Half rate, Enable Receiver1
SRIO_SERDES_CFGRX2_CNTL = 0x00440495; // Fully adaptive equalization, Half rate, Enable Receiver2
SRIO_SERDES_CFGRX3_CNTL = 0x00440495; // Fully adaptive equalization, Half rate, Enable Receiver3
SRIO_SERDES_CFGTX0_CNTL = 0X00180795; // Half rate, Enable Transmitter0
SRIO_SERDES_CFGTX1_CNTL = 0X00080795; // Half rate, Enable Transmitter1
SRIO_SERDES_CFGTX2_CNTL = 0X00080795; // Half rate, Enable Transmitter2
SRIO_SERDES_CFGTX3_CNTL = 0X00080795; // Half rate, Enable Transmitter3
I have tried many other opporaches , changed the PRE_TAP & POST_TAP value , TX SWING , try to disable RX EQ , but it doesn't work as well...
Is there any way to solve the problem, do I need to do some other configure for high speed transmission?
Many Thanks