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 核间同步以及EDMA3 channel的问题



我用6678处理数据,中间需要同步,从核发message给主核,当主核收到全部从核的message,再各个发回。但是这太慢了,

if (MessageQ_put(reply_queue_id, (MessageQ_Msg)p_msg) < 0) {
printf("%s: MessageQ_put had a failure error\n", receive_queue_name);
goto close_n_exit;
}

一个以上语句就需要大约50ms,伤不起啊。请问有没有其他的同步方式能快一些啊?

另外,edma3 只能申请三个channel ,edma3init函数里面会对此判断,

if ((edma3Id >= numEdma3Instances) || (errorCode == NULL))
return hEdma;

我将numEdma3Instances改为9也不行,是不是需要重建函数库啊?求专家详解!小弟在此谢过了!