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.

ADS7138: CRC calculation

Part Number: ADS7138

Hello,

I am using the ADS7138, for me is unclear how to use the CRC module.

As far as it is written in the documentation the CRC have to be appended to every byte read or write.

So when I configured the ADS7138 for the CRC mode I have to transmitt a read operation as following:

Host -> 7-Bit_Addr, R/W; Opcode; CRC; Addr; CRC;

Device -> Data; CRC; Data; CRC; .... Data; CRC;

The question is: Is Opcode and Addr also checked with a CRC? Or only the data bytes have its CRC?

How does it work for a write operation?

Host -> 7-Bit_Addr, R/W; Opcode; CRC; Addr; CRC; Data; CRC; Data; CRC; .... Data; CRC;

Regards

Micha Klingler