FS2630 CRC

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

FS2630 CRC

517 Views
User5461
Contributor I

For the FS2630 chip, the CRC calculation part is not clear.

1- Typical CRC calculation algorithms require a seed value. In the FS2630 the seed value "0xFF" is appended to the data. Does that mean that the "0xFF" is now part of the data and the initial/seed value should be "0x00"?

2- The CRC-8 is used here. So for a 32-bit data, and CRC table calculation method, which bytes are to be processed first? The least significant byte or the most significant ones? and is the appended seed part of the data now or not?

3- It is mentioned that the seed and data should be XORed compared with that data polynomial. So, the data including the seed should be XORed with 0x1D or the data and seed should be XORed together and compared to 0x1D?

0 Kudos
Reply
1 Reply

499 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Dear Asmaa, 

please download AN12995 and AN13850 from the FS26 product page, under the secure files. In both you can find CRC code example. In the AN13850 Figure 18. is an SPI waveform with CRC input and response. 

JozefKozon_0-1696406666661.png

With Best Regards,

Jozef

 

0 Kudos
Reply