Power to multiple MCU pins confusion. 2 layer board.
Heisen , 06-24-2021, 03:25 PM
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 :-
Or Can we do something like this :-
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?
robertferanec , 06-26-2021, 02:48 AM
I like the "First" screenshot more.
This is a very simple explanation how I look at it: In the second example, the currents flowing to the second pin will "go through the first pin" so they may influence quality of the power on pin 1.
In your power supply screenshot, I do not do that. I would place the output capacitor in the way between LDO output and rest of the circuit.
I recommend you to watch this video, it can help:
Heisen , 06-26-2021, 07:35 PM
Thanks robert for replying.
Understood. That's what I needed to hear.
Now I have worry about how to fan out the MCU tracks with a power trace cutting half of them. This is a big problem for me on 2 layer PCB. Considering that a 2 layer PCB is 35% cheaper here.
Use our interactive Discord forum
to reply or ask new questions.