"EDIT: Just looked at your other posts... Get a new chip... "
Are you saying this PIC means trouble?? Should I find a 'safer' alternative? Any suggestions are welcome!!
I checked for shorts, and no there are none. The PCB is professionally made, not just an experimental setup. And as said, with a series resistor the AD conversion works just fine which would imply the port is set up correctly for the AD.
After the bootloader is in place in a virgin PIC and hooking up the power, the PIC stays cool. But after uploading the program the heat is on. This would imply the error is indeed in the program, not in the PIC or PCB.
The program is big (close to 8k on the 16F877) but I could post the register settings, AD conversion part and port setup. Maybe this will shed some light in the matter.
The PIC power supply is 5V and the voltage on port A0 is anything between 0 and 4.2V (LiPo max.)
Thanks for the suggestions sofar!
Bookmarks