Post Go back to editing

Not able to read data properly from AD7387?

Hi,

Hope all are doing good!!!!

I have done the register configuration as per given table for write and read operation.I am able to read data from ADC but when i m trying read it for multiple times, data gets changing continuously.

ADC=AD7387(SPI write and Read)

Register

Write_Value

Read_Value

Configuration-1

0x9802

0x1000

Configuration-2

0xA100

0x2000

Alert_Register

--

0x3000

Alert_Low_Threshold

0xC1F1

0x4000

Alert_High_Threshold

0xD3A9

0x5000

Before reading as per Datasheet I sent first NOP command 0x0000 then it should provide me data in next frame but i can't able to get data.

When i am giving 1V analog input to ADC so its digital equivalent should be 0x5000 but while reading multiple times i m getting 0x6558 or 0x12546 or 0x8564 so on...like this only.it is continuously fluctuating and I am not able able to get proper data. 

Please tell me  the frame format for   1-wire mode and how data will  come and how many cycles it will take to provide proper data. Data from ADC is continuously fluctuating while receiving.

Please suggest me how can I read equivalent digital data properly from ADC as per my analog input voltage.

Thanks and Regards,

Rohidas Pawar