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.

[参考译文] 编译器/AWR1642:mcan

Guru**** 2014090 points
Other Parts Discussed in Thread: AWR1642
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

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