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.

[参考译文] TMS320F28335:有关 eCAN 模块中 CANMC 寄存器的 CDR 和 MBNR 位的问题

Guru**** 2589300 points


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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1247519/tms320f28335-questions-about-the-cdr-and-mbnr-bits-of-the-canmc-register-in-the-ecan-module

器件型号:TMS320F28335

大家好、

根据 TRM、只有当 CDR 配置为1和 MBNR 位配置时、数据 CANMDL 和 CANMDH 才能被写入相应的邮箱。

但是我的客户做了相关的实验。 默认情况下、即使 CDR 为0、数据 CANMDL 和 CANMDH 也可以写入相应的邮箱。

那么、 CDR 和 MBNR 位的确切功能是什么?

--

谢谢、此致

耶鲁

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

    耶鲁大学

                   只有当邮箱 (#2/#3)被配置用于传输且相应的 AAM 位被设置时、CDR 位才会与邮箱2和3发挥作用。 换句话说、CDR 仅在应答远程帧时有用。 然后、CDR 的功能是当接收到匹配的远程帧时、如果此时 CDR 置位、则 TRS 位的设置会延迟。 当出现这种情况时、 当 CPU 清除 CDR 时将执行 TRS 设置。