Connect with us

Proramming issue with pic16

Discussion in 'Microcontrollers, Programming and IoT' started by Lord_grezington, May 4, 2013.

Scroll to continue with content
  1. Lord_grezington


    May 3, 2013

    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

  2. CocaCola


    Apr 7, 2012
    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...
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day