Hi likith
one can try to test uart with uart unit test and check signals with oscilloscope:
https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_uart_test?h=imx_5.4.24_2.1.0
Best regardsigor