cancel
Showing results for 
Search instead for 
Did you mean: 

GPIO pin max current input (sink)

yonggeon
Associate II

I want to use led with following connection and i remember that I've seen this application somewhere on the Internet:

3V3 - LED - RESISTOR - STM32 PIN

I've seen the max total current output of MCU then is there any max total input current of MCU?

1 ACCEPTED SOLUTION

Accepted Solutions

@yonggeon wrote:

 I've seen this application somewhere on the Internet:


LoL - that is the standard way to use an LED with any microcontroller!

 


@yonggeon wrote:

is there any max total input current of MCU?


Yes, these figures will be in the Datasheet for the chip - the Electrical Specifications section.

 

View solution in original post

7 REPLIES 7

@yonggeon wrote:

 I've seen this application somewhere on the Internet:


LoL - that is the standard way to use an LED with any microcontroller!

 


@yonggeon wrote:

is there any max total input current of MCU?


Yes, these figures will be in the Datasheet for the chip - the Electrical Specifications section.

 

does "injected current" mean input current?

I don't think so - context needed.

You are looking for the GPIO pin current sink capacity.

What chip are you using?

I currently use STM32H750VBT6

I think I found the answer... maximum is 8mA w constant Voh and Vol and maximum 20mA with relaxed Voh and Vol...

That's for one pin.

If you've got lots of LEDs, beware that there's also a maximum total for the whole chip ...

Thank you so much!