Content originally posted in LPCWare by ppescher on Wed Nov 23 07:41:51 MST 2011
Well, I do understand that internal pull-ups are there to prevent unconfigured pins to float, and this is standard practice in every uC I know about. But this is the first time I come across an issue like this, that an internally pulled-up pin barely reaches the VIH. This is weird, if not crazy.
The real problem here is that this kind of behavior is not documented. I read the datasheet, page 52 figure 13, and I see that with 2.3V input voltage I should have a pull-up current of 30uA. Where does that current flow if I leave the input pin unconnected? Or should I assume it flows in the >1M Ohm load of my instruments, giving me more than 30V!? That pull-up current is way much lower, let's say 2uA, which is well under the minimum pull-up current of 15uA documented in the datasheet.
I just want official documentation about internal pull-ups which is correct, so I can design properly. I can't make assumptions based on my or other people's measures. For instance, what happens to measured values at -40°C or 85°C?