Hi NXP,
I am working on the analysis of multi-core processors and behaviour of MPC5777C on enabling both cores. So, I come to know that SEMA4 are better options to work on multi-core programming.
But I am not aware of how to initialize and use of SEMA4 in multi-core programming. So, can you please guide me how can I start and if possible can you share me some code of SEMA4 so that I can go through them for better understanding.
Thanks in advance.
Regards,
Parth
@davidtosenovjan @lukaszadrapa @semaphore @martin_kovar
Hello,
Semaphore unit is described in reference manual in Chapter 13Semaphores (SEMA4).
Pleas check 13.5 Initialization Information:
The reset state of the IPS_Semaphores module allows it to begin operation without the
need for any further initialization. All the internal state machines are cleared by any reset
event, allowing the module to immediately begin operation.
and 13.6 Application Information for initialization details and use of sema4 units.
Here is example of sema4 usage for MPC5775K, the module is the same:
https://community.nxp.com/docs/DOC-329941
best regards,
Peter