在使用LS1021芯片编写硬件CRC驱动时,使用自定义的多项式模式,使用key命令将多项式加载到class 2 key register中,计算结果并不正确,也没有错误状态提示。
使用IEEE802或者IETF3385内置的协议时计算没有问题,请问一下使用自定义多项式的话应该怎么加载到寄存器中才能得到正确的结果。程序代码部分如下:
You are already in contact with NXP support with respect to this issue, Support Case #00176281. Please update the
Support Case with the information we requested to receive more recommendations.
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
When using the LS1021 chip to write the hardware CRC driver, use the custom polynomial mode, use the key command to load the polynomial into the class 2 key register, the calculation result is not correct, and there is no error status prompt.
There is no problem when using the IEEE802 or IETF3385 built-in protocol. How do you load a custom polynomial into a register to get the correct result? The program code is as follows: