Use of Semaphore(shared memory) in ISR

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

Use of Semaphore(shared memory) in ISR

750 次查看
amey_murkute
Contributor III

Hi all,

      I am using MPC5777C controller for my project & want to use shared memory. I have to read EQADC value at every 32uS in Core 0 & pass the same value to core 1 for my further computation. So is it possible to lock and unlock the core in ISR? any leads would be helpful.

thanks & Regards,

Amey 

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

674 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, here you may find a example code for using of semaphores:

Example MPC5775K Semaphores S32DS_1.0 

Even though prepared for different device, usage of SEMA module is similar.

0 项奖励