Dear @ric
during programming the analog voltage can be not equal to zero.
I've foun over the net a schematic of the PICKIT4, I don't know if this is true, but let suppose of yes, we can do some considerations about it.
Looking at the equivalent circuit and using the Miller theorem give the expression for the voltage at the PIC ICSP pins, then by substituting the numerical values we have:
VICSP_PIN=VPIKIT4*0,98+VAN*3,22*10^-3
so the contribute of the analog signal seems negligible regarding the one that came from the PICKIT4.
Because I think that the communication from PICKIT and PIC is bidirectional may have some transient glitch related the analog voltage when the pin change direction from input to output and output to input then this may have some inpact or not, it can be subject for some further investigation.
Could you please let me know what is your thinking about?
Thanks and best regards.
F.
post edited by TechDpt - 2021/02/26 05:37:17