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.

[参考译文] TMS570LC4357:CRC15 使用

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1603940/tms570lc4357-crc15-usage

器件型号: TMS570LC4357

您好、

我使用 CAN 总线协议进行通信。 但我应该在数据发送或接收期间设置 CRC。 如果我应该设置、如何操作? 如果我没有设置 crc15、 TM 设备是否会进行设置?

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

    尊敬的 Dobby:

    您不需要将 CRC 模块用于 CAN 通信。 CAN 硬件在发送和接收期间自动生成并检查 CRC 字段。

    CAN 协议本身定义了 CRC 字段(传统 CAN 的 CRC-15)。 CAN 控制器会自动计算 CRC 并将其附加到发送器侧的帧、而在接收器端的 CAN 控制器会自动检查 CRC。

    如果 CRC 错误、则会拒绝该帧并生成错误帧。

    --
    此致、
    Jagadish。