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.
你好,我遇到一个问题:使用RTDX在PC与DSP间数据交换程序见附件,当MATLAB向DSP写的数据不多时,运行没有任何错误,但当数据超过50个double型时,发现程序卡在这里: while ( status ) status = RTDX_channelBusy( &ichan );检查发现数据已经发送过去了。但通道还处于忙状态!还有一个现象,见程序中所示:我定义了一个数组back_data用于DSP向MATLAB发送数据,只要DSP成功接受了数据,这个数组里前两位显示的就是乱码,检查内存地址back_data与before_data是相连的。(DSPBIOS中RTDX buffer 定义为2064)
为了规避这个问题,我还尝试采用多次发送的方法,每次发送32个double型数据,发现最多可以发送7次,第8次就会失败。是否是由于MATLAB写数据与DSP接收数据的速度不一致造成的?
注:CCS version:3.3.28, DSP:OMAPL138, MATLAB version: 2008a