Hi,
We are reading values from the AIO_0 pin. Is there any way to disable the pull-down resistor of the Analog pins? Looking for something similar to the PIO PioSetMode() function.
The purpose is to monitor voltage levels of our battery pack.
Thanks,
Mike
I am not sure there is a pull-down resistor?
Did you get a bad reading?
Agreed, the data sheet doesn't mention any resistors on the AIO pins and it would be odd for them to be active on an analog pin.
But yes, we are getting unexpected readings.
We have a voltage divider with two 1Mohm resistors, which should give us a 2:1 divider, but instead, we're seeing a 2.75 : 1 divider, as if there's a pull-down resistor in parallel with the resistor to ground.
Are there any other configuration options that could possibly interfere or relate to the AIO module?
Thanks
Please call my Skype nissim.test
You probably presume that the ADC has a range of 3V when it is ~1.3V max input.