MPC5643L CRC-8 calculation result is strange

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

MPC5643L CRC-8 calculation result is strange

1,468 次查看
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,252 次查看
fangfq
Contributor III

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

0 项奖励
回复

1,252 次查看
yaort_amoureux
Contributor II

Were you able  to figure it out ? 

0 项奖励
回复

1,252 次查看
martin_kovar
NXP Employee
NXP Employee

Hello,

Could you please write me, which microcontroller you use?

Regards,

Martin

0 项奖励
回复

1,252 次查看
fangfq
Contributor III

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

0 项奖励
回复

1,252 次查看
fangfq
Contributor III

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

0 项奖励
回复

1,252 次查看
fangfq
Contributor III

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

0 项奖励
回复