Hello,
I have some tight scheduling requirements and I want to use the M4 running FreeRTOS to communicate with an FPGA via FlexQSPI. The data will be received/generated by the A53s and shared with the M4 via RPMsg or the MU.
I don't see a driver for driver in the generated SDK, but if linux setup interface to be memory mapped can I access it from the M4? If yes, can I use SDMA to do a memory-to-memory transfer?
thanks,
jeff
已解决! 转到解答。
Hi Jeff
>if linux setup interface to be memory mapped can I access it from the M4?
yes
>can I use SDMA to do a memory-to-memory transfer?
yes. Some sdma examples can be found in unit tests
mxc_sdma_test\test - imx-test - i.MX Driver Test Application Software
Rpmsg driver is described in sect.2.8 Remote Processor Messaging
attached Linux Manual.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Jeff
>if linux setup interface to be memory mapped can I access it from the M4?
yes
>can I use SDMA to do a memory-to-memory transfer?
yes. Some sdma examples can be found in unit tests
mxc_sdma_test\test - imx-test - i.MX Driver Test Application Software
Rpmsg driver is described in sect.2.8 Remote Processor Messaging
attached Linux Manual.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks, I will build a kernel with the flexspi driver and write some code on for the M4 and try this out.
The examples you pointed to are for linux but I need to the M4 handle the writes to the flexspi. I can use rpmsg to let the M4 know there is data from the A53 but I want to use SDMA for some of my larger write(and reads) to other task can run in the rtos.
jeff
seems MCUXpresso SDK for Cortex-M i.MX 8M Mini
has sdma examples in ../driver_examples/sdma folder
Welcome | MCUXpresso SDK Builder
Best regards
igor