I have 2 pins and primary function should be A/B RS485, but is possible that I also put RS232 (Rx/Tx) chip on same bus and then control which one I want to use from microcontroller.
I was thinking about MAX232 and MAX481 and enabling and disabling them trough power on/off controlled by microcontroller driving transistor.
Is there any single device that does this?
Best Answer
Exar has the SP331 programmable RS-232/RS-485 transceiver which may suit your needs.