This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ADC errors

hi i am using this to capture the adc value 

data_ADC=adc_buffer[1]*(1024+gain_error) / 1024 + offset_error - 0.5;

data_ADC_double=data_ADC*3.6/1024;


MULTIMETER MEASUREMENT: 1.72V

ADC RESULT: 1.65V 

Could anyone help me please? 

Parents Reply
  • I see. 

    What is the HW that you are running on? Is it a DK or a custom board? If it is a custom board, what HFXTAL do you use? Is the accuracy on this similar to the one on the DK?

    What exactly are you measureing? Remember that measuring with the ADC draws a bit of current. If it is a battery you are measuring, or something else with a high internal resistance, it may drop the voltage over that device just as you measure, and even more if you draw more current from the device, such as a radio spike or something). Have you tried to monitor the input voltage with an oscilloscope to see if there is an actual drop in voltage?

    BR,

    Edvin

Children
Related