Author Topic: Bidirectional 3.3v to RS232 level translator  (Read 2447 times)

0 Members and 1 Guest are viewing this topic.

Offline xuioTopic starter

  • Contributor
  • Posts: 46
  • Country: de
Bidirectional 3.3v to RS232 level translator
« on: June 11, 2015, 09:46:56 pm »
Hi fellow forum members,

I want to build an USB to RS232 converter with variable pinout. It will be part of a "smart" serial terminal server, which can adapt to any pinout and doesn't need any adapters.

To do this, I need a bidirectional level shifter to translate 0/3.3V to +12/-12V, which are needed for RS232.

I can't use a MAX232 with the TX and RX pins connected together (see attachment), because its output doesn't have a high impedance mode, and as a result always forces a state.

I also can't use pullup/pulldown resistors, because the converter has to be able to work with high baud rates and long cables.

A direction signal is available for each pin.

Do you have any idea, how I can solve this problem?
I can't wrap my head around this right now  :-//

Thanks for your help,
Moritz
 

Offline oPossum

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
  • Very dangerous - may attack at any time
Re: Bidirectional 3.3v to RS232 level translator
« Reply #1 on: June 11, 2015, 09:51:24 pm »
Use a DG413 to switch between the RS232 transmitter and receiver.

http://www.intersil.com/content/dam/Intersil/documents/dg41/dg411-12-13.pdf
 

Offline xuioTopic starter

  • Contributor
  • Posts: 46
  • Country: de
Re: Bidirectional 3.3v to RS232 level translator
« Reply #2 on: June 11, 2015, 10:14:16 pm »
Use a DG413 to switch between the RS232 transmitter and receiver.

http://www.intersil.com/content/dam/Intersil/documents/dg41/dg411-12-13.pdf

Thanks! That should do the trick.  :-+
 

Offline LukeW

  • Frequent Contributor
  • **
  • Posts: 686
Re: Bidirectional 3.3v to RS232 level translator
« Reply #3 on: June 12, 2015, 11:13:06 am »
output doesn't have a high impedance mode, and as a result always forces a state.

MAX242 / ADM242 / equivalent may also be an option to address this.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf