Hi Sai, You mentioned that when you write to a register and do a read back data appears to be right shifted. This is likely the same issue when you read ADC conversion data, since you mentioned there is a specific offset in the data. There is probably an issue with the way you are capturing the SPI data with your MCU. The best way to verify is to check the digital communication with a logic analyzer. It would be more helpful if you could provide the captures of when you are writing/reading from the device registers and when doing ADC conversion data reads. Are you applying negative or positive voltage? Is your signal single ended or differential? A schematic and more details on how/what you are applying at the inputs would be helpful. [quote userid="627640" url="~/support/data-converters-group/data-converters/f/data-converters-forum/1427198/ads1220-ads1220--analog-input-voltage---read-value/5474314#5474314"]here i am not waiting till drdy pin going LOW[/quote] DRDY indicates when new conversion data is available. If you do a data read before new data is available, you will receive the ADC data from the previous conversion. Also in your post it seems like your sentences are being cut off, so I'm not sure if there is additional information that I am missing: Best Regards, Angel
↧