Exact match. Not showing close matches.
PICList
Thread
'[PIC]: multiplex UART'
2001\10\23@030317
by
rasit gumus
2001\10\23@073529
by
mike
2001\10\23@091632
by
Thomas McGahee
|
part 1 1652 bytes content-type:text/plain; (decoded 7bit)
Rasit,
Someone already mentioned using a multiplexer IC.
You can also use OR gates to multiplex the USART TX. See
the attached GIF. You select the desired output by
applying a LOW to the associated OR gate control line.
This arrangement allows you to have both TX outputs OFF,
either one ON, or BOTH ON. When the control input to
the OR gate is HIGH, the output of the OR gate is forced
HIGH, which is the usual MARKING state.
I offer this as an alternative to using a multiplexer IC
in those cases where you might already have two OR gates
available, or where you might want to sometimes enable
BOTH TX outputs at once.
You may likewise use OR gates to multiplex two UART RX
signals in to the single PIC RX line. In this case you
need to ensure that the two OR gate outputs do not
fight one another. Connect the cathode of a diode to
each OR output. Connect the anodes together and to the
PIC RX line. Connect a 4.7k pullup from the PIC RX line
to +5.
You can share control lines to the corresponding
TX and RX multiplexers, so that selecting TX A
will also select RX A, for example.
Fr. Tom McGahee
{Original Message removed}
part 2 5471 bytes content-type:image/gif; (decode)

part 3 105 bytes
--
http://www.piclist.com hint: To leave the PICList
piclist-unsubscribe-request
KILLspammitvma.mit.edu
More... (looser matching)
- Last day of these posts
- In 2001
, 2002 only
- Today
- New search...