This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCT8329A: MCT8329a CRC calculation appears off by an xor of 0xF

Part Number: MCT8329A


output from logic analyzer (MCU agrees):
```

write to 0x60 ack data: 0xD0 0x00 0x80
read to 0x60 ack data: 0x02 0x4D 0x40 0x7F 0xBE 0x00'

```

0x60 write translates to 0xC0 (0x60 <<1)

0x60 read translates to 0xC1 (0x60 << 1 | 1)

full byte sequence (gives a result of 0xc0 0xd0 0x00 0x80 0xc1 0x02 0x4d 0x40  0x7f ) for CRC calculation with generator 0x07 (x^8 + x^2 + x + 1)  gives output 0xB1

www.sunshine2k.de/.../crc_js.html

This disagrees with system output of 0xBE

If I end CRC calculation with xor 0x0F then i get the "correct" value as output by the MCT8329a

I tested this on a 5+ registers and it was consistent.

I don't know why this is the case.

Any thoughts? Can anyone replicate this?