# How can the Vss or Vdd pins of a MCU handle sink or source current?

Today I was seeing the datasheet of STM32F103 MCUs and I came across with an interesting thing. assume I have an STM32F103RET6. it's a 64pin MCU of STM32 series. the pinout is this:

It has 4 Vss and or Vdd and 51 GPIO pins (the rest of pins are ain't important for my question). look at Absolute maximum ratings

The total current that all Vss or Vdd can source or sink is 4*150=600mA. as I said we have 51 GPIO pins. if we would use them as source or sink for current then they would draw 51*(+-25)= (+-1275). the point is that the total current that all Vss or Vdd can handle is less than 600mA while the total current for GPIOs is 1275mA. Why?

also that's not only belong to STM32 family. I have checked out AVR family. for example ATmega8a. DIP package:

It has one Vcc and one GND while there are 22 GPIOs. each Vcc or GND (ATmega8a for DIP package just has one Vcc and GND) just can handle 300mA while there are 22 GPIO and the total current is 22*40=880mA. also for MLF or TQFP packages, it's better than DIP because they have a couple GND and Vcc.

• Because you're not supposed to try to blow the ass out of your MCU. Jan 29, 2015 at 7:59
• Sinking outputs do not sink their currents from the MCU's VCC but from the external loads (that should contain their own power supplies). About the sourcing outputs - maybe, their total sum of currents should not exceed the VCC's maximum. Jan 29, 2015 at 8:00
• @IgnacioVazquez-Abrams LoL!
– Roh
Jan 29, 2015 at 8:03
• @Circuitfantasist: No, the MCU, like all CMOS chips, sources from Vcc/Vdd and sinks to GND/Vss. There's no other way to complete the circuit. Jan 29, 2015 at 8:20
• OK, I see... my remark was irrelevant here... It concerns more the loading of the power sources... Jan 29, 2015 at 8:46