Hi,
I would like to know the difference between the MCAPI vs MDMA vs Shared memory to copy the data between cores and also which is optimized to implement,what are the advantages/disadvantages?
Hi,
I would like to know the difference between the MCAPI vs MDMA vs Shared memory to copy the data between cores and also which is optimized to implement,what are the advantages/disadvantages?
Divya.P - Moved from SHARC Processors to CrossCore Embedded Studio and Add-ins. Post date updated from Monday, January 22, 2024 5:27 AM UTC to Tuesday, January 23, 2024 5:01 AM UTC to reflect the move.
Hi Nagaraj,
MCAPI - It is officially supported in CCES, and we supply documentation and examples to help you get started. But it consumes core cycles. We usually apply this protocol for creating handshaking mechanism between cores and then use MDMA for data transmissions. You can refer BSP examples from the below path.
C:\Analog Devices\EV-SC59x_EZ-KIT-Rel2.0.0\EV-SC59x_EZ-KIT\Examples\services\mcapi
SHARED_MEMORY - Although it is possible to use other methods such as the SHARED_MEMORY method, these methods are not supported by the ARM tools, and it is an easy to make an error that can be difficult to identify later.
The below Ezone link contains more information about SHARED_MEMORY concepts.
ez.analog.com/.../334248
MDMA - frees the processor core, allowing it to perform other operations while the data transfers between memories occurs as a background task.
Please have a look into this EE-note377 for understanding how to transfer audio data between cores using MDMA and how to use MCAPI for establishing connection between cores.
www.analog.com/.../EE377v02.pdf
Hope this helps.
Best Regards,
Santhakumari.K
Hi Santhakumari,
Thanks for your answers.
Regards,
Nagaraj