Maker Pro
Maker Pro

Proramming issue with pic16

Lord_grezington

May 3, 2013
124
Joined
May 3, 2013
Messages
124
Hello

I am looking to use the analogue inputs from PGC & PGD (programming pins). I know I need to isolate these pins from the external circuit to prevent distortion while programming. I usually put a small 0.1uF cap to ground on analogue inputs for a bit or suppression, but how would it go about trying to use PGC & PGD and the Cap? I want to try and avoid using a resistor as this will interfere with the analogue value.

So, bottom line question - How can I use PGC & PGD as analogue inputs reliably?

PS - I need to use PGC & PGD as I have no other analogue pins available and I am unwilling to change the chip at this point.

any ideas are welcome

Graham
 

CocaCola

Apr 7, 2012
3,635
Joined
Apr 7, 2012
Messages
3,635
Install a removable jumper or dip switch on those pin if the circuit is not conductive to in circuit programming...

Beyond that you have to configure the pins to analog in the registers if they have that function ability in the chip you are using...
 
Top