Hi,
I don't see any advantage with that, only problems. The 16F877 datasheet specifies a maximum clamp current of +/-20mA. If your circuit pulls more than that you're in trouble.
Ie, you have a couple of LEDs on the output of the PIC, each pulling 10mA. You're then powering up the PIC by backfeeding current into Vdd thru a I/O pin, the PIC powers up, start running the program, turns on 4 LEDs. Current comsumption is now ~40mA and all that needs to go thru the I/O pin and its protection diode which, as the datasheet specifies, is rated for max 20mA.
Do you have a link to a schematic where this has been done deliberately, perhaps we could figure out why when we see it.
/Henrik.
Bookmarks