cancel
Showing results for 
Search instead for 
Did you mean: 

What are the applications of open drain GPIO configuration.

Abin
Associate III

Hai All,

We can configure a GPIO pin either as a Push-Pull or Open-drain configuration. Can anybody explain briefly, what are the applications of Open Drain configuration?

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

Hello,

For example you can OR many IOs signals just by wiring. No need for an OR gate.

You can also do voltage level shifting from 3.3V IO domain to 5V (since most of STM32 IOs are FT) just by setting the IO to open drain and pull the pin up to 5V via a pull up resistor and you get a 5V output like.

https://www.quora.com/What-is-open-drain-What-are-3-examples-of-application-configuration-about-STM32f

 

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

1 REPLY 1
SofLit
ST Employee

Hello,

For example you can OR many IOs signals just by wiring. No need for an OR gate.

You can also do voltage level shifting from 3.3V IO domain to 5V (since most of STM32 IOs are FT) just by setting the IO to open drain and pull the pin up to 5V via a pull up resistor and you get a 5V output like.

https://www.quora.com/What-is-open-drain-What-are-3-examples-of-application-configuration-about-STM32f

 

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.