cancel
Showing results for 
Search instead for 
Did you mean: 

maximum current of GPIO

Jad
Senior

Good morning,

I am using an STM32G4 Nucleo-32 board (MB1430) and want to drive Relays with its GPIO; I need to know the maximum current that can give a GPIO. I searched on the datasheet of the STM32G431x6 , the maximum power that can be delivered, but found no values. Could someone tell me where to find that info?

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

Due to the inductance of relays, it is generally not a good idea to drive them directly from a GPIO. Instead, you should connect a driver stage in between, e.g. via BJT or MOSFET.

Irrespective of this, you can find the current carrying capacity in the data sheet of the respective STM32G431KB.

Does this answer your question?

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Peter BENSCH
ST Employee

Due to the inductance of relays, it is generally not a good idea to drive them directly from a GPIO. Instead, you should connect a driver stage in between, e.g. via BJT or MOSFET.

Irrespective of this, you can find the current carrying capacity in the data sheet of the respective STM32G431KB.

Does this answer your question?

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

@Jad wrote:

I searched on the datasheet of the STM32G431x6 , the maximum power that can be delivered, but found no values. 


Really?

It's there:

AndrewNeil_0-1741601209666.png

Note also the maximum total VDD and VSS pin ratings.

 

But, as @Peter BENSCH said, driving a relay from a port pin is really not a Good Idea anyhow.