I found how to calculate CRC-16-CCITT. but I think the step to computing CRC on datasheet isn't same way with standard CRC-16-CCITT on the wiki. So I'm not sure which one is the correct or I misunderstand. 1. computing CRC data will be shifted 1bit and then check the MSB. but first step in the datasheet, the data will be shifted 8 bit. 2. why first step XOR the FFFFh? I think it should be 1021h 3. do we need to add 16bit logic 0 at the tail to calculate the CRC?
↧