[SOLVED] Dual UART. Is there anything to be added to the circuit?

Status
Not open for further replies.
Hi Jayanth,

I went through your folder but could not able to see any schematic file.... there is DNS and Hex file..... I think you are using Orcad.....Unfortunately I don't have that software.... If possible post .pdf file such that one can see and comment....

With regards,

Milind
 
Thnak you for the replies.

@ milind

The .dsn file is Proteus ISIS file. I am posting the schematic in image format. I am attaching the UART project files also. I will try with pullups in real hardware.

 

Attachments

  • dualuart.png
    44.1 KB · Views: 120
  • dualuart rev1.rar
    72.8 KB · Views: 91

RD0 will switch from one UART path to the other but bear in mind that you can't use both together. If data arrives on the disabled path it is lost forever, it won't wait there until you select it again.

If you need to use two UARTs simultaneously, there are three options:
1. Use a PIC with two UARTs built in to it,
2. Use the existing UART and add a 'soft' UART. That is, one emulated in software.
3. Add an external UART, take a look at the MAX3100 for example.

Brian.
 
Thanks betwixt. In my project data doesn't come for two UART at the same time. Data is received/sent from/to UART1 and then depending upon data received data is sent/received to/from second UART.
 

As I understand your circuit .....you are using single RX Tx multiplex using one signal .... This should work but you will not get two UART signals simultenously ......generally RX from UART are asynchronous in nature ..... Your application forces the in this situation to be predicable.... Such that you can have that mux to be enabled ..... My suggestion here will be go with chip with two independent UART ......

Good luck
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…