Is CRC8 possible for CRC module?

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

Is CRC8 possible for CRC module?

Jump to solution
970 Views
kenansun
Contributor II

Hi,

I'm trying to use the CRC module on my K60 MCU to generate CRC 8 code. I checked the methods in PEx and I found it not possible. It seems that the poly should be at least 16bit.

I also find a similar question here:

CRC_8 for Kinetis K60?

but no answers yet.

Does anybody know the answer? Please help me!

Many thanks!

Kenan

Tags (1)
1 Solution
679 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Kenan SUN,

I am sorry, but this module just supports CRC-16/32 . No support for 8 bit calculations.


Sorry for the inconvenience that has caused.


Have a great day!

B.R

Kan

View solution in original post

0 Kudos
2 Replies
679 Views
tim_povall
Contributor II

8-bit CRC actually is possible with a 16 or 32-bit CRC module.

 

You can convert the 8-bit polynomial into 16-bit by shifting 8 bits to the left, and then to get a 8-bit result do the same to the resulting 16-bit CRC. Similarly, with 32-bit you would need to shift 24 bits to the left.

 

See my more detailed answer to a similar question here: S32DS CRC 8 calculation 

0 Kudos
680 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Kenan SUN,

I am sorry, but this module just supports CRC-16/32 . No support for 8 bit calculations.


Sorry for the inconvenience that has caused.


Have a great day!

B.R

Kan

0 Kudos