The S32 SDK provides Peripheral Drivers for the Cyclic Redundancy Check (CRC) module.
.
- CRC with S32K1xx:
- Generate 16/32-bit CRC code for error detection.
- Provides a programmable polynomial, seed, and other parameters required to implement 16/32-bit CRC standard.
- Calculate 16/32-bit code for 32 bits of data at a time.
CRC with MPC574x:
- Generate 8/16/32-bit CRC code for error detection.
- Provides a programmable polynomial, seed, and other parameters required to implement 8/16/32-bit CRC standard.
- Calculate 8/16/32-bit code for 32 bits of data at a time.
Important note when use CRC module with MPC574x devices:
- When generating CRC-32 for the ITU-T V.42 standard the user needs to set SWAP_BYTEWISE together with INV and SWAP.
- When generating CRC-16-CCITT(0x1021) standard the user needs to set SWAP_BITWISE bit.