ADC inconsistency between pins (SC20100)

I’m measuring ADC on two pins that have the same voltage, but the one of the values is incorrect.

The voltage on each pin is 0.339 volts (I verified the voltage on the actual pins on the controller).

Pin PC0/ADC1.10 ReadRatio() returns 0.104, which computes to 0.343 volts which is pretty close in ADC terms. However, pin PC3/ADC3.1 ReadRatio() returns 0.140, which computes to 0.462 volts which is not even remotely close…

If both channels were off I’d suspect something in perhaps my analog voltage reference, but only one? Any thoughts?

Answered my own question… Right PIN, wrong Controller ID. :slight_smile:

1 Like