bankrasrg / maxim-max11210

Spark library for the Maxim MAX11210 24-bit ADC
GNU General Public License v3.0
0 stars 0 forks source link

Issues with ADC Levels #3

Open prasannaad opened 3 months ago

prasannaad commented 3 months ago

Hi @bankrasrg

I am using this library with a MAX11210 and I have some issues with it. My supply voltage is 3.3V and my Reference voltage is 3.3V. When a full input from a TIA (3.3V) is presented, I only get 2.198220 volts which is 11175761 in ADC. I am using unipolar settings. I have checked everything in my hardware and everything is perfect. I am also running a self-calibration before sampling.

bankrasrg commented 3 months ago

Hi @prasannaad

It has been a while, but I have managed to find the prototype board and revived the Spark Core. The example seems to be working fine again.

You mention you have performed a self-calibration before sampling. Did you also perform a system level calibration for the offset and gain, by applying sequentially the 0V and 3.3V reference to the input of the ADC? Can you read the values using getSelfCalGain(), getSelfCalOffset(), getSysGainCal() and getSysOffsetCal()?