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.

ADS8924B: Help with SPI communication

Part Number: ADS8924B

Tool/software:

Hi,

I'm having trouble interfacing the AD8924B so I think my understanding of the datasheet might be wrong. For example here are the SPI frame for communication with register OFST_CAL( Address 0x20):

I'm first writing a value to the register in the first frame.

In the second frame I send a RD_REG frame.

Finally in the last frame the first 8 bits should be the value I wrote in the first frame (0x02). But that is not what I get.


Any suggestions what could be wrong? Did I get this backward?

I'm using 24bits long frame but according to datasheet it should be fine as long as the last 22bits are correct.


Thanks

  • Looking at this again this morning I spotted my mistake. I'll leave this here just in case anyone ever needs it.

    As mentionned in the datasheet the address is 9bits long not 8bits. So the correct frame for a write in the example above is 0x242002 and then 0x222000 for a read.