Greeting everyone.
Beginner here, I wanted to ask this thing which is troubling me. A micro-controller which has two VCC pins and they both require decoupling capacitors. But the VCC pins are on the opposite side of each other. Is it necessary to bring +5V power to both capacitors individually, like this :-
First :

Or Can we do something like this :-
Second :-

Does the second way messes with the functioning of decoupling capacitors? Is this okay?
My board is 2 layer. I can't think of any other way.
There is one more scenario like this in case of a voltage regulator which is confusing me.

I am taking the +5V from the output pin of the voltage regulator but not from the output capacitor. Is this bad or okay? Any opinions?
Thanks.
Beginner here, I wanted to ask this thing which is troubling me. A micro-controller which has two VCC pins and they both require decoupling capacitors. But the VCC pins are on the opposite side of each other. Is it necessary to bring +5V power to both capacitors individually, like this :-
First :
Or Can we do something like this :-
Second :-
Does the second way messes with the functioning of decoupling capacitors? Is this okay?
My board is 2 layer. I can't think of any other way.
There is one more scenario like this in case of a voltage regulator which is confusing me.
I am taking the +5V from the output pin of the voltage regulator but not from the output capacitor. Is this bad or okay? Any opinions?
Thanks.
Comment