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.

[参考译文] AM2634-Q1:[MCAL ]如何在 MCAL CAN 模块中设置采样模式?

Guru**** 2535150 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1275245/am2634-q1-mcal-how-sample-mode-can-be-set-in-mcal-can-module

器件型号:AM2634-Q1

亲爱的香榭丽舍大街,

您能告诉我如何在 MCAL CAN 模块中更改采样模式吗?

我的客户的要求之一是对 CAN 采样模式使用单采样模式、如下所示、他们想知道如何在 MCAL CAN 模块中更改采样模式。

请告诉我如何在 MCAL CAN 模块中更改采样模式。

谢谢、此致、

SI

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

    尊敬的 Sung:

    可通过更改 CanControllerSyncJumpWidth 参数来更新采样模式。

    此致、

    马赫斯瓦尔

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

    你好,Maheswar。
    您能更详细地解释一下吗?
    如何使用 SJW 调整采样计数?

    在本例中、 采样计数是多少? (不是时间宽度,是关于采样计数调整的问题)
    以下 CanControllerBudrateConfig 参数是我的当前配置。

    CanControllerBaudRate = 500
    CanControllerPropSeg = 47
    CanControllerSeg1 = 16
    CanControllerSeg2 = 16
    CanControllerSyncJumpWidth = 16

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

     金松焕

    对于在 MCAL 中完成的采样点计算、您能否参阅以下常见问题解答?

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/920090/faq-tda4vm-can-how-is-bit-rate-calculated-for-can

    谢谢。此致、

    苏尼尔