Author Topic: Do I really need to connect all GND pins to, well ground?  (Read 9243 times)

0 Members and 1 Guest are viewing this topic.

Offline johnnyfpTopic starter

  • Frequent Contributor
  • **
  • Posts: 261
  • Country: nz
Do I really need to connect all GND pins to, well ground?
« on: September 16, 2014, 10:30:23 pm »
On most MCU's and other IC's they have multiple pins assigned to GND/VSS (excluding AGND or other specific function related grounds). Do I need to attach each one to ground or can I leave one or two floating. Is there any risk to that or is it down to the IC I'm using?

Reason I ask is that I have an annoying GND pin on a MCU that I just can't route too on a double loaded board and I really don't want to go Blind via.
 

Offline marshallh

  • Supporter
  • ****
  • Posts: 1462
  • Country: us
    • retroactive
Re: Do I really need to connect all GND pins to, well ground?
« Reply #1 on: September 16, 2014, 10:36:55 pm »
All power and ground pins are always connected. If they weren't, they'd NC.

This is very common on larger devices. Where signal integrity is a concern, you want lots of return paths to reduce loop area. FPGAs typically have 1/4 to 1/3 of their pins reserved to grounding.
Verilog tips
BGA soldering intro

11:37 <@ktemkin> c4757p: marshall has transcended communications media
11:37 <@ktemkin> He speaks protocols directly.
 

Offline georges80

  • Frequent Contributor
  • **
  • Posts: 915
  • Country: us
Re: Do I really need to connect all GND pins to, well ground?
« Reply #2 on: September 16, 2014, 10:44:43 pm »
If it's just a home project, you can likely get away with it is one of MANY power ground connections, especially if there are other ground pins close by.

The reason for multiple ground pins is to provide a solid and reliable ground reference to various areas of the IC for power and noise reason. The designer used recommended design practices to allocate an appropriate number of power pins based on design rules, trying to 2nd guess from the 'outside' isn't a wise move.

I would never risk it on a production board.

cheers,
george.
 

Offline george graves

  • Super Contributor
  • ***
  • Posts: 1257
  • Country: us
Re: Do I really need to connect all GND pins to, well ground?
« Reply #3 on: September 16, 2014, 10:46:06 pm »
Also, there are some datasheets that call for all pins of a package to be soldered to help dissipate heat out of the chips IIRC.

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 20147
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Do I really need to connect all GND pins to, well ground?
« Reply #4 on: September 16, 2014, 10:56:49 pm »
On most MCU's and other IC's they have multiple pins assigned to GND/VSS (excluding AGND or other specific function related grounds). Do I need to attach each one to ground or can I leave one or two floating. Is there any risk to that or is it down to the IC I'm using?

Reason I ask is that I have an annoying GND pin on a MCU that I just can't route too on a double loaded board and I really don't want to go Blind via.
Connecting all ground pins is extremely important to ensure signal integrity. A classic problem with amateur projects and designs is that they don't include enough ground pins on a connector and/or they group all the ground pins together - whereas they should be evenly distributed.

Each ground pin has associated inductance, and a changing current induces a changing voltage which can corrupt the signal. V=Ldi/dt, so a 1mA signal turning on or off in 1ns though a lead with 1nH inductance will induce a 1V drop! Having N parallel grounds reduces the inductance by a factor of N - and hence induced voltage.

Having a ground next to a signal lead also reduces reflections due to impedance variations in the transmission lines.

Reducing the loop area reduces EMI, but that is secondary to the other considerations.

The inductance (and various parasitic capacitances and V-vs-I graphs) is specified in the associated IBIS file (warning IBIS files are large and need careful interpretation).
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline ajb

  • Super Contributor
  • ***
  • Posts: 2687
  • Country: us
Re: Do I really need to connect all GND pins to, well ground?
« Reply #5 on: September 16, 2014, 11:27:10 pm »
And even if signal integrity is not a concern for your application, you likely need all ground pins connected to be able to achieve the rated current sink capacity for your IO pins.
 

Offline johnnyfpTopic starter

  • Frequent Contributor
  • **
  • Posts: 261
  • Country: nz
Re: Do I really need to connect all GND pins to, well ground?
« Reply #6 on: September 16, 2014, 11:29:11 pm »
Yeah Ok I feared as much.

Thanks.  Ripping up all the tracks around the troublesome pin and rerouting. Teaches me for being so lazy. Let the fun times begin!
 

Offline DanielS

  • Frequent Contributor
  • **
  • Posts: 798
Re: Do I really need to connect all GND pins to, well ground?
« Reply #7 on: September 17, 2014, 02:46:51 am »
The pinouts on most modern digital ICs are designed around the idea of having at least one ground and power plane available - not much other choice when you often have 30+ pins carrying high-speed busses connecting external RAM, flash, ADCs, DACs, FPGAs, etc. all requiring coupling to a supply or ground line or plane for their return current path.
 

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3639
  • Country: us
  • If you want more money, be more valuable.
Re: Do I really need to connect all GND pins to, well ground?
« Reply #8 on: September 17, 2014, 02:59:08 am »
Yeah Ok I feared as much.

Thanks.  Ripping up all the tracks around the troublesome pin and rerouting. Teaches me for being so lazy. Let the fun times begin!

So many of my intended 2 layer designs end up being at least 4 layer in the end. Not all products can support the extra cost - but I am not gods gift to PCB routing and I have very little time. Having 2 extra layers keeps ground and power anywhere I need it without having to work hard for it. Getting into a trace trap sucks for sure...I have stared at the screen for countless hours looking for a path for the last pin or two. Feel your pain.
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Offline johnnyfpTopic starter

  • Frequent Contributor
  • **
  • Posts: 261
  • Country: nz
Re: Do I really need to connect all GND pins to, well ground?
« Reply #9 on: September 17, 2014, 03:04:17 am »
I had everything nice an neat. With lines at 45 and 90 degrees. But now I've had to use odd angles and Curves. CURVES!!!!!!

Sometimes PCB Routing can be  |O
 

Offline f5r5e5d

  • Frequent Contributor
  • **
  • Posts: 349
Re: Do I really need to connect all GND pins to, well ground?
« Reply #10 on: September 17, 2014, 04:09:44 pm »
few projects I've done could afford the cost of doing it 2-layer - the time to iterate for performance in 2-layers costs lots more than 4-layer boards
« Last Edit: September 17, 2014, 04:13:33 pm by f5r5e5d »
 

Offline DanielS

  • Frequent Contributor
  • **
  • Posts: 798
Re: Do I really need to connect all GND pins to, well ground?
« Reply #11 on: September 17, 2014, 10:02:08 pm »
few projects I've done could afford the cost of doing it 2-layer - the time to iterate for performance in 2-layers costs lots more than 4-layer boards
For a one/few-off jobs, yeah, the effort it takes to fit everything on two layers and get it all working correctly can be steep and feel unnecessary compared to using four layers and calling it done. For a mass-produced board though, chances that the extra effort will be worth it are much higher.
 

Offline johnnyfpTopic starter

  • Frequent Contributor
  • **
  • Posts: 261
  • Country: nz
Re: Do I really need to connect all GND pins to, well ground?
« Reply #12 on: September 17, 2014, 10:04:56 pm »
Well I've managed to route the board. Looks like a Fingerprint. Soo tired,  one trace, two trace, three trace  :=\
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf