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.

[FAQ] [参考译文] [常见问题解答] DLPC1438:用于 DLPC1438 CRC16计算的 Python 脚本示例

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

https://e2e.ti.com/support/dlp-products-group/dlp/f/dlp-products-forum/1159336/faq-dlpc1438-python-script-example-for-dlpc1438-crc16-calculation

器件型号:DLPC1438

客户可能会发现在 DLPC143x 系统上很难正确格式化和发送传入 SPI 数据以进行 CRC16计算。 《DLPC1438软件编程人员指南 》的第4.2节讨论了此过程、但是、我们提供了一个示例 Python 脚本、用于格式化 SPI 数据。 此脚本使用了 crcmod 中提供的开源 Python 模块 CRC 和 mkCrcFun 。 此脚本是使用 Python 3.7.7解释器构建的。

此致、

奥斯汀

Python CRC16脚本示例