two output ports tied to 1 input??

Jul 19, 2006 4 Replies

Hi,



Can this be done anywhere? Where two output ports tied together (connected) to the same 1 input port?



I am thinking no because of bus contention.



What about tri-state? If one of the output ports were in tri-state?



if the two output ports always have the same logic levels? will it work now?



open collector? both pulled up or pulled down.



just wondering.



Thanks,



-Tony



This is what tristate was invented to do, and it is widely used.

You can have lots of tristateable memory chips attached to a common output bus, and as long as the outputs on only one mmeory chip are enabled at any one moment, the whole system works fine,

Sure, but what does the second output port do for anybody?

Quite a few open collectors outputs can be tied together - the limit is the leakage current drawn byt the "off" outputs - and they will function as a "wired AND" - any single output going low takes the output low, and all have to be high before the collective output can be high.

Bill Sloman, Nijmegen

You could use two diodes and do the "el cheapo" OR gate ;-)

Two "regular" output ports in parallel will try to destroy each other if they're outputting opposite logic levels, but if you're driving them with the same signal, you should be able to get away with it, as long as you can put up with the glitches that happen because of the differences in propagation delay between the two.

Tri-state, yes - just only enable one at a time.

Open-collector/drain, yes, but your receiver won't be able to tell _which_ open collector/drain is pulling the bus low, so you have to know what you're trying to send. This is similar to the diode OR that someone else has suggested, but it still has the same caveat - you need a pull-up resistor to Vcc or Vdd. Maybe we should just call that 'Vh'. ;-)

Good Luck! Rich

Thank you all for the replies. Your information helped alot.

-Tony

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required