Part Number: MSP432E401Y
Hi,
Could somebody recommend a robust method for implementing CRC-8 capabilities on i2c communication with a safety device? We are using simple-link libraries for our adapter (AEVM Controller), but will need to comply with the following description for some devices:
"The CRC controller uses a standard CRC-8 polynomial to calculate checksum-value, which is X8 + X2 + X1 + 1. The CRC controller checks the CRC of these registers in a 8-bit string.
In a write cycle, the I2C master should provide the 8-bit CRC value after sending the write data bits and receiving the ACK from the slave. The CRC value should be calculated from every bit included in the write protocol except the ACK bits from the slave. In a read cycle, the I2C slave should provide the 8-bit CRC value after sending the read data bits and receiving the NACK from the master. The CRC value should be calculated from every bit included in the read protocol except the ACK and NACK bits."
Thanks and Best Regards,
Rick S.