MPC5643L CRC-8 calculation result is strange

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

MPC5643L CRC-8 calculation result is strange

1,467件の閲覧回数
fangfq
Contributor III

I am trying to use CRC module for CRC-8 calculation. The result I am getting is strange. For example, I put 0x00000002 to INP, 0x00000000 to STAT, and get result equals to 0x32. But it should be 3A.

For CRC-8, there are very few description in the reference manual. Does it require any bit reversal or byte swapping? Do I need to use SWAP or INV bits?

Thanks.

0 件の賞賛
返信
6 返答(返信)

1,251件の閲覧回数
fangfq
Contributor III

Can anyone help me with this question? Thanks in advance!

0 件の賞賛
返信

1,251件の閲覧回数
yaort_amoureux
Contributor II

Were you able  to figure it out ? 

0 件の賞賛
返信

1,251件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hello,

Could you please write me, which microcontroller you use?

Regards,

Martin

0 件の賞賛
返信

1,251件の閲覧回数
fangfq
Contributor III

Oh, sorry I missed that. I am using MPC5643L. Thanks,.

0 件の賞賛
返信

1,251件の閲覧回数
fangfq
Contributor III

Can anyone help me with this question? Thanks in advance!

0 件の賞賛
返信

1,251件の閲覧回数
fangfq
Contributor III

Can anyone help me with this question? Thanks in advance!

0 件の賞賛
返信