Post Go back to editing

Convert ADC Code to current in Amperometric measurement

Category: Software
Product Number: AD5940
Software Version: Keil5

Hi,

I am looking into the code of amperometric for AD5940 and have two questions. Is ADCPgaGain adjustable during a single measurement? What I found the most confusing is the calculation of current. How is RtiaCalValue.Magnitude determined? I did not find it in the code. Attached is the relevant code. I really appreciate your answers.

Thanks,

Peter