2403596_en-US

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

2403596_en-US

2403596_en-US

Dual core communication S32K322

Hi everyone,

I have started a dual-core project where both Core 0 and Core 1 are enabled. As a test, I have created an incrementing variable on each core.
What is the recommended way to share or transfer this variable data from Core 1 to Core 0 (and vice versa)?
Any examples or best practices using shared RAM would be greatly appreciated.

microcontroller : NXPS32k322

IDE: S32 Design Studio
RTD: v3
Debugger: PEMicro


Thanks!

Re: Dual core communication S32K322Hi @db16122
I started working on a dual-core setup and verified that Core 0 and Core 1 are running by using counters. However, my main question is: how do I pass data from Core 1 to Core 0 and vice versa? Do you have an example related to data sharing between cores?
Re: Dual core communication S32K322

I would recommend to use Inter-Platform Communication Framework (IPCF)

https://www.nxp.com/design/design-center/software/automotive-software-and-tools/inter-platform-commu...

Examples and trainings are included.

Re: Dual core communication S32K322

How about add two counter for each M7 core? Once the M7 is running, the counter start to count and you can check the value if it is same or not.

BTW, what is the purpose to check each core status? for safety reason?

Re: Dual core communication S32K322

Hi @davidtosenovjan 

According to the demo training, the IPCF Quick Start Guide includes a middleware block and driver, but they are not available in my configuration tool.

configuration as in Demo training

Stark__0-1786593975962.png

configuration in my project

Stark__1-1786594050143.png


is there any-other way to share the data between the cores ?



タグ(1)
評価なし
バージョン履歴
最終更新日:
昨日
更新者: