Hi,
We need to keep one of the input pins high by default, when an external device is connected, that input pin will be driven low by the MCU on external device, as part of the hand-shake process. To reduce power consumption as much as possible, we would like to use as large a pull-up resistor as possible. An old post from distant past recommended no more than 220K. That still results in ~15uA current flowing through pull-up resistor. We tried 3.9M external pullup resistor, so far it seems working. Also the voltage at the input pin measures around 2.7V when VCC is around 3.6V, higher than the threshold for input high. But the current flowing through the pull-up resistor amounts to about 0.25uA, a lot higher than stated leakage current 50nA.
My question is: is there a limit or recommended range of value for external pullup resistors? With or without need for interrupt? Although the current 3.9M resistors seem working for all practical purpose, I would like to know if there is a small chance or in some edge cases they won't.
Please advise, thanks.
ZL