Check the value of CRC32 on CRC module.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Check the value of CRC32 on CRC module.

跳至解决方案
2,110 次查看
Jeff-CF-Huang
Contributor III

Hi Sir,

I add a CRC module to generate the value of CRC32.

But the value is different form others.

For example:
intput = 0xAAAAAAAA, result should be b596e05e. like on crc32 online tool .

I tested all combinations (WriteBitSwap, WriteByteSwap, ReadBitSwap, ReadByteSwap, InverseEnable) of Crc_ChannelConfigType. No one result is matched.

Could you tell us how to configure CRC module currectly?
There is our configuration:
Crc_Ip_ProtocolType = CRC_PROTOCOL_32BIT_CUSTOM
PolynomialValue = 0xEDB88320
Calculation Type = CRC_IP_RUNTIME_CALCULATION
Seed Value = 0xffffffffu

0 项奖励
回复
1 解答
2,095 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Can you let us know which RTD/IDE version are using? Are you using any example?

Are you using any NXP platform? Or is this a custom board?

Also, how exactly are you obtaining the polynomial value? We use the provided information and get the following output with the following CRC calculator (CRC Calculation Online (lddgo.net)

DanielAguirre_0-1693254916824.png

Which does not seem to be the same polynomial you are using.

Please, let us know.

在原帖中查看解决方案

2 回复数
2,096 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Can you let us know which RTD/IDE version are using? Are you using any example?

Are you using any NXP platform? Or is this a custom board?

Also, how exactly are you obtaining the polynomial value? We use the provided information and get the following output with the following CRC calculator (CRC Calculation Online (lddgo.net)

DanielAguirre_0-1693254916824.png

Which does not seem to be the same polynomial you are using.

Please, let us know.

2,051 次查看
Jeff-CF-Huang
Contributor III
After changing "Polynomial Value" to 04C11DB7, it works. Thank you.
0 项奖励
回复