I'm trying to communicate with an I2C bus using the Serial Card in my PC (NI PCI485/8). I've created a circuit using the MAX3162 to translate from RS485 to RS232. Then I use the MAX3232 as a level shifter to drop the RS232 to 3.3V. Then it's sent to a NXP SC18IM700 to talk to the I2C bus. I've gotten the I2C working by using a USB FTDI cable for UART communication to the SC18M700 and have verified everything on the I2C bus and the SC18IM700 itself are communicating correctly. I've verified that the message I'm sending from the PC (RS485) is being converted on the output of the MAX3162, on the input of the MAX3232, and on the output of the MAX3232. However, nothing is being received from the SC18IM700. I've removed the SC18IM700 from the circuit and attached the FTDI cable to the output of both the MAX3232 and MAX3162 to view the messages received from the computer. When I try to send a message back from the FTDI port I'm not receiving anything back on the PC (RS485) side. The MAX3232 is configured as it is so that the inverted RS232 is double inverted and will be the correct message to the SC18IM700. I've tried using both the inverted and non-inverted messages and neither method is giving me a RS485 message back to my RS485 port.
So the root of my problem here is seeming to be in the MAX3162. It's converting from RS485 TO RS232, but it is not converting the messages from RS232 back to RS485. I can't find much help in the data sheets, but I've configured my MAX3162 just as they've suggested on one of the web pages I found (https://www.maximintegrated.com/en/app_notes/index.mvp/id/723)
I wish I could just use the USB FTDI cable for my final product, but I am unable to use USB communication for my finished design, so I need to figure this out. It seems like I'm very close, but something is just slightly off...