Hi Shehzad,
Please provide us some more details on your test set up and modifications to understand the issue better.
1.Could you please share the modification part of 2-wire example code ?How did you subtract the series resistance value from the DFT results?
2.What is the Z value and RCAL,RTIA,CTIA and DAC output voltage set?
3.What is the frequency of measurement and series resistance value?
4. How much is the phase offset measured?
Thanks
Balaji