This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

请教6678的SRIO两机对联遇到的问题??



我是SRIO初学者,最近做了以下实验,最终目的是要完成DSP与FPGA的数据通信。

实验一 DSP双机通信

硬件:两个6678evm开发板,自制带两个AMC插座的连接板,其中连接板上1X用SMA头引出准备外接FPGA,另外3个1X直接将两个AMC间对联,用于DSP对联通信。

软件:修改论坛例程SRIO_NO_LOOPBACK模式下的代码,在两个6678evm开发板上,分别在1.25G\5G均实现了3个1X的链接和数据传输。

控制台显示以下信息:

match_ACK_ID SP_ACKID_STAT=0x303

SWRITE   from 0x1081a000 to 0x10822000,   8192 bytes, completion code = 0

我认为是正确传输了,我访问了DSP1的目标地址验证,数据传输完全正确。

但是当我打开print_SRIO_status_error()函数时,却打印以下信息:

The output port 0 has encountered a failed condition. The failed port error threshold has been reached in the Port n Error Rate Threshold Register.

 

The output port 0 has encountered a degraded condition. The degraded port error threshold has been reached in the Port n Error Rate Threshold Register.

 

The output port 0 has encountered (and possibly recovered from) a transmission error. This bit is set when bit 16 is set.

The input port 0 has encountered (and possibly recovered from) a transmission error. This bit is set when bit 8 is set.

Port 0 OK condition. The input and output ports are initialized, and the port is exchanging error-free control symbols with the attached device.

 

The port 0 detected a delineation error. The port received an unaligned /SC/ or /PD/ or undefined code-group. The capture registers do not have valid information during this error detection.

 

15 8b/10b deconding error have occurred

问题:

1.以上错误不影响数据传输吗??尤其是最后一条,如果要影响为什么数据传输成功了呢?

实验二 DSP与FPGA 通过连接板上的SMA头对联

DSP:6678EVM   ,FPGA是arriaV的开发板,物理连接方式是FPGA开发板引出sma头通过同轴线到连接板的sma头,同轴线约20cm长另外,两端在发送端均串有0402封装的0欧电阻,接收端串有0.1uf电容。

结果对联初始化的第一步就通不过,FPGA的port initialize电平一直不拉高?DSP一直停在查询port_ok状态没办法进入下一步。

(用sma头这一路1X 将两个DSP链接,也能传输成功,实验一已经做过了,连接板硬件接口的问题可以排除吧)

问题:

2.上述实验一的描述错误会影响与FPGA的对联吗?? DSP程序在上面DSP双机通信代码基础上还要做其他修改吗?

3. DSP与FPGA链接时,除了传输速率1.25G要相等外,收发器参考时钟是不是一定要相等?DSP与FPGA均设置为250M。

4. DSP与FPGA对联链接不成功,还有什么手段可以调试吗?


请高手解答下吧,一直卡在第一步很难继续,非常感谢!