Hi guys,
I modify C6678 SRIO example code to connect FPGA and set line rate 1.25G on 1x mode.
The FPGA clock rate is 125MHz.
But they can not find out each other and the C6678 halt on
---> while (CSL_SRIO_IsPortOk (hSrio, 0) != TRUE);
I also modify C6670 SRIO example code to connect the same FPGA and set line rate 1.25G on 1x mode.
They can fine out each other.
The SRIO registers of C6678 are shown below:
SRIO_SERDES_STS=0x08183061 SRIO_SERDES_CFGPLL=0x00000241 SRIO_SERDES_CFGRX0=0x004404b5 SRIO_SERDES_CFGTX0=0x001807b5 SRIO_SERDES_CFGRX1=0x004404b5 SRIO_SERDES_CFGTX1=0x001807b5 SRIO_SERDES_CFGRX2=0x004404b5 SRIO_SERDES_CFGTX2=0x001807b5 SRIO_SERDES_CFGRX3=0x004404b5 SRIO_SERDES_CFGTX3=0x001807b5 SRIO_SP0_ERR_STAT=0x00000001 SRIO_SP0_CTL=0x00600001 SRIO_SP1_ERR_STAT=0x00000001 SRIO_SP1_CTL=0x00600001 SRIO_SP2_ERR_STAT=0x00000001 SRIO_SP2_CTL=0x00600001 SRIO_SP3_ERR_STAT=0x00000001 SRIO_SP3_CTL=0x00600001 SRIO_ERR_DET=0x00000000 SRIO_ERR_EN=0x00000000 SRIO_H_ADDR_CAPT=0x00000000 SRIO_ADDR_CAPT=0x00000000 SRIO_ID_CAPT=0x00000000 SRIO_CTRL_CAPT=0x00000000 SRIO_SP0_ERR_DET=0x00000000 SRIO_SP0_RATE_EN=0x00000000 SRIO_SP0_ERR_ATTR_CAPT_DBG0=0x00000000 SRIO_SP0_ERR_CAPT_DBG1=0x00000000 SRIO_SP0_ERR_CAPT_DBG2=0x00000000 SRIO_SP0_ERR_CAPT_DBG3=0x00000000 SRIO_SP0_ERR_CAPT_DBG4=0x00000000 SRIO_SP0_ERR_RATE=0x80000000 SRIO_SP1_ERR_DET=0x00000000 SRIO_SP1_RATE_EN=0x00000000 SRIO_SP1_ERR_ATTR_CAPT_DBG0=0x00000000 SRIO_SP1_ERR_CAPT_DBG1=0x00000000 SRIO_SP1_ERR_CAPT_DBG2=0x00000000 SRIO_SP1_ERR_CAPT_DBG3=0x00000000 SRIO_SP1_ERR_CAPT_DBG4=0x00000000 SRIO_SP1_ERR_RATE=0x80000000 SRIO_SP2_ERR_DET=0x00000000 SRIO_SP2_RATE_EN=0x00000000 SRIO_SP2_ERR_ATTR_CAPT_DBG0=0x00000000 SRIO_SP2_ERR_CAPT_DBG1=0x00000000 SRIO_SP2_ERR_CAPT_DBG2=0x00000000 SRIO_SP2_ERR_CAPT_DBG3=0x00000000 SRIO_SP2_ERR_CAPT_DBG4=0x00000000 SRIO_SP2_ERR_RATE=0x80000000 SRIO_SP3_ERR_DET=0x00000000 SRIO_SP3_RATE_EN=0x00000000 SRIO_SP3_ERR_ATTR_CAPT_DBG0=0x00000000 SRIO_SP3_ERR_CAPT_DBG1=0x00000000 SRIO_SP3_ERR_CAPT_DBG2=0x00000000 SRIO_SP3_ERR_CAPT_DBG3=0x00000000 SRIO_SP3_ERR_CAPT_DBG4=0x00000000 SRIO_SP3_ERR_RATE=0x80000000 SRIO_PLM_SP0_IMP_SPEC_CTL=0x00000000 SRIO_PLM_SP0_STATUS=0x00000000 SRIO_PLM_SP0_PATH_CTL=0x00000400 SRIO_PLM_SP0_DENIAL_CTL=0x30000000 SRIO_PLM_SP1_IMP_SPEC_CTL=0x00000000 SRIO_PLM_SP1_STATUS=0x00000000 SRIO_PLM_SP1_PATH_CTL=0x00000400 SRIO_PLM_SP1_DENIAL_CTL=0x30000000 SRIO_PLM_SP2_IMP_SPEC_CTL=0x00000000 SRIO_PLM_SP2_STATUS=0x00000000 SRIO_PLM_SP2_PATH_CTL=0x00000400 SRIO_PLM_SP2_DENIAL_CTL=0x30000000 SRIO_PLM_SP3_IMP_SPEC_CTL=0x00000000 SRIO_PLM_SP3_STATUS=0x00000000 SRIO_PLM_SP3_PATH_CTL=0x00000400 SRIO_PLM_SP3_DENIAL_CTL=0x30000000 SRIO_TLM_SP0_CONTROL=0x00009000 SRIO_TLM_SP0_STATUS=0x00000000 SRIO_TLM_SP0_BRR_0_CTL=0x05000000 SRIO_TLM_SP1_CONTROL=0x00009000 SRIO_TLM_SP1_STATUS=0x00000000 SRIO_TLM_SP1_BRR_0_CTL=0x05000000 SRIO_TLM_SP2_CONTROL=0x00009000 SRIO_TLM_SP2_STATUS=0x00000000 SRIO_TLM_SP2_BRR_0_CTL=0x05000000 SRIO_TLM_SP3_CONTROL=0x00009000 SRIO_TLM_SP3_STATUS=0x00000000 SRIO_TLM_SP3_BRR_0_CTL=0x05000000 SRIO_PBM_SP0_STATUS=0x00018000 SRIO_PBM_SP1_STATUS=0x00018000 SRIO_PBM_SP2_STATUS=0x00018000 SRIO_PBM_SP3_STATUS=0x00018000
Please help me determine what might be causing the devices not to get the Port OK.
Best Regards,
Ming-Che Lin