Hi.......I a trying to implement CRC-16 code for error detection in C.Do anyone have the code for it...
Yes..........I do..... What poleynomial do you wanting????????
Google knows many implementations. Did you look?
Large and fast tabulated code, or small but slower code with on-the-fly bit-shifting?
And as already noted, you need to decide what polynomial. Note that there exists code that starts with the least significant bit first, and code that starts with the most significant bit.
And you need to decide if the code should start with 0000 or 0xffff and if it should perform an inversion at the end.
www.repairfaq.org/.../F_crc_v31.html
View all questions in Keil forum