Hi All,
I need to use SDMA on imx7s SoC for both cores Cortex A7 and Cortex M4.
- I think I need to use RDC on M4 to access this peripheral. I have question about Linux on A7, does current FreeScale Linux repository have RDC used for SDMA?
- SDMA generate interrupt when any script execution is completed. Does this interrupt received by both cores?
I need to access SAI1 from M4 and SAI2 from A7 through SDMA. Is it possible?
Best Regards,
Vivek Rajpara
Hi Vivek
>does current FreeScale Linux repository have RDC used for SDMA?
I am afraid not
> SDMA generate interrupt when any script execution is completed. Does this interrupt received by both cores?
yes
>I need to access SAI1 from M4 and SAI2 from A7 through SDMA. Is it possible?
yes
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thank you for quick reply.
I just need some more clarification on these questions.
As pe rmy understanding, I need to configure SDMA and SAI from both cores and I would get SDMA interrupt in both the cores simulataneously. I can serve this interrupt on A7 side for SAI 1 interface and serve interrupt on m4 side for SAI 2 interface. Is my understanding correct?
To achieve this, I would need to write SAI and SDMA driver for FreeRTOS code of the M4 core with RDC, Also I would require to change SDMA driver on linux side (running on A7) to include RDC. Is this correct understanding?
Best Regards,
Vivek Rajpara
my experience was that SDMA is way complex and I couldn't find any example projects I could build - so given the A7 is really fast, I am just having the processor move things. I think I should be able to get an interrupt on the A7 to soon work ok.
some sdma examples can be found in MX6UL FreeRTOS SDK2.2
Board Support Packages (7)
SDK2.2_iMX6UL_WIN(REV SDK2.2)
http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-processors/i.mx-6-pr...
Best regards
igor
Hi Vivek
yes in general this is correct understanding.
Best regards
igor