TransWikia.com

STM32 Output current capabilities

Electrical Engineering Asked on December 10, 2021

In order to reduce the size of my board, I would like to connect directly my microcontroller to a current source which sink 9 mA (worst case). The datasheet above shows that it is possible. Nevertheless, I would like to have your opinion about this. I think that it will reduce the life time of the circuit as it heats up the microcontroller. What do you think ?

enter image description here

Thank you very much and have a nice day !

2 Answers

The rules are simple.

If between Vss and Vdd you can to 25mA on one pin.
All pins together may do 80 mA. So 80mA in and 80mA out.
All currents should stay within 120mA, either way.

The current the chip itself uses subtracts from both ΣIvdd and ΣIvss.

Example: it is possible to sink 50ma and source 50mA with only 4 pins. (don't do that though)

If outside Vss to Vdd, 5mA max, polarity doesn't matter.

However, there is a caveat! Look at the Output voltage characteristics.
You may be looking at a 400 mV drop in voltage over the pin.

And every milliamp of current through the chip adds to the package power, see the chapter about thermals.

Answered by Jeroen3 on December 10, 2021

Your current source is going to source 9 mA. The microcontroller is going to sink it.

The maximum current for any one pin is 25 mA sink or source so your maximum of 9 mA is very safe. Watch out for the chip total current if you have multiple current sources that can be on simultaneously.

Answered by Transistor on December 10, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP