Quote Originally Posted by MadAl View Post
For some strange reason the PIC heats up like crazy when port A0 (which I use for AD conversion) is connected to the battery voltage (LiPo, about 4V). When a series resistor is used, AD works normally. The PIC is driven at 5V
I have disabled all secondary functions (Voltage reference and comparators).
Why is port A0 causing this heat up? Shouldn't it be high impedance when defined as AD channel?
Sounds to me like your A/D ports aren't set up correctly and/or PortA.0 may be output driven low sucking up current...so maybe your A/D isn't set up quite right. Post some code. Maybe you're missing something...
Maybe a short between A.0 and another pin (ground) that is driven low... Most likely not MCLR/E.3, likely choice A.1 since it's right there.

EDIT: Just looked at your other posts... Get a new chip...