Author Topic: push-pull vs open drain  (Read 1252 times)

0 Members and 1 Guest are viewing this topic.

Offline rookieTopic starter

  • Contributor
  • Posts: 33
  • Country: us
push-pull vs open drain
« on: August 09, 2019, 08:05:08 pm »
Hi !

I'm trying to understand the difference between push-pull and open-drain in the context of multiple inputs connected on the i/o line. For example, I know open drain allows multiple inputs to drive the line low, something that is not possible in push-pull configuration. But I don't know the technical (electronics) reason behind this. Something something p-mos/n-mos... Can someone enlighten?
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11268
  • Country: us
    • Personal site
Re: push-pull vs open drain
« Reply #1 on: August 09, 2019, 08:17:52 pm »
Because in an open drain configuration an output transistor can do two things:
1. Not drive the output.
2. Drive the output to ground.

The high level is ensured by the outside pull-up resistor.

There will never be a conflict of levels. If either of the devices drives the line low, it will be low no matter what others are doing.

In a push-pull configuration the output is actively driven, so if one device decided to drive high level and another one decided to drive low level, there will be a conflict. The end result is unpredictable and depends on the exact design of the output stages.
« Last Edit: August 09, 2019, 08:20:28 pm by ataradov »
Alex
 
The following users thanked this post: rookie

Offline MarkF

  • Super Contributor
  • ***
  • Posts: 2550
  • Country: us
Re: push-pull vs open drain
« Reply #2 on: August 09, 2019, 10:16:55 pm »
Here is a crude visualization using relays and switches.
The resistor is NOT part of any gate.

807420-0
« Last Edit: August 09, 2019, 10:19:11 pm by MarkF »
 
The following users thanked this post: Zero999, rookie


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf