STM32F779NI internal ADC accuracy
I am using internal ADC of STM32F779NI connected to LMT86 Temperature sensor.
Vref is 3.3v and ADC resolution used is 10-bit.
The problem is there is always a difference with the expected ADC and the actual ADC for a given voltage. This difference is lower at a lower voltage and increases with higher voltage.
E.g At 1505 mv, calculated ADC is 467, but the generated ADC value is 458; difference of 9.
At 3023 mv, calculated ADC is 938 but the generated ADC value is 922; difference of 16.
Find below some more readings:
Input Voltage Generated ADC Value Calculated/Expected ADC value
(mv)
277 86 86
323 99 100
1806 552 561
Is the difference is because of some internal conversion error or is there anything missing in ADC settings? What could be the source of error and suggestion to resolve/workaround?
