Hi,
I have configured the IO09 as analog input pin for ADC in the i.mx6UL processor (myirtech mys-6ul board)
I am using the following pin configuration in the dts
pinctrl_adc1: adc1grp {
fsl,pins = <
MX6UL_PAD_GPIO1_IO09__GPIO1_IO09 0xb0
>;
};
But the issue is the pin in internally pulled up to 3.3V. So when no external voltage is connected, ADC reading is giving the value 4095. When external voltage is connected, it is causing the reading go wrong. I have tried configuring the IO05 also with the same result. I have confirmed that these pins are not used in any other configuration in the dts.
How can I disable the internal pull up ? I have tried the bias-disable = <1>; in the dts with no effect.
Can some one advise ?
Shafy