MPC5746 Dual Core problem consultation

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MPC5746 Dual Core problem consultation

跳至解决方案
1,626 次查看
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 解答
1,600 次查看
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 回复
1,601 次查看
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 项奖励
回复