Hi
Something that I have been coming back to a number of times:
When placing capacitors for decoupling of a microcontroller datasheets often suggest a 1nF/100nF and maybe a number of them
But it needs to be aligned to what is actually the load.
Say I have a microcontroller running at 100MHz. Assumption (and that could be wrong), is that for the given technology the switching of the transistors are 10 times as fast, so 1ns
If the micro runs at 100mA during active state (all peripherals and core running), and it then runs a SLEEP instruction, it immediately reduces the current from 100mA to 0 in 1ns, right?
If it is operated at 3.3V, using standard 2.2uF cap:
(Murata, 10V, X7R)
GCM21BR71A225KA37K
I would allow for a 100mV voltage transient during that load shift, so it seems this single 2.2uF cap would be enough
A discussion of the topic here:
Specifically about the capacitors of today, with same package size plot comparison:
Adding to this, I have a PCB with about 10.000 mm2 area, where I can place a VCC and GND plane. If uninterrupted 100um distance between the planes I get 5nF of very good HF capacitor with 0.1ohm impedance at
350MHz. Again, not need for smaller caps in the designOn top of this the 100mA load in 1ns is probably a worst case situation. During normal operation the microcontroller is running, and not all transistors are switching at the same time
Above constrained case does not take the switching capacitance of the microcontroller transistors into account.
Any inputs to the above?
Have anybody tried to measure the real life load of a microcontroller?
Regards
Klaus