![]() | ![]() | ![]() |
| | |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hi, I have a MCU with hardware RX+TX lines, I want to make these into a single RX/TX line with open collector outputs so I can connect to a multidrop bus. I do have a circuit using NPN+PNP transistorsa that works but it echos everything I send back to MCU and its not a single chip soltuion as I'd really like, anyone point me at a nice small IC they know that fit's the job? or tell me what sort of IC I should be looking for? P.S. TTL Levels Thanks Steve Last edited by Scarr; 27th August 2008 at 11:40 PM. | |
| |
| | (permalink) |
| Hi Steve, Just throw away the echo Rx character each time you transmit a byte. I've done this on both the PC side and on the MCU side without problem and with very little overhead. As you've noted, the echo character is only a concern when you're transmitting characters. Mike | |
| |
| | (permalink) |
| Mike, I am throwing chars away currently but as there are lots of places where I send characters it's a lot of code overhead, I thought there would be a way of sorting (blocking) the RX when TX'ing using a line driver / buffer or something Thanks Last edited by Scarr; 28th August 2008 at 12:36 AM. | |
| |
| | (permalink) |
| I throw away the echo Rx character in my low level driver. It takes something like three instructions (assembly). How are you doing it? Mike | |
| |
| | (permalink) |
|
__________________ "Remember, you're special.....just like everyone else." | |
| |
| | (permalink) |
| Absolutly fantastic this is exactly what I was looking for, single IC, small footprint and all my hassle gone, thanks again. P.S. Mike I'm using BASCOM AVR with thier built in routines so it's not as easy for me to dump echo, but thanks for help anyway. | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| RS232 TX, RX & GND wire colors? | William At MyBlueRoom | Electronic Projects Design/Ideas/Reviews | 2 | 24th August 2008 04:10 PM |
| Making inputs to outputs & vice versa | Suraj143 | Micro Controllers | 2 | 8th January 2008 11:10 AM |
| RJ11 to USB convertor vice versa | Jan Bos | Electronic Projects Design/Ideas/Reviews | 2 | 13th September 2007 01:34 AM |
| current-voltage converters and vice-versa | Tori | Electronic Projects Design/Ideas/Reviews | 2 | 4th October 2004 04:10 PM |
| 3.3v convert 5v and vice versa | mikemikemike | Electronic Projects Design/Ideas/Reviews | 4 | 7th November 2003 03:19 PM |