I am using the impedance example for ad5940-examples/examples/AD5940_Impedance at master · analogdevicesinc/ad5940-examples (github.com) in Impedance.c and AD5940_Main.c for an ESP32 port.
The problem is that I'm getting the following readings of noisy data:
Freq, RzMag (ohm), RzPhase (degrees)
1000.00, 442.177460, -261.869904
1047.13, 331.633087, 135.000015
1096.48, 0.000000, -180.000015
1148.15, 3.727768, 84.343788
1202.26, 476.197327, -203.962509
1258.93, 1483.108154, 161.565048
1318.26, 0.000000, -71.565056
1380.38, 0.000000, -180.000015
1445.44, 1048.715820, 153.434967
1513.56, 1300.771973, 33.690071
1584.89, 548.922974, -200.556061
1659.59, 1440.522095, -10.619654
I used an oscillosope to view the CE pin but only found noisy waveforms from WG.
This is the only thing I changed for testing:
1096.48, 4690.000000, 0.000000