Check the value of CRC32 on CRC module.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Check the value of CRC32 on CRC module.

ソリューションへジャンプ
1,869件の閲覧回数
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 解決策
1,854件の閲覧回数
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 返答(返信)
1,855件の閲覧回数
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.

1,810件の閲覧回数
Jeff-CF-Huang
Contributor III
After changing "Polynomial Value" to 04C11DB7, it works. Thank you.
0 件の賞賛
返信