Hi,
I've got a design with a 3.3V microprocessor and I need a configurable interface between the UART and the outside world. It needs to be configurable because the micro will need to be able to talk to a few different devices, each with slightly different voltage level requirements on the Tx and Rx lines. The configuration can be set either with digital I/O from the micro (preferable) or with jumpers on the board. In other words, a build time configuration would be fine, but a run time config would be nice.
On the Tx side (from micro to outside world) I need to convert from (0 and 3.3 V) to either (0 and 5 V) or (-5 V and +5 V).
The Rx side (from outside world to micro) I need to convert from either (0 and 5 V) or (-5 V and + 5 V) to (0 and 3.3 V). The Rx lines also need to be able to survive RS232 levels (up to +/- 15 V).
Does anyone know of a part or set of parts that would be a good fit? The only solutions that I've come up with are kind of complicated and cumbersome.
I hope that explanation is clear, but please let me know if not. Thanks in advance for the help!
Tom