2024-06-11 01:40 AM - last edited on 2024-06-18 05:07 AM by SofLit
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?
Solved! Go to Solution.
2024-06-11 01:42 AM - edited 2024-06-14 11:12 AM
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.
2024-06-11 01:42 AM - edited 2024-06-14 11:12 AM
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.