i.MX7D: How to share >100KiB of data between A7 and M4 all at once?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX7D: How to share >100KiB of data between A7 and M4 all at once?

Jump to solution
889 Views
Rhapsody
Contributor III

Hello all,

I'm building my first system based on the i.MX7Dual SoC.

On the A7 there is the fsl Linux kernel along with a yocto based distro, while on the M4 there is FreeRTOS.

The M4 should take care about all the realtime requirements, while the A7 should perform images manipulation using freetype and qrencoder.

The aim is to have the M4 telling the A7 to start the images processing (the workflow it's not always within a realtime context), and when the A7 finishes, it should tell the M4 that the data is ready.

I was thinking about using RPMSG, starting from the tty example, but even if this worked for transferring small amount of data (i.e. signalling when to start the work and when the work is finished), I'd like to find a way the M4 could access a large blob of shared memory (> 100KiB) where the processed data has been left.

Is there any IPC that could allow me to make the A7 says something like: "hey, M4, there is data for you at this address!" ?

Thanks for any hinting to this,

regards,

AA

Labels (3)
0 Kudos
1 Solution
613 Views
jamesbone
NXP TechSupport
NXP TechSupport

Hello Alessandro,

The i.MX7  the RPMSG, it is your only option and I believe the best option for the your task, you can also take a look to the Ping-Pong Example, which I believe fits with the kind of example that you required.


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

1 Reply
614 Views
jamesbone
NXP TechSupport
NXP TechSupport

Hello Alessandro,

The i.MX7  the RPMSG, it is your only option and I believe the best option for the your task, you can also take a look to the Ping-Pong Example, which I believe fits with the kind of example that you required.


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------