Post Go back to editing

issue with SPI COMMUNICATION WITH AD7173-8, controller ESP32

Thread Summary

The user encountered incorrect reset values for the AD7173-8 ADC registers when interfacing with an ESP32. The issue was resolved by adjusting the SPI frequency. The ADC now reads bipolar signals correctly in single-ended configuration, but the user is experiencing a 10 mV accuracy error and seeks advice to achieve sub-1 mV accuracy. The final answer suggests that the accuracy can be improved by considering INL, offset, and gain errors, and performing an RSS (Root Sum Square) calculation of these error contributors.
AI Generated Content
Category: Hardware
Product Number: AD7173-8

Hello everyone,

I am writing a driver to interface AD7173-8 to ESP32 Microcontroller. when I try to read the reset value of a particular register, it is giving different value.

here are the register reset values I tried to read 

the status register reset value as per the datasheet is 0x80. but the reset value I read is 0x81.

the ADCMODE  register reset value as per the datasheet is 0x2000. but the reset value I read is 0x201.

the IFMODE  register reset value as per the datasheet is 0x0000. but the reset value I read is 0x01.

please help to tackle this issue.

thank you

Edit Notes

Moved & tagged
[edited by: emassa at 4:03 PM (GMT -5) on 2 Mar 2023]