MPC5746 Dual Core problem consultation

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

MPC5746 Dual Core problem consultation

Jump to solution
1,607 Views
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 Kudos
Reply
1 Solution
1,581 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
1,582 Views
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 Kudos
Reply