After having no success in sensorPal (non solved topic: CN0510 development kit shows unexplainable values on LFP LiFePO cell, impedance and battery impedance SensorPal ) I tried to move from the GUI to the actual code and terminal.
I downloaded the Keil uVision environment, installed the arm 5 compiler (V5.06 update 7 build 960) and added CMSIS 5.9.0 to the Keil environment to build the code.
In the environment I opened the example "AD5940_BatImpedance", built the code and got it flashed to the devboard.
The code does seem to run up to a certain point:
After a measurement with 0.000000,0.000000, the system seems to get stuck waiting for an interupt flag in:
AppBATMEASURERCAL -> while(AD5940_INTCTestFlag(AFEINTC_1, AFEINTSRC_DATAFIFOTHRESH) == bFALSE);
This happens on each restart/reflash.
Secondly, the values for the resistance seem pretty much off?
Who can help me out on this.