I want my RS232 and RS422 to be galvanically isolated and ESD protected. I have two options to implement this requirement.
Option 1: MCU-->OPTO-->DRIVER-->ESD PROTECTION
Use MAX3232 for RS232 driver with ESD diodes near the connector and lines connecting to MCU I will isolate using optocoupler ACPL-217. Next, for power supply I will have to use transformer driver say MAX253CSA or SN6501 with transformers.
Use similar type of set-up for RS422 with MAX489, optocoupler and transformer driver.
Option 2: MCU-->ISOLATED DRIVER-->ESD PROTECTION
Use MXL1535E for RS422, with external transformer only(transformer driver is inbuilt) to implement the design. No ESD diodes also, since it is +15KV ESD protected.
Use MAX3250 for RS232 interface, with ESD diodes also.
Looking into space constraint option 2 looks better with fewer components, but please suggest your views which option is better for the good and robust design?