Hi,
Our product relies on ADC readings taken from /sys/bus/iio/devices/iio:device0/in_voltage0_raw. We were provided a formula to convert the raw readings into physical voltage values, which has worked mostly well so far. We have been using BSP 2.8b3 on Colibri iMX6ULL in all our production units for the last couple of years.
However, we now have a need to upgrade to a newer BSP release (preferably 5). And the problem is that there was a change made to the ADC-related code or configuration in BSP 2.8.7, and every new release since then gives ADC readings that are significantly lower than they used to be in 2.8b3. From what I can tell, the change is probably this one:
If this is indeed the cause, what it does it mean? Are the ADC readings from 2.8b3 not correct? Can the formula that we have been using, generate incorrect physical values?
The formula we use is baked into our software and it obviously generates the wrong physical values for the readings we get from the new BSPs. Do we have to change the formula and our software?