Hi Hitesh,
If you refer to section 53.1.1 of i.MX6UL Reference Manual, it is mentioned that RX_DATA input and TX_DATA output can be inverted respectively in RS-232/RS-485 mode.
For additional details, you could refer to bit description “INVT” from “UARTx_UCR3” register and “INVR” from “UARTx_UCR4” register.
Finally, you would need to verify if the UART driver include access to those configuration bits; otherwise it will be required to add the proper modifications to configure them.
Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
-------------------------------------------------------------------------------