FS2630 CRC

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

FS2630 CRC

1,190 次查看
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 项奖励
回复
1 回复

1,172 次查看
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 项奖励
回复