2017-05-30 08:44 AM
Hi,
When two inputs of ADC are in differential mode, can the ADCxINN input voltage be higher than the ADCxINP input voltage?
For Vref+ = 3.3V and Verf- = 0V.
Is the result value = ((ADCxINP - ADCxINN)/3.3) * 2048 + 2048?
Ex. If ADCxINP = 1.0V and ADCxINN = 2.65V, is the result value = 1024?
Ari.
2017-05-31 03:09 AM
In my experience, conversion range in differential mode is -Vref to +Vref. I think this information is mssing from the datasheets.
2017-05-31 03:48 PM
I tested the STM32L4 ADC in differential mode and it realy works as I supposed.
For Vref = 3.3V.
result value = ((ADCxINP - ADCxINN)/3.3) * 2048 + 2048.
Ari.