Can we connect RC in Pic controller reset pin while programming through pickit 3 programmer

Status
Not open for further replies.

prakashvenugopal

Advanced Member level 1
Joined
Jun 1, 2011
Messages
473
Helped
15
Reputation
30
Reaction score
15
Trophy points
1,298
Activity points
4,973
Hi all,

I am trying to use the Pickit 3 programmer to Program my Pic device(16F785) (SOIC package)In system programming.

Controller MCLR --> Pickit 3 MCLR (1st pin)
Controller 5V VCC --> Pickit 3 VCC(2nd pin)
Controller Gnd --> Pickit 3 Gnd (3 pin)
Controller ICSPDAT --> Pickit 3 ICSPDAT (4th pin)
Controller ICSPCLK --> Pickit 3 ICSPCLK (5th pin)
--> (PIckt 3 6th pin is No connection)

My question is, can we connect RC in MCLR pin of the Microcontroller? 1k resistor to pull up to 5V and 0.1uf from mclr pin to gnd. ?
will it affect while programming the Pic microcontroller through pickit 3 programmer (during insystem programmming)
Kindly let us know.

Regards,
V. Prakash
 

Hi,

1k and 100n? Are these Microchip recommended values?
It just gives a tau of 100us.
Often the values depends on power supply and the used clock source. Please check datasheet.

If you want to stay with 1k and 100n, then add a 10k resistor to the RST pin. (From center of 1k/ 100n)

Klaus
 
Hi,

Thanks for the reply. I had checked the Pickit 3 user guide manual. Only Pull up resistor is recommended.
capacitor in the MCLR pin is not recommeded. Kindly refer the attachment.

I have to put rc in my reset pin to generate the reset during power ON and also i am doing insystem programming.
In such case what is the solution. kindly let us know.

Regards,
V. Prakash

User guide link: https://ww1.microchip.com/downloads/en/DeviceDoc/51795B.pdf
 

Attachments

  • Screenshot from 2021-12-09 13-23-39.png
    222.8 KB · Views: 251
  • Screenshot from 2021-12-09 13-23-48.png
    241.5 KB · Views: 191

HI,

In such case what is the solution. kindly let us know.
In post#2 I recommended a 10k series resistor. What´s wrong with it?

***
I don´t think a tau of 100us brings much benefit.
I usually rely on true RESET ICs like MAX809.

Klaus
 
Keep your RC network if you need the delayed reset but isolate the MCLR pin from the RC junction with a resistor. MCLR is an input and it draws negligible current so the new resistor will have almost no effect on reset operation. Connect the Pickit directly to the PIC. During the programming cycle the MCLR pin has a signal on it that the capacitor will distort if it isn't isolated.

As stated earlier, the RC values you are using make no sense, 100nF is fine but 1K is far too low to create an appreciable delay, at least 10K is needed to be effective.

Brian.
 
Hi,

Ok. You are recommending to Put 10k instead of 1k with 0.1uf to have a tau of 1 msec? or
1k pullup with 0.1uf with series 10k resistor to MCLR pin of microcontroller. ? Kindly let us know.
kindly refer the image.

Regards,
V. Prakash
 

Attachments

  • IMG-20211209-WA0017.jpg
    27.4 KB · Views: 175

PICkit2 manual shows this circuit



 

Hi,

Thanks for the circuit reference.

I am planning to use as attached schematic. Kindly let us know if any mistake.

Regards,
V.Prakash
Vetal / India
 

Attachments

  • IMG-20211209-WA0022.jpg
    28.2 KB · Views: 165

Hi,

Should work.

It´s exactly like recommended in the schematic of post#8. Why do you expect anybody to disagree?

Klaus
 

I expect your circuit to work. Previous comments also questioned the RC time constant and neccessity of a capacitor. In this regard, you should always refer to the MCLR behaviour of the specific component.



16F785 provides an internal MCLR noise filter, thus the capacitor is not required in most cases.
 

The capacitor is not there just for noise - it is also to slow down the rise of the \MCLR\ pin so that Vcc can reach it s full value before the reset is released.
I've not really found this necessary but ias it not harmful.
Susan
 

Hello,


Instead of RC filter on MCLR, it is possible to use Timer1 delay
in config bit .
POWER UP timer enable bit
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…