Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Programming PIC18F67J60 with PICKIT2 - basic connectio nrequirements

Status
Not open for further replies.

K33rg4t3

Full Member level 3
Joined
Aug 2, 2015
Messages
165
Helped
7
Reputation
14
Reaction score
7
Trophy points
1,298
Activity points
2,607
Hey
I want to program PIC18F67J60 with PICKIT2
I am reading the datasheet but I have question about EVREG.
Datasheet: https://ww1.microchip.com/downloads/en/DeviceDoc/39762f.pdf
There is a REG pin.
"The on-chip voltage regulator enable pin, ENVREG,
must always be connected directly to either a supply
voltage or to ground."
I dont know which option should I choose?
ENVREGWTF1.pngENVREGWTF2.png
Should I connect it to the ground or to the VDD? I want as low component count as possible.
 

Hi,

datasheet says:
Tying ENVREG to VDD enables
the regulator, while tying it to ground disables the
regulator. Refer to Section 25.3 “On-Chip Voltage
Regulator” for details on connecting and using the
on-chip regulator.

The regulator is controlled by the ENVREG pin. Tying
VDD to the pin enables the regulator, which in turn,
provides power to the core from the other VDD pins.
When the regulator is enabled, a low-ESR filter capacitor
must be connected to the VDDCORE/VCAP pin
(Figure 25-2). This helps to maintain the stability of the
regulator. The recommended value for the filter capacitor
is provided in Section 28.3 “DC Characteristics:
PIC18F97J60 Family (Industrial)”.
If ENVREG is tied to VSS, the regulator is disabled. In
this case, separate power for the core logic, at a nominal
2.5V, must be supplied to the device on the
VDDCORE/VCAP pin to run the I/O pins at higher voltage
levels, typically 3.3V. Alternatively, the VDDCORE/VCAP
and VDD pins can be tied together to operate at a lower
nominal voltage. Refer to Figure 25-2 for possible
configurations.

Also there are pictures.
It is relatively clear what to do.

--> If you have external core supply you need to disable the internal reulator.

Klaus
 
Ah well, I have only 3.3V supply, and the external is 2.5V, right? So the easiest way is to add this VCAP and that's it
 

And when they say a 'low ESR capacitor' they mean it. Don't try to use just any old capacitor for this.
Susan
 
Well, I have used a 50V 10uF electrolytic capacitor taken from an old TV, and it worked well :D
I am happy to say that I've managed to recognize this chip with PICKIT2 and now I am going to start learning how to program it. I will be using MICRO C PRO for PIC, it seems to have this chip on supported list.
 

Hi,

Well, I have used a 50V 10uF electrolytic capacitor taken from an old TV, and it worked well :D

Don't be surprised if it fails....tomorrow or in a month or when it's warmer or colder...

Klaus
 
So it should be a ceramic one then?
 

Hi,

Yes, ceramics is good.

Klaus
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top