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.

关于BCP长时间编码出错的问题

各位工程师: 

        我现在使用BCP实现WCDMA编码时,程序框架如下

while(1){

++num_frame//标示帧号

wcdma_encode();//调用BCP进行WCDMA编码,num_frame为其输入参数

while(!encoding flag);//该标识位在BCP解码完成产生的中断中置1

getdata_frombcp();//get encoded data

encoding_flag=0;

}

 当该代码循环执行到几万次后出现错误(前面均正确):WCDMA编码的上半部分的结果不正确(即DIO之前的那部分编码的结果),我查看错误这次push到BCP txqueue的descriptor以及其对应的payload,发现这两处数据均与以前正确编码的时候一样,由此可以判定输入到BCP编码的数据时正确的,而从BCP出来的数据不正确。另外我在代码中通过move to line跳过上面while()的等待(由于没编码成功,因此encoding_flag=0,即while一直等待),继续编码,发现过了几万帧又出现错误的情况。请问下这个是不是BCP本身就会有这样的错误概率还是其他的原因?