Other Parts Discussed in Thread: MCT8316A
Hello TI Team,
I have been trying to implement CRC into my code to communicate with the MCT8316A, however I seem to have some issues regarding that. When reading the I2C data sent from the MSP430 to the MCT8316A the resulting CRC bit does not align with the excpected CRC bit when using a x8 + x2 +x1 +1 polynomial as it is described in the datasheet for the mct8316a in section 8.6.2.6. This is the case regardless of how I treat the data bytes: if I put them in LSB first or LSB last.
e.g. the CRC byte for the read from EEPROM command (0x0050 00E6 4000 0000) is 0xFA when I read the data communicated to the MCT8316a by the MSP430, however actually calculating the CRC byte for this 0x07 polynomial results in 0x7D (or 0x21 if the data bytes are LSB first).
Any help in figuring out where I am looking wrong here would be apprechiated.
Kind regards, Simon