LS1021硬件CRC自定义多项式问题

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1021硬件CRC自定义多项式问题

539 Views
2565033196
Contributor I

在使用LS1021芯片编写硬件CRC驱动时,使用自定义的多项式模式,使用key命令将多项式加载到class 2 key register中,计算结果并不正确,也没有错误状态提示。

使用IEEE802或者IETF3385内置的协议时计算没有问题,请问一下使用自定义多项式的话应该怎么加载到寄存器中才能得到正确的结果。程序代码部分如下:

0 Kudos
2 Replies

446 Views
bpe
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

446 Views
andrei_skok
NXP Employee
NXP Employee

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:

0 Kudos