+ Reply to Thread
Results 1 to 4 of 4

Thread: PIC18 Grounding

  1. #1
    col_implant Newbie
    Join Date
    Nov 2007
    Posts
    58

    Default PIC18 Grounding

    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


  2. #2
    picasm Good picasm Good
    Join Date
    Sep 2006
    Location
    UK
    Posts
    358

    Default

    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).

  3. #3
    eng1 Excellent eng1 Excellent eng1 Excellent eng1 Excellent eng1 Excellent
    Join Date
    Apr 2006
    Location
    Italy
    Posts
    938

    Default

    Quote Originally Posted by col_implant
    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 by eng1; 22nd February 2008 at 08:12 PM.

  4. #4
    col_implant Newbie
    Join Date
    Nov 2007
    Posts
    58

    Default

    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

+ Reply to Thread

Similar Threads

  1. grounding methods for audio circuit
    By MrDEB in forum Electronic Projects Design/Ideas/Reviews
    Replies: 5
    Latest: 25th January 2008, 05:01 PM
  2. Complex grounding issue- Automotive, PICs & ADC
    By rackley in forum General Electronics Chat
    Replies: 13
    Latest: 3rd March 2006, 12:26 AM
  3. PCB grounding issues
    By dm927 in forum General Electronics Chat
    Replies: 4
    Latest: 19th March 2004, 02:55 AM
  4. Question re: grounding an IC with another IC
    By Tickled_Pink in forum General Electronics Chat
    Replies: 11
    Latest: 16th June 2003, 04:08 PM
  5. Need help grounding some exposed metal.
    By RisingFire in forum Electronic Projects Design/Ideas/Reviews
    Replies: 6
    Latest: 30th January 2003, 06:17 AM

Tags for this Thread