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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,590件の閲覧回数
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

ラベル(3)
0 件の賞賛
返信
1 解決策
1,314件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

1 返信
1,315件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------