PIC24 pull strange behavior
I use many PICs. But first time with PIC24 familly. I connect input to mechanical switch with RC debounce and TVS, as usual. But it does not work.
In fact, pull current draw is so huge, that I can not connect any serious resistor in serie. Then I can not protect input from overvoltage when using internal pull. I must use external pull for that.
Confirmerd by datasheet : Input current leakage from 1nA to 610nA (nice), pull-up current from 150uA to 450uA, and pull-down from 230uA to 500uA (oops ...).
For PIC16F, typical pull-up draw is 100uA. With 100uA, I can RC debounce, ESD protect, overvoltage protect from 24V injection on switch pins, etc ...
My question is simple : Why Microchip design PIC24 with a 4.5 time more pull current ?