I am using Android pie (android_p9.0.0_1.0.0-ga_image_8mmevk) on i.MX8M Mini EVK
I want use UART for my Application development.
As per document IMX8MMEVKHUG.pdf UART3 can be accessible from Expansion header(J1103) (Pin No.7, 8, 9, 10, 11)
Can you please guide me how to enable UART3 on i.MX8M Mini EVK and how to use it to send and receive data?
I think /dev/ttymxc2 is for UART3
But when I try to configure it I get following error:
stty -F /dev/ttymxc2 115200 raw -echo
stty: /dev/ttymxc2: Permission denied
Why I am getting such kind of error?
Is there any way to enable UART without compiling any other source code or kernel code. Please help me to solve this issue.
Attached IMX8MMEVKHUG.pdf and boot logs for reference.