PRABAKARDEVA
Full Member level 2
Why some pins are used as open collector/drain in microcontrollers?
Why open drain is used in i2c?
Can anyone reply.pls...
Why open drain is used in i2c?
Can anyone reply.pls...
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Why open drain is used in i2c?
This is called a wired-OR configuration. Only the LOW condition is an active output, where the open drain sink the signal to 0V.
This way there is no danger for a collision between HIGH and LOW, resulting in a short Circuit.
Reading the status there is also no problem With a logical collision, since the unit expecting a HIGH, will know there is a logical collision if it is reading a LOW, and stop it's transmission. This way the unit With the LOW will 'win' and no error is resulting in the transmission.