Hi,
The sample (UART+SDMA) in the SDK does not work with M7.
As a phenomenon, I cannot get out of the while loop of SDMA_RunChannel0().
SDMA on A53 is disabled.
Is there anything else I need to configure?
SDK:SDK_2_14_0_MIMX8ML8xxxKZ
Sample:\boards\evkmimx8mp\driver_examples\uart\sdma_transfer
Target:Armadillo IoT G4 i.MX 8M Plus
解決済! 解決策の投稿を見る。
Hello, I hope you are doing well.
You could try to follow the steps to run a code on Cortex-M of i.MX processors.
Best regards.
Hi,
Is there any configuration that would be needed on the linux kernel or u-boot side?
The following appears to be a similar phenomenon, although there are differences between SPI and UART.
https://community.nxp.com/t5/i-MX-Processors/iMX8-Cortex-M7-SPI-with-SDMA/m-p/1743152
Hello,
No, there is no additional procedure to run these codes on Cortex-M core.
Do you have similar issues using other examples such as hello_world?
Best regards.
Hi,
The same problem does not exist in the following
・demo_apps/hello_world
・sdma/memory_to_memory
・uart/polling
I just found out something.
I have disabled SDMA1 on the A53, and when I change it back, the sample works.
Why is this?
Hello, I hope you are doing well.
You could try to follow the steps to run a code on Cortex-M of i.MX processors.
Best regards.
Hi,
That procedure has been implemented.
Is there any particular configuration needed to run the sample (uart_sdma_transfer)?
Hi @mttcp
Did you resolve your problem? I have the same loop in SDMA_RunChannel0 for working with SDMA on that MCU. The same state for other interfaces - ESCPI, QSPI, UART. I'm also trying to make it work.
Hi,
Yes, we have resolved the issue.
In my case I removed the SDMA1 disabled in the dts file.
The relevant content is as follows
https://community.nxp.com/t5/i-MX-Processors/To-enable-SDMA-to-be-used-with-M7/m-p/1781044
Hello,
No, there is not an additional procedure to be implemented to run that code.
Best regards.