Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

PIC18 Grounding

Status
Not open for further replies.

col_implant

New Member
Hey,

I'm wondering is there different analog and digital grounds for the PIC18?

The device does have two grounding pins but they are both labeled the same (VSS). Also the data sheet refers to VSS in discussions and specifications on the ADC module (as well as digital parts). On measuring the resistance between the two ground pins I'm getting abut 2 Ohm implying the are indeed the same net.

I dont think there is too much point in extending my AGND to the PIC if it is wired to DGND internally, perhapps this could even be bad for my ground isolation...

any insights??

Thanks
 
The datasheets usually just list both VSS pins as "Ground reference for logic and I/O pins".

It does not indicate that there is any difference between them.

I have seen Microchip application notes circuit diagrams that show them requiring to be connected together, e.g AN822 and so would recommend you do the same.

The same applies to multiple VDD pins (plus they sometimes also show separate 0.1uF decoupling capacitors across each pair of VDD, VSS pins on the 40pin chips which is also a good idea).
 
col_implant said:
Hey,
I'm wondering is there different analog and digital grounds for the PIC18?
I too would like to find detailed information about this topic.
As I understand it, some devices of the PIC 18 family have different paths for analog and digital supply lines. Consider the PIC18F1320 for example; if you order the 20 pin version, digital and analog supply pins are separate, but if you order the 18 pin version they aren't.
 
Last edited:
Ok just to follow up.

It 'appears' that the ground pins are in the same net. However 1 Ohm (measures 1.05 with a more accurate meter) is not a negligible for any significant current as pointed out above

So the decision: Connect both VSS pins into my DGND plane. Connect the Vpos (3V analog) to the Vref+ (AN3) and my AGND to the Vref- (AN2). I do see from the data sheet that the ADC inputs are diode clamped to VDD and VSS could this cause problems with different reference voltages? They are more or less the same (but not exactly as there is RC decoupling on Vpos)

Our ground scheme will change. AGND will consist of the analog circuitry up to the Vref- input of the ADC. Under the PIC we will connect AGND to DGND via an inductor and from there on DGND will be the system ground including the power supply and the RF stuff.

Anyone see any obvious flaw in this?

Thanks

C
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top