Hello,
I'm starting a new project using S32K322.
I would like use core 0 to manage application and core 1 to manage auxiliary functions like CCP communication.
Which is best solution to minimize core 0 occupation?
To send on CCP ram variables (managed by core 0) using core 1 the best solution it's use sharable RAM ?
It's necessary use IPCF driver to avoid conflict?
There are same code example?
Regards, Francesco.
Hello Francesco,
This is all application-dependant.
Refer to these examples:
https://community.nxp.com/t5/S32K/S32K324-Multi-Core-Example-Project-based-on-Whiteboard/m-p/1515429
The example were created with RTD 2.0.0, I would recommend that you install a new S32DS IDE instance for RTD 2.0.0 so that you can open the .mex configurator without any issues.
IPCF is not necessary, S32K322 has HW SEMA42 module - this semaphore is managed by the RM MCAL driver.
Configure an SRAM region as shareable in MPU and enable access to the region from both cores in XRDC.
Regards,
Daniel