Hi,
I inherited a project and, trying to solve some problems, I found this behavior that I can't explain.
We use the internal channel 3: GDU DC link to measure the supply voltage, but the measurement is always higher than expected.
For example: I measure with the multimeter on the GHD pin 12.5V but the ADC always returns 520bits, which corresponds to 520*5/1024*5=12.69V (bits*full_range/max_bit*divider)
I know that the result is compliant with the divider tolerance (4.9/5.1), but the error is systematic and I have tried different boards and so I don't think is a divider problem..
Is there something I am missing?
Any help is greatly appreciated.
Thanks in advance
Marco