Hi all:
Now we use UART1 of IMX8MN to communicate with PC. The device can send data, but cannot receive data. The correct waveform can be measured at the RX end of the device. It is OK to send and receive data in the same program on UART2.
To confirm the question, use imx8mnevk as a comparison. we run unit_tests to text /dev/ttymxc0.

For mxc_uart_test.out:
write and read data are OK
---- Running < ./mxc_uart_test.out > test ----
/dev/ttymxc0 opened
Attributes set
Test: IOCTL Set
Data Written= Test
Data Read back= Test
---- Test < /dev/ttymxc0 > ended ----
For mxc_uart_stress_test.out
write data is OK, but tne receive data is empty.

What may the cause? Does UART1 need additional software configuration for serial port
Thanks!