SEMA4 Initialization and Usage in MPC5777C

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

SEMA4 Initialization and Usage in MPC5777C

863 次查看
parth_rastogi10
Contributor III

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 

Parth Rastogi
标签 (1)
0 项奖励
回复
1 回复

836 次查看
petervlna
NXP TechSupport
NXP TechSupport

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