SLAU923B June 2025 – April 2026 MSPM0H3216 , MSPM0H3216-Q1
When working with half-word or word input data, the input byte order can be configured as either little endian or big endian. The default configuration is little endian. To reverse the byte order when using half-word or word inputs, set the INPUT_ENDIANNESS bit in the CRCCTRL register.
Reversing the endianness will cause the following translation for half-word and word writes:
| Endianness | Data Written to CRCIN | Data Applied to CRC Logic |
|---|---|---|
| 0 (little) | 0x1234 | 0x1234 |
| 1 (big) | 0x1234 | 0x3412 |
| 0 (little) | 0x12345678 | 0x12345678 |
| 1 (big) | 0x12345678 | 0x78563412 |