Hello,
I'm trying to connect a EVM6678LE (with AMC to PCIe-AdaptorCard) with a FPGA (Stratix II, Altera Wizard SRIO). As example I tested the SRIOdioISR-Example in Loopback-Mode. Configuration is as follows:
-Set PLL to 0x241 (312.5 MHz RefClock, 2.5 GBaud)
-Configure 1 Lane for 1 Port (also tested example with 1 Lane on 4 ports and also 1 4x port, everything worked fine)
For the connection with the FPGA I modified this code-snippets:
-CSL_BootCfgSetSRIOSERDESRxConfig for all ports from Loopback (0x01C404A5) to non-Loopback (0x004404A5)
-CSL_BootCfgSetSRIOSERDESTxConfig for all ports from Loopback (0x007807A5) to non-Loopback (0x001807A5)
-CSL_SRIO_SetNormalMode instead of CSL_SRIO_SetLoopbackMode
Behaviour is as follows:
1) Power up FPGA and DSP the FPGA says PORT_OK; DSP says PORT_NOT_OK; Register Lane_0_status is 0x4F08 (no Rx_sync and Rx_Rdy) instead of 0x7F08 for the loopback-example
2) I also wonder about when I test the loopback-example and change the SERDES-config from loopback to Non-Loopback, that this change has no effect -> example also works...
3) Leaving the DSP in loopback-mode, the FPGA don't get a PORT_OK as I've expected
4) Moreover if I halt the DSP before setting the bootComplete, FPGA also don't have a connection. Running further, FPGA can establish a connection. So it seems everything's alright on FPGA-side, but not on DSP-side
Can somebody give advice how I can debug why the C6678 don't get a PORT_OK?
Best Regards,
Bernd