MPC5746 Dual Core problem consultation

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

MPC5746 Dual Core problem consultation

ソリューションへジャンプ
678件の閲覧回数
Anony
Contributor II

I need to use the dual core function of mpc5746r. I have several questions to ask:

1. after enabling dual cores, two projects are generated. Should the clock frequencies of the CPUs of the two cores be set separately?

2. how to transfer data between the two cores? For example, I define a global variable "VarTest" in the project of core0. I need to use this variable "VarTest" in the project of core1. How should I operate?

In addition, are there any related introduction materials and application examples based on s32ds IDE available?

0 件の賞賛
返信
1 解決策
652件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

1) No, it is needed to configure just once, usually by booting core.

2) Access to shared resource goes over Crossbar Switch, so you can access variable in the memory by both cores, it is just need to have it defined on the same address.

Another point is to ensure data coherency. It is discussed in the following appnote, for instance:

https://www.nxp.com/docs/en/application-note/AN4805.pdf

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
653件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

1) No, it is needed to configure just once, usually by booting core.

2) Access to shared resource goes over Crossbar Switch, so you can access variable in the memory by both cores, it is just need to have it defined on the same address.

Another point is to ensure data coherency. It is discussed in the following appnote, for instance:

https://www.nxp.com/docs/en/application-note/AN4805.pdf

0 件の賞賛
返信