Hi Maneesh,
As you already mentioned, on i.MX8M Mini, UART2 is used for A53 debug and UART4 for M4 debug, while UART1 is connected to the Wi-Fi/Bluetooth, so, only UART3 is available, and it is physically accessible on header J4 (pins 2, 4, 6 and 10).
So, if you want to test it, if using Linux, you could try with an echo, or with a terminal application (like Python miniterm), like the implementation of accessing to ttyMCC on the following Community document:
Controlling a robotic arm over Wi-Fi with UDOO NEO
For connection of the UART3 to the computer or other devices, you could use the access on header J4 using for example an external USB to UART converter, like the usage of a EVBUSB2SER board on the following Community document:
https://community.nxp.com/docs/DOC-104269
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!
-------------------------------------------------------------------------------