Check the value of CRC32 on CRC module.

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

Check the value of CRC32 on CRC module.

Jump to solution
1,053 Views
Jeff-CF-Huang
Contributor II

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 Kudos
Reply
1 Solution
1,038 Views
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.

View solution in original post

2 Replies
1,039 Views
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.

994 Views
Jeff-CF-Huang
Contributor II
After changing "Polynomial Value" to 04C11DB7, it works. Thank you.
0 Kudos
Reply