S32K358 Multicore operations between CM7_0 and CM7_2

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

S32K358 Multicore operations between CM7_0 and CM7_2

1,431 Views
soumik1506
Contributor III

Hi @danielmartynek 

i am currently working on a project that requires the core 0 and core 2 of the S32K358 board to perform operations and pass data both ways.

i have come across your article that demos the how to power the core 2 and control the leds on the board. Is there a way i can send the state of the led in Core 2 to Core 0. If so, what do i have to do.

Tags (3)
0 Kudos
Reply
3 Replies

987 Views
Dave_PE
NXP Employee
NXP Employee

What was the solution for the IPCF Example SW issue? I am running into the same challenges.

0 Kudos
Reply

1,384 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @soumik1506,

Use Inter-Platform Communication Framework (IPCF)

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

Which is an extension to the RTD and it is available in the S32K3 Standard Software.

https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-STDSW-D

Please read the release notes of the SW, it specifies compatible RTD versions.

Once it is installed in S32DS IDE, create a project from example:

danielmartynek_0-1729839387549.png

 

Regards,

Daniel

1,367 Views
soumik1506
Contributor III

Hi @danielmartynek 

I have reffered the IPCF burst example project and edited my S32K358 Multicore code . I have added the Platform MCAL driver and IPCF middleware driver to both M7_0_0 and M7_0_2 projects. I have made sure that i had he MCU MCAL driver in the M7_0_0 project. I have followed these driver configurations as per the example codes.

Once the programs are flashed, the execution gets interrupted in the IPCF hw instance initialisation. I am getting a hardfualt due to the IPCF interrupt set for core0. I am getting the exact same issue for core2.

soumik1506_0-1729867459932.png

When i simply ran the IPCF example given in the examples library, i am getting hard fault error for a different reason. On analysing it, i found out it is something to do queue write and read sizes with the managed/un-managed channels configured for IPCF instances.

soumik1506_1-1729867738290.png

Just be clear, i have not made any configurations with respect to the IPCF example and the multicore code. Please find the attached projects and please tell me where and what am i missing.

Is there any reference or a user manual that i can go through, and helps me understand the ins-and-outs of the IPCF middleware driver.

Soumik

 

 

0 Kudos
Reply