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.

DRA821U: Main Domain MCAN Message RAM 访问速度咨询

Part Number: DRA821U

我们在进行CAN报文转发测试时发现,从某一路CAN的接收FIFO中直接拷贝数据到另一路的发送Buffer时,指令执行时间非常慢!如下一行C代码对应2条汇编指令,其运行时间为500ns左右,能否优化这种操作的运行时间?

Fullscreen
1
2
3
4
5
6
7
uint64* pDst64 = (uint64*)(txPara.lpTXB->data); //Pointer to Tx Message RAM
uint64* pSrc64 = (uint64*)(PduInfo->sdu); //Can Message Payload, Pointer to Rx FIFO Message RAM
while(i >= 8u)
{
*(pDst64++) = *(pSrc64++);
i -= 8u;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

x 出现错误。请重试或与管理员联系。