AnsweredAssumed Answered

AD9656 - SPI Initialization problems

Question asked by ipruzhinin on May 17, 2017
Latest reply on Jul 6, 2017 by DougI

I try to initialize AD9656 according datasheet. Write (1 << 5) | (1 << 2) to the address 0x0, the readback is 0x1A looks like bit1 is set and LSB mode is selected - but value must be 0x18.



I check the incoming data using debug print  as well as checking SDIO line with oscilloscope. And when I write data as I mentioned above, I see not 0x18 but 0x1A while reading register at 0x0.


But the data mode is still MSB - ADC understands incoming address, separate whether the command type is write or read.


Moreover the readback from some registers are not the same according to written values.

For instance  - write 0x55 at 0x3B but got 0x54 (checked with oscilloscope).


Thanks in advance!