I am trying to write Serial driver for i.MX8 MP EVK Cortex M7 core.
I can access most of the registers of the UART4 instance but when I try to write BMR value on BMR register to set the baud rate, the system gets traped into an exception.
I have checked that the Cortex M7 core domain has access to UART4. Moreover, no semaphore is required to access UART4.
It would be very helpful if someone helps me figure out this problem.
Hi Saqib
what dts file used in the case, one can try imx8mp-evk-rpmsg.dts where uart4 is disabled in linux:
Best regards
igor
Hi Igor,
I am trying to enable UART4 as stdio for cortex M7 core. Moreover, I tried configuring UART1 and UART3 as well but encountering the same exception.
Regards,
Saqib
Hi Saqib
one can look at uart4 examples in SDK_EVK-MIMX8MP available on
https://mcuxpresso.nxp.com/en/welcome
Best regards
igor