MPC5643L CRC-8 calculation result is strange
07-24-2017
05:45 PM
1,674 Views
fangfq
Contributor III
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
6 Replies
08-29-2017
09:43 AM
1,458 Views
fangfq
Contributor III
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can anyone help me with this question? Thanks in advance!
02-13-2020
06:28 PM
1,458 Views
yaort_amoureux
Contributor II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Were you able to figure it out ?
08-07-2017
05:57 AM
1,458 Views
martin_kovar
NXP Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Could you please write me, which microcontroller you use?
Regards,
Martin
08-07-2017
09:13 AM
1,458 Views
fangfq
Contributor III
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, sorry I missed that. I am using MPC5643L. Thanks,.
07-31-2017
09:23 AM
1,458 Views
fangfq
Contributor III
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can anyone help me with this question? Thanks in advance!
07-27-2017
09:19 AM
1,458 Views
fangfq
Contributor III
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can anyone help me with this question? Thanks in advance!