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.

PEC crc calculation

I'm having a problem matching my crc calculation to the one I'm getting back from your chip. I'm able to set the PEC bit in Cfg B using the eval software and now I'm receiving the crc, but it doesn't match the calculation in my software. As an example, I send a simple 0x01 RemainingCapacityAlarm command and I receive 0xCC 0x01 0xCD, where 0xCD is your crc. My calculation of the crc is 0x16. Am I missing something here??? Are more bytes being used for your crc than just the 2 data bytes??? Is there some special crc seed being used, like doing an xor with 0xFF on the first byte??? Thanks