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.

[参考译文] TMS320F28375S:CRC 实现(更改了多项式)。

Guru**** 2534260 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1428537/tms320f28375s-crc-implementation-with-changed-polynomial

器件型号:TMS320F28375S
Thread 中讨论的其他器件:C2000WARE

工具与软件:

C2000系列支持 VCU0、1、2、VCRC、可计算 CRC。 我需要可配置的多项式。 该 DSP 系列不允许我将前面提到的任何选项用于可配置多项式。 我只能使用软件来计算 CRC。 能否请您确认我的回答是否正确? 此外、我还想将任何 TI 标准库用于 CRC 计算的软件实现。 它是8位 CRC 计算。    

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

    尊敬的 Shivam:

    是的、该器件包含一个仅支持特定多项式(如果我调用正确、则为2)的 VCU。 VCRC 支持可配置的多项式。

    一个可能对您有所帮助的 示例是 C2000Ware 的28p55x_vcrc_config_poly 示例中的 crc_run8BitTableLookupC ()、该示例位于 C:\ti\c2000\C2000Ware_5_02_00_00\libraries\dsp\VCU\c28\examples\ccrc\28p55x_vcrc_config_poly

    这是基于查找表的 CRC 计算、其中需要根据所需的多项式设置 LUT。 这是您必须根据 CRC 多项式生成的结果、然后与该函数一起使用。

    谢谢!

    SIRA