I need to use 2 Rx and 1 Tx then i use 74HCT157 for select data source
Please tell me.Can it work?
I 'm using PIC18F452
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
Posted: Thu Mar 22, 2007 10:32 am
Sure, put the multiplexer chip between the PIC and the RS232 level shifter. _________________ The search for better is endless. Instead simply find very good and get the job done.
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
Posted: Thu Mar 22, 2007 11:53 am
Also you can add "extra Rx hardware" functionalities using the INT0..INT2 (pins RB0...RB2)
with the advantage that it will get an interrupt (EXT_INT) in the Start bit of the first
arrived character and do not need any polling nor multiplexing overhead
generated by handling the 74HCT157.
Humberto
kender
Joined: 09 Aug 2004 Posts: 768 Location: Silicon Valley
Re: Can it work ?
Posted: Thu Mar 22, 2007 3:31 pm
soulweed wrote:
I need to use 2 Rx and 1 Tx then i use 74HCT157 for select data source
Please tell me.Can it work?
I 'm using PIC18F452
Yes, it can. But keep in mind that you will get the RX interrupt only from the RX line that's commutated to the PIC.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum