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

serial port

HEy we have designed our own 8051 board using 4066 to convert single serial port to 4 port but gives lots of garbage once we power up

Parents
  • I am not getting what want u to ask can u explain me with some diagram or any reference...

    I have no idea what micro (u) asks, but what Per ask is: "what goes out on the RS232 lines of the disabled channels (which will have floating inputs)". I agree with a previous poster that it is a mistake to use an analog switch for the logic level Txd and Rxd signals.

    Erik

Reply
  • I am not getting what want u to ask can u explain me with some diagram or any reference...

    I have no idea what micro (u) asks, but what Per ask is: "what goes out on the RS232 lines of the disabled channels (which will have floating inputs)". I agree with a previous poster that it is a mistake to use an analog switch for the logic level Txd and Rxd signals.

    Erik

Children
  • What will keep the input to the MAX232 at a logic high, or logic low, level when the 4066 disconnects the processor output pin (with the internal pull-up) from the MAX232?

    8051
    ---------+
         +   |
         |   |
        +-+  |
        | |  |      4066        MAX232
        | |  |     +-------+    +------+
        +-+  |     |       |    |      |
         |   |     |   /   |    |      |
    TXD -+---|--+--|--o  o-|----|------|--o RS232 TXD
             |  |  |       |    |      |
             |  |  |       |    |      |
             |  |  +-------+    +------+
    ---------+  |
                |   4066        MAX232
                |  +-------+    +------+
                |  |       |    |      |
                |  |       |    |      |
                +--|-o--o--|----|------|--o RS232 TXD
                   |       |    |      |
                   |       |    |      |
                   +-------+    +------+
    


    You have one TX output from the processor.

    You have multiple MAX232.

    Only one external serial port will be connected at a time to the processor TX signal.

    That means that the TXD pin on your processor can only maintain a correct logic level on one (1) MAX232 input. What about the other MAX232 inputs? When the 4066 disconnects, these signals will be floating unless you have added a resistor for each multiplexed MAX232 logic-level input.

    A solution with digital multiplexing means that the multiplexer chip can drive multiple outputs even if only one of the ouputs are connected to an input.

    The 4066 has bilateral (dual-direction) switches - one side will see pull-up/pull-down from the other side when the switch is closed. But will not see any reference when the switch is open.

  • hey I have tried by placing pullup of 1kohms for TXD and RXD line then I have faced problem downloading not happening and even not able to communicate with any serial devices.

  • downloading not happening

    What do you mean by that?

  • after adding pullups,I am trying download new .hex file then it is not happening.......