I would like to modify the CRC example code provided by the S32 DS.
Example code is "CCITT 16 bits standard" but I have to use "CRC-16-IBM"
Which part should I modify?
Can you provide a fix code?
The example code is "crc_checksum_s32k144" in the S32 design studio.
- .CRC-16-CCITT (x16 + x12 + x5 + 1)In example code
- .CRC-16-IBM (x16 + x15 + x2 + 1)
/*!< CRC Polynomial, MSBit first.<br/>
* Example polynomial: 0x1021U = 1_0000_0010_0001 = x^12+x^5+1 */