This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

2 UARTs

Hi guys,
Here is the situation I've 89c51 microcontroller board which I want to connect with PC as well as GSM but as everybody knows it(8051) has only one UART so one solution is try using 87xx or 83xx series of controller but that means I'll have to change my programmer. So what I'm thinking is I'll use simple mux/demux for Tx/Rx of 8051. I want to know will it be o.k.? Can simple AND or OR gates can handle data rate of 9600bps?

Thank you very much in advance.

Parents
  • "Select_Serial is pin 3.2 to select which serial line to select (uC to terminal1 or uC to terminal2)"

    Does it work?
    Have you tested that the hardware does actually correctly route the signals?

    "Serial_Init initialize serial port i.e. TMOD 20h,SCON 50h etc."

    Again, does it work?
    Have you tested that the hardware is actually correctly configured to the correct baud rate, etc?

    "Xmit_Static_Char transmit a character."

    Yet Again, does it work?
    Have you tested that that it actually transmits the correct character?

    "reception is handled on hyperterminal on pc"

    Now I'm confused!
    In which direction is this multiplexing occurring?!

Reply
  • "Select_Serial is pin 3.2 to select which serial line to select (uC to terminal1 or uC to terminal2)"

    Does it work?
    Have you tested that the hardware does actually correctly route the signals?

    "Serial_Init initialize serial port i.e. TMOD 20h,SCON 50h etc."

    Again, does it work?
    Have you tested that the hardware is actually correctly configured to the correct baud rate, etc?

    "Xmit_Static_Char transmit a character."

    Yet Again, does it work?
    Have you tested that that it actually transmits the correct character?

    "reception is handled on hyperterminal on pc"

    Now I'm confused!
    In which direction is this multiplexing occurring?!

Children