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.

[参考译文] TMS320F28377D:CAN ID 滤波器问题

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1183245/tms320f28377d-can-id-filter-issue

器件型号:TMS320F28377D

大家好、

以下是客户提出的问题、可能需要您的帮助:

如何配置 CAN 来实现0x1FFFFFF0至0x1FFFFFFA 的 ID、从而触发接收中断?

--

谢谢、此致、

耶鲁李

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

    耶鲁大学

             在这种情况下、只有最后的半字节(4位)可以假设任何值。 因此、需要将掩码中的半字节配置为忽略接收到的帧的 ARB ID 中的4个位。 只需在掩码值中使该半字节为0。 屏蔽值0x1FFFFFF0将为您执行此操作。 如 需更多信息、请查看 www.ti.com/lit/SPRACE5中的掩码示例。