Now,I configurate AD2S1210,10bit resolution.found a problem as below：
After I write 0x92 register,interval 50uS,I can read this register the first time,But I want to read this register again without other action,I found that read data is error,the data is "0",the real write data is 0x7c.
Attached is write data time series and read data time series.Blue is "WR/SYNC",yellow is "CLK",green is "SDI",pink is "SDI"
Would you give some comments how to do this problem?
I assume here green is SDI and pink is SDO.
Are the sequences above concurrent? The write sequence and then the read.
The data you are writing 0x7C is being written correctly as it does come back during the read sequence.
I would make the following observations
- Can you idle SCLK low prior to both reads and writes
- In the read sequence the second command is 0x00 on SDI. This is not a valid address. I would recommend you always use a valid address.