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.

[参考译文] RM57L843:CAN - IFxMCTL 寄存器的 MsgLst (消息丢失)位

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1475197/rm57l843-can---msglst-message-lost-bit-of-the-ifxmctl-register

器件型号:RM57L843
主题中讨论的其他器件:HALCOGEN

工具与软件:

您好!

HALCOGEN 创建的"canGetData"函数验证 IF2MCTL 寄存器的 MsgLst (消息丢失)位、该位的描述如下:"在 NewDat 仍置位时、消息处理器向这个对象存储了一条新消息、所以前一条消息被覆盖。" 当 RX 数据存储在数据缓冲区中且消息丢失时、该函数返回3。

尽管之前的消息丢失、当前消息是否有效?

此致、

Marcio

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Marcio:

    尽管之前的消息丢失、当前消息是否有效?

    是的、即使最后一条消息丢失、当前消息也是有效的。

    因此该位检查将新到达的消息复制到数据缓冲区的末尾。 这意味着数据缓冲区中的数据仍然有效、这是新消息。

    ——
    谢谢、此致、
    Jagadish。