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.
https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/837013/compiler-awr1642-mcan
器件型号:AWR1642工具/软件:TI C/C++编译器
您好!
在 awr1642 canfd 中,我可以在代码中创建不同的消息对象。
我发送了具有不同消息 ID 的消息。 它正在发送。 它的优先级是否基于 id 或对象编号。
如果它位于 canfd 中的对象编号上,我可以在其中设置对象编号。 请指导我。
谢谢、此致、
K Subrahmaniam
您好、Subramaniam、
向您发送 TX 多消息 ID 的代码快照。
IF (testFrameType = CANFD_MCANFrameType_FD)
{
长度= 128U;
if (idIndex > 5)
{
idIndex = 0;
}
msgid = txMsgObjectParams.msgIdentifier + idIndex;
Task_sleep (1U);
while (长度> 64U)
{
RetVal = CANFD_transmitData (txMsgObjHandle、msgid、CANFD_MCANFrameType_FD、64U、&txData[0]、 错误代码(&R);
长度=长度- 64U;
Task_sleep (1);
}
idIndex++;
}
这在以前的帖子中已经得到了解答。 您还可以通过搜索 e2e 帖子来检查它们。
谢谢、
Raghu