Use of Semaphore(shared memory) in ISR

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

Use of Semaphore(shared memory) in ISR

747 Views
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 

Labels (1)
0 Kudos
1 Reply

671 Views
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 Kudos