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.
您好!
我几乎就在那里、但我需要再次提供一些帮助。
我想计算具有 MSP430F6659 CRC 模块的 TMS3705和 TMS37157之间通信的 CRC-16。
我尝试使用示例代码:
unsigned int i、crc_result、crc_Init = 0x3791; //--- <Calculate CRC-16 >----- CRCINIRES = CRC_Init; //初始化 CRC for (i=0;i<7;i++) //循环 { CRCDIRB = varTMS3705_data[i];//在 CRC 中输入数据 //__no_operation(); } CRC_RESULT = CRCINIRES; //保存结果(按照 CRC-CCITT 标准)
但结果是错误的。
有什么想法吗?
此致
格尔德