Skip to main content
Explorer
June 11, 2024
Solved

What are the applications of open drain GPIO configuration.

  • June 11, 2024
  • 1 reply
  • 1274 views

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?

    This topic has been closed for replies.
    Best answer by mƎALLEm

    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

     

    1 reply

    mƎALLEmAnswer
    Technical Moderator
    June 11, 2024

    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